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