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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [rtl/] [verilog/] [include/] [ethmac_defines.v] - Diff between revs 409 and 439

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

Rev 409 Rev 439
Line 189... Line 189...
//`define ETH_TX_256BYTE_FIFO  // 256 byte TX buffer - uncomment this
//`define ETH_TX_256BYTE_FIFO  // 256 byte TX buffer - uncomment this
//`define ETH_TX_512BYTE_FIFO  // 512 byte TX buffer - uncomment this
//`define ETH_TX_512BYTE_FIFO  // 512 byte TX buffer - uncomment this
`define ETH_TX_1KBYTE_FIFO     // 1024 byte TX buffer - uncomment this
`define ETH_TX_1KBYTE_FIFO     // 1024 byte TX buffer - uncomment this
 
 
`ifdef  ETH_TX_FULL_PACKET_FIFO
`ifdef  ETH_TX_FULL_PACKET_FIFO
 `define ETH_TX_FIFO_CNT_WIDTH  11
 `define ETH_TX_FIFO_CNT_WIDTH  9
 `define ETH_TX_FIFO_DEPTH      375
 `define ETH_TX_FIFO_DEPTH      375
`else
`else
 `ifdef ETH_TX_1KBYTE_FIFO
 `ifdef ETH_TX_1KBYTE_FIFO
  `define ETH_TX_FIFO_CNT_WIDTH  9
  `define ETH_TX_FIFO_CNT_WIDTH  8
  `define ETH_TX_FIFO_DEPTH      256
  `define ETH_TX_FIFO_DEPTH      256
 `else
 `else
  `ifdef ETH_TX_512BYTE_FIFO
  `ifdef ETH_TX_512BYTE_FIFO
   `define ETH_TX_FIFO_CNT_WIDTH  8
   `define ETH_TX_FIFO_CNT_WIDTH  7
   `define ETH_TX_FIFO_DEPTH      128
   `define ETH_TX_FIFO_DEPTH      128
  `else
  `else
   `ifdef ETH_TX_256BYTE_FIFO
   `ifdef ETH_TX_256BYTE_FIFO
    `define ETH_TX_FIFO_CNT_WIDTH  7
    `define ETH_TX_FIFO_CNT_WIDTH  6
    `define ETH_TX_FIFO_DEPTH      64
    `define ETH_TX_FIFO_DEPTH      64
   `else
   `else
// Default is 64 bytes
// Default is 64 bytes
    `define ETH_TX_FIFO_CNT_WIDTH  5
    `define ETH_TX_FIFO_CNT_WIDTH  4
    `define ETH_TX_FIFO_DEPTH      16
    `define ETH_TX_FIFO_DEPTH      16
   `endif
   `endif
  `endif
  `endif
 `endif // !`ifdef ETH_TX_512BYTE_FIFO
 `endif // !`ifdef ETH_TX_512BYTE_FIFO
`endif // !`ifdef ETH_TX_FULL_PACKET_FIFO
`endif // !`ifdef ETH_TX_FULL_PACKET_FIFO
 
 
 
 
 
 
// Settings for RX FIFO
// Settings for RX FIFO
`define ETH_RX_FIFO_CNT_WIDTH  9
`define ETH_RX_FIFO_CNT_WIDTH  8
`define ETH_RX_FIFO_DEPTH      256
`define ETH_RX_FIFO_DEPTH      256
//`define ETH_RX_FIFO_CNT_WIDTH  8
 
//`define ETH_RX_FIFO_DEPTH      128
 
//`define ETH_RX_FIFO_CNT_WIDTH  7
//`define ETH_RX_FIFO_CNT_WIDTH  7
//`define ETH_RX_FIFO_DEPTH      64
//`define ETH_RX_FIFO_DEPTH      128
//`define ETH_RX_FIFO_CNT_WIDTH  6
//`define ETH_RX_FIFO_CNT_WIDTH  6
//`define ETH_RX_FIFO_DEPTH      32
//`define ETH_RX_FIFO_DEPTH      64
//`define ETH_RX_FIFO_CNT_WIDTH  5
//`define ETH_RX_FIFO_CNT_WIDTH  5
 
//`define ETH_RX_FIFO_DEPTH      32
 
//`define ETH_RX_FIFO_CNT_WIDTH  4
//`define ETH_RX_FIFO_DEPTH      16
//`define ETH_RX_FIFO_DEPTH      16
 
 
`define ETH_RX_FIFO_DATA_WIDTH 32
`define ETH_RX_FIFO_DATA_WIDTH 32
 
 
// Burst length
// Burst length

powered by: WebSVN 2.1.0

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