Forum Discussion
Altera_Forum
Honored Contributor
13 years agoWhy do two Avalon_MM_Pipeline Bridges respond differently to READ
Hi All, In my design I have two Avalon_MM_Pipeline Bridges connecting to two segments of Avalon busses. In simulation, I can write and read from one perfectly but the second bridge, althoug...
Altera_Forum
Honored Contributor
13 years agoThank you guys ! The issue was that 1) as was stated by Daixiwen the second bus uses peripherals with two clocks 2) the second bus had Avalon MM FIFOs which have a backpressure feature (waitrequest) which prevents over-run or under-run. This caused the lockup e.g. reading from an empty FIFO. So, the SW has to make sure that there is something in the FIFO before attempting to read it ( similarly, for outgoing the other way make sure the FIFO is not full, etc.)
Cheers, Shvitzer