From 0dbdb4df96afd7f995de500b7b9263a857a1d920 Mon Sep 17 00:00:00 2001 From: mo-hosni Date: Wed, 13 Mar 2024 20:45:19 +0200 Subject: [PATCH] change instance names for gpio control blocks to avoid arrays not starting at 0 --- verilog/rtl/caravel_core.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/verilog/rtl/caravel_core.v b/verilog/rtl/caravel_core.v index 79c533b0..14944e6d 100644 --- a/verilog/rtl/caravel_core.v +++ b/verilog/rtl/caravel_core.v @@ -1324,7 +1324,7 @@ module caravel_core ( /* Section 2 GPIOs (GPIO 19 to 26) */ - gpio_control_block gpio_control_in_2 [7:0] ( + gpio_control_block gpio_control_in_2_1 [7:0] ( `ifdef USE_POWER_PINS .vccd(vccd), .vssd(vssd), @@ -1377,7 +1377,7 @@ module caravel_core ( /* Section 2 GPIOs (GPIO 27 to 31) DFT jtag */ - gpio_control_block_mgmt gpio_control_in_2 [12:8] ( + gpio_control_block_mgmt gpio_control_in_2_2 [4:0] ( `ifdef USE_POWER_PINS .vccd(vccd), .vssd(vssd), @@ -1429,7 +1429,7 @@ module caravel_core ( ); /* Section 2 GPIOs (GPIO 32 to 34) */ - gpio_control_block_mgmt gpio_control_in_2 [15:13] ( + gpio_control_block_mgmt gpio_control_in_2_3 [2:0] ( `ifdef USE_POWER_PINS .vccd(vccd), .vssd(vssd),