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