Get the unroll-limit field from a vl-simpconfig.
(vl-simpconfig->unroll-limit x) → unroll-limit
This is an ordinary field accessor created by defprod.
Function:
(defun vl-simpconfig->unroll-limit$inline (x) (declare (xargs :guard (vl-simpconfig-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-simpconfig->unroll-limit)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (nfix (cdr (std::da-nth 3 (cdr x))))) :exec (cdr (std::da-nth 3 (cdr x))))))
Theorem:
(defthm natp-of-vl-simpconfig->unroll-limit (b* ((unroll-limit (vl-simpconfig->unroll-limit$inline x))) (natp unroll-limit)) :rule-classes :type-prescription)
Theorem:
(defthm vl-simpconfig->unroll-limit$inline-of-vl-simpconfig-fix-x (equal (vl-simpconfig->unroll-limit$inline (vl-simpconfig-fix x)) (vl-simpconfig->unroll-limit$inline x)))
Theorem:
(defthm vl-simpconfig->unroll-limit$inline-vl-simpconfig-equiv-congruence-on-x (implies (vl-simpconfig-equiv x x-equiv) (equal (vl-simpconfig->unroll-limit$inline x) (vl-simpconfig->unroll-limit$inline x-equiv))) :rule-classes :congruence)