• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
          • Vl-lint
          • Vl-server
          • Vl-gather
          • Vl-zip
          • Vl-main
          • Split-plusargs
          • Vl-shell
          • Vl-json
            • Vl-json-opts-p
              • Parse-vl-json-opts
              • Vl-json-opts
                • Make-vl-json-opts
                • Change-vl-json-opts
                • Honsed-vl-json-opts
                • Make-honsed-vl-json-opts
                • *vl-json-opts-usage*
                • Vl-json-opts->strict
                • Vl-json-opts->start-files
                • Vl-json-opts->search-path
                • Vl-json-opts->search-exts
                • Vl-json-opts->readme
                • Vl-json-opts->plusargs
                • Vl-json-opts->output
                • Vl-json-opts->mem
                • Vl-json-opts->include-dirs
                • Vl-json-opts->help
                • Vl-json-opts->edition
                • Vl-json-opts->defines
              • *vl-json-readme*
              • Vl-json-main
              • Vl-json-top
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-json-opts-p

    Vl-json-opts

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

    Syntax:

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

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

    Note: It's generally better to use macros like make-vl-json-opts or change-vl-json-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-json-opts-p structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-vl-json-opts instead.

    Definition

    This is an ordinary constructor function introduced by defaggregate.

    Function: vl-json-opts

    (defun vl-json-opts (help readme output start-files
                              plusargs 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 plusargs)
                                 (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 'plusargs plusargs)
           (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))))))))))))))