(vl-pp-udp x &key (ps 'ps)) → ps
Function:
(defun vl-pp-udp-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-udp-p x))) (let ((__function__ 'vl-pp-udp)) (declare (ignorable __function__)) (b* (((vl-udp x) x)) (vl-ps-seq (if x.atts (vl-pp-atts x.atts) ps) (vl-ps-span "vl_key" (vl-print "primitive ")) (vl-print-modname x.name) (vl-println "( /* bozo need to print ports */ ) ;") (vl-println " // BOZO implement vl-pp-udp") (vl-ps-span "vl_key" (vl-println "endprimitive")) (vl-println "")))))
Theorem:
(defthm vl-pp-udp-fn-of-vl-udp-fix-x (equal (vl-pp-udp-fn (vl-udp-fix x) ps) (vl-pp-udp-fn x ps)))
Theorem:
(defthm vl-pp-udp-fn-vl-udp-equiv-congruence-on-x (implies (vl-udp-equiv x x-equiv) (equal (vl-pp-udp-fn x ps) (vl-pp-udp-fn x-equiv ps))) :rule-classes :congruence)