Get the ports field from a vl-property.
(vl-property->ports x) → ports
This is an ordinary field accessor created by defprod.
Function:
(defun vl-property->ports$inline (x) (declare (xargs :guard (vl-property-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-property->ports)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (vl-propportlist-fix (cdr (std::da-nth 1 (cdr x))))) :exec (cdr (std::da-nth 1 (cdr x))))))
Theorem:
(defthm vl-propportlist-p-of-vl-property->ports (b* ((ports (vl-property->ports$inline x))) (vl-propportlist-p ports)) :rule-classes :rewrite)
Theorem:
(defthm vl-property->ports$inline-of-vl-property-fix-x (equal (vl-property->ports$inline (vl-property-fix x)) (vl-property->ports$inline x)))
Theorem:
(defthm vl-property->ports$inline-vl-property-equiv-congruence-on-x (implies (vl-property-equiv x x-equiv) (equal (vl-property->ports$inline x) (vl-property->ports$inline x-equiv))) :rule-classes :congruence)