(vl-pp-design x &key (ps 'ps)) → ps
Function:
(defun vl-pp-design-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-design-p x))) (let ((__function__ 'vl-pp-design)) (declare (ignorable __function__)) (b* (((vl-design x)) (ss (vl-scopestack-init x))) (vl-ps-seq (vl-pp-fwdtypedeflist x.fwdtypes) (vl-pp-paramdecllist x.paramdecls) (vl-pp-typedeflist x.typedefs) (vl-pp-vardecllist x.vardecls) (vl-pp-fundecllist x.fundecls) (vl-pp-taskdecllist x.taskdecls) (vl-pp-packagelist x.packages ss) (vl-pp-importlist x.imports) (vl-pp-dpiimportlist x.dpiimports) (vl-pp-dpiexportlist x.dpiexports) (vl-pp-bindlist x.binds ss) (vl-pp-interfacelist x.interfaces ss) (vl-pp-modulelist x.mods ss) (vl-pp-udplist x.udps) (vl-pp-programlist x.programs) (vl-pp-classlist x.classes) (vl-pp-configlist x.configs)))))
Theorem:
(defthm vl-pp-design-fn-of-vl-design-fix-x (equal (vl-pp-design-fn (vl-design-fix x) ps) (vl-pp-design-fn x ps)))
Theorem:
(defthm vl-pp-design-fn-vl-design-equiv-congruence-on-x (implies (vl-design-equiv x x-equiv) (equal (vl-pp-design-fn x ps) (vl-pp-design-fn x-equiv ps))) :rule-classes :congruence)