2
0
forked from Ivasoft/DSView

Correctly detect LPC timeouts / aborts

LPC timeouts and aborts can occur anywhere and at any time during
or after a cycle, not just during the SYNC/TAR periods.
This commit is contained in:
Timothy Pearson
2020-04-05 22:31:25 -05:00
parent 51acdf0d84
commit 14a7c1d6bb

View File

@@ -504,6 +504,10 @@ class Decoder(srd.Decoder):
# TODO: Only memory read/write is currently supported/tested.
# Detect host cycle abort requests
if (lframe == 0) and (self.oldlframe == 0):
self.state = 'GET TIMEOUT'
# State machine
if self.state == 'IDLE':
# A valid LPC cycle starts with LFRAME# being asserted (low).