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