• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
        • Fgl-rewrite-rules
        • Fgl-function-mode
        • Fgl-object
        • Fgl-solving
        • Fgl-handling-if-then-elses
        • Fgl-getting-bits-from-objects
        • Fgl-primitive-and-meta-rules
        • Fgl-counterexamples
        • Fgl-interpreter-overview
        • Fgl-correctness-of-binding-free-variables
        • Fgl-debugging
        • Fgl-testbenches
        • Def-fgl-boolean-constraint
        • Fgl-stack
          • Scratchobj
            • Scratchobj-fix
            • Scratchobj-case
            • Scratchobj-equiv
            • Scratchobj-p
            • Scratchobj-formals
            • Scratchobj-fnsym
            • Scratchobj-fgl-objlist
            • Scratchobj-fgl-obj
            • Scratchobj-cinstlist
            • Scratchobj-cinst
            • Scratchobj-bfrlist
            • Scratchobj-kind
            • Scratchobj-bfr
              • Make-scratchobj-bfr
                • Change-scratchobj-bfr
                • Scratchobj-bfr->val
            • Minor-frame
            • Major-frame
            • Major-stack
            • Scratchlist
            • Minor-stack
          • Fgl-rewrite-tracing
          • Def-fgl-param-thm
          • Def-fgl-thm
          • Fgl-fast-alist-support
          • Fgl-array-support
          • Advanced-equivalence-checking-with-fgl
          • Fgl-fty-support
          • Fgl-internals
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Scratchobj-bfr

    Make-scratchobj-bfr

    Basic constructor macro for scratchobj-bfr structures.

    Syntax
    (make-scratchobj-bfr [:val <val>]) 
    

    This is the usual way to construct scratchobj-bfr structures. It simply conses together a structure with the specified fields.

    This macro generates a new scratchobj-bfr structure from scratch. See also change-scratchobj-bfr, which can "change" an existing structure, instead.

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-scratchobj-bfr

    (defmacro make-scratchobj-bfr (&rest args)
      (std::make-aggregate 'scratchobj-bfr
                           args '((:val))
                           'make-scratchobj-bfr
                           nil))

    Function: scratchobj-bfr

    (defun scratchobj-bfr (val)
      (declare (xargs :guard t))
      (let ((__function__ 'scratchobj-bfr))
        (declare (ignorable __function__))
        (cons :bfr val)))