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

Can't get the classic simulation to work on .vwf file

Altera_Forum
Honored Contributor II
1,971 Views

Hello, 

 

My project name is CPLD.qpf (MAX II). 

 

I created a .vwf file (OneShot.vwf) which should test a section of CPLD. There is a file named OneShot.bdf (it is part of the CPLD project) and I would like to test it. 

 

Under "Setting/Timing Analysis Setting" I selected the Use Classic option. 

Under "Setting/Simulator Setting" I chose Functional as my Simulator mode, and set OneShot.wvf as my Simulation input. 

 

I am trying to run the simulator on OneShot.vwf by clicking the "Start Simulator" button.  

 

The "Simulation Waveforms" shown is for the whole project (CPLD) and not for OneShot.vwf.  

 

What am I doing wrong here? 

 

Thanks, 

Eitan Barazani
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
704 Views

You have to set OneShot.bdf as design top, compile it and generate a functional simulation netlist. Then you can simulate it.

0 Kudos
Altera_Forum
Honored Contributor II
704 Views

Hi, 

 

Will it work if my OneShot is internal to the main file (CPLD.qpf) and it does not have any Input or Output Pins, i.e. it pins are of type "BURIED"? 

 

Thanks, 

Eitan
0 Kudos
Altera_Forum
Honored Contributor II
704 Views

I don't understand the question. I suggested to set the OneShot entity as design top for test. Then it's ports aren't internal.  

 

I suggested to simulate the component alone, because you complained about seeing the waveform for the whole project.
0 Kudos
Altera_Forum
Honored Contributor II
704 Views

Hi, 

 

Yes the ports of OneShot are internal. What I did was to create a new project just for OneShot, but I am trying to find out if this the only way? 

 

Thanks, 

Eitan
0 Kudos
Altera_Forum
Honored Contributor II
704 Views

I suggest that you can set up other projects for your components respectively and then add the .vhd file to the top project.Maybe it helps.

0 Kudos
Altera_Forum
Honored Contributor II
704 Views

 

--- Quote Start ---  

but I am trying to find out if this the only way? 

--- Quote End ---  

It depends on the purpose of your simulation. But I think, in most cases it means faster simulation and direct access to all nodes of interest. If you need part of the embedding design to stimulate your component in a specific way, it's different.
0 Kudos
Reply