From 660226c1924a91a04fadbb10361e6f31d4bac91b Mon Sep 17 00:00:00 2001 From: Bugra Onal Date: Thu, 7 Jul 2022 12:39:09 -0700 Subject: [PATCH] Set write_size default to word_size --- compiler/globals.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/compiler/globals.py b/compiler/globals.py index d0c0d673..9bb0dd91 100644 --- a/compiler/globals.py +++ b/compiler/globals.py @@ -377,6 +377,14 @@ def read_config(config_file, is_unit_test=True): ports, OPTS.tech_name) +<<<<<<< HEAD +======= + # If write size is not defined, set it equal to word size + if OPTS.write_size == None: + OPTS.write_size = OPTS.word_size + + +>>>>>>> 8438601a (Set write_size default to word_size) def end_openram(): """ Clean up openram for a proper exit """ cleanup_paths()