• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
          • Vl-lintconfig-p
          • Lucid
          • Skip-detection
            • Sd-problem-p
            • Sd-keylist-find-skipped
            • Sd-keylist->indicies
            • Sd-key-p
              • Sd-key
              • Make-sd-key
                • Change-sd-key
                • Make-honsed-sd-key
                • Honsed-sd-key
                • Sd-key->index
                • Sd-key->pat
                • Sd-key->orig
              • Sd-patalist-compare
              • Sd-analyze-ctxexprs
              • Sd-problemlist-p
              • Sd-patalist-p
              • Sd-keygen
              • Sd-patalist
              • Sd-keylist-p
              • Sd-analyze-modulelist
              • Sd-analyze-module-aux
              • Sd-analyze-module
              • Sd-pp-problem-long
              • Sd-analyze-modulelist-aux
              • Sd-problem-score
              • Sd-pp-problem-header
              • Sd-analyze-design
              • Sd-problem->
              • Sd-pp-problem-brief
              • Sd-pp-problemlist-long
              • Sd-pp-problemlist-brief
              • Sd-natlist-linear-increments-p
              • Sd-keylist-linear-increments-p
            • Vl-lintresult-p
            • Lint-warning-suppression
            • Condcheck
            • Selfassigns
            • Leftright-check
            • Dupeinst-check
            • Oddexpr-check
            • Remove-toohard
            • Qmarksize-check
            • Portcheck
            • Duplicate-detect
            • Vl-print-certain-warnings
            • Duperhs-check
            • *vl-lint-help*
            • Lint-stmt-rewrite
            • Drop-missing-submodules
            • Check-case
            • Drop-user-submodules
            • Check-namespace
            • Vl-lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Sd-key-p

    Make-sd-key

    Constructor macro for sd-key-p structures.

    Syntax:

    (make-sd-key [:pat <pat>] 
                 [:index <index>] 
                 [:orig <orig>]) 
    

    This is our preferred way to construct sd-key-p structures. It simply conses together a structure with the specified fields.

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

    The sd-key-p structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see make-honsed-sd-key instead.

    Definition

    This is an ordinary make- macro introduced by defaggregate.

    Macro: make-sd-key

    (defmacro make-sd-key (&rest args)
      (std::make-aggregate 'sd-key
                           args '((:pat) (:index) (:orig))
                           'make-sd-key
                           nil))