Skip to content

Commit

Permalink
vcd_file: Update comment to reflect correct time units
Browse files Browse the repository at this point in the history
  • Loading branch information
schuay committed Aug 29, 2012
1 parent 27bab45 commit ebc09ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simavr/sim/sim_vcd_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ebc09ae

Please sign in to comment.