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