• 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
          • Lexer
          • Vl-loadstate
          • Parser
          • Vl-load-merge-descriptions
          • Scope-of-defines
          • Vl-load-file
          • Vl-flush-out-descriptions
          • Vl-description
          • Vl-loadresult
            • Vl-loadresult-fix
            • Vl-loadresult-equiv
            • Make-vl-loadresult
              • Vl-loadresult->filemap
              • Vl-loadresult->design
              • Vl-loadresult->defines
              • Change-vl-loadresult
              • Vl-loadresult-p
            • 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-loadresult

    Make-vl-loadresult

    Basic constructor macro for vl-loadresult structures.

    Syntax
    (make-vl-loadresult [:design <design>] 
                        [:filemap <filemap>] 
                        [:defines <defines>]) 
    

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

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

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-vl-loadresult

    (defmacro make-vl-loadresult (&rest args)
      (std::make-aggregate 'vl-loadresult
                           args '((:design) (:filemap) (:defines))
                           'make-vl-loadresult
                           nil))

    Function: vl-loadresult

    (defun vl-loadresult (design filemap defines)
      (declare (xargs :guard (and (vl-design-p design)
                                  (vl-filemap-p filemap)
                                  (vl-defines-p defines))))
      (declare (xargs :guard t))
      (let ((__function__ 'vl-loadresult))
        (declare (ignorable __function__))
        (b* ((design (mbe :logic (vl-design-fix design)
                          :exec design))
             (filemap (mbe :logic (vl-filemap-fix filemap)
                           :exec filemap))
             (defines (mbe :logic (vl-defines-fix defines)
                           :exec defines)
    ))
          (cons :vl-loadresult (list (cons 'design design)
                                     (cons 'filemap filemap)
                                     (cons 'defines defines))))))