• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
        • Mlib
        • Server
        • Kit
          • Vl-model
            • Vl-model-opts-p
              • Parse-vl-model-opts
              • Vl-model-opts
              • Make-vl-model-opts
              • Honsed-vl-model-opts
              • Change-vl-model-opts
                • *vl-model-opts-usage*
                • Make-honsed-vl-model-opts
                • Vl-model-opts->verilog-file
                • Vl-model-opts->unroll-limit
                • Vl-model-opts->strict
                • Vl-model-opts->start-files
                • Vl-model-opts->search-path
                • Vl-model-opts->search-exts
                • Vl-model-opts->readme
                • Vl-model-opts->outdir
                • Vl-model-opts->mustget
                • Vl-model-opts->mustfail
                • Vl-model-opts->model-file
                • Vl-model-opts->mem
                • Vl-model-opts->include-dirs
                • Vl-model-opts->help
                • Vl-model-opts->esims-file
                • Vl-model-opts->edition
                • Vl-model-opts->dropmods
                • Vl-model-opts->defines
            • Vl-json
            • Vl-gather
            • Vl-server
            • Vl-pp
            • Vl-lint
            • Vl-main
            • Vl-toolkit-other-command
            • Vl-help
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-model-opts-p

    Change-vl-model-opts

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

    Syntax:

    (change-vl-model-opts x 
                          [:help <help>] 
                          [:readme <readme>] 
                          [:outdir <outdir>] 
                          [:model-file <model-file>] 
                          [:esims-file <esims-file>] 
                          [:verilog-file <verilog-file>] 
                          [:start-files <start-files>] 
                          [:search-path <search-path>] 
                          [:include-dirs <include-dirs>] 
                          [:search-exts <search-exts>] 
                          [:defines <defines>] 
                          [:unroll-limit <unroll-limit>] 
                          [:dropmods <dropmods>] 
                          [:edition <edition>] 
                          [:strict <strict>] 
                          [:mem <mem>] 
                          [:mustfail <mustfail>] 
                          [:mustget <mustget>]) 
    

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

    (defmacro change-vl-model-opts (x &rest args)
      (std::change-aggregate
           'vl-model-opts
           x args
           '((:help . vl-model-opts->help)
             (:readme . vl-model-opts->readme)
             (:outdir . vl-model-opts->outdir)
             (:model-file . vl-model-opts->model-file)
             (:esims-file . vl-model-opts->esims-file)
             (:verilog-file . vl-model-opts->verilog-file)
             (:start-files . vl-model-opts->start-files)
             (:search-path . vl-model-opts->search-path)
             (:include-dirs . vl-model-opts->include-dirs)
             (:search-exts . vl-model-opts->search-exts)
             (:defines . vl-model-opts->defines)
             (:unroll-limit . vl-model-opts->unroll-limit)
             (:dropmods . vl-model-opts->dropmods)
             (:edition . vl-model-opts->edition)
             (:strict . vl-model-opts->strict)
             (:mem . vl-model-opts->mem)
             (:mustfail . vl-model-opts->mustfail)
             (:mustget . vl-model-opts->mustget))
           'change-vl-model-opts
           'nil))