Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
739 Views

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
0 Kudos
0 Replies