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