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