• 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
        • Getting-started
        • Utilities
        • Printer
        • Kit
        • Mlib
          • Scopestack
          • Hid-tools
          • Filtering-by-name
          • Vl-interface-mocktype
          • Stripping-functions
          • Genblob
          • Expr-tools
          • Extract-vl-types
          • Hierarchy
          • Range-tools
          • Finding-by-name
          • Stmt-tools
          • Modnamespace
          • Flat-warnings
          • Reordering-by-name
          • Datatype-tools
          • Syscalls
          • Allexprs
          • Lvalues
            • Lvaluecheck
              • Vl-modulelist-lvaluecheck
              • Vl-plainarglist-lvaluecheck
              • Vl-modelement-lvaluecheck
              • Vl-plainarg-lvaluecheck
              • Vl-arguments-lvaluecheck
              • Vl-function-specialization-map-lvaluecheck
              • Vl-module-lvaluecheck-aux
              • Vl-function-specialization-lvaluecheck
              • Vl-maybe-parse-temps-lvaluecheck
              • Vl-taskdecllist-lvaluecheck
              • Vl-modinstlist-lvaluecheck
              • Vl-initiallist-lvaluecheck
              • Vl-gateinstlist-lvaluecheck
              • Vl-fundecllist-lvaluecheck
              • Vl-elabtasklist-lvaluecheck
              • Vl-cassertionlist-lvaluecheck
              • Vl-assertionlist-lvaluecheck
              • Vl-assignlist-lvaluecheck
              • Vl-alwayslist-lvaluecheck
              • Vl-parse-temps-lvaluecheck
              • Vl-finallist-lvaluecheck
              • Vl-classlist-lvaluecheck
              • Vl-bindlist-lvaluecheck
              • Vl-taskdecl-lvaluecheck
              • Vl-initial-lvaluecheck
              • Vl-fundecl-lvaluecheck
              • Vl-elabtask-lvaluecheck
              • Vl-class-lvaluecheck
              • Vl-always-lvaluecheck
              • Vl-modinst-lvaluecheck
              • Vl-gateinst-lvaluecheck
              • Vl-final-lvaluecheck
              • Vl-bind-lvaluecheck
              • Vl-assign-lvaluecheck
              • Vl-module-lvaluecheck
                • Vl-design-lvaluecheck
              • Vl-expr-variable-lvalue-p
              • Vl-expr-net-lvalue-p
            • Port-tools
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Lvaluecheck

    Vl-module-lvaluecheck

    Signature
    (vl-module-lvaluecheck x) → new-x
    Arguments
    x — Guard (vl-module-p x).
    Returns
    new-x — Type (vl-module-p new-x).

    Definitions and Theorems

    Function: vl-module-lvaluecheck

    (defun vl-module-lvaluecheck (x)
      (declare (xargs :guard (vl-module-p x)))
      (let ((__function__ 'vl-module-lvaluecheck))
        (declare (ignorable __function__))
        (change-vl-module
             x
             :warnings
             (vl-module-lvaluecheck-aux x (vl-module->warnings x)))))

    Theorem: vl-module-p-of-vl-module-lvaluecheck

    (defthm vl-module-p-of-vl-module-lvaluecheck
      (b* ((new-x (vl-module-lvaluecheck x)))
        (vl-module-p new-x))
      :rule-classes :rewrite)

    Theorem: vl-module-lvaluecheck-of-vl-module-fix-x

    (defthm vl-module-lvaluecheck-of-vl-module-fix-x
      (equal (vl-module-lvaluecheck (vl-module-fix x))
             (vl-module-lvaluecheck x)))

    Theorem: vl-module-lvaluecheck-vl-module-equiv-congruence-on-x

    (defthm vl-module-lvaluecheck-vl-module-equiv-congruence-on-x
      (implies (vl-module-equiv x x-equiv)
               (equal (vl-module-lvaluecheck x)
                      (vl-module-lvaluecheck x-equiv)))
      :rule-classes :congruence)