(vl-pp-extint x &key (ps 'ps)) → ps
Function:
(defun vl-pp-extint-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-value-p x))) (declare (xargs :guard (vl-value-case x :vl-extint))) (let ((__function__ 'vl-pp-extint)) (declare (ignorable __function__)) (b* (((vl-extint x) x)) (vl-ps-span "vl_int" (vl-print-str (case x.value (:vl-0val "'0") (:vl-1val "'1") (:vl-xval "'x") (:vl-zval "'z")))))))
Theorem:
(defthm vl-pp-extint-fn-of-vl-value-fix-x (equal (vl-pp-extint-fn (vl-value-fix x) ps) (vl-pp-extint-fn x ps)))
Theorem:
(defthm vl-pp-extint-fn-vl-value-equiv-congruence-on-x (implies (vl-value-equiv x x-equiv) (equal (vl-pp-extint-fn x ps) (vl-pp-extint-fn x-equiv ps))) :rule-classes :congruence)