projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
933a474
)
invert write pending before use
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 22 May 2019 19:43:35 +0000
(20:43 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 22 May 2019 19:43:35 +0000
(20:43 +0100)
src/scoreboard/fn_unit.py
patch
|
blob
|
history
diff --git
a/src/scoreboard/fn_unit.py
b/src/scoreboard/fn_unit.py
index 886c8cf29b4d3863fde0a6591c5a0c3dba007da7..a0d317151294efa2f901a7a6afa2fc64ac0701bd 100644
(file)
--- a/
src/scoreboard/fn_unit.py
+++ b/
src/scoreboard/fn_unit.py
@@
-163,7
+163,7
@@
class FnUnit(Elaboratable):
# readable output signal
g_rd = Signal(self.reg_width, reset_less=True)
ro = Signal(reset_less=True)
- m.d.comb += g_rd.eq(self.g_wr_pend_i & self.rd_pend_o)
+ m.d.comb += g_rd.eq(
~
self.g_wr_pend_i & self.rd_pend_o)
m.d.comb += ro.eq(~g_rd.bool())
m.d.comb += self.readable_o.eq(ro)