(vl-pp-weirdint x &key (ps 'ps)) → ps
Function:
(defun vl-pp-weirdint-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-value-p x))) (declare (xargs :guard (vl-value-case x :vl-weirdint))) (let ((__function__ 'vl-pp-weirdint)) (declare (ignorable __function__)) (b* (((vl-weirdint x) x)) (vl-ps-span "vl_int" (vl-print-nat (len x.bits)) (if (eq x.origsign :vl-signed) (vl-print-str "'sb") (vl-print-str "'b")) (vl-print (vl-bitlist->charlist x.bits))))))
Theorem:
(defthm vl-pp-weirdint-fn-of-vl-value-fix-x (equal (vl-pp-weirdint-fn (vl-value-fix x) ps) (vl-pp-weirdint-fn x ps)))
Theorem:
(defthm vl-pp-weirdint-fn-vl-value-equiv-congruence-on-x (implies (vl-value-equiv x x-equiv) (equal (vl-pp-weirdint-fn x ps) (vl-pp-weirdint-fn x-equiv ps))) :rule-classes :congruence)