X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fsoc%2Fsimple%2Fissuer.py;h=ad4fd0a9112680cffbe08d3aecdf94dd8e928f81;hb=c83043ee58e86a1b1da7b76a2b2d34e1667923dc;hp=0515611938d21afd4268f4c8355b40c251f79d53;hpb=f2a1daea5d49cfcbe0eca08db961d59e0a86b901;p=soc.git diff --git a/src/soc/simple/issuer.py b/src/soc/simple/issuer.py index 05156119..ad4fd0a9 100644 --- a/src/soc/simple/issuer.py +++ b/src/soc/simple/issuer.py @@ -135,20 +135,24 @@ class TestIssuer(Elaboratable): # read the PC pc = Signal(64, reset_less=True) + pc_ok_delay = Signal() + sync += pc_ok_delay.eq(~self.pc_i.ok) with m.If(self.pc_i.ok): # incoming override (start from pc_i) comb += pc.eq(self.pc_i.data) with m.Else(): - # otherwise read StateRegs regfile for PC + # otherwise read StateRegs regfile for PC... comb += self.state_r_pc.ren.eq(1<