mrflibble
Advanced Member level 5
- Joined
- Apr 19, 2010
- Messages
- 2,720
- Helped
- 679
- Reputation
- 1,360
- Reaction score
- 652
- Trophy points
- 1,393
- Activity points
- 19,551
In the read clock cycle you will still read word{15:8} and word{7:0} together. So you will read aabb in the first clock cycle.
(changed [ ] to { } to workaround curious forum curiousness)
So what? You read out the entire 16-bit wide word from your fifo on the read end. And then you cleverly name the upper 8-bit part_a, and the lower 8-bits part_b. And then in the module AFTER that you process it byte-wise again. So you do a tic-toc. Handle part_a. handle part_b, handle part_a, etc. Obviously the clock at the read side has to be sufficiently high so there are no fifo overflows. But you know that ofcourse, since you know the data rates in your design.