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