Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

Avalon mm Master BFM

Aswinkrishnan
Beginner
4,412 Views

I have being trying to do bus simulation on my avalon slave with avalon mm master bfm.

The simulation output is wrong. For example when I write to an address c0 and write data into it, but not writing correctly in the slave. I will share a screenshot below. Do you know why the master not writing into a particular slave address. The second screenshot include a code which I am using to push a command in to the slave.

0 Kudos
24 Replies
Aswinkrishnan
Beginner
727 Views

I will try your suggestion. Maybe single addressable 8-bit registers could be tested. 

Regarding the qwork example that you provided with multiple slave IP's such as on-chip RAM, when I did run the simulation, the readdatavalid is getting asserted after a clock cycle. Hence the data that is being written to RAM will be returned xxxxxxxx's when reaching the BFM master.

Therefore, what component is asserting readdatavalid and how can we remove the delay between readdata signal and readdatavalid signal?

The screenshot 1 below is the console window which reads the data that is being read.

The screenshot 2 below is the problem that I stated above regarding readdatavalid signal.

 

I haven't made any changes in your program except writing to ON-chip RAM instead of PIO_control.

0 Kudos
ShengN_Intel
Employee
698 Views

Hi,


For On-Chip RAM, have to look at the test program in qsys_system_tb_burst.sv. Include that will be able to simulate the On-Chip RAM. The address is addr = ONCHIP_RAM + 4*i; as the symbol width is 8 while the data width is 32.


Thanks,

Best Regards,

Sheng


0 Kudos
ShengN_Intel
Employee
677 Views

Any further concern or update?


0 Kudos
Aswinkrishnan
Beginner
670 Views

Thank you for the replies. I will look at your suggestions. No more updates.

0 Kudos
Reply