(vl-pp-genvar x &key (ps 'ps)) → ps
Function:
(defun vl-pp-genvar-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-genvar-p x))) (let ((__function__ 'vl-pp-genvar)) (declare (ignorable __function__)) (b* (((vl-genvar x))) (vl-ps-seq (vl-progindent) (if x.atts (vl-pp-atts x.atts) ps) (vl-ps-span "vl_key" (vl-print "genvar ")) (vl-print-wirename x.name) (vl-println ";")))))
Theorem:
(defthm vl-pp-genvar-fn-of-vl-genvar-fix-x (equal (vl-pp-genvar-fn (vl-genvar-fix x) ps) (vl-pp-genvar-fn x ps)))
Theorem:
(defthm vl-pp-genvar-fn-vl-genvar-equiv-congruence-on-x (implies (vl-genvar-equiv x x-equiv) (equal (vl-pp-genvar-fn x ps) (vl-pp-genvar-fn x-equiv ps))) :rule-classes :congruence)