SDRAM Update Discussion
Posted: Mon Dec 14, 2020 3:31 pm
Hey everyone.
Talking to a few people over time (jdeberhart recently brought it back up to my attention just today) and having read up on this before slightly in the old forums and these forums, including Sorgelig's previous comments on the matter... maybe there is a good discussion to be had over SDRAM design update options down the road as some of the newer cores are stressing the limits of the previous design. I'm reaching out here because I'm not very knowledgeable but I think a good consolidated discussion could be had here which the people with the know-how could contribute.
The current design's BOM (https://github.com/MiSTer-devel/Main_Mi ... mbly-(DIY)) calls for a particular SDRAM module that the MiSTer devs rely upon heavily. However, the bandwidth on this module might be limited in what can be accomplished using it. Additionally the space could potentially be upgraded. For reference:
Current RAM used: https://www.digikey.com/en/products/det ... IN/6589202 - or - https://www.digikey.com/en/products/det ... IN/6716555 - (the latter being "better" for having a higher clock frequency)
Additionally, Mouser's listing (which the wiki with the BOM links to) inaccurately lists the AS4C32M16SB-6TIN as "133MHz" when it is actually 166MHz according to Alliance Memory's datasheet. If builders of memory who sell them as a product have been using the 7TIN variant instead because of the Mouser listing, that error could be part of the unnecessary bandwidth limitation.
And finally, the price is the same between the two current modules. So if the SDRAM will stay the same, I guess it looks like the 6TIN model is superior and the 7TIN should be dropped from the BOM. Any thoughts on this?
Anyways, for replacement modules... Some potential and/or necessary considerations:
* Size, since many cases have been designed around the current size
* Compatibility with I/O header that is currently used
* Compatibility with Analog I/O shield/add-on board (which uses one of the arduino-style headers).
* Ready availability from distributors
So far the only "direct" equivalent that is faster that I have seen is this:
https://store.nacsemi.com/Products/Deta ... &instock=y
It's datasheet is basically a complete carbon copy of the AS4C32M16SB-6TIN/7TIN just there is one higher end module with 200MHz (and of course slightly lower write and read access times. It's basically the equivalent of Alliance making a "5TIN" model of their same chip.
Now I've been just made aware in discussing this option that the main problem could be that the SDRAM module has to multiplex the connections since there are so limited I/O for that single module. This could be acting as an artificial limiter and effect the capability of faster SDRAM modules from achieving their rated speeds. We've seen both 7TIN and 6TIN modules from Alliance Memory on the SDRAM board get 140MHz consistently using the test software on the MiSTer. Sometimes 130MHz. I'm sure there are rare instances of the 6TIN achieving 150 or even 160MHz for an extended period of time.
There is (using just my ignorant imagination) another option. Given that Direct video to VGA adapters are well supported now and seem to be working just as good as Analog I/O, it might make sense to make an "ultimate digital I/O board" instead that uses both headers and has the necessary memory upgrade soldered onto it.
Another option someone told me in discussion today is this - https://www.digikey.com/en/products/det ... TR/5019873 - But I'm unsure of the advantages and disadvantages of using this. Obviously it would require a redesign of the board to use.
Any thoughts/ideas, criticisms, are all welcome. Thanks for reading!
Talking to a few people over time (jdeberhart recently brought it back up to my attention just today) and having read up on this before slightly in the old forums and these forums, including Sorgelig's previous comments on the matter... maybe there is a good discussion to be had over SDRAM design update options down the road as some of the newer cores are stressing the limits of the previous design. I'm reaching out here because I'm not very knowledgeable but I think a good consolidated discussion could be had here which the people with the know-how could contribute.
The current design's BOM (https://github.com/MiSTer-devel/Main_Mi ... mbly-(DIY)) calls for a particular SDRAM module that the MiSTer devs rely upon heavily. However, the bandwidth on this module might be limited in what can be accomplished using it. Additionally the space could potentially be upgraded. For reference:
Current RAM used: https://www.digikey.com/en/products/det ... IN/6589202 - or - https://www.digikey.com/en/products/det ... IN/6716555 - (the latter being "better" for having a higher clock frequency)
Additionally, Mouser's listing (which the wiki with the BOM links to) inaccurately lists the AS4C32M16SB-6TIN as "133MHz" when it is actually 166MHz according to Alliance Memory's datasheet. If builders of memory who sell them as a product have been using the 7TIN variant instead because of the Mouser listing, that error could be part of the unnecessary bandwidth limitation.
And finally, the price is the same between the two current modules. So if the SDRAM will stay the same, I guess it looks like the 6TIN model is superior and the 7TIN should be dropped from the BOM. Any thoughts on this?
Anyways, for replacement modules... Some potential and/or necessary considerations:
* Size, since many cases have been designed around the current size
* Compatibility with I/O header that is currently used
* Compatibility with Analog I/O shield/add-on board (which uses one of the arduino-style headers).
* Ready availability from distributors
So far the only "direct" equivalent that is faster that I have seen is this:
https://store.nacsemi.com/Products/Deta ... &instock=y
It's datasheet is basically a complete carbon copy of the AS4C32M16SB-6TIN/7TIN just there is one higher end module with 200MHz (and of course slightly lower write and read access times. It's basically the equivalent of Alliance making a "5TIN" model of their same chip.
Now I've been just made aware in discussing this option that the main problem could be that the SDRAM module has to multiplex the connections since there are so limited I/O for that single module. This could be acting as an artificial limiter and effect the capability of faster SDRAM modules from achieving their rated speeds. We've seen both 7TIN and 6TIN modules from Alliance Memory on the SDRAM board get 140MHz consistently using the test software on the MiSTer. Sometimes 130MHz. I'm sure there are rare instances of the 6TIN achieving 150 or even 160MHz for an extended period of time.
There is (using just my ignorant imagination) another option. Given that Direct video to VGA adapters are well supported now and seem to be working just as good as Analog I/O, it might make sense to make an "ultimate digital I/O board" instead that uses both headers and has the necessary memory upgrade soldered onto it.
Another option someone told me in discussion today is this - https://www.digikey.com/en/products/det ... TR/5019873 - But I'm unsure of the advantages and disadvantages of using this. Obviously it would require a redesign of the board to use.
Any thoughts/ideas, criticisms, are all welcome. Thanks for reading!