Get the number of ticks for a simple delay.
(vl-simpledelay->amount x) → amount
Function:
(defun vl-simpledelay->amount (x) (declare (xargs :guard (and (vl-gatedelay-p x) (vl-simpledelay-p x)))) (let ((__function__ 'vl-simpledelay->amount)) (declare (ignorable __function__)) (lnfix (vl-resolved->val (vl-gatedelay->rise x)))))
Theorem:
(defthm natp-of-vl-simpledelay->amount (b* ((amount (vl-simpledelay->amount x))) (natp amount)) :rule-classes :type-prescription)