Re: Blitter test programs?
Posted: 29 Jul 2024 20:43
1)Badwolf wrote: 29 Jul 2024 12:35 These corruptions tend to fall in specific places which I'm guessing come at the end of the blitter cycle. Perhaps I'm picking up an erroneous write? Is the timing of the blitter write cycle a bit off?
As I said before, Blitter doesn't follow the 68K Bus specifications very strictly. Blitter was designed to work on the ST, not on every 68K compliant platform. Or at the very least, surely that's how it was developed and tested. And there are also minor variations among the different Blitter revisions.
Blitter just works writing to standard RAM on the ST. You need to design your timing taking this in consideration. Forget about the 68K bus protocol for this purpose. Concentrate in the ST internal timing.
2)
Timing analysis ... timing analysis ... timing analysis ...
You have to perform a comprehensive timing analysis. Problem this is going to be tricky here because you are not fully synchronous to the chipset, yet the chipset is writing to synchronous ram. You probably can't do this analysis with Xilinx ise.
Draw a waveform including the main signals, or may be perform a simulation to produce the waveform. Then perform the timing analysis manually for the best and worst case. Considering how you are aligning the clocks, it might be better to first perform a timing analysis for the clock skew. It's crucial to find out which are the best and worst case for the clock skew.
Did I said before that I don't think it's a good idea to work asynchronously with the chipset? Probably not your problem here. But I just can't help and repeat myself :)