projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bc06d3
)
missing optional check on make_hazard_vecs
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 17 Nov 2021 14:10:50 +0000
(14:10 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 17 Nov 2021 14:10:50 +0000
(14:10 +0000)
src/soc/simple/core.py
patch
|
blob
|
history
diff --git
a/src/soc/simple/core.py
b/src/soc/simple/core.py
index e0ad6763a54cb376d24d415193795f31965ba2d1..e813d29b561e03015a1273df672e38d981f6ffb5 100644
(file)
--- 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)