Line 39... |
Line 39... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.26 2002/10/24 18:53:03 mohor
|
|
// fpga define added.
|
|
//
|
// Revision 1.3 2002/10/11 16:57:54 igorm
|
// Revision 1.3 2002/10/11 16:57:54 igorm
|
// eth_defines.v tagged with rel_5 used.
|
// eth_defines.v tagged with rel_5 used.
|
//
|
//
|
// Revision 1.25 2002/10/10 16:47:44 mohor
|
// Revision 1.25 2002/10/10 16:47:44 mohor
|
// Defines changed to have ETH_ prolog.
|
// Defines changed to have ETH_ prolog.
|
Line 146... |
Line 149... |
//
|
//
|
//
|
//
|
//
|
//
|
//
|
//
|
|
|
`ifdef fpga
|
|
`define FPGA
|
|
`else
|
|
`endif
|
|
|
|
|
|
//`define ETH_BIST // Bist for usage with Virtual Silicon RAMS
|
//`define ETH_BIST // Bist for usage with Virtual Silicon RAMS
|
|
|
|
|
`ifdef FPGA
|
// Ethernet implemented in Xilinx Chips
|
`define ETH_FIFO_XILINX // Use Xilinx distributed ram for tx and rx fifo
|
// `define ETH_FIFO_XILINX // Use Xilinx distributed ram for tx and rx fifo
|
`define ETH_XILINX_RAMB4 // Selection of the used memory for Buffer descriptors
|
// `define ETH_XILINX_RAMB4 // Selection of the used memory for Buffer descriptors
|
// Core is going to be implemented in Virtex FPGA and contains Virtex
|
// Core is going to be implemented in Virtex FPGA and contains Virtex
|
// specific elements.
|
// specific elements.
|
`else
|
|
`define ETH_VIRTUAL_SILICON_RAM // Virtual Silicon RAMS used storing buffer decriptors (ASIC implementation)
|
// Ethernet implemented in ASIC with Virtual Silicon RAMs
|
`endif
|
// `define ETH_VIRTUAL_SILICON_RAM // Virtual Silicon RAMS used storing buffer decriptors (ASIC implementation)
|
|
|
`define ETH_MODER_ADR 8'h0 // 0x0
|
`define ETH_MODER_ADR 8'h0 // 0x0
|
`define ETH_INT_SOURCE_ADR 8'h1 // 0x4
|
`define ETH_INT_SOURCE_ADR 8'h1 // 0x4
|
`define ETH_INT_MASK_ADR 8'h2 // 0x8
|
`define ETH_INT_MASK_ADR 8'h2 // 0x8
|
`define ETH_IPGT_ADR 8'h3 // 0xC
|
`define ETH_IPGT_ADR 8'h3 // 0xC
|