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