(vl-pp-taskdecl x &key (ps 'ps)) → ps
Function:
(defun vl-pp-taskdecl-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-taskdecl-p x))) (let ((__function__ 'vl-pp-taskdecl)) (declare (ignorable __function__)) (b* (((vl-taskdecl x) x)) (vl-ps-seq (vl-progindent) (if x.atts (vl-ps-seq (vl-pp-atts x.atts) (vl-print " ")) ps) (vl-ps-span "vl_key" (vl-print "task ") (vl-pp-lifetime x.lifetime)) (vl-print-wirename x.name) (vl-println ";") (vl-progindent-block (vl-pp-portdecllist x.portdecls) (vl-pp-importlist x.imports) (vl-pp-paramdecllist x.paramdecls) (vl-pp-typedeflist x.typedefs) (vl-pp-vardecllist x.vardecls) (vl-pp-stmt x.body) (vl-basic-cw "~|")) (vl-progindent) (vl-ps-span "vl_key" (vl-print "endtask")) (vl-println "")))))
Theorem:
(defthm vl-pp-taskdecl-fn-of-vl-taskdecl-fix-x (equal (vl-pp-taskdecl-fn (vl-taskdecl-fix x) ps) (vl-pp-taskdecl-fn x ps)))
Theorem:
(defthm vl-pp-taskdecl-fn-vl-taskdecl-equiv-congruence-on-x (implies (vl-taskdecl-equiv x x-equiv) (equal (vl-pp-taskdecl-fn x ps) (vl-pp-taskdecl-fn x-equiv ps))) :rule-classes :congruence)