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

Subversion Repositories ethmac

[/] [ethmac/] [trunk/] [bench/] [verilog/] [tb_ethernet.v] - Diff between revs 156 and 158

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 156 Rev 158
Line 39... Line 39...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.4  2002/09/06 11:03:24  mohor
 
// Valid testbench.
 
//
// Revision 1.3  2002/07/23 16:34:31  mohor
// Revision 1.3  2002/07/23 16:34:31  mohor
// gsr added for use when ETH_XILINX_RAMB4 define is set.
// gsr added for use when ETH_XILINX_RAMB4 define is set.
//
//
// Revision 1.2  2002/07/19 14:02:47  mohor
// Revision 1.2  2002/07/19 14:02:47  mohor
// Clock mrx_clk set to 2.5 MHz.
// Clock mrx_clk set to 2.5 MHz.
Line 309... Line 312...
  eth_host.wb_write(`ETH_CTRLMODER, 4'hf, 32'h4);   // Enable Tx Flow control
  eth_host.wb_write(`ETH_CTRLMODER, 4'hf, 32'h4);   // Enable Tx Flow control
  eth_host.wb_write(`ETH_CTRLMODER, 4'hf, 32'h5);   // Enable Tx Flow control
  eth_host.wb_write(`ETH_CTRLMODER, 4'hf, 32'h5);   // Enable Tx Flow control
  eth_host.wb_write(`ETH_TX_CTRL, 4'hf, 32'h10013); // Send Control frame with PAUSE_TV=0x0013
  eth_host.wb_write(`ETH_TX_CTRL, 4'hf, 32'h10013); // Send Control frame with PAUSE_TV=0x0013
*/
*/
  send_packet;
  send_packet;
*/
 
 
 
  GetDataOnMRxD(100, `UNICAST_XFR); // LengthRx bytes is comming on MRxD[3:0] signals
  GetDataOnMRxD(100, `UNICAST_XFR); // LengthRx bytes is comming on MRxD[3:0] signals
 
 
  repeat (1000) @(posedge wb_clk_o);   // Waiting for TxEthMac to finish transmit
  repeat (1000) @(posedge wb_clk_o);   // Waiting for TxEthMac to finish transmit
 
 

powered by: WebSVN 2.1.0

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