X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fsoc%2Fsimple%2Finorder.py;h=03a101a45bf3d2fe54c94278dc3cd6b3a3d03263;hb=64dc05bb295845fd02e066a2f42e54345791c259;hp=8174fc5c0d067ee719744aeca721bf7df73a8d8c;hpb=cc9d98a1dcc6c307c4a716fab0bbddb11ac9be39;p=soc.git diff --git a/src/soc/simple/inorder.py b/src/soc/simple/inorder.py index 8174fc5c..03a101a4 100644 --- a/src/soc/simple/inorder.py +++ b/src/soc/simple/inorder.py @@ -120,6 +120,12 @@ class FetchFSM(ControlBase): with m.FSM(name='fetch_fsm'): + # allow fetch to not run at startup due to I-Cache reset not + # having time to settle. power-on-reset holds dbg.core_stopped_i + with m.State("PRE_IDLE"): + with m.If(~dbg.core_stopped_i & ~dbg.core_stop_o): + m.next = "IDLE" + # waiting (zzz) with m.State("IDLE"): with m.If(~dbg.stopping_o & ~fetch_failed):