(vl-pp-assign x &key (ps 'ps)) → ps
Function:
(defun vl-pp-assign-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-assign-p x))) (let ((__function__ 'vl-pp-assign)) (declare (ignorable __function__)) (b* (((vl-assign x) x)) (vl-ps-seq (if x.atts (vl-ps-seq (vl-println "") (vl-progindent) (vl-pp-atts x.atts) (vl-println "")) ps) (vl-progindent) (vl-ps-span "vl_key" (vl-print "assign ")) (if (not x.strength) ps (vl-ps-seq (vl-pp-gatestrength x.strength) (vl-print " "))) (if (not x.delay) ps (vl-ps-seq (vl-pp-gatedelay x.delay) (vl-print " "))) (vl-pp-expr x.lvalue) (vl-println? " = ") (vl-pp-expr x.expr) (vl-println " ;")))))
Theorem:
(defthm vl-pp-assign-fn-of-vl-assign-fix-x (equal (vl-pp-assign-fn (vl-assign-fix x) ps) (vl-pp-assign-fn x ps)))
Theorem:
(defthm vl-pp-assign-fn-vl-assign-equiv-congruence-on-x (implies (vl-assign-equiv x x-equiv) (equal (vl-pp-assign-fn x ps) (vl-pp-assign-fn x-equiv ps))) :rule-classes :congruence)