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