Difference between revisions of "File format:Vcd"

From sigrok
Jump to navigation Jump to search
m
m
Line 78: Line 78:
* [http://en.wikipedia.org/wiki/Value_change_dump Wikipedia: Value change dump]
* [http://en.wikipedia.org/wiki/Value_change_dump Wikipedia: Value change dump]
* [https://web.archive.org/web/20120323132708/http://www.beyondttl.com/vcd.php beyondttl.com: Value Change Dump (VCD)]
* [https://web.archive.org/web/20120323132708/http://www.beyondttl.com/vcd.php beyondttl.com: Value Change Dump (VCD)]
__NOTOC__


[[Category:File format]]
[[Category:File format]]

Revision as of 01:24, 2 August 2014

vcd
Sigrok vcd output in gtkwave.png
Name Value change dump
Status supported
Source code (in) vcd.c
Source code (out) vcd.c
Common extension(s) .vcd, .wave
MIME type
ASCII format yes
Compression yes (only stores transitions)
Website wikipedia.org

vcd is an ASCII-based file format that...

It can be opened and processed e.g. in a waveform viewer software.

Format

See Wikipedia for a short overview.

Properties

Implementation

Examples

$date Fri Aug  1 23:46:38 2014 $end
$version libsigrok 0.3.0 $end
$comment
  Acquisition with 2/8 channels at 500 kHz
$end
$timescale 1 us $end
$scope module libsigrok $end
$var wire 1 ! sda $end
$var wire 1 " scl $end
$upscope $end
$enddefinitions $end
#0 1! 0"
#40 0!
#72 1"
#102 1!
#144 0!
#174 0"
#204 1!
#246 0!
#276 1"
#306 1!
#348 0!
#380 0"
#410 1!
#452 0!
#514 1!
#566 0!
#628 1!
#668 0!
#730 1!
#770 0!
#832 1!
#872 0!
#938 1!
#978 0! 1"
#1010 0"
#1040 1!
[...]
#106772 1!
#106812 0!
#106844 0"
#106874 1!
#106914 1"
#160000

Resources