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