From: Luke Kenneth Casson Leighton Date: Wed, 1 Dec 2021 12:20:23 +0000 (+0000) Subject: remove redundant / mis-named variable in core X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18570ae1fd9f33bac0cc532962f0776066115145;p=soc.git remove redundant / mis-named variable in core --- 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)