(vl-pp-modport-portlist x &key (ps 'ps)) → ps
Function:
(defun vl-pp-modport-portlist-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-modport-portlist-p x))) (let ((__function__ 'vl-pp-modport-portlist)) (declare (ignorable __function__)) (if (atom x) ps (vl-ps-seq (vl-pp-modport-port (car x)) (if (atom (cdr x)) ps (vl-println? ", ")) (vl-pp-modport-portlist (cdr x))))))
Theorem:
(defthm vl-pp-modport-portlist-fn-of-vl-modport-portlist-fix-x (equal (vl-pp-modport-portlist-fn (vl-modport-portlist-fix x) ps) (vl-pp-modport-portlist-fn x ps)))
Theorem:
(defthm vl-pp-modport-portlist-fn-vl-modport-portlist-equiv-congruence-on-x (implies (vl-modport-portlist-equiv x x-equiv) (equal (vl-pp-modport-portlist-fn x ps) (vl-pp-modport-portlist-fn x-equiv ps))) :rule-classes :congruence)