Forum Discussion
Altera_Forum
Honored Contributor
18 years agoIf you are always accessing the 16-bit displacement and 16-bit PWM pari at the same time, you might want to combine the flash and make them appear to be a 32-bit flash and treat your data as 32-bit. It is possible to make both flash completely independent, with separate tri-state bridges as described, but this means you also need to have separate address & data for each flash which will consume lots of IO pins. You will also need to have another master to take advantage of simultanenous access to both flash.
Depending on the data type defined, Nios will adjust the access accordingly. For example, if you define a 32-bit word in Nios and when it is written to a 16-bit flash, I believe Nios will write to two consecutive locations. http://www.altera.com/literature/hb/qts/qts_qii54003.pdf