Top-level latchsynth transform.
(vl-design-latchsynth x &key (careful-p 't) vecp) → new-x
Function:
(defun vl-design-latchsynth-fn (x careful-p vecp) (declare (xargs :guard (and (vl-design-p x) (booleanp careful-p)))) (let ((__function__ 'vl-design-latchsynth)) (declare (ignorable __function__)) (b* ((x (vl-design-fix x)) (careful-p (if careful-p t nil)) ((vl-design x) x)) (change-vl-design x :mods (vl-modulelist-latchsynth x.mods careful-p vecp)))))
Theorem:
(defthm vl-design-p-of-vl-design-latchsynth (b* ((new-x (vl-design-latchsynth-fn x careful-p vecp))) (vl-design-p new-x)) :rule-classes :rewrite)