Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

modelsim testbench problem

Altera_Forum
Honored Contributor II
3,014 Views

Hi, 

I'm trying to simulate a system. Please find the attachement for the code. 

 

 

Running the RTL simulation, I can't see in Modelsim the "i2c_slave_device" component. 

Where am I wrong? 

PS: I wrote the "i2c_slave_device" only for simulation purpose and it is not part of the "Channel_MNG" project. 

 

Thanks for your help.
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
2,024 Views

Hi, 

 

what do you mean by see in Modelsim? You need to be more specific. 

 

Gruß Tobi
0 Kudos
Altera_Forum
Honored Contributor II
2,024 Views

 

--- Quote Start ---  

Hi, 

 

what do you mean by see in Modelsim? You need to be more specific. 

 

Gruß Tobi 

--- Quote End ---  

 

 

I mean that in the modelsim "sim" window, there is only the "UUT" component (Channel_MNG) but not the "uut1" (i2c_slave_device) component. It seems like I did the connection wrong in the testbench file.
0 Kudos
Altera_Forum
Honored Contributor II
2,024 Views

how do you compile themfiles? If you don't specify a path, Modelsim does not know it needs to compile that file, and so it doen't exist.

0 Kudos
Altera_Forum
Honored Contributor II
2,024 Views

 

--- Quote Start ---  

how do you compile themfiles? If you don't specify a path, Modelsim does not know it needs to compile that file, and so it doen't exist. 

--- Quote End ---  

 

 

If I compile the file from Modelsim everything is fine. While I try to launch the simulation from Quartus the component does not apper in Modelsim.
0 Kudos
Altera_Forum
Honored Contributor II
2,024 Views

You see it compiling in the transcript?

0 Kudos
Reply