diff --git a/verilog/rtl/caravan.v b/verilog/rtl/caravan.v index 9dc6756c..516c4ae4 100644 --- a/verilog/rtl/caravan.v +++ b/verilog/rtl/caravan.v @@ -43,7 +43,7 @@ /* The pads are still designated as mprj_io[37:0] around the */ /* padframe. The SoC core remains the same, so the programming */ /* of the digital signals remains the same, but the values for */ -/* GPIO 15-25 are not used. */ +/* GPIO 14-24 (indexed from 0) are not used. */ /*--------------------------------------------------------------*/ `define DIG2_TOP (`MPRJ_IO_PADS - 1) diff --git a/verilog/rtl/user_defines.v b/verilog/rtl/user_defines.v index f74de2b6..bc282c6c 100644 --- a/verilog/rtl/user_defines.v +++ b/verilog/rtl/user_defines.v @@ -56,9 +56,9 @@ `define USER_CONFIG_GPIO_11_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL `define USER_CONFIG_GPIO_12_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL `define USER_CONFIG_GPIO_13_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL -`define USER_CONFIG_GPIO_14_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL -// Configurations of GPIO 15 to 25 are used on caravel but not caravan. +// Configurations of GPIO 14 to 24 are used on caravel but not caravan. +`define USER_CONFIG_GPIO_14_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL `define USER_CONFIG_GPIO_15_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL `define USER_CONFIG_GPIO_16_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL `define USER_CONFIG_GPIO_17_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL @@ -69,8 +69,8 @@ `define USER_CONFIG_GPIO_22_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL `define USER_CONFIG_GPIO_23_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL `define USER_CONFIG_GPIO_24_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL -`define USER_CONFIG_GPIO_25_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL +`define USER_CONFIG_GPIO_25_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL `define USER_CONFIG_GPIO_26_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL `define USER_CONFIG_GPIO_27_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL `define USER_CONFIG_GPIO_28_INIT `GPIO_MODE_MGMT_STD_INPUT_NOPULL