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