• 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
          • Vl-lintconfig-p
          • Lucid
          • Skip-detection
          • Vl-lintresult-p
          • Lint-warning-suppression
          • Condcheck
            • Vl-modulelist-condcheck
            • Vl-condcheck-fix
            • Vl-expr-condcheck
            • Vl-condcheck-negate
            • Vl-module-condcheck
            • Vl-exprctxalist-condcheck
            • Vl-design-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
    • Condcheck

    Vl-design-condcheck

    Signature
    (vl-design-condcheck x) → new-x
    Arguments
    x — Guard (vl-design-p x).
    Returns
    new-x — Type (vl-design-p new-x).

    Definitions and Theorems

    Function: vl-design-condcheck

    (defun vl-design-condcheck (x)
      (declare (xargs :guard (vl-design-p x)))
      (let ((__function__ 'vl-design-condcheck))
        (declare (ignorable __function__))
        (b* ((x (vl-design-fix x))
             ((vl-design x) x)
             (new-mods (vl-modulelist-condcheck x.mods)))
          (clear-memoize-table 'vl-expr-strip)
          (change-vl-design x :mods new-mods))))

    Theorem: vl-design-p-of-vl-design-condcheck

    (defthm vl-design-p-of-vl-design-condcheck
      (b* ((new-x (vl-design-condcheck x)))
        (vl-design-p new-x))
      :rule-classes :rewrite)