projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23b6c00
)
whoops missed make_hazard_vec test
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 29 Nov 2021 16:41:00 +0000
(16:41 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 29 Nov 2021 16:41:00 +0000
(16:41 +0000)
src/soc/simple/core.py
patch
|
blob
|
history
diff --git
a/src/soc/simple/core.py
b/src/soc/simple/core.py
index f73017c443df0ff03ca534921c512d1f647437f6..0f29a7f5a334c0b9245edf05b1b8cf41554db0f1 100644
(file)
--- a/
src/soc/simple/core.py
+++ b/
src/soc/simple/core.py
@@
-985,6
+985,9
@@
class NonProductionCore(ControlBase):
wvclrers[regfile.lower()].append(wvclren)
wvseters[regfile.lower()].append(wvseten)
+ if not self.make_hazard_vecs:
+ return
+
# for write-vectors: reduce the clr-ers and set-ers down to
# a single set of bits. otherwise if there are two write
# ports (on some regfiles), the last one doing comb += on
@@
-1091,6
+1094,7
@@
if __name__ == '__main__':
pspec = TestMemPspec(ldst_ifacetype='testpi',
imem_ifacetype='',
addr_wid=48,
+ allow_overlap=True,
mask_wid=8,
reg_wid=64)
dut = NonProductionCore(pspec)