Adds VCD (Value Change Dump) file output support (gtkwave)
authorMichel Pollet <buserror@gmail.com>
Mon, 14 Dec 2009 21:00:04 +0000 (21:00 +0000)
committerMichel Pollet <buserror@gmail.com>
Mon, 14 Dec 2009 21:00:04 +0000 (21:00 +0000)
commite198c93ab297f763a18a77c64dbdfc0adc7ee4bb
tree5bc1bcbc979d99addd4c875e798725358275dff3
parent7d859a4b1eb18a3ef13636587ba051a54d7a69b3
Adds VCD (Value Change Dump) file output support (gtkwave)

This subsystem is not called by the core itself, it is
an utility available to other "boards".

Allows the simulator to dump graphical traces readable
in gtkwave.
The subsystem allows any number of trace files in parallel,
any sampling periods, and a maximum of 32 traces per file.

See updated "ledramp.c" example for a very simple way to use
the code.

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/sim_vcd_file.c [new file with mode: 0644]
simavr/sim/sim_vcd_file.h [new file with mode: 0644]