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