SDRAM and the PropII
Ym2413a
Posts: 630
Hello everyone.
Recently I've been seeing posts about SDRAM and the PropII. Does anyone know if SDRAM is going to be a common feature of the Prop2 and/or the Prop2 boards?
There are over 4,000 posts in the main P2 development thread and no easy way to search it for the answers (that I know of).
Thanks everyone. : ]
--Andrew L. Arsenault.
Recently I've been seeing posts about SDRAM and the PropII. Does anyone know if SDRAM is going to be a common feature of the Prop2 and/or the Prop2 boards?
There are over 4,000 posts in the main P2 development thread and no easy way to search it for the answers (that I know of).
Thanks everyone. : ]
--Andrew L. Arsenault.
Comments
http://forums.parallax.com/showthread.php/146802-Parallax-Prop2-Module-Questions-Facts-and-Speculation
C.W.
We have SDRAM drivers already working that move data between SDRAM and the hub RAM at full SDRAM and hub transfer speed.
So hardware support for DDR2 is off the table, then?
Prop I =32k. Prop II = 1000 times more
And as a follow-up question, are we still sticking to 8 cogs, or are you still able to squeeze 12 cogs in there? If 12, then giving up a cog to the software SDRAM driver will be even less of an impact.
It would take at least 38 pins that work at 1.8V to make a connection to DDR2 memory.
We could get rid of 38 of the 3.3V I/O pins and replace them with 1.8V I/Os, keeping things within the same package, but that should maybe be another chip. The benefit would be 4x the bandwidth of SDRAM.
Yeah from what I know, we're staying at 8 Cogs, but increasing HUB RAM to 256K. The doubling in HUB-RAM is also a doubling in bandwidth between the COGs and HUB-RAM since on-chip memory is added in some parallel fashion.
That's right. You can use a single 16-bit SDRAM, but you'd only have enough data to fill every other hub slot. With a 32-bit data path, you could hit every slot with 8 longs.
I didn't think the pin count was all that much different. I suppose the real issue with the pins is whether they could still be general-purpose, or whether they would have to be dedicated to the controller circuitry.
http://forums.parallax.com/showthread.php/151904-Here-is-the-update-from-the-Big-Change!!!
Look in balls.spin in the zip file.
I think it's on the Prop2 Blog thread.
I'm changing the way XFR works, though, so the new version will be different. I'm making XFR handle complete metered transactions on its own in the background, instead of needing the cog to hover over everything.
Go to digikey.com and search for SDRAM. We've been using a 256Mb chip that comes in a 54-pin package.
I think they could still be general digital I/O at 1.8 volts and a different impedance but all the other features vanish. And another likely reason is the moving target it presents to Beau.
Do you mean programmable intervals between samples and/or stopping when SPB == $FF ?
You give it a configuration and a count and it does the job. You can poll for when it completes, or wait. If you give another command, it will wait until it can dovetail it into the last one, so it doesn't skip a beat.
Nice!
Almost like the WAITVID for transfers.
RDSDRAM sdramaddr, cog/aux addr, len
WRSDRAM sdramaddr, cog/aux addr, len
and you can test for completion, or if you have two in a row, the second will start as the first completes?
Sounds fantastic!
The 54TSOP seems the most widely available, covering 64 & 256MBIT
Industrial ones are faster, so they seem to have settled on <cheapest> and <highest spec> as two choices.
You still need to hover, somewhat to feed the SDRAM its commands, but this will simplify things. For transfers that don't involve SDRAM, like between AUX and HUB, those transfers will become completely hands-free.
Think video filling the line in the background while the cog can do something useful.
Think filling half aux while working with the other half for screen updates (game style engine)
Think filling aux with an overlay that you know is coming up for use
I am certain we are going to find all sorts of tricks with this mechanism.
Having 32megabytes of quick access ram opens us up to a lot of data intense applications.
Is XFR still only going to move bits between pins and AUX/QUAD? If so, how easily could it be extended to write to cog memory at INDB?
I just noticed that 166MHz is the fastest speed listed. Now that the P2 might be clockable at 200MHz (or more?), none of these would be usable at full speed. Also, just to make sure I am understanding correctly, when I look at balls.spin, I don't see anything driving the CLK pin. I'm assuming this is being done implicitly by the FPGA. And I'm guessing that the final version of the driver will need to explicitly set up a counter output for CLK. So, even though it would be possible to clock the SDRAM at a lower rate and adjust command timing appropriately, the XFR would still be sampling at the internal clock rate.
It looks like there are some packages that run at 200MHz, but with a maximum memory of 16MB. To get any faster, you have to start looking at DDR...