• 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
        • Lint
          • Vl-lintconfig-p
          • Lucid
          • Skip-detection
          • Vl-lintresult-p
          • Lint-warning-suppression
          • Condcheck
          • Selfassigns
          • Leftright-check
          • Dupeinst-check
            • Vl-dupeinst-alistp
            • Vl-modulelist-dupeinst-check
            • Vl-dupeinst-key-p
              • Vl-dupeinst-key
              • Make-vl-dupeinst-key
              • Change-vl-dupeinst-key
                • Make-honsed-vl-dupeinst-key
                • Honsed-vl-dupeinst-key
                • Vl-dupeinst-key->modname
                • Vl-dupeinst-key->inputs
              • Vl-maybe-warn-dupeinst
              • Vl-warnings-for-dupeinst-alist
              • Vl-make-dupeinst-alist
              • Vl-module-dupeinst-check
              • Vl-dupeinst-trivial-p
              • Vl-design-dupeinst-check
              • Vl-pp-dupeinst-key
              • Vl-pp-dupeinst-alist
            • Oddexpr-check
            • Remove-toohard
            • Qmarksize-check
            • Portcheck
            • Duplicate-detect
            • Vl-print-certain-warnings
            • Duperhs-check
            • *vl-lint-help*
            • Lint-stmt-rewrite
            • Drop-missing-submodules
            • Check-case
            • Drop-user-submodules
            • Check-namespace
            • Vl-lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-dupeinst-key-p

    Change-vl-dupeinst-key

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

    Syntax:

    (change-vl-dupeinst-key x 
                            [:modname <modname>] 
                            [:inputs <inputs>]) 
    

    This is a sometimes useful alternative to make-vl-dupeinst-key. It constructs a new vl-dupeinst-key-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-dupeinst-key

    (defmacro change-vl-dupeinst-key (x &rest args)
      (std::change-aggregate 'vl-dupeinst-key
                             x args
                             '((:modname . vl-dupeinst-key->modname)
                               (:inputs . vl-dupeinst-key->inputs))
                             'change-vl-dupeinst-key
                             'nil))