Altera_Forum
Honored Contributor
12 years agoWeird half-word swapping with SRAM @ Generic Tri-State Controller
Hi,
I am experiencing this weird behavior with the Tri-State Controller connected to an SRAM: When I do a master_read_32 via the system console, both half-words are swapped! Single-byte reads or even individual half-word reads are fine (and in little endian order as I expected). Writing with master_write_32 is fine as well!- I am using the Generic Tri-State Controller and the Tri-State Conduit Bridge
- The device's address width is 17bits
- The Device's data width is 16bits
- The Address width in The Tri-State Controller is thus set to 18 with a bytenable width of 2 as well as 2 bytes per word.
- I am discarding the LSB of the byte address that I get out of the conduit by not hooking it up to the SRAM at all.