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