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