(vl-pp-delaycontrol x &key (ps 'ps)) → ps
Function:
(defun vl-pp-delaycontrol-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-delaycontrol-p x))) (let ((__function__ 'vl-pp-delaycontrol)) (declare (ignorable __function__)) (let ((value (vl-delaycontrol->value x))) (if (vl-expr-resolved-p value) (vl-ps-seq (vl-print "#") (vl-ps-span "vl_int" (vl-println? (vl-resolved->val value)))) (vl-ps-seq (vl-print "#(") (vl-pp-expr value) (vl-println? ")"))))))
Theorem:
(defthm vl-pp-delaycontrol-fn-of-vl-delaycontrol-fix-x (equal (vl-pp-delaycontrol-fn (vl-delaycontrol-fix x) ps) (vl-pp-delaycontrol-fn x ps)))
Theorem:
(defthm vl-pp-delaycontrol-fn-vl-delaycontrol-equiv-congruence-on-x (implies (vl-delaycontrol-equiv x x-equiv) (equal (vl-pp-delaycontrol-fn x ps) (vl-pp-delaycontrol-fn x-equiv ps))) :rule-classes :congruence)