Wrapper to hide the case split for optional clean-params.
(vl-simplify-maybe-clean-params design config) → new-design
Function:
(defun vl-simplify-maybe-clean-params (design config) (declare (xargs :guard (and (vl-design-p design) (vl-simpconfig-p config)))) (let ((__function__ 'vl-simplify-maybe-clean-params)) (declare (ignorable __function__)) (b* (((vl-simpconfig config) config) ((unless config.clean-params-p) (vl-design-fix design))) (xf-cwtime (vl-design-clean-params design)))))
Theorem:
(defthm vl-design-p-of-vl-simplify-maybe-clean-params (b* ((new-design (vl-simplify-maybe-clean-params design config))) (vl-design-p new-design)) :rule-classes :rewrite)