LEEJA J
10/18/2023, 5:35 AMMitch Bailey
10/18/2023, 1:44 PMverilog/rtl/user_defines.v
file. If you open that, the default has all gpio defaults as invalid. The designer must change each one to reflect the usage of the gpio for their design.
There’s a more detailed explanation in the file.LEEJA J
10/19/2023, 9:05 AMMitch Bailey
10/19/2023, 1:21 PM/home/kudsit/caravel_user_project/verilog/rtl/user_defines.v
?
Can you post the file?LEEJA J
10/20/2023, 5:12 AMFreaking Tux
10/20/2023, 9:31 AMMatt Venn
10/20/2023, 9:34 AMMatt Venn
10/20/2023, 9:34 AMMatt Venn
10/20/2023, 9:34 AMMatt Venn
10/20/2023, 9:34 AMMatt Venn
10/20/2023, 9:35 AMFreaking Tux
10/20/2023, 9:45 AMMatt Venn
10/20/2023, 9:49 AMMitch Bailey
10/20/2023, 9:50 AM.
Defined variables are also preceded by a
when referenced.
`define USER_CONFIG_GPIO_5_INIT `GPIO_MODE_USER_STD_INPUT_NOPULL
`define USER_CONFIG_GPIO_6_INIT `GPIO_MODE_USER_STD_INPUT_NOPULL
`define USER_CONFIG_GPIO_7_INIT `GPIO_MODE_USER_STD_INPUT_NOPULL
`define USER_CONFIG_GPIO_8_INIT `GPIO_MODE_USER_STD_INPUT_NOPULL
`define USER_CONFIG_GPIO_9_INIT `GPIO_MODE_USER_STD_INPUT_NOPULL
`define USER_CONFIG_GPIO_10_INIT `GPIO_MODE_USER_STD_OUTPUT
`define USER_CONFIG_GPIO_11_INIT `GPIO_MODE_USER_STD_OUTPUT
Matt Venn
10/20/2023, 10:06 AM