• 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
        • Transforms
        • Lint
        • Mlib
        • Server
        • Kit
          • Vl-model
          • Vl-json
          • Vl-gather
          • Vl-server
          • Vl-pp
            • Vl-pp-opts-p
              • Parse-vl-pp-opts
              • Vl-pp-opts
                • Make-vl-pp-opts
                • Change-vl-pp-opts
                • Honsed-vl-pp-opts
                • Make-honsed-vl-pp-opts
                • *vl-pp-opts-usage*
                • Vl-pp-opts->strict
                • Vl-pp-opts->start-files
                • Vl-pp-opts->readme
                • Vl-pp-opts->output
                • Vl-pp-opts->outdefs
                • Vl-pp-opts->mem
                • Vl-pp-opts->include-dirs
                • Vl-pp-opts->help
                • Vl-pp-opts->edition
                • Vl-pp-opts->defines
            • 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-pp-opts-p

    Vl-pp-opts

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

    Syntax:

    (vl-pp-opts help readme output outdefs start-files 
                include-dirs defines edition strict mem)

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

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

    Definition

    This is an ordinary constructor function introduced by defaggregate.

    Function: vl-pp-opts

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