Thanks!
@splith - Yeah, I was waiting to see if someone would spot that. It's just a remnant. ;-)
It's was easier to just modify the last project file because it keeps the pinouts the same for the CF flash card and reserves the pins for the SDRAM (so nothing clashes).
I'm still coding, but a bit stuck. I'm trying to work out the best way of implementing everything in Verilog. I still have a lot to learn.
I'm not sure whether to just keep adding state machines, or try separate "tasks" (like in C)? I remember having problems with tasks before if multiple processes try to set the same registers.
I'm also trying to figure out how to make the CF card transfers as transparent as possible. I want to avoid using buffers and RAM blocks if at all possible and just transfer the data directly from the CF card (after adjusting the LBA offsets and accounting for the larger sector sizes etc.)
Another hurdle is - does anyone know if it's absolutely necessary to have 2352 byte sectors in the .gdi image files?
I'm guessing it needs the Sub Q channel data for audio tracks, but could the data tracks be converted to 2048 sectors (chop off the headers and error correction stuff)? This would make things a LOT easier.
Are there any C or Verilog coders out there who could help? I haven't got very far yet, but here's the Verilog for the "spying" version (no output yet)...
http://pastebin.com/b5Ynj4g2
There are many things to be tidied up (like having a counter for grabbing the 6 packet words using a single state).
It's probably a good idea to keep it similar to the nullDC source...
http://code.google.com/p/nulldc/source/browse/trunk/nulldc/nullDC/dc/gdrom/gdromv3.cpp?r=2
...but as simplified as possible. Of course, the main difference is we're grabbing the data from the CF card and generating the output signals directly.
(I haven't added anything for handling the CF card yet btw.)
OzOnE.