From 8610144ccb9522237fb1429e6c68c7d6fa0ee4b9 Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 24 May 2021 09:54:39 -0700 Subject: [PATCH] Fix write size warning --- compiler/globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/globals.py b/compiler/globals.py index d64c727f..f5710b63 100644 --- a/compiler/globals.py +++ b/compiler/globals.py @@ -614,7 +614,7 @@ def report_status(): # then it doesn't need a write mask. It would be writing # the whole word. if (OPTS.write_size < 1 or OPTS.write_size > OPTS.word_size/2): - debug.error("Write size needs to be between 1 bit and {0} bits/2.".format(OPTS.word_size)) + debug.error("Write size needs to be between 1 bit and {0} bits.".format(OPTS.word_size/2)) if not OPTS.tech_name: debug.error("Tech name must be specified in config file.")