whoops remove duplicate code (cut/paste error) no harm done
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 16 Dec 2021 14:07:09 +0000 (14:07 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 16 Dec 2021 14:07:09 +0000 (14:07 +0000)
src/soc/simple/issuer.py

index 1ddb2385bcbab432534d3d72cd979d38a2caaf07..175276ada6b50392b9fb1f745f7971e4dfb1efac 100644 (file)
@@ -1290,11 +1290,6 @@ class TestIssuerInternal(TestIssuerBase):
                         comb += core.icache.flush_in.eq(1)
                     # stop instruction fault
                     sync += pdecode2.instr_fault.eq(0)
-                    if flush_needed:
-                        # request the icache to stop asserting "failed"
-                        comb += core.icache.flush_in.eq(1)
-                    # stop instruction fault
-                    sync += pdecode2.instr_fault.eq(0)
 
         # check if svstate needs updating: if so, write it to State Regfile
         with m.If(self.update_svstate):