Basic constructor macro for svl-env structures.
(make-svl-env [:wires <wires>] [:modules <modules>])
This is the usual way to construct svl-env structures. It simply conses together a structure with the specified fields.
This macro generates a new svl-env structure from scratch. See also change-svl-env, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-svl-env (&rest args) (std::make-aggregate 'svl-env args '((:wires) (:modules)) 'make-svl-env nil))
Function:
(defun svl-env (wires modules) (declare (xargs :guard (and (svex-env-p wires) (svl-env-alist-p modules)))) (declare (xargs :guard t)) (let ((acl2::__function__ 'svl-env)) (declare (ignorable acl2::__function__)) (b* ((wires (mbe :logic (sv::svex-env-fix wires) :exec wires)) (modules (mbe :logic (svl-env-alist-fix modules) :exec modules))) (list wires modules))))