During pre-check i have this error: `{{GPIO-DEFINES: ERROR IN verilog/rtl/user_defines.v}} Directive...
f
During pre-check i have this error:
{{GPIO-DEFINES: ERROR IN verilog/rtl/user_defines.v}} Directives(33) still placeholder (13'hXXXX) or not hex-literal:
I can comment the lines in user_defines.v?
v
it must be assigned to some values from default:
Copy code
`define GPIO_MODE_MGMT_STD_INPUT_NOPULL    10'h007
`define GPIO_MODE_MGMT_STD_INPUT_PULLDOWN  10'h047
`define GPIO_MODE_MGMT_STD_INPUT_PULLUP    10'h087
`define GPIO_MODE_MGMT_STD_OUTPUT          10'h00b
`define GPIO_MODE_MGMT_STD_BIDIRECTIONAL   10'h009

`define GPIO_MODE_USER_STD_INPUT_NOPULL    10'h006
`define GPIO_MODE_USER_STD_INPUT_PULLDOWN  10'h046
`define GPIO_MODE_USER_STD_INPUT_PULLUP    10'h086
`define GPIO_MODE_USER_STD_OUTPUT          10'h00a
`define GPIO_MODE_USER_STD_BIDIRECTIONAL   10'h008
You must update verilog/rtl/user_defines.v for each IO and specify a valid power-on default configuration.  Precheck will fail without this.
f
Why don't work?
v
its sky130 defines file. refer this for gf180. https://github.com/efabless/caravel_user_project/blob/gfmpw-0d/verilog/rtl/user_defines.v update and run precheck again
f
Okay thank you
Why is not automatically update?
m
j
Please use the latest copy of user_defines.v The values have been updated. Precheck will fail if they are not updated.
f
Ok thanks