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

What files are needed for GTL simulation in Modelsim?

Altera_Forum
Honored Contributor II
1,974 Views

I always use Nativelink in Quartus II to do RTL and GTL simulation in Modelsim. Through that function, I only need to care write testbench and do some simple setting in Quartus, which is very easy. 

 

But I want to learn how to do simulation directly in Modelsim without Quartus help. I tried RTL simulation and sucessfully. But in GTL simulation, I can't. I have questions as following two questions: 

 

1. what files are necessary for GTL simulation? As I know, I don't need HDL design files (.v or .vhd), the files I need is .vo and .sdo files, which generated after full compilation and testbench file, right? If I want to simulate in slow 1.2V 85 mode, I only need to compile corresponding .vo and .sdo files, then do simulation, right? 

 

2. This question confused me long time and I even confronted trouble during RTL simulation. How can I know what libraries I need to do GTL simulation for my design? I don't where I can check to know all the needed libraries. 

 

Thanks!
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
901 Views

Quartus produces one .vo/.vho and one .sdo which cover all the timing corners. 

For convenience, Quartus also produces a series of .vo/.vho for each specific corner. 

You only need compile that .vo/.vho and it will load .sdo information for that corner. 

 

You also need to compile your testbenches' HDL files. 

 

You'll need the FPGA's cell library. 

If the FPGA is Cyclone IV and you're using Verilog, then you need to load the cycloneiv_ver library. 

 

You also need libraries for components that you use in your testbenches -- same as RTL simulation. 

Ie, if one of your testbenches uses a DCFIFO or some other MegaFunction, then you need to load the altera_mf_ver library as well.
0 Kudos
Altera_Forum
Honored Contributor II
901 Views

 

--- Quote Start ---  

Quartus produces one .vo/.vho and one .sdo which cover all the timing corners. 

For convenience, Quartus also produces a series of .vo/.vho for each specific corner. 

You only need compile that .vo/.vho and it will load .sdo information for that corner. 

 

You also need to compile your testbenches' HDL files. 

 

You'll need the FPGA's cell library. 

If the FPGA is Cyclone IV and you're using Verilog, then you need to load the cycloneiv_ver library. 

 

You also need libraries for components that you use in your testbenches -- same as RTL simulation. 

Ie, if one of your testbenches uses a DCFIFO or some other MegaFunction, then you need to load the altera_mf_ver library as well. 

--- Quote End ---  

 

 

Thanks very much, if I use .vo file which cover all the timing corners, how can I decide which corner I want to simulate?
0 Kudos
Altera_Forum
Honored Contributor II
901 Views

Hmm, my mistake. 

Quartus is producing multiple .sdo file, one for each corner. 

You'll need to use the proper .vo. 

 

In case you do come across a 3 corner .SDF file, you use vsim -sdfmin/sdftyp/sdfmax to select the corner.
0 Kudos
Altera_Forum
Honored Contributor II
901 Views

 

--- Quote Start ---  

Hmm, my mistake. 

Quartus is producing multiple .sdo file, one for each corner. 

You'll need to use the proper .vo. 

 

In case you do come across a 3 corner .SDF file, you use vsim -sdfmin/sdftyp/sdfmax to select the corner. 

--- Quote End ---  

 

 

Thanks very much!
0 Kudos
Reply