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