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