• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
        • Svex-stvs
        • Svex-decomposition-methodology
        • Sv-versus-esim
        • Svex-decomp
        • Svex-compose-dfs
        • Svex-compilation
        • Moddb
        • Svmods
        • Svstmt
        • Sv-tutorial
        • Expressions
        • Symbolic-test-vector
        • Vl-to-svex
          • Vl-to-sv
          • Vl-design->sv-design
            • Vl-simpconfig
            • Vl-hierarchy-sv-translation
            • Vl-expr-svex-translation
              • Sv::vl-expr.lisp
              • Vttree
                • Vttree-p
                • Vttree-fix
                • Vttree-count
                • Vttree-equiv
                • Vttree-context
                • Vttree-branch
                  • Vttree-branch->right
                  • Make-vttree-branch
                  • Vttree-branch->left
                  • Change-vttree-branch
                  • Vttree-warnings
                  • Vttree-constraints
                  • Vttree-none
                  • Vttree-kind
                  • Patbind-wvmv
                  • Patbind-vwmv
                  • Patbind-vmv
              • Vl-design->svex-modalist
              • Vl-svstmt
            • Vl-to-sv-main
            • Vl-simplify-sv
            • Vl-user-paramsettings->unparam-names
            • Vl-user-paramsettings->modnames
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vttree-branch

    Change-vttree-branch

    Modifying constructor for vttree-branch structures.

    Syntax
    (change-vttree-branch x 
                          [:left <left>] 
                          [:right <right>]) 
    

    This is an often useful alternative to make-vttree-branch.

    We construct a new vttree-branch 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 defprod.

    Macro: change-vttree-branch

    (defmacro change-vttree-branch (x &rest args)
      (std::change-aggregate 'vttree-branch
                             x args
                             '((:left . vttree-branch->left)
                               (:right . vttree-branch->right))
                             'change-vttree-branch
                             'nil))