(vl-pp-interfaceport x &key (ps 'ps)) → ps
Function:
(defun vl-pp-interfaceport-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-interfaceport-p x))) (let ((__function__ 'vl-pp-interfaceport)) (declare (ignorable __function__)) (b* (((vl-interfaceport x) x)) (vl-ps-seq (vl-print-modname x.ifname) (if x.modport (vl-ps-seq (vl-print ".") (vl-ps-span "vl_id" (vl-print-str (vl-maybe-escape-identifier x.modport)))) ps) (vl-print " ") (vl-ps-span "vl_id" (vl-print-str (vl-maybe-escape-identifier x.name))) (if (consp x.udims) (vl-ps-seq (vl-print " ") (vl-pp-dimensionlist x.udims)) ps)))))
Theorem:
(defthm vl-pp-interfaceport-fn-of-vl-interfaceport-fix-x (equal (vl-pp-interfaceport-fn (vl-interfaceport-fix x) ps) (vl-pp-interfaceport-fn x ps)))
Theorem:
(defthm vl-pp-interfaceport-fn-vl-interfaceport-equiv-congruence-on-x (implies (vl-interfaceport-equiv x x-equiv) (equal (vl-pp-interfaceport-fn x ps) (vl-pp-interfaceport-fn x-equiv ps))) :rule-classes :congruence)