• 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
          • Preprocessor
          • Vl-loadconfig
          • Lexer
          • Vl-loadstate
            • Vl-loadstate-fix
            • Vl-loadstate-p
            • Make-vl-loadstate
            • Vl-loadstate-equiv
            • Change-vl-loadstate
              • Vl-loadstate->reportcard
              • Vl-loadstate->descalist
              • Vl-loadstate->pstate
              • Vl-loadstate->filemap
              • Vl-loadstate->descs
              • Vl-loadstate->defines
              • Vl-loadstate->config
            • Parser
            • Vl-load-merge-descriptions
            • Scope-of-defines
            • Vl-load-file
            • Vl-flush-out-descriptions
            • Vl-description
            • Vl-loadresult
            • Vl-read-file
            • Vl-find-basename/extension
            • Vl-find-file
            • Vl-read-files
            • Extended-characters
            • Vl-load
            • Vl-load-main
            • Vl-load-description
            • Vl-descriptions-left-to-load
            • Inject-warnings
            • Vl-load-descriptions
            • Vl-load-files
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-descriptionlist
          • Transforms
          • Lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-loadstate

    Change-vl-loadstate

    Modifying constructor for vl-loadstate structures.

    Syntax
    (change-vl-loadstate x 
                         [:config <config>] 
                         [:descs <descs>] 
                         [:descalist <descalist>] 
                         [:defines <defines>] 
                         [:reportcard <reportcard>] 
                         [:pstate <pstate>] 
                         [:filemap <filemap>]) 
    

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

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

    (defmacro change-vl-loadstate (x &rest args)
      (std::change-aggregate 'vl-loadstate
                             x args
                             '((:config . vl-loadstate->config)
                               (:descs . vl-loadstate->descs)
                               (:descalist . vl-loadstate->descalist)
                               (:defines . vl-loadstate->defines)
                               (:reportcard . vl-loadstate->reportcard)
                               (:pstate . vl-loadstate->pstate)
                               (:filemap . vl-loadstate->filemap))
                             'change-vl-loadstate
                             'remake-vl-loadstate))