Returns a list where reg names are repeated N times if they are repeated in N different always blocks.
(vl-always-scary-regs-aux x) → names
Function:
(defun vl-always-scary-regs-aux (x) (declare (xargs :guard (vl-alwayslist-p x))) (let ((__function__ 'vl-always-scary-regs-aux)) (declare (ignorable __function__)) (if (atom x) nil (append (mergesort (vl-exprlist-names (vl-always-lvalexprs (car x)))) (vl-always-scary-regs-aux (cdr x))))))
Theorem:
(defthm string-listp-of-vl-always-scary-regs-aux (b* ((names (vl-always-scary-regs-aux x))) (string-listp names)) :rule-classes :rewrite)
Theorem:
(defthm vl-always-scary-regs-aux-of-vl-alwayslist-fix-x (equal (vl-always-scary-regs-aux (vl-alwayslist-fix x)) (vl-always-scary-regs-aux x)))
Theorem:
(defthm vl-always-scary-regs-aux-vl-alwayslist-equiv-congruence-on-x (implies (vl-alwayslist-equiv x x-equiv) (equal (vl-always-scary-regs-aux x) (vl-always-scary-regs-aux x-equiv))) :rule-classes :congruence)