• 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-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
    • File-layout

    Vl-tname-dir

    Signature
    (vl-tname-dir x) → dir
    Arguments
    x — Guard (vl-tname-p x).
    Returns
    dir — Type (stringp dir).

    Definitions and Theorems

    Function: vl-tname-dir

    (defun vl-tname-dir (x)
      (declare (xargs :guard (vl-tname-p x)))
      (let ((__function__ 'vl-tname-dir))
        (declare (ignorable __function__))
        (b* (((vl-tname x) x))
          (cat *vls-root*
               "/" x.base "/" x.model "/"))))

    Theorem: stringp-of-vl-tname-dir

    (defthm stringp-of-vl-tname-dir
      (b* ((dir (vl-tname-dir x)))
        (stringp dir))
      :rule-classes :type-prescription)