3 ms·
Why isn't more of the control logic inside the sdram chip/package? Even if you want to save pins it seems the interface could be much simpler.
by amelius 7y ago
Why isn't more of the control logic inside the sdram chip/package? Even if you want to save pins it seems the interface could be much simpler.
- al2o3cr 7y agoThe more-complex interface makes it possible to optimize performance with very fine adjustments - for instance, sufficiently-modern DRAM can be precharging one bank while also servicing data requests from an already precharged one. It can also help with specific data-access patterns: for instance, if the FPGA always reads a whole page then a single precharge could serve for many reads.
- jjoonathan 7y agoIf you want a giant ring buffer with deterministic low latency, manual refresh control is a godsend.
- dormando 7y agoThey make those too. HyperRAM is pretty popular for small FPGA projects: https://www.mouser.com/new/issi/issi-hyperram/ https://www.mouser.com/new/issi/issi-hyperram/ - there are tradeoffs in potential performance/interface/usability/etc but you end up saving a lot of LUT's and troubleshooting time.
- lnsru 7y agoIs there free and functional controller for HyperRAM available? In theory this type of memory is nice, but with no free IP block for this memory, it is a show stopper.
- tverbeure 7y agoHere you go: https://github.com/blackmesalabs/hyperram https://github.com/blackmesalabs/hyperram The controller is really not very complex, so it shouldn't be a showstopper.
- tverbeure 7y agoSDRAM is designed to have as much of the complexity located in the controller and as little as possible in the DRAM chip itself. This makes sense because you'd have a lot of duplicated logic when you gang multiple DRAMs together. It allows the chip designer to make trade-offs between design complexity and performance. Modern DRAM controllers can be incredibly complex (and large!) when dealing with different kinds of traffic at the same time: prioritizing CPU traffic, which is latency sensitive, over graphics workloads, which is not. Another, close to the metal, example is the the source-synchronous data strobe signal that travels with the data from the controller to DDR DRAM or the other way around. Going from the controller to the DRAM, it is 90 degrees out of phase with the data, which allows the DRAM to clock in the data using the rising and falling edge of the DQS signal. It's on the controller to create this 90 degrees phase shift with a DLL or PLL. But the other way around, from DRAM to the controller, there is a 0 degrees phase shift, once again forcing the controller to create a 90 degrees shifted signal. This also makes is possible for the DRAM drop DLL and PLL logic in some cases.