Line 39... |
Line 39... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.4 2001/11/13 14:23:56 mohor
|
|
// Generic memory model is used. Defines are changed for the same reason.
|
|
//
|
// Revision 1.3 2001/10/18 12:07:11 mohor
|
// Revision 1.3 2001/10/18 12:07:11 mohor
|
// Status signals changed, Adress decoding changed, interrupt controller
|
// Status signals changed, Adress decoding changed, interrupt controller
|
// added.
|
// added.
|
//
|
//
|
// Revision 1.2 2001/09/24 15:02:56 mohor
|
// Revision 1.2 2001/09/24 15:02:56 mohor
|
Line 67... |
Line 70... |
//
|
//
|
//
|
//
|
//
|
//
|
//
|
//
|
|
|
|
|
|
//`define WISHBONE_DMA // Using DMA
|
|
|
|
|
// Selection of the used memory
|
// Selection of the used memory
|
//`define XILINX_RAMB4 // Core is going to be implemented in Virtex FPGA and contains Virtex
|
//`define XILINX_RAMB4 // Core is going to be implemented in Virtex FPGA and contains Virtex
|
// specific elements.
|
// specific elements.
|
|
|
//`define ARTISAN_SDP // Core is going to be implemented in ASIC (using Artisan RAM)
|
//`define ARTISAN_SDP // Core is going to be implemented in ASIC (using Artisan RAM)
|
Line 82... |
Line 89... |
`define ETH_IPGT_ADR 6'h3 // 0xC
|
`define ETH_IPGT_ADR 6'h3 // 0xC
|
`define ETH_IPGR1_ADR 6'h4 // 0x10
|
`define ETH_IPGR1_ADR 6'h4 // 0x10
|
`define ETH_IPGR2_ADR 6'h5 // 0x14
|
`define ETH_IPGR2_ADR 6'h5 // 0x14
|
`define ETH_PACKETLEN_ADR 6'h6 // 0x18
|
`define ETH_PACKETLEN_ADR 6'h6 // 0x18
|
`define ETH_COLLCONF_ADR 6'h7 // 0x1C
|
`define ETH_COLLCONF_ADR 6'h7 // 0x1C
|
`define ETH_RX_BD_ADR_ADR 6'h8 // 0x20
|
`define ETH_RX_BD_NUM_ADR 6'h8 // 0x20
|
`define ETH_CTRLMODER_ADR 6'h9 // 0x24
|
`define ETH_CTRLMODER_ADR 6'h9 // 0x24
|
`define ETH_MIIMODER_ADR 6'hA // 0x28
|
`define ETH_MIIMODER_ADR 6'hA // 0x28
|
`define ETH_MIICOMMAND_ADR 6'hB // 0x2C
|
`define ETH_MIICOMMAND_ADR 6'hB // 0x2C
|
`define ETH_MIIADDRESS_ADR 6'hC // 0x30
|
`define ETH_MIIADDRESS_ADR 6'hC // 0x30
|
`define ETH_MIITX_DATA_ADR 6'hD // 0x34
|
`define ETH_MIITX_DATA_ADR 6'hD // 0x34
|
Line 113... |
Line 120... |
`define ETH_MIIRX_DATA_DEF 32'h00000000
|
`define ETH_MIIRX_DATA_DEF 32'h00000000
|
`define ETH_MIISTATUS_DEF 32'h00000000
|
`define ETH_MIISTATUS_DEF 32'h00000000
|
`define ETH_MAC_ADDR0_DEF 32'h00000000
|
`define ETH_MAC_ADDR0_DEF 32'h00000000
|
`define ETH_MAC_ADDR1_DEF 32'h00000000
|
`define ETH_MAC_ADDR1_DEF 32'h00000000
|
|
|
`define ETH_RX_BD_ADR_DEF 8'h0
|
`define ETH_RX_BD_NUM_DEF 8'h80
|
|
|
No newline at end of file
|
No newline at end of file
|