(vl-pp-clkassign x &key (ps 'ps)) → ps
Function:
(defun vl-pp-clkassign-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-clkassign-p x))) (let ((__function__ 'vl-pp-clkassign)) (declare (ignorable __function__)) (b* (((vl-clkassign x))) (vl-ps-seq (vl-progindent) (vl-ps-span "vl_key" (if x.inputp (vl-print " input ") (vl-print " output "))) (if x.skew (vl-pp-clkskew x.skew) ps) (vl-ps-span "vl_id" (vl-print-str (vl-maybe-escape-identifier x.name))) (if x.rhs (vl-ps-seq (vl-print " = ") (vl-pp-expr x.rhs)) ps) (vl-println "; ")))))
Theorem:
(defthm vl-pp-clkassign-fn-of-vl-clkassign-fix-x (equal (vl-pp-clkassign-fn (vl-clkassign-fix x) ps) (vl-pp-clkassign-fn x ps)))
Theorem:
(defthm vl-pp-clkassign-fn-vl-clkassign-equiv-congruence-on-x (implies (vl-clkassign-equiv x x-equiv) (equal (vl-pp-clkassign-fn x ps) (vl-pp-clkassign-fn x-equiv ps))) :rule-classes :congruence)