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