• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
          • Expression-sizing
          • Occform
          • Oprewrite
          • Expand-functions
          • Delayredux
          • Unparameterization
          • Caseelim
          • Split
          • Selresolve
          • Weirdint-elim
          • Vl-delta
          • Replicate-insts
          • Rangeresolve
          • Propagate
          • Clean-selects
          • Clean-params
            • Vl-useless-params-map-p
            • Vl-modinstlist-elim-useless-params
            • Vl-modulelist-elim-useless-params
            • Vl-useless-params-p
              • Vl-useless-params
              • Make-vl-useless-params
              • Change-vl-useless-params
                • Make-honsed-vl-useless-params
                • Honsed-vl-useless-params
                • Vl-useless-params->positions
                • Vl-useless-params->names
              • Vl-module-clean-params
              • Vl-modulelist-clean-params-aux
              • Vl-paramvaluelist-elim-useless-params
              • Vl-namedparamvaluelist-elim-useless-params
              • Vl-paramargs-elim-useless-params
              • Vl-module-elim-useless-params
              • Vl-modinst-elim-useless-params
              • Vl-position-of-param
              • Vl-modulelist-clean-params-loop
              • Vl-positions-of-params
              • Vl-modulelist-clean-params
              • Vl-design-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-useless-params-p

    Change-vl-useless-params

    A copying macro that lets you create new vl-useless-params-p structures, based on existing structures.

    Syntax:

    (change-vl-useless-params x 
                              [:names <names>] 
                              [:positions <positions>]) 
    

    This is a sometimes useful alternative to make-vl-useless-params. It constructs a new vl-useless-params-p 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 defaggregate.

    Macro: change-vl-useless-params

    (defmacro change-vl-useless-params (x &rest args)
      (std::change-aggregate
           'vl-useless-params
           x args
           '((:names . vl-useless-params->names)
             (:positions . vl-useless-params->positions))
           'change-vl-useless-params
           'nil))