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