• 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
          • Lint-warning-suppression
          • Warning-basics
          • Vl-warning
          • Vl-warninglist-add-ctx
          • Vl-warninglist->types
          • Propagating-errors
          • Vl-reportcard
          • Vl-some-warning-fatalp
          • Clean-warnings
          • Lint-whole-file-suppression
          • Warn
          • Vl-warninglist
          • Vl-remove-warnings
          • Vl-keep-warnings
          • Flat-warnings
          • Vl-some-warning-of-type-p
          • Vl-msg
            • Vl-msg-p
            • Vl-msg-fix
            • Vl-msg-equiv
            • Make-vl-msg
            • Vl-msg->args
            • Change-vl-msg
              • Vl-msg->msg
            • Vl-warning-add-ctx
            • Vl-print-warning
            • Vmsg-binary-concat
            • Ok
            • Vl-trace-warnings
            • Fatal
            • Vmsg
          • Getting-started
          • Utilities
          • Printer
          • Kit
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-msg

    Change-vl-msg

    Modifying constructor for vl-msg structures.

    Syntax
    (change-vl-msg x 
                   [:msg <msg>] 
                   [:args <args>]) 
    

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

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

    (defmacro change-vl-msg (x &rest args)
      (std::change-aggregate 'vl-msg
                             x args
                             '((:msg . vl-msg->msg)
                               (:args . vl-msg->args))
                             'change-vl-msg
                             'nil))