Skip to content

Commit

Permalink
change instance names for gpio control blocks to avoid arrays not sta…
Browse files Browse the repository at this point in the history
…rting at 0
  • Loading branch information
mo-hosni committed Mar 13, 2024
1 parent acfa777 commit 0dbdb4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions verilog/rtl/caravel_core.v
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 0dbdb4d

Please sign in to comment.