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

Unable to use Avalon-MM master verification BFM in Questa sim

RHenr
초보자
4,279 조회수

Hello,

I have a bug similar to the one reported here :
https://community.intel.com/t5/Intel-Quartus-Prime-Software/Avalon-Verification-IP-example-avlmm-1x1-vhdl-not-working-in/m-p/1516388

 

I tried to follow the given solution, but it makes Questa sim crash. Moreover, it seems the -novopt option is deprecated.

If I remove the "-suppress 12110" option, Questa sim does not crash but reports this error, thus simulation is also not possible.

 

# ** Error (suppressible): (vsim-12110) All optimizations are disabled because the -novopt option is in effect. This will cause your simulation to run very slowly. If you are using this switch to preserve visibility for Debug or PLI features, please see the User's Manual section on Preserving Object Visibility with vopt. -novopt option is now deprecated and will be removed in future releases.

 

 

레이블 (1)
0 포인트
12 응답
ShengN_Intel
직원
4,255 조회수

Hi,


Can you try invoke the simulator first from command prompt using vsim -suppress 12110, then only in simulator execute run_simulation.tcl script


Thanks,

Best Regards,

Sheng


0 포인트
RHenr
초보자
4,242 조회수

Questa also crashes.

RHenr_0-1709125577885.png

 

0 포인트
ShengN_Intel
직원
4,229 조회수

Hi,


How about using vopt? Does the problem still exist?


Thanks,

Sheng


0 포인트
RHenr
초보자
4,225 조회수

When vopt is enabled, I have the same issue as reported by someone else in this thread : https://community.intel.com/t5/Intel-Quartus-Prime-Software/Avalon-Verification-IP-example-avlmm-1x1-vhdl-not-working-in/m-p/1516388 .

When using avalon-mm BFM, the first transaction is ok but the second one gets stuck waiting for event_response_complete. The same code was working fine in modelsim.

0 포인트
ShengN_Intel
직원
4,180 조회수

Hi,

 

I had used the Quartus® Prime Standard Edition Design Software Version 23.1 with Questa Starter Edition 23.3 and tested on the example design avlmm-1x1-vhdl without any problem check attached log file and waveform.

One more thing is making sure delete the modelsim.ini file and libraries folder before run the new simulation.

 

Thanks,

Sheng

 

0 포인트
RHenr
초보자
4,165 조회수

Ok, I will try to cleanup everything and test again.

0 포인트
ShengN_Intel
직원
4,095 조회수

Hi,


Any further update or concern? Does the problem being resolved?


0 포인트
RHenr
초보자
4,081 조회수
0 포인트
ShengN_Intel
직원
4,049 조회수

Hi,


Are you using Quartus® Prime Standard Edition Design Software Version 23.1 with Questa Starter Edition 23.3 and tested on the example design avlmm-1x1-vhdl?

How about un-install the tool and reinstall does the problem resolved?

Or does your machine run out of memory?


Thanks,

Best Regards,

Sheng


0 포인트
RHenr
초보자
3,997 조회수

 

Quartus is standard edition 23.1 and questa is 23.3 Fpga edition (not starter).

Here is result of the example design without the workaround.

RHenr_1-1709824403856.png

It does not crash and works with the workaround.

0 포인트
IgorKa
새로운 기여자 I
3,331 조회수

Hello.

The problem is that the QuestaSim optimizer flashes the delta-events. If you are using multilanguage QuestaSim, the solution is to make little tunning in the "altera_avalon_mm_master_bfm_vhdl_wrapper.sv" file:

1) Change timescale resolution `timescale 1ps / 1ps

2) In line 519 add "#1", like:

always @(mm_master.signal_all_transactions_complete) begin
events[MM_MSTR_EVENT_ALL_TRANSACTIONS_COMPLETE] = 1;
#1 events[MM_MSTR_EVENT_ALL_TRANSACTIONS_COMPLETE] <= 0;
end

 

It will solve the problem. You can save the custom file and each Platform Design reconfiguration, just replace the "altera_avalon_mm_master_bfm_vhdl_wrapper.sv" file with a patched one.

Good Luck

Igor

0 포인트
FabianL
초보자
1,073 조회수

Hello,

 

I have the same issue it is still present in Quartus 25.1. Are there any plans on fixing this issue? 

 

best regards

Fabian

0 포인트
응답