From ebc09ae499f9abdabc1809c2e66385c14d6a5517 Mon Sep 17 00:00:00 2001 From: Jakob Gruber Date: Tue, 28 Aug 2012 15:46:59 +0200 Subject: [PATCH] vcd_file: Update comment to reflect correct time units --- simavr/sim/sim_vcd_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simavr/sim/sim_vcd_file.c b/simavr/sim/sim_vcd_file.c index 2584643..8d71e6b 100644 --- a/simavr/sim/sim_vcd_file.c +++ b/simavr/sim/sim_vcd_file.c @@ -101,8 +101,8 @@ static void avr_vcd_flush_log(avr_vcd_t * vcd) avr_vcd_log_t *l = &vcd->log[li]; uint64_t base = avr_cycles_to_nsec(vcd->avr, l->when - vcd->start); // 1ns base - // if that trace was seen in this usec already, we fudge the base time - // to make sure the new value is offset by one usec, to make sure we get + // if that trace was seen in this nsec already, we fudge the base time + // to make sure the new value is offset by one nsec, to make sure we get // at least a small pulse on the waveform // This is a bit of a fudge, but it is the only way to represent very // short"pulses" that are still visible on the waveform. -- 2.39.5