Anton Blanchard
03/21/2022, 10:57 AMMitch Bailey
03/21/2022, 12:05 PMcaravel/scripts/gen_gpio_defaults.py
will grab the settings from user_defines.v
and use defaults if they don't exist.
user_defines_path = vpath + '/rtl/user_defines.v'
if not os.path.isfile(user_defines_path):
user_defines_path = caravel_path + '/verilog/rtl/user_defines.v'
This works correctly for caravan
but not for gpio 34
of caravel
.
Both caravel.mag
and caravel.v
are updated (or the corresponding caravan
files).
See https://github.com/efabless/caravel/issues/45Tim Edwards
03/21/2022, 12:16 PMMatt Venn
03/21/2022, 4:24 PMAnton Blanchard
03/21/2022, 6:31 PMverilog/rtl/user_defines.h
. Thank you! Testing nowAnton Blanchard
03/21/2022, 6:31 PMAnton Blanchard
03/21/2022, 6:42 PMTim Edwards
03/21/2022, 7:12 PMTim Edwards
03/21/2022, 7:15 PMAnton Blanchard
03/22/2022, 7:19 AMu4959_anton/design/microwatt_mpw5/jobs/tapeout/69bfd613-7058-4973-86b2-e74c49aadbe9/logs
) should have GPIO defaults set from https://github.com/antonblanchard/microwatt-mpw5/blob/main/verilog/rtl/user_defines.vAnton Blanchard
03/22/2022, 7:20 AMTim Edwards
03/22/2022, 12:35 PMuser_defines.v
file.Anton Blanchard
03/28/2022, 10:54 AMuser_defines.v
GPIO defaults are workingTim Edwards
03/28/2022, 12:49 PM