• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Vwsim
      • Fgl
      • Vl
        • Syntax
        • Loader
          • Preprocessor
          • Vl-loadconfig
          • Vl-loadstate
          • Lexer
          • Parser
          • Vl-load-merge-descriptions
          • Vl-find-basename/extension
          • Vl-load-file
          • Vl-loadresult
          • Vl-find-file
          • Scope-of-defines
          • Vl-flush-out-descriptions
          • Vl-description
          • Vl-read-file
          • Vl-includeskips-report-gather
          • Vl-load-main
          • Extended-characters
          • Vl-load
          • Vl-load-description
          • Vl-preprocess-debug
          • Vl-descriptions-left-to-load
          • Inject-warnings
          • Vl-read-file-report-gather
          • Vl-write-preprocessor-debug-file
          • Vl-load-descriptions
          • Vl-load-files
          • Translate-off
          • Vl-load-read-file-hook
          • Vl-loadstate-pad
            • Vl-read-file-report
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-loadstate->warnings
            • Vl-iskips-report
            • Vl-descriptionlist
          • Warnings
          • Getting-started
          • Utilities
          • Printer
          • Kit
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Testing-utilities
      • Math
    • Loader

    Vl-loadstate-pad

    Prefix for lines produced by the loader.

    Signature
    (vl-loadstate-pad st) → pad
    Arguments
    st — Guard (vl-loadstate-p st).
    Returns
    pad — Type (stringp pad).

    See vl-ppst-pad, this is basically the same except that in the loader proper we know there are no open includes.

    Definitions and Theorems

    Function: vl-loadstate-pad

    (defun
        vl-loadstate-pad (st)
        (declare (xargs :guard (vl-loadstate-p st)))
        (let ((__function__ 'vl-loadstate-pad))
             (declare (ignorable __function__))
             (cat "{"
                  (str::lpadstr (vl-nice-bytes (vl-loadstate->bytes st))
                                6)
                  "} ")))

    Theorem: stringp-of-vl-loadstate-pad

    (defthm stringp-of-vl-loadstate-pad
            (b* ((pad (vl-loadstate-pad st)))
                (stringp pad))
            :rule-classes :type-prescription)