URL
https://opencores.org/ocsvn/sgmii/sgmii/trunk
Subversion Repositories sgmii
[/] [sgmii/] [trunk/] [sim/] [Sim_1000BaseX.do] - Rev 15
Go to most recent revision | Compare with Previous | Blame | View Log
set incDir {../src+../src/mAltGX}
set srcDir {../src}
set SrcFiles {mANCtrl.v mReceive.v mTransmit.v mSyncCtrl.v mSGMII.v mXcver.v mSyncFifo.v mRegisters.v mClkBuf.v mRateAdapter.v}
set BfmDir {./BFMs}
set BfmFiles {mWishboneMstr.v}
foreach src $SrcFiles {
vlog +incdir+$incDir $srcDir/$src
}
foreach bfm $BfmFiles {
vlog +incdir+$BfmDir $BfmDir/$bfm
}
#core files
#library
set AltLibDir {C:/altera/11.0/quartus/eda/sim_lib}
vlog $AltLibDir/altera_mf.v
vlog $AltLibDir/220model.v
vlog $AltLibDir/sgate.v
vlog $AltLibDir/altera_primitives.v
vlog $AltLibDir/cycloneiv_atoms.v
vlog $AltLibDir/cycloneiv_hssi_atoms.v
vlog +incdir+$incDir ../src/mAltGX/mAltGX.v
vlog +incdir+$incDir ../src/mAltGX/mAltGXReconfig.v
vlog mMACEmulator.sv
vlog Testbench_AltGXB_1000BaseX.sv +incdir+../src/+./
#vlog Testbench_AltGXB_SGMII1000Mbps.sv +incdir+../src/+./
#vlog Testbench_1000Mb.v +incdir+../src/+./
set AltModel BFMs/SGMII_altera/testbench/sgmii
vlog -work work $AltModel/../../sgmii.vo
vlog -work work $AltModel/../model/*.v
vlog -work work $AltModel/*.v
vsim mSGMIITestbench
Go to most recent revision | Compare with Previous | Blame | View Log