Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

Qsys tri-state controller: 32-bit flash to 16-bit data

$
0
0
I have a 32-bit flash device that I want to access read-only with the generic tri-state controller. Instead of a processor, I'm creating a state machine in Verilog and making it a custom component in Qsys with an Avalon interface to control the reads. However, I need the data to be 16 bits. So I basically need to perform 2 16-bit reads for every 32-bit read. I don't want to have to add a double-speed clock to do this, if I can help it. I noticed in the parameter editor for the controller the "bytes per word" option. If I set the data width to 32 and the bytes per word to 2 (instead of 4), would this do the trick? I guess it's not clear to me what the "bytes per word" option does.

As I'm writing this, I think the answer is no, but if anybody has any ideas on this, it would be greatly appreciated.

Thanks,
Steve

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>