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