jotego / jtcores

FPGA cores compatible with multiple arcade game machines and KiCAD schematics of arcade games. Working on MiSTer FPGA/Analogue Pocket
https://patreon.com/jotego
GNU General Public License v3.0
240 stars 41 forks source link

Fix Object RAM clearing for CPS. Issue #561 #790

Closed paulb-nl closed 2 months ago

paulb-nl commented 2 months ago

-Add ERASE_AW to clear 0x200000-0x2FFFFF. -SDRAM write mask was 2'b11 during erasing so it did not clear anything. -One small bug left: Last address is not written because erase_bsy goes low too early.

jotego commented 2 months ago

Thanks for spotting so many problems. Please give me a few days to study it.

jotego commented 2 months ago

Thank you. I have taken the ideas from here to implement it without the new ERASE_AW parameter, which would have affected many files and make the erase feature a bit less obvious. Please see e787541dd28c30798cb6e736a4b4d65e915f6dea