• 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
        • Server
          • Vls-commands
          • Vl-descriptionlist-summaries
          • Vls-transdb
          • File-layout
            • Vl-tnamelist-xdat-files
            • Vl-tnamelist-as-strings
            • Vl-tnamelist-models
            • Vl-tnamelist-bases
            • Vl-tnamelist-p
            • Vls-filter-datestrs
            • Vl-tname
              • Vl-tname-fix
              • Vl-tname-equiv
              • Make-vl-tname
                • Vl-tname->model
                • Vl-tname->base
                • Vl-tname-p
                • Change-vl-tname
              • Vl-looks-like-legitimate-tname-p
              • Vl-scan-for-tnames-in-base
              • Vl-scan-for-tnames-aux
              • Vl-scan-for-tnames
              • Vl-remove-illegitimate-tnames
              • Vl-find-tname
              • Vl-tnames-for-base
              • Vls-sort-bases
              • Vls-datestr-p
              • Vl-remove-temp-bases
              • Vl-tnames-to-json-aux
              • Vl-tname-xdat-file
              • Vl-tname-as-string
              • Vl-tname-dir
              • Set-vls-root
              • *vls-root*
              • Vl-tnames-to-json
            • Vls-data-p
            • Ts-queue
            • Vls-showloc
            • Vls-get-plainsrc
            • Vl-description->warnings
            • Vl-describe
            • Vls-port-table
            • Vls-describe
            • Vls-data-from-translation
            • Vl-find-description-insensitive
            • Vls-get-warnings
            • Vls-get-summary
            • Vls-get-origsrc
            • Vls-data-origname-reportcard
            • Vls-get-parents
            • Vls-get-children
            • Vls-get-summaries
            • Vl-ppc-description
            • Vls-get-desctypes
            • Vl-description-summary
            • Start
            • Vl-descalist->descriptions/types
            • Stop
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-tname

    Make-vl-tname

    Basic constructor macro for vl-tname structures.

    Syntax
    (make-vl-tname [:base <base>] 
                   [:model <model>]) 
    

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

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

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-vl-tname

    (defmacro make-vl-tname (&rest args)
      (std::make-aggregate 'vl-tname
                           args '((:base) (:model))
                           'make-vl-tname
                           nil))

    Function: vl-tname

    (defun vl-tname (base model)
      (declare (xargs :guard (and (stringp base) (stringp model))))
      (declare (xargs :guard t))
      (let ((__function__ 'vl-tname))
        (declare (ignorable __function__))
        (b* ((base (mbe :logic (str-fix base) :exec base))
             (model (mbe :logic (str-fix model)
                         :exec model)))
          (cons :vl-tname (list (cons 'base base)
                                (cons 'model model))))))