Showing results for 
Search instead for 
Did you mean: 
Valued Contributor III

Simulating a QSYS system featuring a HPS



I'm developing a QSYS system to transmit data via LVDS. Within this module there are the common blocks of a qsys system with a processor, namely memory, jtag, HPS, parallel IOs etc. There is also a custom module in there. The simulation model for this custom module is the same as the synthesis model. 


In QSYS, after creating the QSYS testbench system and compiling it, I run ModelSim Starter Edition to run the generated tcl script in the mentor/ directory, Everything compiles well, but while elaborating many warnings appear, and most are related to systemverilog files auto-generated by QSYS. A fatal error concludes the elaboration, elaborating nothing. What am I doing wrong? 


I know it might not be possible to simulate a QSYS system in ModelSim Starter Edition, but is there any way I can simulate the system I've got? 


0 Kudos
1 Reply
Valued Contributor III

Re: Simulating a QSYS system featuring a HPS


--- Quote Start ---  


What am I doing wrong? 


--- Quote End ---  


Its hard to tell, since you did not provide the error messages. 


Have you tried simulating a Qsys system before? Do you know what the Avalon-MM Master BFM is? If not, start off simple, read through this tutorial ... 


I'd recommend starting with the tutorial example, and then start adding the components you want to test. 


The HPS component probably requires the AXI BFM master. This BFM requires either a subscription edition of Quartus or the purchase of a $500 license. Trust me, just go with the Avalon-MM BFM 🙂 



0 Kudos