Fix indentation
[soc.git] / src / soc / simple / inorder.py
index 510bd2dad70da2131f8a4456d3633d8d749a2a17..851d7f5f38ab19b05e31e66571cd73a1db878242 100644 (file)
@@ -160,7 +160,7 @@ class FetchFSM(ControlBase):
                         # not SVP64 - 32-bit only
                         sync += nia.eq(cur_state.pc + 4)
                         sync += dec_opcode_o.eq(insn)
-                            m.next = "INSN_READY"
+                        m.next = "INSN_READY"
 
             with m.State("INSN_READY"):
                 # hand over the instruction, to be decoded
@@ -435,7 +435,8 @@ class TestIssuerInternalInOrder(TestIssuerBase):
         nia = Signal(64)
 
         # connect up debug signals
-        comb += dbg.terminate_i.eq(core.o.core_terminate_o)
+        with m.If(core.o.core_terminate_o):
+            comb += dbg.terminate_i.eq(1)
 
         # there are *THREE^WFOUR-if-SVP64-enabled* FSMs, fetch (32/64-bit)
         # issue, decode/execute, now joined by "Predicate fetch/calculate".