• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
        • Svex-stvs
        • Svex-decomposition-methodology
        • Sv-versus-esim
        • Svex-decomp
        • Svex-compose-dfs
        • Svex-compilation
        • Moddb
        • Svmods
        • Svstmt
          • Svstmt-case
          • Svstmt-while
          • Svstmt-p
          • Svstmt-if
          • Svstmt-equiv
          • Svstmt-xcond
          • Svstmt-scope
          • Svstmt-assign
          • Svstmt-compile
          • Svstmt-constraints
          • Svstmt-jump
            • Svstmt-jump->type
            • Make-svstmt-jump
              • Change-svstmt-jump
            • Svstmtlist
            • Svstmt-kind
            • Svstmt.lisp
            • Svstmt-fix
            • Svstmt-count
          • Sv-tutorial
          • Expressions
          • Symbolic-test-vector
          • Vl-to-svex
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Svstmt-jump

    Make-svstmt-jump

    Basic constructor macro for svstmt-jump structures.

    Syntax
    (make-svstmt-jump [:type <type>]) 
    

    This is the usual way to construct svstmt-jump structures. It simply conses together a structure with the specified fields.

    This macro generates a new svstmt-jump structure from scratch. See also change-svstmt-jump, which can "change" an existing structure, instead.

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-svstmt-jump

    (defmacro make-svstmt-jump (&rest args)
      (std::make-aggregate 'svstmt-jump
                           args '((:type))
                           'make-svstmt-jump
                           nil))

    Function: svstmt-jump

    (defun svstmt-jump (type)
      (declare (xargs :guard (svjump-p type)))
      (declare (xargs :guard t))
      (let ((__function__ 'svstmt-jump))
        (declare (ignorable __function__))
        (b* ((type (mbe :logic (svjump-fix type)
                        :exec type)))
          (cons :jump (list type)))))