• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
          • Expression-sizing
          • Occform
          • Oprewrite
          • Expand-functions
          • Delayredux
          • Unparameterization
          • Caseelim
          • Split
          • Selresolve
          • Weirdint-elim
          • Vl-delta
          • Replicate-insts
          • Rangeresolve
          • Propagate
          • Clean-selects
          • Clean-params
          • Blankargs
          • Inline-mods
          • Expr-simp
          • Trunc
          • Always-top
          • Gatesplit
          • Gate-elim
          • Expression-optimization
          • Elim-supplies
          • Wildelim
          • Drop-blankports
          • Clean-warnings
          • Addinstnames
          • Custom-transform-hooks
          • Annotate
            • Make-implicit-wires
              • Vl-modulelist-make-implicit-wires
              • Vl-make-implicit-wires-aux
              • Shadowcheck
                • Vl-shadowcheck-reference-name
                • Vl-shadowcheck-aux
                • Vl-shadowcheck-reference-names
                • Vl-shadowcheck-declare-names
                • Vl-shadowcheck-declare-name
                • Vl-shadowcheck-fundecl
                • Vl-shadowcheck-declare-typedefs
                • Vl-shadowcheck-blockitemlist
                • Vl-shadowcheck-taskdecl
                • Vl-shadowcheck-portdecllist
                • Vl-shadowcheck-paramdecls
                • Vl-shadowcheck-taskdecls
                • Vl-shadowcheck-paramdecl
                • Vl-shadowcheck-gateinst
                • Vl-shadowcheck-vardecls
                • Vl-shadowcheck-vardecl
                • Vl-shadowcheck-portdecl
                • Vl-shadowcheck-modinst
                • Vl-shadowcheck-imports
                • Vl-shadowcheck-import
                • Vl-shadowcheck-fundecls
                • Vl-shadowcheck-blockitem
                • Vl-shadowcheck-ports
                • Vl-shadowcheck-port
                • Vl-shadowcheck-initial
                • Vl-shadowcheck-assign
                • Vl-shadowcheck-always
                • Vl-shadowcheck-alias
                • Vl-shadowcheck-state
                • Vl-shadowcheck-module
                • Vl-shadowcheck-modules
                • Vl-shadowcheck-push-scope
                • Vl-lexscopes
                • Vl-shadowcheck-design
                • Vl-shadowcheck-pop-scope
                • Vl-lexscope
                  • Vl-lexscope-p
                  • Vl-lexscope-fix
                  • Vl-lexscope-entry
                    • Vl-lexscope-entry-fix
                    • Vl-lexscope-entry-equiv
                    • Make-vl-lexscope-entry
                      • Vl-lexscope-entry->wildpkgs
                      • Vl-lexscope-entry->direct-pkg
                      • Vl-lexscope-entry->decl
                      • Change-vl-lexscope-entry
                      • Vl-lexscope-entry-p
                    • Vl-lexscope-equiv
                    • Vl-lexscope-find
                    • Vl-empty-lexscope
                • Vl-stmt-check-undeclared
                • Vl-make-implicit-wires-main
                • Vl-fundecl-check-undeclared
                • Vl-warn-about-undeclared-wires
                • Vl-implicitst
                • Vl-blockitem-check-undeclared
                • Vl-taskdecl-check-undeclared
                • Vl-modinst-exprs-for-implicit-wires
                • Vl-blockitemlist-check-undeclared
                • Vl-import-check-undeclared
                • Vl-make-ordinary-implicit-wires
                • Vl-gateinst-exprs-for-implicit-wires
                • Vl-remove-declared-wires
                • Vl-make-port-implicit-wires
                • Vl-module-make-implicit-wires
                • Vl-vardecl-exprs-for-implicit-wires
                • Vl-design-make-implicit-wires
              • Resolve-indexing
              • Origexprs
              • Argresolve
              • Portdecl-sign
              • Designwires
              • Udp-elim
              • Vl-annotate-design
            • Latchcode
            • Elim-unused-vars
            • Problem-modules
          • Lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-lexscope-entry

    Make-vl-lexscope-entry

    Basic constructor macro for vl-lexscope-entry structures.

    Syntax
    (make-vl-lexscope-entry [:decl <decl>] 
                            [:direct-pkg <direct-pkg>] 
                            [:wildpkgs <wildpkgs>]) 
    

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

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

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-vl-lexscope-entry

    (defmacro make-vl-lexscope-entry (&rest args)
      (std::make-aggregate 'vl-lexscope-entry
                           args
                           '((:decl) (:direct-pkg) (:wildpkgs))
                           'make-vl-lexscope-entry
                           nil))

    Function: vl-lexscope-entry

    (defun vl-lexscope-entry (decl direct-pkg wildpkgs)
     (declare (xargs :guard (and (acl2::any-p decl)
                                 (maybe-stringp direct-pkg)
                                 (string-listp wildpkgs))))
     (declare (xargs :guard t))
     (let ((__function__ 'vl-lexscope-entry))
       (declare (ignorable __function__))
       (b* ((decl (mbe :logic (identity decl) :exec decl))
            (direct-pkg (mbe :logic (maybe-string-fix direct-pkg)
                             :exec direct-pkg))
            (wildpkgs (mbe :logic (string-list-fix wildpkgs)
                           :exec wildpkgs)))
         (cons :vl-lexscope-entry
               (std::prod-cons decl
                               (std::prod-cons direct-pkg wildpkgs))))))