dvisampler: disable EDID when HPD_EN is low
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Fri, 13 Sep 2013 21:43:28 +0000 (23:43 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Fri, 13 Sep 2013 21:43:28 +0000 (23:43 +0200)
milkymist/dvisampler/edid.py

index b1f6d76cbff27f2d2d306283050b2d1bf2d07f1c..b4afb4ebf93728ede0c81a6db7a44b8a196c1425 100644 (file)
@@ -186,3 +186,4 @@ class EDID(Module, AutoCSR):
 
                for state in fsm.actions.keys():
                        fsm.act(state, If(start, NextState("RCV_ADDRESS")))
+                       fsm.act(state, If(~self._r_hpd_en.storage, NextState("WAIT_START")))