Forum Discussion
Altera_Forum
Honored Contributor
17 years agoavalon mm byte enable
In the project we are currently working on, we want to read and write pixels to external DDR SDRAM. We need to be able to use byte-mask / byte-enable bits to not overwrite some previously writt...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- So here are my thoughts: 1 - I never noticed this before, I wonder if it's a recent addition to the documentation. 2 - Yes you can. According to the table, the only combinations you couldn't use would be: 0111 1011 1101 1110 0101 0110 1001 1010 3 - Have you tried it? Honestly I think I'd just try it anyway and see what happens. It may just work. It seems like if you always present a word address, the byte enables would be taken as they are given. I'd be surprised if there is actually some logic in the interconnect fabric that manipulates them. Try it. 4 - It does seem a little odd to me that you would be writing random bytes within a word. Especially pixel data. Are you sure you can't just buffer up multiple pixels and perform a single write. I guess I just don't know enough about what your trying to do to understand the usefulness. Jake --- Quote End --- Hello, I have created a Qsys system that consists of a JTAG to Avalon Master Bridge (Master) and an Avalon Memory Mapped Slave. Here the master is 32 bits and the Slave is 16 bits. Am I supposed to use byteenable here as the width of data is not same for master and slave? The byteenable is a input signal within the qsys system. How can I set the byteenable to be "0011"? And do I set it on the master side or slave side? I will appreciate if you can help me with byteenables. Thanks.