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