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