Get the str field from a vl-modinst.
(vl-modinst->str x) → str
This is an ordinary field accessor created by defprod.
Function:
(defun vl-modinst->str$inline (x) (declare (xargs :guard (vl-modinst-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-modinst->str)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (vl-maybe-gatestrength-fix (std::prod-cdr (std::prod-car (std::prod-cdr (cdr x)))))) :exec (std::prod-cdr (std::prod-car (std::prod-cdr (cdr x)))))))
Theorem:
(defthm vl-maybe-gatestrength-p-of-vl-modinst->str (b* ((str (vl-modinst->str$inline x))) (vl-maybe-gatestrength-p str)) :rule-classes :rewrite)
Theorem:
(defthm vl-modinst->str$inline-of-vl-modinst-fix-x (equal (vl-modinst->str$inline (vl-modinst-fix x)) (vl-modinst->str$inline x)))
Theorem:
(defthm vl-modinst->str$inline-vl-modinst-equiv-congruence-on-x (implies (vl-modinst-equiv x x-equiv) (equal (vl-modinst->str$inline x) (vl-modinst->str$inline x-equiv))) :rule-classes :congruence)