(vl-pp-interface x ss &key (ps 'ps)) → ps
Function:
(defun vl-pp-interface-fn (x ss ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (and (vl-interface-p x) (vl-scopestack-p ss)))) (let ((__function__ 'vl-pp-interface)) (declare (ignorable __function__)) (b* (((vl-interface x) (vl-interface-fix x)) (ss (vl-scopestack-push x ss))) (vl-ps-seq (vl-pp-set-portnames x.portdecls) (if x.atts (vl-pp-atts x.atts) ps) (vl-ps-span "vl_key" (vl-print "interface ")) (if (vl-ps->htmlp) (vl-pp-modulename-link x.name ss) (vl-print-modname x.name)) (vl-print " (") (vl-pp-portlist x.ports) (vl-println ");") (vl-progindent-block (vl-pp-genblob-guts (vl-interface->genblob x) ss)) (vl-progindent) (vl-ps-span "vl_key" (vl-println "endinterface")) (vl-println "")))))
Theorem:
(defthm vl-pp-interface-fn-of-vl-interface-fix-x (equal (vl-pp-interface-fn (vl-interface-fix x) ss ps) (vl-pp-interface-fn x ss ps)))
Theorem:
(defthm vl-pp-interface-fn-vl-interface-equiv-congruence-on-x (implies (vl-interface-equiv x x-equiv) (equal (vl-pp-interface-fn x ss ps) (vl-pp-interface-fn x-equiv ss ps))) :rule-classes :congruence)
Theorem:
(defthm vl-pp-interface-fn-of-vl-scopestack-fix-ss (equal (vl-pp-interface-fn x (vl-scopestack-fix ss) ps) (vl-pp-interface-fn x ss ps)))
Theorem:
(defthm vl-pp-interface-fn-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-pp-interface-fn x ss ps) (vl-pp-interface-fn x ss-equiv ps))) :rule-classes :congruence)