• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
        • Symbolic-test-vectors
          • Defstv
          • Stv-compile
          • Symbolic-test-vector-format
          • Stv-implementation-details
          • Compiled-stv-p
          • Stv-run-for-all-dontcares
          • Stv-run
          • Stv-process
          • Stv-run-check-dontcares
          • Symbolic-test-vector-composition
          • Stv-expand
          • Stv-easy-bindings
          • Stv-debug
          • Stv-run-squash-dontcares
          • Stvdata-p
          • Stv-doc
          • Stv2c
            • Stv2c-opts-p
              • Parse-stv2c-opts
              • Stv2c-opts
                • Make-stv2c-opts
                • Change-stv2c-opts
                • Honsed-stv2c-opts
                • Make-honsed-stv2c-opts
                • *stv2c-opts-usage*
                • Stv2c-opts->stv
                • Stv2c-opts->strict
                • Stv2c-opts->start-files
                • Stv2c-opts->search-path
                • Stv2c-opts->search-exts
                • Stv2c-opts->readme
                • Stv2c-opts->mem
                • Stv2c-opts->help
                • Stv2c-opts->edition
                • Stv2c-opts->defines
              • Stv2c-c-symbol-names
              • Stv2c-outs-structdef
              • Stv2c-ins-structdef
              • Stv2c-c-symbol-name
              • Stv2c-header
              • Stv2c-main
            • Stv-widen
            • Stv-out->width
            • Stv-in->width
            • Stv->outs
            • Stv-number-of-phases
            • Stv->ins
            • Stv-suffix-signals
            • Stv->vars
          • Esim-primitives
          • E-conversion
          • Esim-steps
          • Patterns
          • Mod-internal-paths
          • Defmodules
          • Esim-simplify-update-fns
          • Esim-tutorial
          • Esim-vl
        • Vl2014
        • Sv
        • Vwsim
        • Fgl
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Testing-utilities
      • Math
    • Stv2c-opts-p

    Stv2c-opts

    Raw constructor for stv2c-opts-p structures.

    Syntax:

    (stv2c-opts help readme stv start-files search-path 
                search-exts defines edition strict mem)

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

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

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

    Definition

    This is an ordinary constructor function introduced by std::defaggregate.

    Function: stv2c-opts

    (defun
     stv2c-opts
     (help readme stv start-files search-path
           search-exts defines edition strict mem)
     (declare (xargs :guard (and (booleanp help)
                                 (booleanp readme)
                                 (stringp stv)
                                 (string-listp start-files)
                                 (string-listp search-path)
                                 (string-listp search-exts)
                                 (string-listp defines)
                                 (vl2014::vl-edition-p edition)
                                 (booleanp strict)
                                 (posp mem))))
     (cons
      :stv2c-opts
      (cons
       (cons 'help help)
       (cons
        (cons 'readme readme)
        (cons
         (cons 'stv stv)
         (cons
          (cons 'start-files start-files)
          (cons
           (cons 'search-path search-path)
           (cons (cons 'search-exts search-exts)
                 (cons (cons 'defines defines)
                       (cons (cons 'edition edition)
                             (cons (cons 'strict strict)
                                   (cons (cons 'mem mem) nil))))))))))))