• 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
          • Scopestack
            • Vl-interfaceportlist->ifnames
            • Vl-scope-find-item
            • Vl-blockscope
            • Vl-importlist-find-explicit-item
            • Vl-scopestack-find-item/context
            • Vl-importlist-find-implicit-item
            • Vl-import-stars-find-item
            • Vl-importlist->explicit-item-alist
            • Vl-scopestack-find-definition/ss
            • Vl-scopeitem
            • Vl-scopestack-find-package/ss
            • Vl-scopeinfo-find-item
            • Vl-scopestack-find-item/ss
            • Vl-scopestack
            • Vl-scopeinfo
            • Scopestack-constants
            • Vl-scopestack-push
            • Vl-scope->scopeinfo
            • Vl-scope-find-item-fast
            • Vl-module-scope-find-item
            • Vl-importresult
              • Vl-importresult-fix
              • Vl-importresult-equiv
              • Make-vl-importresult
                • Vl-importresult->pkg-name
                • Vl-importresult->item
                • Change-vl-importresult
                • Vl-importresult-p
              • Vl-genblob-scope-find-item
              • Vl-design-scope-find-definition
              • Vl-scopestack-find-item
              • Vl-scopestack-find-definition
              • Vl-scope-find-portdecl
              • Vl-scope-find-definition
              • Vl-package-scope-find-item
              • Vl-interface-scope-find-portdecl
              • Vl-interface-scope-find-item
              • Vl-genblob-scope-find-portdecl
              • Vl-design-scope-find-item
              • Vl-blockscope-scope-find-item
              • Vl-scopestack-find-package
              • Vl-scope-find-package
              • Vl-module-scope-find-portdecl
              • Vl-design-scope-find-package
              • Vl-scope-find-portdecl-fast
              • Vl-package-scope-item-alist-top
              • Vl-scopedef
              • Vl-scope-portdecl-alist
              • Vl-scope-package-alist
              • Vl-scope-find-definition-fast
              • Vl-scope-definition-alist
              • Vl-scope-find-package-fast
              • Vl-scopestack->path-aux
              • Vl-scopestack->path
              • Vl-scopestack->design
              • Vl-scopestack-init
              • Vl-scopeitem->name
              • Vl-importlist->star-packages
              • Vl-scopestack-pop
              • Vl-scopestack-nesting-level
              • Vl-scope
              • Vl-design-scope-package-alist-top
              • Vl-scopestack-toplevel-p
              • Vl-scope->name
              • Vl-scopestacks-free
              • Vl-importresult-alist
            • Filtering-by-name
            • Vl-namefactory
            • Substitution
            • Allexprs
            • Hid-tools
            • Vl-consteval
            • Range-tools
            • Lvalexprs
            • Hierarchy
            • Finding-by-name
            • Expr-tools
            • Expr-slicing
            • Stripping-functions
            • Stmt-tools
            • Modnamespace
            • Vl-parse-expr-from-str
            • Welltyped
            • Reordering-by-name
            • Flat-warnings
            • Genblob
            • Expr-building
            • Datatype-tools
            • Syscalls
            • Relocate
            • Expr-cleaning
            • Namemangle
            • Caremask
            • Port-tools
            • Lvalues
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-importresult

    Make-vl-importresult

    Basic constructor macro for vl-importresult structures.

    Syntax
    (make-vl-importresult [:item <item>] 
                          [:pkg-name <pkg-name>]) 
    

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

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

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-vl-importresult

    (defmacro make-vl-importresult (&rest args)
      (std::make-aggregate 'vl-importresult
                           args '((:item) (:pkg-name))
                           'make-vl-importresult
                           nil))

    Function: vl-importresult

    (defun vl-importresult (item pkg-name)
      (declare (xargs :guard (and (vl-maybe-scopeitem-p item)
                                  (stringp pkg-name))))
      (declare (xargs :guard t))
      (let ((__function__ 'vl-importresult))
        (declare (ignorable __function__))
        (b* ((item (mbe :logic (vl-maybe-scopeitem-fix item)
                        :exec item))
             (pkg-name (mbe :logic (str-fix pkg-name)
                            :exec pkg-name)))
          (cons :vl-importresult (std::prod-cons item pkg-name)))))