OpenCores
URL https://opencores.org/ocsvn/sgmii/sgmii/trunk

Subversion Repositories sgmii

[/] [sgmii/] [trunk/] [sim/] [BFMs/] [SGMII_altera/] [sgmii_nativelink.tcl] - Blame information for rev 20

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 jefflieu
#####################################################################################
2
# Copyright (C) 1991-2007 Altera Corporation
3
# Any  megafunction  design,  and related netlist (encrypted  or  decrypted),
4
# support information,  device programming or simulation file,  and any other
5
# associated  documentation or information  provided by  Altera  or a partner
6
# under  Altera's   Megafunction   Partnership   Program  may  be  used  only
7
# to program  PLD  devices (but not masked  PLD  devices) from  Altera.   Any
8
# other  use  of such  megafunction  design,  netlist,  support  information,
9
# device programming or simulation file,  or any other  related documentation
10
# or information  is prohibited  for  any  other purpose,  including, but not
11
# limited to  modification,  reverse engineering,  de-compiling, or use  with
12
# any other  silicon devices,  unless such use is  explicitly  licensed under
13
# a separate agreement with  Altera  or a megafunction partner.  Title to the
14
# intellectual property,  including patents,  copyrights,  trademarks,  trade
15
# secrets,  or maskworks,  embodied in any such megafunction design, netlist,
16
# support  information,  device programming or simulation file,  or any other
17
# related documentation or information provided by  Altera  or a megafunction
18
# partner, remains with Altera, the megafunction partner, or their respective
19
# licensors. No other licenses, including any licenses needed under any third
20
# party's intellectual property, are provided herein.
21
#####################################################################################
22
 
23
#####################################################################################
24
# Altera Triple-Speed Ethernet Megacore NativeLink TCL script
25
#
26
# This script should be sourced from the Quartus II TCL console prior to 
27
# simulating using NativeLink 
28
#
29 20 jefflieu
# Generated on Sat Nov 10 09:38:35 SGT 2012
30 9 jefflieu
#
31
#####################################################################################
32
 
33
 
34
#Set time scale
35
set_global_assignment -name EDA_TIME_SCALE "1 ns" -section_id eda_simulation
36
 
37
#Set eda netlist writer options
38
set_global_assignment -name EDA_OUTPUT_DATA_FORMAT "VERILOG" -section_id eda_simulation
39
 
40
#Set to work in test bench mode
41
set_global_assignment -name EDA_TEST_BENCH_ENABLE_STATUS TEST_BENCH_MODE -section_id eda_simulation
42
 
43
#Set testbench top level name and module name
44
set_global_assignment -name EDA_NATIVELINK_SIMULATION_TEST_BENCH sgmii_tb -section_id eda_simulation
45
set_global_assignment -name EDA_TEST_BENCH_NAME sgmii_tb -section_id eda_simulation
46
set_global_assignment -name EDA_TEST_BENCH_MODULE_NAME tb -section_id sgmii_tb
47
 
48
#Set design instance
49
set_global_assignment -name EDA_DESIGN_INSTANCE_NAME sgmii -section_id sgmii_tb
50
 
51
#Set simulation time
52
set_global_assignment -name EDA_TEST_BENCH_RUN_SIM_FOR "50 us" -section_id sgmii_tb
53
 
54
#Set testbench component files
55
set_global_assignment -name EDA_TEST_BENCH_FILE testbench/model/ethgen.v -section_id sgmii_tb
56
set_global_assignment -name EDA_TEST_BENCH_FILE testbench/model/ethgen2.v -section_id sgmii_tb
57
set_global_assignment -name EDA_TEST_BENCH_FILE testbench/model/ethmon.v -section_id sgmii_tb
58
set_global_assignment -name EDA_TEST_BENCH_FILE testbench/model/ethmon2.v -section_id sgmii_tb
59
set_global_assignment -name EDA_TEST_BENCH_FILE testbench/model/top_ethgen32.v -section_id sgmii_tb
60
set_global_assignment -name EDA_TEST_BENCH_FILE testbench/model/timing_adapter_fifo_32.v -section_id sgmii_tb
61
 
62
#Set memory initialization files
63
set_global_assignment -name EDA_TEST_BENCH_FILE testbench/sgmii/sdpm_altsyncram.hex -section_id sgmii_tb
64
 
65
#Set top level testbench files
66
set_global_assignment -name EDA_TEST_BENCH_FILE testbench/sgmii/sgmii_tb.v -section_id sgmii_tb
67
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.