• 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
          • Expression-sizing
          • Occform
          • Oprewrite
          • Expand-functions
            • Vl-expr-expand-function-calls
            • Vl-expand-function-call
            • Vl-module-expand-functions
            • Vl-modulelist-expand-functions
            • Vl-check-bad-funcalls
            • Vl-funtemplate
              • Vl-funtemplate-p
              • Vl-funtemplate-fix
              • Vl-funtemplate-equiv
              • Make-vl-funtemplate
              • Vl-funtemplate->locals
              • Vl-funtemplate->inputs
              • Vl-funtemplate->assigns
              • Change-vl-funtemplate
                • Vl-funtemplate->out
                • Vl-funtemplate->name
              • Vl-funbody-to-assignments
              • Vl-assignlist->rhses
              • Vl-fundecl-expand-params
              • Vl-fun-stmt-okp
              • Vl-fundecllist-expand-params
              • Vl-remove-fake-function-vardecls
              • Vl-design-expand-functions
            • Delayredux
            • Unparameterization
            • Caseelim
            • Split
            • Selresolve
            • Weirdint-elim
            • Vl-delta
            • Replicate-insts
            • Rangeresolve
            • Propagate
            • Clean-selects
            • Clean-params
            • Blankargs
            • Inline-mods
            • Expr-simp
            • Trunc
            • Always-top
            • Gatesplit
            • Gate-elim
            • Expression-optimization
            • Elim-supplies
            • Wildelim
            • Drop-blankports
            • Clean-warnings
            • Addinstnames
            • Custom-transform-hooks
            • Annotate
            • Latchcode
            • Elim-unused-vars
            • Problem-modules
          • Lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-funtemplate

    Change-vl-funtemplate

    Modifying constructor for vl-funtemplate structures.

    Syntax
    (change-vl-funtemplate x 
                           [:name <name>] 
                           [:inputs <inputs>] 
                           [:locals <locals>] 
                           [:out <out>] 
                           [:assigns <assigns>]) 
    

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

    We construct a new vl-funtemplate 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-funtemplate

    (defmacro change-vl-funtemplate (x &rest args)
      (std::change-aggregate 'vl-funtemplate
                             x args
                             '((:name . vl-funtemplate->name)
                               (:inputs . vl-funtemplate->inputs)
                               (:locals . vl-funtemplate->locals)
                               (:out . vl-funtemplate->out)
                               (:assigns . vl-funtemplate->assigns))
                             'change-vl-funtemplate
                             'remake-vl-funtemplate))