Basic constructor macro for vl-bindelim-institem structures.
(make-vl-bindelim-institem [:inst <inst>] [:genp <genp>] [:bindp <bindp>] [:ctx <ctx>])
This is the usual way to construct vl-bindelim-institem structures. It simply conses together a structure with the specified fields.
This macro generates a new vl-bindelim-institem structure from scratch. See also change-vl-bindelim-institem, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-vl-bindelim-institem (&rest args) (std::make-aggregate 'vl-bindelim-institem args '((:inst) (:genp) (:bindp) (:ctx)) 'make-vl-bindelim-institem nil))
Function:
(defun vl-bindelim-institem (inst genp bindp ctx) (declare (xargs :guard (and (vl-modinst-p inst) (booleanp genp) (booleanp bindp) (vl-bindcontext-p ctx)))) (declare (xargs :guard t)) (let ((__function__ 'vl-bindelim-institem)) (declare (ignorable __function__)) (b* ((inst (mbe :logic (vl-modinst-fix inst) :exec inst)) (genp (mbe :logic (acl2::bool-fix genp) :exec genp)) (bindp (mbe :logic (acl2::bool-fix bindp) :exec bindp)) (ctx (mbe :logic (vl-bindcontext-fix ctx) :exec ctx))) (std::prod-cons (std::prod-cons inst genp) (std::prod-cons bindp ctx)))))