Recognizer for vl-interfaceport structures.
(vl-interfaceport-p x) → *
Function:
(defun vl-interfaceport-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-interfaceport-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-interfaceport) (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)))) (ifname (std::prod-cdr (std::prod-car (cdr x)))) (modport (std::prod-car (std::prod-cdr (cdr x)))) (udims (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x))))) (loc (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x)))))) (and (stringp name) (stringp ifname) (maybe-stringp modport) (vl-packeddimensionlist-p udims) (vl-location-p loc))))))
Theorem:
(defthm consp-when-vl-interfaceport-p (implies (vl-interfaceport-p x) (consp x)) :rule-classes :compound-recognizer)