• 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-compile.lisp
              • Svstate-merge-branches
              • Svex-alist-merge-branches
              • Svstmt-assign->subst
              • Svstack-merge-branches
              • Svstacks-compatible
              • Svjumpstate-merge-svstate-branches
              • Svjumpstate-svstate-compatible
              • Svstmt-lhs-check-masks
              • Svjumpstate
                • Svjumpstate-fix
                • Svjumpstate-p
                • Make-svjumpstate
                  • Svjumpstate-equiv
                  • Svjumpstate->constraints
                  • Change-svjumpstate
                  • Svjumpstate->returnst
                  • Svjumpstate->returncond
                  • Svjumpstate->continuest
                  • Svjumpstate->continuecond
                  • Svjumpstate->breakcond
                  • Svjumpstate->breakst
                • Svjumpstates-compatible
                • Svstmtlist-compile-top
                • Svjumpstate-sequence-svstates
                • Constraintlist-merge-branches
                • Svjumpstate-merge-branches
                • Svex-replace-range
                • Svex-svstmt-ite
                • Svstmt-process-write
                • Svjumpstate-sequence
                • Svstmt-process-writelist
                • Svstack-assign
                • Svstmt-writelist-var-sizes
                • Svstates-compatible
                • 4vec-replace-range
                • Svstmt-write-var-sizes
                • Make-empty-svjumpstate
                • Constraintlist-add-pathcond
                • Svjumpstate-pop-scope
                • Constraintlist-compose-svstack
                • Svstack-to-svex-alist
                • Svstack-filter-global-lhs-vars
                • Svjumpstate-vars
                • Svex-svstmt-or
                • Svex-svstmt-andc1
                • Svstate-push-scope
                • Svstate-pop-scope
                • Svstate-vars
                • Svstack-lookup
                • Svar-subtract-delay
                • Svstmt-initialize-locals
                • Svstack-fork
                • Svstack-clean
                • Svstack-nonempty-fix
                • Svstate-fork
                • Svstate-clean
                • Svstack-globalp
                • Svjumpstate-fork
                • Svar-delayed-member
                • Svjumpstate-levels
                • Svjumpstate-free
                • Svstate-free
                • Svstack-free
                • Svstack
                • Svar-size-alist
              • Svstate
            • Svstmt-constraints
            • 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
    • Svjumpstate

    Make-svjumpstate

    Basic constructor macro for svjumpstate structures.

    Syntax
    (make-svjumpstate [:constraints <constraints>] 
                      [:breakcond <breakcond>] 
                      [:breakst <breakst>] 
                      [:continuecond <continuecond>] 
                      [:continuest <continuest>] 
                      [:returncond <returncond>] 
                      [:returnst <returnst>]) 
    

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

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

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-svjumpstate

    (defmacro make-svjumpstate (&rest args)
      (std::make-aggregate 'svjumpstate
                           args
                           '((:constraints)
                             (:breakcond)
                             (:breakst)
                             (:continuecond)
                             (:continuest)
                             (:returncond)
                             (:returnst))
                           'make-svjumpstate
                           nil))

    Function: svjumpstate

    (defun svjumpstate (constraints breakcond breakst continuecond
                                    continuest returncond returnst)
      (declare (xargs :guard (and (constraintlist-p constraints)
                                  (svex-p breakcond)
                                  (svstate-p breakst)
                                  (svex-p continuecond)
                                  (svstate-p continuest)
                                  (svex-p returncond)
                                  (svstate-p returnst))))
      (declare (xargs :guard t))
      (let ((__function__ 'svjumpstate))
        (declare (ignorable __function__))
        (b* ((constraints (mbe :logic (constraintlist-fix constraints)
                               :exec constraints))
             (breakcond (mbe :logic (svex-fix breakcond)
                             :exec breakcond))
             (breakst (mbe :logic (svstate-fix breakst)
                           :exec breakst))
             (continuecond (mbe :logic (svex-fix continuecond)
                                :exec continuecond))
             (continuest (mbe :logic (svstate-fix continuest)
                              :exec continuest))
             (returncond (mbe :logic (svex-fix returncond)
                              :exec returncond))
             (returnst (mbe :logic (svstate-fix returnst)
                            :exec returnst)))
          (list (cons 'constraints constraints)
                (cons 'breakcond breakcond)
                (cons 'breakst breakst)
                (cons 'continuecond continuecond)
                (cons 'continuest continuest)
                (cons 'returncond returncond)
                (cons 'returnst returnst)))))