• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
        • Warnings
          • Lint-warning-suppression
          • Warning-basics
          • Vl-warning
          • Vl-warninglist-add-ctx
          • Vl-warninglist->types
          • Propagating-errors
          • Vl-reportcard
          • Vl-some-warning-fatalp
          • Clean-warnings
          • Lint-whole-file-suppression
          • Warn
          • Vl-warninglist
          • Vl-remove-warnings
          • Vl-keep-warnings
          • Flat-warnings
          • Vl-some-warning-of-type-p
          • Vl-msg
            • Vl-msg-p
              • Vl-msg-fix
              • Vl-msg-equiv
              • Make-vl-msg
              • Vl-msg->args
              • Change-vl-msg
              • Vl-msg->msg
            • Vl-warning-add-ctx
            • Vl-print-warning
            • Vmsg-binary-concat
            • Ok
            • Vl-trace-warnings
            • Fatal
            • Vmsg
          • Getting-started
          • Utilities
          • Printer
          • Kit
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-msg

    Vl-msg-p

    Recognizer for vl-msg structures.

    Signature
    (vl-msg-p x) → *

    Definitions and Theorems

    Function: vl-msg-p

    (defun vl-msg-p (x)
      (declare (xargs :guard t))
      (let ((__function__ 'vl-msg-p))
        (declare (ignorable __function__))
        (and (or (atom x) (cdr x))
             (b* ((msg (if (atom x) x (car x)))
                  (args (and (consp x) (cdr x))))
               (and (stringp msg)
                    (true-listp args))))))