vcd_file: Update comment to reflect correct time units
authorJakob Gruber <jakob.gruber@gmail.com>
Tue, 28 Aug 2012 13:46:59 +0000 (15:46 +0200)
committerJakob Gruber <jakob.gruber@gmail.com>
Wed, 29 Aug 2012 12:53:18 +0000 (14:53 +0200)
simavr/sim/sim_vcd_file.c

index 2584643..8d71e6b 100644 (file)
@@ -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.