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