• Top
    • Documentation
    • Books
    • Boolean-reasoning
      • Ipasir
      • Aignet
      • Aig
        • Aig-constructors
        • Aig-vars
        • Aig-sat
        • Bddify
        • Aig-substitution
        • Aig-other
          • Best-aig
          • Aig2c
            • Aig2c-config-p
              • Aig2c-config
              • Make-aig2c-config
              • Change-aig2c-config
                • Make-honsed-aig2c-config
                • Honsed-aig2c-config
                • Aig2c-boolean-sanity-check-p
                • Aig2c-config->type
                • Aig2c-config->prefix
                • Aig2c-config->op-not
                • Aig2c-config->op-and
              • Aig2c-compile
              • Aig2c-maketemps
              • Aig2c-main
              • Aig2c-prologue
              • Aig2c-maketemps-list
              • Aig2c-epilogue
              • Aig2c-main-list
            • Expr-to-aig
            • Aiger-write
            • Aig-random-sim
            • Aiger-read
            • Aig-print
            • Aig-cases
          • Aig-semantics
          • Aig-and-count
        • Satlink
        • Truth
        • Ubdds
        • Bdd
        • Faig
        • Bed
        • 4v
      • Projects
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Aig2c-config-p

    Change-aig2c-config

    A copying macro that lets you create new aig2c-config-p structures, based on existing structures.

    Syntax:

    (change-aig2c-config x 
                         [:prefix <prefix>] 
                         [:type <type>] 
                         [:op-and <op-and>] 
                         [:op-not <op-not>]) 
    

    This is a sometimes useful alternative to make-aig2c-config. It constructs a new aig2c-config-p structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

    This is an ordinary change- macro introduced by std::defaggregate.

    Macro: change-aig2c-config

    (defmacro change-aig2c-config (x &rest args)
      (std::change-aggregate 'aig2c-config
                             x args
                             '((:prefix . aig2c-config->prefix)
                               (:type . aig2c-config->type)
                               (:op-and . aig2c-config->op-and)
                               (:op-not . aig2c-config->op-not))
                             'change-aig2c-config
                             'nil))