• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
        • Mlib
          • Scopestack
          • Hid-tools
            • Vl-follow-hidexpr
            • Vl-index-expr-typetrace
            • Vl-follow-scopeexpr
            • Vl-follow-hidexpr-dimscheck
            • Vl-datatype-resolve-selects
            • Vl-datatype-remove-dim
            • Vl-operandinfo
              • Vl-operandinfo-fix
              • Vl-operandinfo-p
              • Make-vl-operandinfo
              • Vl-operandinfo-equiv
              • Change-vl-operandinfo
                • Vl-operandinfo->prefixname
                • Vl-operandinfo->type
                • Vl-operandinfo->seltrace
                • Vl-operandinfo->part
                • Vl-operandinfo->orig-expr
                • Vl-operandinfo->hidtype
                • Vl-operandinfo->hidtrace
                • Vl-operandinfo->declname
                • Vl-operandinfo->context
              • Vl-follow-hidexpr-dimcheck
              • Vl-follow-data-selects
              • Vl-follow-hidexpr-error
              • Vl-hidstep
              • Vl-scopestack-find-item/ss/path
              • Vl-follow-array-indices
              • Vl-scopecontext
              • Vl-datatype-set-unsigned
              • Vl-selstep
              • Vl-scopestack-find-elabpath
              • Vl-hid-prefix-for-subhid
              • Vl-find-structmember
              • Vl-select
              • Vl-scopeexpr-replace-hid
              • Vl-genblocklist-find-block
              • Vl-partselect-width
              • Vl-seltrace->indices
              • Vl-datatype->structmembers
              • Vl-hidexpr-resolved-p
              • Vl-operandinfo->indices
              • Vl-flatten-hidindex
              • Vl-subhid-p
              • Vl-seltrace-usertypes-ok
              • Vl-flatten-hidexpr
              • Vl-scopeexpr->hid
              • Vl-seltrace-index-count
              • Vl-operandinfo-usertypes-ok
              • Vl-operandinfo-index-count
              • Vl-datatype-dims-count
              • Vl-scopeexpr-index-count
              • Vl-hidexpr-index-count
              • Vl-usertype-lookup
              • Vl-hidindex-resolved-p
              • Vl-scopeexpr-resolved-p
              • Vl-selstep-usertypes-ok
              • Vl-hidtrace
              • Vl-seltrace
              • Vl-scopedef-interface-p
            • Filtering-by-name
            • Vl-interface-mocktype
            • Stripping-functions
            • Genblob
            • Expr-tools
            • Extract-vl-types
            • Hierarchy
            • Range-tools
            • Finding-by-name
            • Stmt-tools
            • Modnamespace
            • Flat-warnings
            • Reordering-by-name
            • Datatype-tools
            • Syscalls
            • Allexprs
            • Lvalues
            • Port-tools
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-operandinfo

    Change-vl-operandinfo

    Modifying constructor for vl-operandinfo structures.

    Syntax
    (change-vl-operandinfo x 
                           [:orig-expr <orig-expr>] 
                           [:context <context>] 
                           [:prefixname <prefixname>] 
                           [:declname <declname>] 
                           [:hidtrace <hidtrace>] 
                           [:hidtype <hidtype>] 
                           [:seltrace <seltrace>] 
                           [:part <part>] 
                           [:type <type>]) 
    

    This is an often useful alternative to make-vl-operandinfo.

    We construct a new vl-operandinfo structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

    This is an ordinary change- macro introduced by defprod.

    Macro: change-vl-operandinfo

    (defmacro change-vl-operandinfo (x &rest args)
     (std::change-aggregate 'vl-operandinfo
                            x args
                            '((:orig-expr . vl-operandinfo->orig-expr)
                              (:context . vl-operandinfo->context)
                              (:prefixname . vl-operandinfo->prefixname)
                              (:declname . vl-operandinfo->declname)
                              (:hidtrace . vl-operandinfo->hidtrace)
                              (:hidtype . vl-operandinfo->hidtype)
                              (:seltrace . vl-operandinfo->seltrace)
                              (:part . vl-operandinfo->part)
                              (:type . vl-operandinfo->type))
                            'change-vl-operandinfo
                            'remake-vl-operandinfo))