From 18570ae1fd9f33bac0cc532962f0776066115145 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 1 Dec 2021 12:20:23 +0000 Subject: [PATCH] remove redundant / mis-named variable in core --- src/soc/simple/core.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/soc/simple/core.py b/src/soc/simple/core.py index e1dffb0a..6e9184df 100644 --- a/src/soc/simple/core.py +++ b/src/soc/simple/core.py @@ -769,7 +769,6 @@ class NonProductionCore(ControlBase): wvset = wv.s # write-vec bit-level hazard ctrl wvclr = wv.r # write-vec bit-level hazard ctrl wvchk = wv.q # write-after-write hazard check - wvchk_qint = wv.q # write-after-write hazard check, NOT delayed fspecs = fspec if not isinstance(fspecs, list): @@ -914,7 +913,7 @@ class NonProductionCore(ControlBase): # write-hazard is ANDed with (filtered by) what is actually # being requested. the wvchk data is on a one-clock delay, # and wvchk_en comes directly from the main decoder - comb += whazard.eq((wvchk_qint & wvchk_en).bool()) + comb += whazard.eq((wvchk & wvchk_en).bool()) with m.If(whazard): comb += fu._waw_hazard.eq(1) -- 2.30.2