Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Help with Flash memory reading

hi,

I am new to digital design and FPGAs, and I am having trouble with the flash Memory on the Cyclone II development board.

I am playing around with a simple (6502) based cpu core (actually the FPGA64 commodore 64 emulator) and I am trying to use the flashRAM as a ROM.

The addresses to the flash are being held steady for over 400ns but all I get back on the flash data lines is $FE, which never changes even when the address changes.

I have a simple wave file exported from Signal TapII, along with the vhdl of my memory manger code which I will try to attach as a zip file.

I wrote a simple verilog program to increment the memory address of the flash every two clock cycles (using the 27mhz clock), and that seemed to work just fine. I have no idea why this code doesn't work.

I would really appreciate some input as I have read plenty but this is my first time using real physical hardware and I am struggling :(

Thanks

Simon :)

18 Replies