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