Top-level stmtrewrite transform.
(vl-design-stmtrewrite x unroll-limit) → new-x
Function:
(defun vl-design-stmtrewrite (x unroll-limit) (declare (xargs :guard (and (vl-design-p x) (natp unroll-limit)))) (let ((__function__ 'vl-design-stmtrewrite)) (declare (ignorable __function__)) (b* ((x (vl-design-fix x)) (unroll-limit (lnfix unroll-limit)) ((vl-design x) x) (mods (vl-modulelist-stmtrewrite x.mods unroll-limit))) (change-vl-design x :mods mods))))
Theorem:
(defthm vl-design-p-of-vl-design-stmtrewrite (b* ((new-x (vl-design-stmtrewrite x unroll-limit))) (vl-design-p new-x)) :rule-classes :rewrite)