• 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
          • Preprocessor
          • Vl-loadconfig
          • Vl-loadstate
          • Lexer
          • Parser
          • Vl-load-merge-descriptions
          • Vl-find-basename/extension
          • Vl-load-file
          • Vl-loadresult
            • Vl-loadresult-fix
            • Vl-loadresult-equiv
            • Make-vl-loadresult
            • Vl-loadresult-p
            • Vl-loadresult->ifdefmap
            • Change-vl-loadresult
              • Vl-loadresult->filemap
              • Vl-loadresult->design
              • Vl-loadresult->defmap
              • Vl-loadresult->defines
            • Scope-of-defines
            • Vl-find-file
            • Vl-flush-out-descriptions
            • Vl-description
            • Vl-read-file
            • Vl-includeskips-report-gather
            • Vl-load-main
            • Extended-characters
            • Vl-load
            • Vl-load-description
            • Vl-descriptions-left-to-load
            • Inject-warnings
            • Vl-preprocess-debug
            • Vl-write-preprocessor-debug-file
            • Vl-read-file-report-gather
            • Vl-load-descriptions
            • Vl-load-files
            • Translate-off
            • Vl-load-read-file-hook
            • Vl-read-file-report
            • Vl-loadstate-pad
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-loadstate->warnings
            • Vl-iskips-report
            • Vl-descriptionlist
          • Warnings
          • Getting-started
          • Utilities
          • Printer
          • Kit
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-loadresult

    Change-vl-loadresult

    Modifying constructor for vl-loadresult structures.

    Syntax
    (change-vl-loadresult x 
                          [:design <design>] 
                          [:filemap <filemap>] 
                          [:defines <defines>] 
                          [:ifdefmap <ifdefmap>] 
                          [:defmap <defmap>]) 
    

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

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

    (defmacro change-vl-loadresult (x &rest args)
      (std::change-aggregate 'vl-loadresult
                             x args
                             '((:design . vl-loadresult->design)
                               (:filemap . vl-loadresult->filemap)
                               (:defines . vl-loadresult->defines)
                               (:ifdefmap . vl-loadresult->ifdefmap)
                               (:defmap . vl-loadresult->defmap))
                             'change-vl-loadresult
                             'nil))