]> sigrok.org Git - libsigrok.git/commit
output/vcd: use larger data type to internally store frequency
authorGerhard Sittig <redacted>
Sun, 21 Oct 2018 13:40:55 +0000 (15:40 +0200)
committerUwe Hermann <redacted>
Sat, 21 Dec 2019 16:19:50 +0000 (17:19 +0100)
commit4ddea31451922d596b34cc2c07825fbbabb14bfc
tree5863246849f7693f91cf97ac9e921319bd56aacb
parent38950645429a6220bdca129f0ff9b72d4ba6254b
output/vcd: use larger data type to internally store frequency

The 'period' member of the VCD output module's context is supposed to
hold frequencies that correspond to the timescale used during export.
An 'int' (in combination with VCD's 1/10/100 constraint) thus would
result in a 1GHz limit, use uint64_t instead to support higher rates.
src/output/vcd.c