Basic constructor macro for vl-implicitst structures.
(make-vl-implicitst [:portdecls <portdecls>] [:decls <decls>] [:imports <imports>] [:ss <ss>])
This is the usual way to construct vl-implicitst structures. It simply conses together a structure with the specified fields.
This macro generates a new vl-implicitst structure from scratch. See also change-vl-implicitst, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-vl-implicitst (&rest args) (std::make-aggregate 'vl-implicitst args '((:portdecls) (:decls) (:imports) (:ss)) 'make-vl-implicitst nil))
Function:
(defun vl-implicitst (portdecls decls imports ss) (declare (xargs :guard (and (vl-portdecl-alist-p portdecls) (acl2::any-p decls) (acl2::any-p imports) (vl-scopestack-p ss)))) (declare (xargs :guard t)) (let ((__function__ 'vl-implicitst)) (declare (ignorable __function__)) (b* ((portdecls (mbe :logic (vl-portdecl-alist-fix portdecls) :exec portdecls)) (decls (mbe :logic (identity decls) :exec decls)) (imports (mbe :logic (identity imports) :exec imports)) (ss (mbe :logic (vl-scopestack-fix ss) :exec ss))) (std::prod-cons (std::prod-cons portdecls decls) (std::prod-cons imports ss)))))