From: Michel Pollet Date: Thu, 17 Dec 2009 20:25:01 +0000 (+0000) Subject: ELF: Use a much larger VCD flush window X-Git-Tag: v1.0a1~45 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=306786ccd14dde0bcc2c6378bc54d03ef9ad6e3a;p=sx%2Fsimavr.git ELF: Use a much larger VCD flush window With the new log VCD handling, a much larger timeout is perfectly fine. Signed-off-by: Michel Pollet --- diff --git a/simavr/sim/sim_elf.c b/simavr/sim/sim_elf.c index 4bd617a..92785e0 100644 --- a/simavr/sim/sim_elf.c +++ b/simavr/sim/sim_elf.c @@ -56,7 +56,7 @@ void avr_load_firmware(avr_t * avr, elf_firmware_t * firmware) avr_vcd_init(avr, firmware->tracename[0] ? firmware->tracename: "gtkwave_trace.vcd", avr->vcd, - firmware->traceperiod >= 5 ? firmware->traceperiod : 5); + firmware->traceperiod >= 1000 ? firmware->traceperiod : 1000); printf("Creating VCD trace file '%s'\n", avr->vcd->filename); for (int ti = 0; ti < firmware->tracecount; ti++) {