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