nand2mario / nestang

NESTang is an FPGA Nintendo Entertainment System implemented with Sipeed Tang Primer 25K, Nano 20K and Primer 20K boards
https://nand2mario.github.io/nestang
GNU General Public License v3.0
326 stars 36 forks source link

Update SDRAM controller for readability #86

Open fjpolo opened 4 days ago

fjpolo commented 4 days ago

I was inspired by this blog post to take the same aproach for NESTang's SDRAM controller, and as an intermediate step I converted the big FSM to 3 FSMs (init, refresh, read-write) and formally verified each module.

Somewhere inbetween I saw no need to implement Dan's ultra-uC anymore, but I thought it would be nice to keep the FSMs and verification. 100% your choice @nand2mario to merge the PR or just let it die :)