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