Quote:
robfinch, since I have your attention, how do you connect your core to the BRAMS? To get this project to work with sync BRAM I had to use an inverted clock for the BRAM, which almost makes sense but makes me uneasy about the timing, especially for the IO mapping. What is your normal way to do it?
The core interfaces to external memory using a WISHBONE bus (see opencores.org). It has an internal instruction cache though to improve performance. The interface to BRAM should be fairly straightforward. Connect address, and data input. Then return an ack from the BRAM after a clock cycle. It may also work with an inverted BRAM clock and ack in the same cycle. But WISHBONE needs to see an ack signal.
I had the 6809 running a system-on-chip for a Artix7-35 48 pin module from Digilent (I forget the exact name). It was using the external 512kB SRAM memory. There is a controller for the memory in the SoC.
The project is here (including CmodA7 components)
https://github.com/robfinch/rf6809Thanks for interest.