Gather lvalue-position expressions from a vl-module-p.
(vl-module-lvalexprs x) → exprs
Function:
(defun vl-module-lvalexprs (x) (declare (xargs :guard (vl-module-p x))) (let ((__function__ 'vl-module-lvalexprs)) (declare (ignorable __function__)) (mbe :logic (b* ((x (vl-module-fix x))) (b* (((vl-module x) x)) (append (vl-assignlist-lvalexprs x.assigns) (vl-modinstlist-lvalexprs x.modinsts) (vl-gateinstlist-lvalexprs x.gateinsts) (vl-alwayslist-lvalexprs x.alwayses) (vl-initiallist-lvalexprs x.initials)))) :exec (with-local-nrev (vl-module-lvalexprs-nrev x nrev)))))
Theorem:
(defthm vl-exprlist-p-of-vl-module-lvalexprs (b* ((exprs (vl-module-lvalexprs x))) (vl-exprlist-p exprs)) :rule-classes :rewrite)
Theorem:
(defthm vl-module-lvalexprs-nrev-removal (equal (vl-module-lvalexprs-nrev x nrev) (append nrev (vl-module-lvalexprs x))))
Theorem:
(defthm true-listp-of-vl-module-lvalexprs (true-listp (vl-module-lvalexprs x)) :rule-classes :type-prescription)
Theorem:
(defthm vl-exprlist-lvaluesp-of-vl-module-lvalexprs (vl-exprlist-lvaluesp (vl-module-lvalexprs x)))
Theorem:
(defthm vl-module-lvalexprs-of-vl-module-fix-x (equal (vl-module-lvalexprs (vl-module-fix x)) (vl-module-lvalexprs x)))
Theorem:
(defthm vl-module-lvalexprs-vl-module-equiv-congruence-on-x (implies (vl-module-equiv x x-equiv) (equal (vl-module-lvalexprs x) (vl-module-lvalexprs x-equiv))) :rule-classes :congruence)