I got my self stuck in that I have a V4 design with a 16-bit flash and a
32-bit peripheral device on the same external bus. I am using a opb_emc with two memory banks and datawidth matching to talk to them. The problem is I connected the wrong 16 data lines to the 16-bit flash. If I swap the halves in my .ucf the flash works fine but the peripheral regs are word swapped. If I swap them back the peripheral device is fine but obviously flash no longer works.The question: looks like the opb_emc VHDL is somewhere in the bowels of EDK. Dare I try to hack that code to use the other 16 data lines when performing a datawidth match for the 16-bit bank? Is there a cleaner solution?
Thanks, Clark