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