• 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
          • Defsvtv
          • Process.lisp
          • Svtv-doc
          • Svtv-chase$
          • Svtv-versus-stv
          • Svtv-debug-fsm
          • Structure.lisp
          • Svtv-debug
            • Vcd.lisp
              • Elab-mod->vcd-wires
              • Vcd-scope
              • Vcd-wire
              • Vcd-print-4vec-aux
              • Vcd-dump-delta
              • Vcd-wirelist-add-to-wiremap
              • Vcd-print-header
              • Vcd-dump-first-snapshot-aux
              • Vcd-dump-delta-aux
              • Vcd-wiremap
                • Set-vcdwire
                  • Resize-vcdwires
                  • Get-vcdwire
                  • Vcdwires-length
                • 4vecarr
                • Vcd-print-wiredecls
                • Vcd-4vec-bitstr
                • Vcd-index->codechars
                • Vcd-wire->width
                • Vcd-index->codestr
                • Vcd-dump-first-snapshot
                • Vcd-wirelist
              • Debug.lisp
            • 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
    • Vcd-wiremap

    Set-vcdwire

    Modify the nth element of the vcd-wiremap array.

    In the execution this is an array write, but the logical definition is just a thin wrapper for update-nth:

    Function: update-vcdwires$ai

    (defun update-vcdwires$ai (stobjs::i stobjs::v vcd-wiremap$a)
      (declare (xargs :guard (and (vcd-wiremap$ap vcd-wiremap$a)
                                  (integerp stobjs::i)
                                  (<= 0 stobjs::i)
                                  (< stobjs::i
                                     (vcdwires$a-length vcd-wiremap$a))
                                  (vcd-wire-p stobjs::v)
                                  (stobjs::typep$ stobjs::v t))))
      (ec-call (update-nth stobjs::i
                           (vcd-wire-fix$inline stobjs::v)
                           vcd-wiremap$a)))