kuroneko
2014-01-13 01:08:05 UTC
The current s/w solution offers a 7 cycle delay (prop system clocks)
between nWAIT going active after nCS goes low. This has been considered too
long for certain use cases. I'll attach a proof of concept file which gets
this delay down to 3 cycles. What it boils down to is the use of the write
modifier on *waitpeq*:
' Wait for nCS to go active and perform outa += msk2 which makes
' outa := 2*outa + msk1 meaning now nWAIT is active.
loop_dira andn dira, #$FF ' data bus input
loop_outa mov outa, msk0 ' nWAIT inactive
loop waitpeq outa, msk2 wr
HTH,
Marko
between nWAIT going active after nCS goes low. This has been considered too
long for certain use cases. I'll attach a proof of concept file which gets
this delay down to 3 cycles. What it boils down to is the use of the write
modifier on *waitpeq*:
' Wait for nCS to go active and perform outa += msk2 which makes
' outa := 2*outa + msk1 meaning now nWAIT is active.
loop_dira andn dira, #$FF ' data bus input
loop_outa mov outa, msk0 ' nWAIT inactive
loop waitpeq outa, msk2 wr
HTH,
Marko
--
You received this message because you are subscribed to the Google Groups "N8VEM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to n8vem+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to n8vem-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/n8vem.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "N8VEM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to n8vem+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to n8vem-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/n8vem.
For more options, visit https://groups.google.com/groups/opt_out.