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