• 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-json
          • Vl-gather
            • Vl-gather-opts-p
              • Parse-vl-gather-opts
              • Vl-gather-opts
                • Make-vl-gather-opts
                • Change-vl-gather-opts
                • Honsed-vl-gather-opts
                • Make-honsed-vl-gather-opts
                • *vl-gather-opts-usage*
                • Vl-gather-opts->strict
                • Vl-gather-opts->start-files
                • Vl-gather-opts->search-path
                • Vl-gather-opts->search-exts
                • Vl-gather-opts->readme
                • Vl-gather-opts->output
                • Vl-gather-opts->mem
                • Vl-gather-opts->include-dirs
                • Vl-gather-opts->help
                • Vl-gather-opts->edition
                • Vl-gather-opts->defines
            • 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-gather-opts-p

    Vl-gather-opts

    Raw constructor for vl-gather-opts-p structures.

    Syntax:

    (vl-gather-opts help readme output 
                    start-files search-path include-dirs 
                    search-exts defines edition strict mem)

    This is the lowest-level constructor for vl-gather-opts-p structures. It simply conses together a structure with the specified fields.

    Note: It's generally better to use macros like make-vl-gather-opts or change-vl-gather-opts instead. These macros lead to more readable and robust code, because you don't have to remember the order of the fields.

    The vl-gather-opts-p structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-vl-gather-opts instead.

    Definition

    This is an ordinary constructor function introduced by defaggregate.

    Function: vl-gather-opts

    (defun vl-gather-opts (help readme output
                                start-files search-path include-dirs
                                search-exts defines edition strict mem)
     (declare (xargs :guard (and (booleanp help)
                                 (booleanp readme)
                                 (stringp output)
                                 (string-listp start-files)
                                 (string-listp search-path)
                                 (string-listp include-dirs)
                                 (string-listp search-exts)
                                 (string-listp defines)
                                 (vl-edition-p edition)
                                 (booleanp strict)
                                 (posp mem))))
     (cons
      :vl-model-opts
      (cons
       (cons 'help help)
       (cons
        (cons 'readme readme)
        (cons
         (cons 'output output)
         (cons
          (cons 'start-files start-files)
          (cons
           (cons 'search-path search-path)
           (cons
            (cons 'include-dirs include-dirs)
            (cons
                (cons 'search-exts search-exts)
                (cons (cons 'defines defines)
                      (cons (cons 'edition edition)
                            (cons (cons 'strict strict)
                                  (cons (cons 'mem mem) nil)))))))))))))