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