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