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