Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Avalon MM Master simulation problem

Hi

I have designed an Avalon MM write master that writes data to onchip memory.

I built a NIOS II system in qsys (V13.0sp1) and ran the system however the waitrequest on the Avalon Master always remains high in the modelsim simulation.

It has been working.

I changed the following line

assign avm_write_master_write = (write_state == MID_BURST || write_state == FINAL_BURST)? 1 : 0;

to

assign avm_write_master_write = ((write_state == MID_BURST || write_state == FINAL_BURST) && avm_write_master_waitrequest == 0) ? 1 : 0;

As the former was clearly buggy.... although the latter causes the write signal to stay low as the wait request is always high..... (in the former the wait request went low).....

Anyone got any ideas?

Rob
No RepliesBe the first to reply