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