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

Subversion Repositories sgmii

[/] [sgmii/] [trunk/] [sim/] [Sim_SGMII1000Mb.do] - Rev 13

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_SGMII1000Mbps.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

powered by: WebSVN 2.1.0

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