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