• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
          • Vl-lintconfig-p
          • Lucid
          • Skip-detection
          • Vl-lintresult-p
          • Lint-warning-suppression
            • Vl-mash-warning-strings
            • Vl-design-lint-ignoreall
            • Vl-design-suppress-lint-warnings
            • Vl-warninglist-lint-ignoreall
              • Vl-lint-scan-for-ignore
              • Vl-mash-warning-string
              • Vl-lint-suppress-warnings
              • Vl-warning-type-mash
              • Vl-lint-ignore-att-p
              • Vl-lint-atts-say-ignore
              • Vl-lint-attname-says-ignore
              • Vl-lint-ignore-att-mash
            • Condcheck
            • Selfassigns
            • Leftright-check
            • Dupeinst-check
            • Oddexpr-check
            • Remove-toohard
            • Qmarksize-check
            • Portcheck
            • Duplicate-detect
            • Vl-print-certain-warnings
            • Duperhs-check
            • *vl-lint-help*
            • Lint-stmt-rewrite
            • Drop-missing-submodules
            • Check-case
            • Drop-user-submodules
            • Check-namespace
            • Vl-lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Lint-warning-suppression

    Vl-warninglist-lint-ignoreall

    Globally suppress certain kinds of warnings.

    Signature
    (vl-warninglist-lint-ignoreall x mashed-ignore-list) 
      → 
    new-warnings
    Arguments
    x — Guard (vl-warninglist-p x).
    mashed-ignore-list — Guard (string-listp mashed-ignore-list).
    Returns
    new-warnings — Type (vl-warninglist-p new-warnings).

    Definitions and Theorems

    Function: vl-warninglist-lint-ignoreall

    (defun vl-warninglist-lint-ignoreall (x mashed-ignore-list)
      (declare (xargs :guard (and (vl-warninglist-p x)
                                  (string-listp mashed-ignore-list))))
      (let ((__function__ 'vl-warninglist-lint-ignoreall))
        (declare (ignorable __function__))
        (b* ((mashed-ignore-list (string-list-fix mashed-ignore-list))
             ((when (atom x)) nil)
             (type1 (vl-warning->type (car x)))
             (type1-mash (vl-warning-type-mash type1))
             ((when (member-equal type1-mash mashed-ignore-list))
              (vl-warninglist-lint-ignoreall (cdr x)
                                             mashed-ignore-list)))
          (cons (vl-warning-fix (car x))
                (vl-warninglist-lint-ignoreall (cdr x)
                                               mashed-ignore-list)))))

    Theorem: vl-warninglist-p-of-vl-warninglist-lint-ignoreall

    (defthm vl-warninglist-p-of-vl-warninglist-lint-ignoreall
      (b* ((new-warnings
                (vl-warninglist-lint-ignoreall x mashed-ignore-list)))
        (vl-warninglist-p new-warnings))
      :rule-classes :rewrite)

    Theorem: vl-warninglist-lint-ignoreall-of-vl-warninglist-fix-x

    (defthm vl-warninglist-lint-ignoreall-of-vl-warninglist-fix-x
      (equal (vl-warninglist-lint-ignoreall (vl-warninglist-fix x)
                                            mashed-ignore-list)
             (vl-warninglist-lint-ignoreall x mashed-ignore-list)))

    Theorem: vl-warninglist-lint-ignoreall-vl-warninglist-equiv-congruence-on-x

    (defthm
     vl-warninglist-lint-ignoreall-vl-warninglist-equiv-congruence-on-x
     (implies
       (vl-warninglist-equiv x x-equiv)
       (equal
            (vl-warninglist-lint-ignoreall x mashed-ignore-list)
            (vl-warninglist-lint-ignoreall x-equiv mashed-ignore-list)))
     :rule-classes :congruence)

    Theorem: vl-warninglist-lint-ignoreall-of-string-list-fix-mashed-ignore-list

    (defthm
     vl-warninglist-lint-ignoreall-of-string-list-fix-mashed-ignore-list
     (equal (vl-warninglist-lint-ignoreall
                 x (string-list-fix mashed-ignore-list))
            (vl-warninglist-lint-ignoreall x mashed-ignore-list)))

    Theorem: vl-warninglist-lint-ignoreall-string-list-equiv-congruence-on-mashed-ignore-list

    (defthm
     vl-warninglist-lint-ignoreall-string-list-equiv-congruence-on-mashed-ignore-list
     (implies
       (str::string-list-equiv mashed-ignore-list
                               mashed-ignore-list-equiv)
       (equal
            (vl-warninglist-lint-ignoreall x mashed-ignore-list)
            (vl-warninglist-lint-ignoreall x mashed-ignore-list-equiv)))
     :rule-classes :congruence)