• 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
          • Preprocessor
          • Vl-loadconfig
            • Vl-loadconfig-p
            • Vl-loadconfig-fix
            • Make-vl-loadconfig
              • Vl-loadconfig-clean
              • Vl-loadconfig-equiv
              • Change-vl-loadconfig
              • Vl-loadconfig->include-dirs
              • Vl-loadconfig->start-names
              • Vl-loadconfig->start-files
              • Vl-loadconfig->search-path
              • Vl-loadconfig->search-exts
              • Vl-loadconfig->flush-tries
              • Vl-loadconfig->strictp
              • Vl-loadconfig->mintime
              • Vl-loadconfig->filemapp
              • Vl-loadconfig->edition
              • Vl-loadconfig->defines
            • Lexer
            • Vl-loadstate
            • Parser
            • Vl-load-merge-descriptions
            • Scope-of-defines
            • Vl-load-file
            • Vl-flush-out-descriptions
            • Vl-description
            • Vl-loadresult
            • Vl-read-file
            • Vl-find-basename/extension
            • Vl-find-file
            • Vl-read-files
            • Extended-characters
            • Vl-load
            • Vl-load-main
            • Vl-load-description
            • Vl-descriptions-left-to-load
            • Inject-warnings
            • Vl-load-descriptions
            • Vl-load-files
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-descriptionlist
          • Transforms
          • Lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-loadconfig

    Make-vl-loadconfig

    Basic constructor macro for vl-loadconfig structures.

    Syntax
    (make-vl-loadconfig [:edition <edition>] 
                        [:strictp <strictp>] 
                        [:start-files <start-files>] 
                        [:start-names <start-names>] 
                        [:search-path <search-path>] 
                        [:search-exts <search-exts>] 
                        [:include-dirs <include-dirs>] 
                        [:defines <defines>] 
                        [:filemapp <filemapp>] 
                        [:flush-tries <flush-tries>] 
                        [:mintime <mintime>]) 
    

    This is the usual way to construct vl-loadconfig structures. It simply conses together a structure with the specified fields.

    This macro generates a new vl-loadconfig structure from scratch. See also change-vl-loadconfig, which can "change" an existing structure, instead.

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-vl-loadconfig

    (defmacro make-vl-loadconfig (&rest args)
      (std::make-aggregate 'vl-loadconfig
                           args
                           '((:edition . :system-verilog-2012)
                             (:strictp)
                             (:start-files)
                             (:start-names)
                             (:search-path)
                             (:search-exts quote ("v"))
                             (:include-dirs)
                             (:defines)
                             (:filemapp . t)
                             (:flush-tries . 10000)
                             (:mintime . 1))
                           'make-vl-loadconfig
                           nil))

    Function: vl-loadconfig

    (defun vl-loadconfig (edition strictp start-files start-names
                                  search-path search-exts include-dirs
                                  defines filemapp flush-tries mintime)
      (declare (xargs :guard (and (vl-edition-p edition)
                                  (booleanp strictp)
                                  (string-listp start-files)
                                  (string-listp start-names)
                                  (string-listp search-path)
                                  (string-listp search-exts)
                                  (string-listp include-dirs)
                                  (vl-defines-p defines)
                                  (booleanp filemapp)
                                  (posp flush-tries)
                                  (mintime-p mintime))))
      (declare (xargs :guard t))
      (let ((__function__ 'vl-loadconfig))
        (declare (ignorable __function__))
        (b* ((edition (mbe :logic (vl-edition-fix edition)
                           :exec edition))
             (strictp (mbe :logic (acl2::bool-fix strictp)
                           :exec strictp))
             (start-files (mbe :logic (string-list-fix start-files)
                               :exec start-files))
             (start-names (mbe :logic (string-list-fix start-names)
                               :exec start-names))
             (search-path (mbe :logic (string-list-fix search-path)
                               :exec search-path))
             (search-exts (mbe :logic (string-list-fix search-exts)
                               :exec search-exts))
             (include-dirs (mbe :logic (string-list-fix include-dirs)
                                :exec include-dirs))
             (defines (mbe :logic (vl-defines-fix defines)
                           :exec defines)
    )
             (filemapp (mbe :logic (acl2::bool-fix filemapp)
                            :exec filemapp))
             (flush-tries (mbe :logic (pos-fix flush-tries)
                               :exec flush-tries))
             (mintime (mbe :logic (mintime-fix mintime)
                           :exec mintime)))
          (cons :vl-loadconfig (list (cons 'edition edition)
                                     (cons 'strictp strictp)
                                     (cons 'start-files start-files)
                                     (cons 'start-names start-names)
                                     (cons 'search-path search-path)
                                     (cons 'search-exts search-exts)
                                     (cons 'include-dirs include-dirs)
                                     (cons 'defines defines)
                                     (cons 'filemapp filemapp)
                                     (cons 'flush-tries flush-tries)
                                     (cons 'mintime mintime))))))