Basic constructor macro for vl-repeatstmt structures.
(make-vl-repeatstmt [:condition <condition>] [:body <body>] [:atts <atts>])
This is the usual way to construct vl-repeatstmt structures. It simply conses together a structure with the specified fields.
This macro generates a new vl-repeatstmt structure from scratch. See also change-vl-repeatstmt, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-vl-repeatstmt (&rest args) (std::make-aggregate 'vl-repeatstmt args '((:condition) (:body) (:atts)) 'make-vl-repeatstmt nil))
Function:
(defun vl-repeatstmt (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-repeatstmt)) (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-repeatstmt (std::prod-cons condition (std::prod-cons body atts))))))