(vl-pp-gclkdecl x &key (ps 'ps)) → ps
Function:
(defun vl-pp-gclkdecl-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-gclkdecl-p x))) (let ((__function__ 'vl-pp-gclkdecl)) (declare (ignorable __function__)) (b* (((vl-gclkdecl x))) (vl-ps-seq (vl-progindent) (if x.atts (vl-pp-atts x.atts) ps) (vl-print " ") (vl-ps-span "vl_key" (vl-print "global clocking ")) (if x.name (vl-ps-span "vl_id" (vl-print-str (vl-maybe-escape-identifier x.name)) (vl-print " ")) ps) (vl-pp-evatomlist x.event) (vl-println ";")))))
Theorem:
(defthm vl-pp-gclkdecl-fn-of-vl-gclkdecl-fix-x (equal (vl-pp-gclkdecl-fn (vl-gclkdecl-fix x) ps) (vl-pp-gclkdecl-fn x ps)))
Theorem:
(defthm vl-pp-gclkdecl-fn-vl-gclkdecl-equiv-congruence-on-x (implies (vl-gclkdecl-equiv x x-equiv) (equal (vl-pp-gclkdecl-fn x ps) (vl-pp-gclkdecl-fn x-equiv ps))) :rule-classes :congruence)