From: ga Date: Wed, 25 May 2022 12:37:34 +0000 (+0100) Subject: Fix duplicate VCD names. X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=ca74fa33419aaaaf1ea5f01206e59cfceb3cc819;p=sx%2Fsimavr.git Fix duplicate VCD names. --- diff --git a/simavr/sim/sim_elf.c b/simavr/sim/sim_elf.c index ddbc8a2..df69b81 100644 --- a/simavr/sim/sim_elf.c +++ b/simavr/sim/sim_elf.c @@ -175,8 +175,7 @@ avr_load_firmware( } char comp[128]; sprintf(comp, "%s.%d", firmware->trace[ti].name, bi); - avr_vcd_add_signal(avr->vcd, - bit, 1, firmware->trace[ti].name); + avr_vcd_add_signal(avr->vcd, bit, 1, comp); } } }