I think my simplified SDRAM controller is pretty solid now. My remaining problems with higher speed seem to be hardware related (too any reflections causing oscillations on the data lines -- need to experiment with some termination on the data lines).
I've tried building it for the XC9572XL. It fits and requires 65 pins for 32 bit mode with two SDRAM chips, but can be reduced to 61 pins for single chip. It shouldn't be hard to adapt to 68k by subbing the SIZE lines for UDS/LDS either.
Code: Select all
cpldfit: version P.20131013 Xilinx Inc.
Fitter Report
Design Name: DFB_SDRAM Date: 1-22-2021, 10:52AM
Device Used: XC9572XL-10-TQ100
Fitting Status: Successful
************************* Mapped Resource Summary **************************
Macrocells Product Terms Function Block Registers Pins
Used/Tot Used/Tot Inps Used/Tot Used/Tot Used/Tot
48 /72 ( 67%) 174 /360 ( 48%) 143/216 ( 66%) 46 /72 ( 64%) 63 /72 ( 87%)
** Function Block Resources **
Function Mcells FB Inps Pterms IO
Block Used/Tot Used/Tot Used/Tot Used/Tot
FB1 9/18 37/54 52/90 14/18
FB2 8/18 29/54 30/90 16/18
FB3 18/18* 38/54 57/90 15/18
FB4 13/18 39/54 35/90 18/18*
----- ----- ----- -----
48/72 143/216 174/360 63/72
* - Resource is exhausted
** Global Control Resources **
Code to date is attached, if it's any use to you
@exxos.
BW.
You do not have the required permissions to view the files attached to this post.
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark