From: Luke Kenneth Casson Leighton Date: Wed, 17 Nov 2021 14:10:50 +0000 (+0000) Subject: missing optional check on make_hazard_vecs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce2cb30d718fd70216ad3cdbbbebd289df52fdf6;p=soc.git missing optional check on make_hazard_vecs --- 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)