• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • 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
        • Kit
        • Printer
          • Ps
          • Basic-printing
          • Verilog-printing
          • Printing-locally
          • Formatted-printing
          • Accessing-printed-output
            • Vl-print-to-file
            • Vl-ps->chars
            • Vl-ps->string
              • With-ps-file
            • Vl-printedlist
            • Json-printing
          • Esim-vl
          • Well-formedness
        • Sv
        • Vwsim
        • Fgl
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Testing-utilities
      • Math
    • Accessing-printed-output

    Vl-ps->string

    (vl-ps->string) returns the printed characters as a string in the proper, non-reversed, printed order.

    Signature
    (vl-ps->string &key (ps 'ps)) → str
    Returns
    str — Type (stringp str).

    Definitions and Theorems

    Function: vl-ps->string-fn

    (defun vl-ps->string-fn (ps)
           (declare (xargs :stobjs (ps)))
           (declare (xargs :guard t))
           (let ((__function__ 'vl-ps->string))
                (declare (ignorable __function__))
                (vl-printedlist->string (vl-ps->rchars))))

    Theorem: stringp-of-vl-ps->string

    (defthm stringp-of-vl-ps->string
            (b* ((str (vl-ps->string-fn ps)))
                (stringp str))
            :rule-classes :type-prescription)