From 2b95b4f2d6527f1e793245d485eebe91c9198f09 Mon Sep 17 00:00:00 2001 From: M0stafaRady Date: Wed, 24 May 2023 02:37:41 -0700 Subject: [PATCH] update gen_gpio_defaults script to edit caravan_core.v rather than caravan.v --- scripts/gen_gpio_defaults.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gen_gpio_defaults.py b/scripts/gen_gpio_defaults.py index 9fa2ffb2..abec820e 100755 --- a/scripts/gen_gpio_defaults.py +++ b/scripts/gen_gpio_defaults.py @@ -458,7 +458,7 @@ if __name__ == '__main__': if testmode: print('Test only: Caravan top gate-level verilog:') - with open(caravel_path + '/verilog/gl/caravan.v', 'r') as ifile: + with open(caravel_path + '/verilog/gl/caravan_core.v', 'r') as ifile: vlines = ifile.read().splitlines() outlines = [] for vline in vlines: @@ -483,7 +483,7 @@ if __name__ == '__main__': outlines.append(vline) if not testmode: - with open(glpath + '/caravan.v', 'w') as ofile: + with open(glpath + '/caravan_core.v', 'w') as ofile: for outline in outlines: print(outline, file=ofile)