Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21592 Discussions

How to use TSE_10_100_1000_MAC core to simulate the design

Altera_Forum
Honored Contributor II
1,353 Views

Hi , 

 

I have used "TSE_10_100_1000_MAC" core in the design, I am trying to simulate the entire design containing this core using TEST BENCH, but the problem I am facing during compilation for "altera_tse_top_gen_host.v" as it is a encrypted file. 

 

The License I am using cannot generate the source file for this module. Kindly let me know how to use the compiled file of "altera_tse_top_gen_host.v" to simulate the entire design. 

 

my run.do file snippet, 

**************************************************************** 

set ETH_DIR "../TSE_10_100_1000_MAC" 

 

vlog -work work ${ETH_LIB}/altera_tse_reset_synchronizer.v 

vlog -work work ${ETH_LIB}/altera_tse_top_gen_host.v 

vlog -work work ${ETH_LIB}/altera_tse_mac.v 

vcom -work work ${ETH_DIR}/tse_10_100_1000_mac.vhd 

****************************************************************
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
666 Views

Hi, 

 

What is the specific error that you observe?
0 Kudos
Altera_Forum
Honored Contributor II
666 Views

For the ModelSim simulator, you should use models under ./[instance_name]_sim folders. You can see the file list in ./[instance_name]_sim/mentor/msim_setup.tcl. 

 

If I create a script, I'll do this. 

********************** 

source ../TSE_10_100_1000_MAC_sim/mentor/msim_setup.tcl 

set QSYS_SIMDIR "./../" 

set QUARTUS_INSTALL_DIR "C:/altera/15.0/quartus/" 

dev_com 

com 

********************** 

QSYS_SIMDIR and QUARTUS_INSTALL_DIR have to be set to proper path you are using. 'dev_com' is not needed if you already compiled device specific libraries in "alias dev_com {".
0 Kudos
Reply