Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThe FIFO is little endian so if you want the output to be big endian then like tentner said reverse the byte lanes of the input before the data enters the FIFO. This is just wires and will not affect the timing or latency at all.
So if your 64 bit input to the FIFO was called "data" and you want to reverse the data just do something like this (in verilog) and pass "reversed_data" to the input of the FIFO instead: assign reversed_data = {data[7:0], data[15:8], ...... ,data[55:48], data[63:56]};