From a0c6a0ad035b7f0d08f2188341b1cda96ef80826 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 c216858e..867ee27b 100644 --- a/compiler/globals.py +++ b/compiler/globals.py @@ -378,6 +378,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()