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