projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af28b2d
)
bug in iverilog, segfaults due to empty case statement
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 1 Apr 2021 12:17:53 +0000
(13:17 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 1 Apr 2021 12:17:53 +0000
(13:17 +0100)
src/soc/simple/issuer.py
patch
|
blob
|
history
diff --git
a/src/soc/simple/issuer.py
b/src/soc/simple/issuer.py
index e2f66a50fa1142bad706ea8a1210dcf1cbf89b05..d1a5b2c7ee7adcebd0e98884eb3873008c4e3816 100644
(file)
--- a/
src/soc/simple/issuer.py
+++ b/
src/soc/simple/issuer.py
@@
-680,7
+680,12
@@
class TestIssuerInternal(Elaboratable):
comb += self.state_w_pc.wen.eq(1 << StateRegs.PC)
comb += self.state_w_pc.data_i.eq(nia)
# reset SRCSTEP before returning to Fetch
- with m.If(pdecode2.loop_continue):
+ if self.svp64_en:
+ with m.If(pdecode2.loop_continue):
+ comb += new_svstate.srcstep.eq(0)
+ comb += new_svstate.dststep.eq(0)
+ comb += update_svstate.eq(1)
+ else:
comb += new_svstate.srcstep.eq(0)
comb += new_svstate.dststep.eq(0)
comb += update_svstate.eq(1)