From ca74fa33419aaaaf1ea5f01206e59cfceb3cc819 Mon Sep 17 00:00:00 2001 From: ga Date: Wed, 25 May 2022 13:37:34 +0100 Subject: [PATCH] Fix duplicate VCD names. --- simavr/sim/sim_elf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } } } -- 2.39.5