Number of ticks for a simple delay, e.g.,
(vl-simpledelaycontrol->ticks x) → ticks
Function:
(defun vl-simpledelaycontrol->ticks$inline (x) (declare (xargs :guard (and (vl-delaycontrol-p x) (vl-simpledelaycontrol-p x)))) (let ((__function__ 'vl-simpledelaycontrol->ticks)) (declare (ignorable __function__)) (lnfix (vl-resolved->val (vl-delaycontrol->value x)))))
Theorem:
(defthm natp-of-vl-simpledelaycontrol->ticks (b* ((ticks (vl-simpledelaycontrol->ticks$inline x))) (natp ticks)) :rule-classes :type-prescription)