Changes between Version 2 and Version 3 of Component/Vci Master Nic


Ignore:
Timestamp:
Oct 9, 2019, 8:02:25 PM (5 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Component/Vci Master Nic

    v2 v3  
    7575The addressable registers can be split in two classes: ''global'' registers, and ''channel'' registers.
    7676
    77 === global registers ===
     77=== 2.1) global registers ===
    7878
    79 These registers are used for global NIC configuration or status, and are not linked to a specific channel:
    80  *
     79These registers are used for global NIC configuration or status, and are not linked to a specific channel.
     80
     81||'''NIC_G_CHANNELS'''          ||Read Only || Returns actual number of channels      ||
     82||'''NIC_G_BC_ENABLE'''         ||Read/Write|| Enable Broadcast if non zero           ||
     83||'''NIC_G_PERIOD'''            ||Read/Write|| container status polling period        ||
     84||'''NIC_G_MAC_4                ||Read/Write|| MAC address 32 LSB bits                ||
     85||'''NIC_G_MAC_2                ||Read/Write|| MAC address 16 MSB bits                ||
     86||'''NIC_G_NPKT_RESET           ||Write Only|| reset all packets counters             ||
     87 
     88    NIC_G_NPKT_RX_G2S_RECEIVED       = 10,  // number of packets received on GMII RX port
     89    NIC_G_NPKT_RX_G2S_DISCARDED      = 11,  // number of RX packets discarded by RX_G2S FSM
     90
     91    NIC_G_NPKT_RX_DES_SUCCESS        = 12,  // number of RX packets transmited by RX_DES FSM
     92    NIC_G_NPKT_RX_DES_TOO_SMALL      = 13,  // number of discarded too small RX packets (<60B)
     93    NIC_G_NPKT_RX_DES_TOO_BIG        = 14,  // number of discarded too big RX packets (>1514B)
     94    NIC_G_NPKT_RX_DES_MFIFO_FULL     = 15,  // number of discarded RX packets if fifo full
     95    NIC_G_NPKT_RX_DES_CRC_FAIL       = 16,  // number of discarded RX packets if CRC32 failure
     96
     97    NIC_G_NPKT_RX_DISPATCH_RECEIVED  = 17,  // number of packets received by RX_DISPATCH FSM
     98    NIC_G_NPKT_RX_DISPATCH_BROADCAST = 18,  // number of broadcast RX packets received
     99    NIC_G_NPKT_RX_DISPATCH_DST_FAIL  = 19,  // number of discarded RX packets if DST MAC not found
     100    NIC_G_NPKT_RX_DISPATCH_CH_FULL   = 20,  // number of discarded RX packets if channel full
     101
     102    NIC_G_NPKT_TX_DISPATCH_RECEIVED  = 41,  // number of packets received by TX_DISPATCH FSM
     103    NIC_G_NPKT_TX_DISPATCH_TOO_SMALL = 42,  // number of discarded too small TX packets (<60B)
     104    NIC_G_NPKT_TX_DISPATCH_TOO_BIG   = 43,  // number of discarded too big TX packets (>1514B)
     105    NIC_G_NPKT_TX_DISPATCH_TRANSMIT  = 44,  // number of transmit TX packets
     106
     107
     108=== 2.2) Channel registers ===
     109
     110These registers are replicated
    81111
    82112