Collect just the interface ports for a interface.
(vl-interface->ifports x) → ports
Function:
(defun vl-interface->ifports (x) (declare (xargs :guard (vl-interface-p x))) (let ((__function__ 'vl-interface->ifports)) (declare (ignorable __function__)) (vl-collect-interface-ports (vl-interface->ports x))))
Theorem:
(defthm vl-interfaceportlist-p-of-vl-interface->ifports (b* ((ports (vl-interface->ifports x))) (vl-interfaceportlist-p ports)) :rule-classes :rewrite)
Theorem:
(defthm vl-regularportlist-p-when-no-interface->ifports (implies (not (vl-interface->ifports x)) (vl-regularportlist-p (vl-interface->ports x))))
Theorem:
(defthm vl-interface->ifports-of-vl-interface-fix-x (equal (vl-interface->ifports (vl-interface-fix x)) (vl-interface->ifports x)))
Theorem:
(defthm vl-interface->ifports-vl-interface-equiv-congruence-on-x (implies (vl-interface-equiv x x-equiv) (equal (vl-interface->ifports x) (vl-interface->ifports x-equiv))) :rule-classes :congruence)