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