• 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
        • Sv-tutorial
        • Expressions
          • Rewriting
          • Svex
            • Svar
            • Least-fixpoint
            • Svex-p
            • Svex-select
            • Svex-alist
            • Svex-equiv
            • Svexlist
            • Svex-call
            • Fnsym
            • Svex-quote
            • Svex-var
              • Svex-var->name
              • Make-svex-var
                • Change-svex-var
              • Svcall-rw
              • Svcall
              • Svex-kind
              • Svcall*
              • Svex-fix
              • Svex-count
              • Svex-1z
              • Svex-1x
              • Svex-z
              • Svex-x
            • Bit-blasting
            • Functions
            • 4vmask
            • Why-infinite-width
            • Svex-vars
            • Evaluation
            • Values
          • Symbolic-test-vector
          • Vl-to-svex
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Svex-var

    Make-svex-var

    Basic constructor macro for svex-var structures.

    Syntax
    (make-svex-var [:name <name>]) 
    

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

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

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-svex-var

    (defmacro make-svex-var (&rest args)
      (std::make-aggregate 'svex-var
                           args '((:name))
                           'make-svex-var
                           nil))

    Function: svex-var

    (defun svex-var (name)
      (declare (xargs :guard (svar-p name)))
      (declare (xargs :guard t))
      (let ((__function__ 'svex-var))
        (declare (ignorable __function__))
        (b* ((name (mbe :logic (svar-fix name)
                        :exec name)))
          name)))