(vl-design-drop-blankports x) → new-x
Function:
(defun vl-design-drop-blankports (x) (declare (xargs :guard (vl-design-p x))) (let ((__function__ 'vl-design-drop-blankports)) (declare (ignorable __function__)) (b* ((x (vl-design-fix x)) ((vl-design x) x) (ss (vl-scopestack-init x)) (mods (vl-modulelist-drop-blankports x.mods ss))) (vl-scopestacks-free) (change-vl-design x :mods mods))))
Theorem:
(defthm vl-design-p-of-vl-design-drop-blankports (b* ((new-x (vl-design-drop-blankports x))) (vl-design-p new-x)) :rule-classes :rewrite)