(vl-pp-dpiexport x &key (ps 'ps)) → ps
Function:
(defun vl-pp-dpiexport-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-dpiexport-p x))) (let ((__function__ 'vl-pp-dpiexport)) (declare (ignorable __function__)) (b* (((vl-dpiexport x))) (vl-ps-seq (vl-progindent) (if x.atts (vl-pp-atts x.atts) ps) (vl-ps-span "vl_key" (vl-print " export ")) (vl-ps-span "vl_str" (vl-print-str (vl-dpispec->string x.spec))) (vl-print " ") (if (not (equal x.c-name x.name)) (vl-ps-seq (vl-ps-span "vl_id" (vl-print-str x.c-name)) (vl-print " = ")) ps) (vl-ps-span "vl_key" (vl-print-str (vl-dpifntask->string x.fntask))) (vl-print " ") (vl-ps-span "vl_id" (vl-print-str (vl-maybe-escape-identifier x.name)) (vl-print " ")) (vl-println ";")))))
Theorem:
(defthm vl-pp-dpiexport-fn-of-vl-dpiexport-fix-x (equal (vl-pp-dpiexport-fn (vl-dpiexport-fix x) ps) (vl-pp-dpiexport-fn x ps)))
Theorem:
(defthm vl-pp-dpiexport-fn-vl-dpiexport-equiv-congruence-on-x (implies (vl-dpiexport-equiv x x-equiv) (equal (vl-pp-dpiexport-fn x ps) (vl-pp-dpiexport-fn x-equiv ps))) :rule-classes :congruence)