• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
        • Mlib
          • Scopestack
          • Filtering-by-name
          • Vl-namefactory
          • Substitution
          • Allexprs
          • Hid-tools
            • Following-hids
              • Vl-follow-hidexpr
              • Vl-partselect-type-top-dimension-replacement
              • Vl-hidindex-datatype-resolve-dims
              • Vl-follow-hidexpr-error
              • Vl-follow-hidexpr-dimscheck
              • Vl-index-find-type
              • Vl-follow-hidexpr-dimcheck
              • Vl-partselect-expr-type
              • Vl-ss-find-hidexpr-range!!
              • Vl-hidstep
                • Vl-hidstep-fix
                • Vl-hidstep-equiv
                • Make-vl-hidstep
                  • Vl-hidstep->item
                  • Change-vl-hidstep
                  • Vl-hidstep->ss
                  • Vl-hidstep-p
                • Vl-ss-find-hidexpr-range
                • Vl-genarrayblocklist-find-block
                • Vl-flatten-hidindex
                • Vl-hidexpr-resolved-p
                • Vl-flatten-hidexpr
                • Vl-hidindex-resolved-p
                • Vl-hidtrace
              • Vl-hidexpr-traverse-datatype
              • Abstract-hids
              • Vl-hidexpr-find-type
            • Vl-consteval
            • Range-tools
            • Lvalexprs
            • Hierarchy
            • Finding-by-name
            • Expr-tools
            • Expr-slicing
            • Stripping-functions
            • Stmt-tools
            • Modnamespace
            • Vl-parse-expr-from-str
            • Welltyped
            • Reordering-by-name
            • Flat-warnings
            • Genblob
            • Expr-building
            • Datatype-tools
            • Syscalls
            • Relocate
            • Expr-cleaning
            • Namemangle
            • Caremask
            • Port-tools
            • Lvalues
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-hidstep

    Make-vl-hidstep

    Basic constructor macro for vl-hidstep structures.

    Syntax
    (make-vl-hidstep [:item <item>] 
                     [:ss <ss>]) 
    

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

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

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-vl-hidstep

    (defmacro make-vl-hidstep (&rest args)
      (std::make-aggregate 'vl-hidstep
                           args '((:item) (:ss))
                           'make-vl-hidstep
                           nil))

    Function: vl-hidstep

    (defun vl-hidstep (item ss)
      (declare (xargs :guard (and (vl-scopeitem-p item)
                                  (vl-scopestack-p ss))))
      (declare (xargs :guard t))
      (let ((__function__ 'vl-hidstep))
        (declare (ignorable __function__))
        (b* ((item (mbe :logic (vl-scopeitem-fix item)
                        :exec item))
             (ss (mbe :logic (vl-scopestack-fix ss)
                      :exec ss)))
          (cons :vl-hidstep (std::prod-cons item ss)))))