]> sigrok.org Git - libsigrok.git/commit
vcd: Output timestamp only once per change.
authorDaniel Elstner <redacted>
Thu, 30 Jan 2014 20:57:49 +0000 (21:57 +0100)
committerDaniel Elstner <redacted>
Thu, 30 Jan 2014 20:57:49 +0000 (21:57 +0100)
commit2b6363b433683dfc9bedb678dfe854a56b776d4d
treec0b807bfd9307e43dac7c27df0b883805bbbf202
parent563080a8d1f1737578a313b89995a9da6ec1077c
vcd: Output timestamp only once per change.

Avoid writing a new timestamp for every changed signal if multiple
signals change state simultaneously.  Also, keep signal transitions
on the same line with their timestamp to make the output easier to
inspect in a text editor.  (VCD does not care whether newlines or
spaces are used to separate tokens.)
output/vcd.c