Re: V2.5 BOOSTER CURRENT PROTOTYPE STATUS (SEC BOOSTER)
Posted: 31 Jan 2019 17:43
That's not what I see. Do you have high bandwidth scope captures showing that behavior?exxos wrote: 31 Jan 2019 14:28That doesn't actually happen though with ROM access. I documented it a long time ago, I think TF even noticed the same.. That Based on normal 8MHz timings, GLUE DTACK stays low right up until S2 of the next bus cycle. There is about 20-40ns difference between DTACK going high and /AS going low in the next bus cycle. That time is only there with 1K pull ups on DTACK. Pretty much DTACK can been seen as staying constantly low during all ROM access.
You misunderstood (or may be I didn't explain it correctly). The problem on a sound chip access is not DTACK assertion, but DTACK DEassertion. The same logic in GLUE that delays DTACK assertion when accessing the sound chip, it delays DTACK deassertion as well. So in this case, when a very fast CPU accesses the sound chip, it might definitely happen what you thought that the CPU would see this DTACK still active on the next bus cycle.The CPU still waits for DTACK, so even if DTACK arrived 20 clocks later, it wouldn't cause the CPU to do anything to fast.ijor wrote: 31 Jan 2019 14:10 But when accessing the sound chip, GLUE uses synchronous logic. This is done on purpose for inserting wait states because the sound chip is not that fast. But then DTACK pulse would extend much more than S7 and S0 (let alone the slow raising time for being open drain). And this indeed can be a problem if the CPU is running at a faster clock.
Yes, because MMU assumes a bus cycle being performed at stock 8MHz.In fact in terms of RAM access, DTACK is actually asserted a little bit faster than when data is actually ready. So I have to add in some delays there to compensate