• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
        • Svex-stvs
          • Svtv-data
          • Defsvtv$
          • Svtv-run
          • Defsvtv-phasewise
          • Svtv
          • Svtv-spec
            • Svtv-spec-run
            • Svtv-spec-fix
            • Make-svtv-spec
            • Svtv-spec-p
            • Svtv-spec-equiv
            • Svtv-spec->override-test-alists
            • Svtv-spec->override-val-alists
            • Svtv-spec->cycle-phases
            • Change-svtv-spec
              • Svtv-spec->namemap
              • Svtv-spec->initst-alist
              • Svtv-spec->in-alists
              • Svtv-spec->probes
              • Svtv-spec->fsm
            • Defsvtv
            • Process.lisp
            • Svtv-doc
            • Svtv-chase$
            • Svtv-versus-stv
            • Svtv-debug-fsm
            • Structure.lisp
            • Svtv-debug
            • Def-pipeline-thm
            • Expand.lisp
            • Def-cycle-thm
            • Svtv-utilities
            • Svtv-debug$
            • Defsvtv$-phasewise
          • 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
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Svtv-spec

    Change-svtv-spec

    Modifying constructor for svtv-spec structures.

    Syntax
    (change-svtv-spec x 
                      [:fsm <fsm>] 
                      [:cycle-phases <cycle-phases>] 
                      [:namemap <namemap>] 
                      [:probes <probes>] 
                      [:in-alists <in-alists>] 
                      [:override-test-alists <override-test-alists>] 
                      [:override-val-alists <override-val-alists>] 
                      [:initst-alist <initst-alist>]) 
    

    This is an often useful alternative to make-svtv-spec.

    We construct a new svtv-spec 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-svtv-spec

    (defmacro change-svtv-spec (x &rest args)
      (std::change-aggregate
           'svtv-spec
           x args
           '((:fsm . svtv-spec->fsm)
             (:cycle-phases . svtv-spec->cycle-phases)
             (:namemap . svtv-spec->namemap)
             (:probes . svtv-spec->probes)
             (:in-alists . svtv-spec->in-alists)
             (:override-test-alists . svtv-spec->override-test-alists)
             (:override-val-alists . svtv-spec->override-val-alists)
             (:initst-alist . svtv-spec->initst-alist))
           'change-svtv-spec
           'nil))