From ce2cb30d718fd70216ad3cdbbbebd289df52fdf6 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 17 Nov 2021 14:10:50 +0000 Subject: [PATCH] missing optional check on make_hazard_vecs --- src/soc/simple/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/simple/core.py b/src/soc/simple/core.py index e0ad6763..e813d29b 100644 --- a/src/soc/simple/core.py +++ b/src/soc/simple/core.py @@ -651,6 +651,9 @@ class NonProductionCore(ControlBase): comb += wport.addr.eq(ortreereduce_sig(addrs)) comb += wport.wen.eq(ortreereduce_sig(wens)) + if not self.make_hazard_vecs: + return + # for write-vectors comb += wvclr.wen.eq(ortreereduce_sig(wvclren)) # clear (regfile write) comb += wvset.wen.eq(ortreereduce_sig(wvseten)) # set (issue time) -- 2.30.2