Recognizer for vl-clkassign structures.
(vl-clkassign-p x) → *
Function:
(defun vl-clkassign-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-clkassign-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-clkassign) (std::prod-consp (cdr x)) (std::prod-consp (std::prod-car (cdr x))) (std::prod-consp (std::prod-cdr (cdr x))) (std::prod-consp (std::prod-cdr (std::prod-cdr (cdr x)))) (b* ((name (std::prod-car (std::prod-car (cdr x)))) (loc (std::prod-cdr (std::prod-car (cdr x)))) (inputp (std::prod-car (std::prod-cdr (cdr x)))) (rhs (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x))))) (skew (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x)))))) (and (stringp name) (vl-location-p loc) (booleanp inputp) (vl-maybe-expr-p rhs) (vl-maybe-clkskew-p skew))))))
Theorem:
(defthm consp-when-vl-clkassign-p (implies (vl-clkassign-p x) (consp x)) :rule-classes :compound-recognizer)