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

Subversion Repositories sgmii

[/] [sgmii/] [trunk/] [sim/] [Sim_1000BaseX.do] - Blame information for rev 13

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 jefflieu
 
2
set incDir {../src+../src/mAltGX}
3
set srcDir {../src}
4
set SrcFiles {mANCtrl.v mReceive.v mTransmit.v mSyncCtrl.v mSGMII.v mXcver.v mSyncFifo.v mRegisters.v mClkBuf.v mRateAdapter.v}
5
set BfmDir {./BFMs}
6
set BfmFiles {mWishboneMstr.v}
7
foreach src $SrcFiles {
8
        vlog +incdir+$incDir $srcDir/$src
9
}
10
 
11
foreach bfm $BfmFiles {
12
        vlog +incdir+$BfmDir $BfmDir/$bfm
13
}
14
 
15
 
16
 
17
#core files
18
#library
19
set AltLibDir {C:/altera/11.0/quartus/eda/sim_lib}
20
vlog $AltLibDir/altera_mf.v
21
vlog $AltLibDir/220model.v
22
vlog $AltLibDir/sgate.v
23
vlog $AltLibDir/altera_primitives.v
24
vlog $AltLibDir/cycloneiv_atoms.v
25
vlog $AltLibDir/cycloneiv_hssi_atoms.v
26
vlog +incdir+$incDir ../src/mAltGX/mAltGX.v
27
vlog +incdir+$incDir ../src/mAltGX/mAltGXReconfig.v
28
 
29
 
30
vlog mMACEmulator.sv
31
vlog Testbench_AltGXB_1000BaseX.sv +incdir+../src/+./
32
#vlog Testbench_AltGXB_SGMII1000Mbps.sv +incdir+../src/+./
33
#vlog Testbench_1000Mb.v +incdir+../src/+./
34
 
35
set AltModel BFMs/SGMII_altera/testbench/sgmii
36
vlog -work work $AltModel/../../sgmii.vo
37
vlog -work work $AltModel/../model/*.v
38
vlog -work work $AltModel/*.v
39
 
40
vsim mSGMIITestbench

powered by: WebSVN 2.1.0

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