Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

How to use TSE_10_100_1000_MAC core to simulate the design

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

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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 {".