Offset in core for bus CSR : 0x00014000
| enet_2g5_oe_1 | 2.5-Gigabit Ethernet Offload Engine | ||||||
|---|---|---|---|---|---|---|---|
| Register Name | Byte Addr Offset | Field | Bits | Type | subtype | Reset | Description |
| CSR_ENET_2G5_OE_1_IP_ID | 0x0 | 32 | Unique ID for this IP block | ||||
| IP_NUMBER | 7:0 | c | 0x23 | IP identifier number | |||
| MFR_NUMBER | 15:8 | c | 0xFF | Manufacturer number | |||
| RESERVED | 31:16 | rsv | 0 | Reserved bits | |||
| CSR_ENET_2G5_OE_1_IP_VER | 0x4 | 32 | IP Version | ||||
| MINOR_NUMBER | 7:0 | c | 0x00 | Minor number | |||
| MAJOR_NUMBER | 15:8 | c | 0x00 | Major number | |||
| RESERVED | 31:16 | rsv | 0 | Reserved bits | |||
| CSR_ENET_2G5_OE_1_CTRL | 0x8 | 8 | Main Control register | ||||
| INIT | 0 | w0 | 0x0 | All the logic is brought back to the initial state, without loosing the existing configuration | |||
| PHY_RESET_START | 1 | w0 | 0x0 | Start a hardware reset to the 10G-PHY | |||
| MAC_LOOPBACK_EN | 2 | w | 0x0 | Enable the internal MAC loopback mode, with the MAC Tx output being connected to the Rx input, and the XAUI-PHY interface being ignored | |||
| MAC_POWER_DOWN | 3 | w | 0x0 | Disable the 10G MAC | |||
| MAC_TEST_MODE | 5:4 | w | 0x0 | 10G-MAC test mode inputs | |||
| TCP_CONNECTION_RESET | 6 | w | 0x0 | TCP connection reset | |||
| TCP_KEEPALIVE_EN | 7 | w | 0x0 | TCP keepalive enable | |||
| CSR_ENET_2G5_OE_1_STATUS | 0xc | 2 | Main Status register | ||||
| PHY_RESET_DONE | 0 | r | 0x0 | 10G-PHY hardware reset completed | |||
| TCP_CONNECTED_FLAG | 1 | r | 0x0 | TCP connected flag | |||
| CSR_ENET_2G5_OE_1_MAC_ADDRESS_0 | 0x10 | 32 | w | 0x02030405 | MAC Address, bits [31:0] | ||
| CSR_ENET_2G5_OE_1_MAC_ADDRESS_1 | 0x14 | 16 | w | 0x0001 | MAC Address, bits [47:32] | ||
| CSR_ENET_2G5_OE_1_MAC_STATUS_RD_CTRL | 0x18 | 5 | MAC Status read control | ||||
| READ_REQ | 0 | w0 | 0x0 | read request | |||
| REG_PTR | 4:1 | w | 0x0 | register pointer. Refer to the notes for the list of available registers | |||
| CSR_ENET_2G5_OE_1_MAC_STATUS_RD_VALUE | 0x1c | 17 | MAC Status register - 3 | ||||
| REG_VALUE | 15:0 | r | 0x0 | MAC Rx-Frames with wrong address | |||
| REG_RDY | 16 | r | 0x0 | asserted when the register value is ready, following a read request | |||
| CSR_ENET_2G5_OE_1_IPV4_ADDR | 0x20 | 32 | w | 0x0 | IP-v4 Address. Ex: 192.168.0.128 is 0xC0A80080 | ||
| CSR_ENET_2G5_OE_1_IPV4_GATEWAY_ADDR | 0x24 | 32 | w | 0x0 | IP-v4 Gateway Address. Ex: 192.168.0.1 is 0xC0A80001 | ||
| CSR_ENET_2G5_OE_1_TCP_LOCAL_PORT | 0x28 | 16 | w | 0x0400 | TCP-Server TCP Local Port | ||
| CSR_ENET_2G5_OE_1_PKT_SPLIT_CFG_WR_CTRL | 0x2c | 11 | Rx-Packet-Split configuration control | ||||
| WR_ADDR | 5:0 | w | 0x0 | write address: addresses 0-31: packet filter, addresses 32-63: packet filter mask | |||
| WR_EN | 6 | w0 | 0x0 | write enable | |||
| FILT_LEN | 10:7 | w | 5 | Packet Split filter length: defines the number of bytes used for the packet matching filter. Each unit increases the filter lenght of 8-bytes | |||
| CSR_ENET_2G5_OE_1_PKT_SPLIT_CFG_WR_DATA | 0x30 | 32 | w | 0x0 | Write data for either the packet filter or the packet filter mask | ||
| CSR_ENET_2G5_OE_1_PKT_SPLIT_CFG_WR_DONE | 0x34 | 1 | r | 0x0 | Asserted when the write operation is completed | ||
| CSR_ENET_2G5_OE_1_GMII_TX_BRG_CTRL | 0x38 | 2 | GMII Tx Bridge Control | ||||
| CLR_BUF_OVFL_FLAG | 0 | w0 | 0x0 | Clear the Buffer Overflow Flag | |||
| DISC_STAT_RD_REQ | 1 | w0 | 0x0 | Issue a request to read the number of discarded packets | |||
| CSR_ENET_2G5_OE_1_GMII_TX_BRG_STAT | 0x3c | 29 | GMII Tx Bridge status | ||||
| BUF_OVFL_FLAG | 0 | r | 0x0 | Buffer Overflow Flag | |||
| DISC_STAT_RDY | 1 | r | 0x0 | Asserted when discarded_packets contains a correct value | |||
| DISC_PACKETS | 17:2 | r | 0x0 | Number of discarded packets | |||
| BUFFER_LEVEL | 28:18 | r | 0x0 | Buffer level | |||
| CSR_ENET_2G5_OE_1_MEM_WR_IF_CTRL | 0x40 | 3 | Memory write interface control | ||||
| CLR | 0 | w0 | 0 | Clear interface | |||
| UPDATE_ADDR | 1 | w0 | 0 | Update DMA addresses | |||
| SMPL_WR_ADDR | 2 | w0 | 0 | Sample DMA write address | |||
| CSR_ENET_2G5_OE_1_MEM_WR_IF_BASE_ADDR | 0x44 | 32 | w | 0x20000000 | Byte address of DMA circular buffer base | ||
| CSR_ENET_2G5_OE_1_MEM_WR_IF_END_ADDR | 0x48 | 32 | w | 0x2000ffff | Byte address of DMA circular buffer end | ||
| CSR_ENET_2G5_OE_1_MEM_WR_IF_STATUS | 0x4c | 2 | Memory write interface status | ||||
| OVERFLOW | 0 | r | 0 | Overfow error (sticky). | |||
| SMPL_BUSY | 1 | r | 0 | Write address sampling busy. When 0 mem_wr_if_ctrl.smpl_wr_addr is valid to read. | |||
| CSR_ENET_2G5_OE_1_MEM_WR_IF_WR_ADDR | 0x50 | 32 | r | 0 | Sampled byte address of next memory write | ||
| CSR_ENET_2G5_OE_1_PHY_READ_DATA | 0x54 | 32 | r | 0 | Returned data after a read from either the XAUI power manangement registers, or the transceiver config registers. Valid after a read and phy_busy is 0 | ||
| CSR_ENET_2G5_OE_1_PHY_BUSY | 0x58 | 1 | r | 0 | PHY (XAUI or transceiver config) register access busy status. Set on access (read or write) cleared when completed. New accesses must wait for busy clear. | ||
| CSR_ENET_2G5_OE_1_GMII_RX_BRG_FIFO_FULL | 0x5c | 1 | r | 0 | GMII RX bridge full flag | ||
| CSR_ENET_2G5_OE_1_GMII_RX_BRG_CLR_FIFO_FULL | 0x60 | 1 | w0 | 0 | Clear GMII RX bridge full flag | ||
| CSR_ENET_2G5_OE_1_SGMII | 0x64 | 4 | sgmii status | ||||
| IS_1G | 0 | r | 0 | 1gb not 100m or 10m | |||
| ACTIVITY | 1 | r | 0 | tx rx activity | |||
| LINK_UP | 2 | r | 0 | link_up | |||
| AUTONEGOTIATED | 3 | r | 0 | link autonegotiated | |||
Register/field type key:
| Type | Description |
|---|---|
| c | Constant, with value defined by "reset" attribute |
| rsv | Same as constant, except no reset value and always 0. Can be mixed with write types. |
| w | Write register (and read—no write only type). Register defined in register block and reset to "reset" attribute value. Split into fields (if applicable) for signalling and output, where attribute associated with fields, not register. |
| wp | Write with pulse. Register is not declared in block, but write bus split into fields as output port signals, and a pulse generated on write to register address. Register reads back 0. The "reset" attribute is for documentation only, as set externally. |
| w0 | Same as w, but auto-clears to 0 (and thus always reads as 0). At output port, signal will go high for one cycle when bit is written with a 1 (no effect if written to a 0). No "reset" attribute, as must always be 0. |
| r | Read only value. Input ports generated for each field (where applicable), and concatenated on returned read data bus. |
| rp | Similar to r, but a pulse generated on a read access to the register address to allow peripheral logic to update value. The "reset" attribute is for documentation only, as set externally. |
| rwp | Similar to wp, but also generates a (separate) pulse on a read access to the register |
| bitdef | Defines the bits used in the read, set, clear registers |
| Subype | Description |
| unsigned | Register/field is specified as an unsigned value. |
| signed | Register/field is specified as a signed value. |
| <blank> | Register/field sign status is not explicitly defined and defaults to unsigned. |
Copyright © 2024 Global Inkjet Systems. Generated by gen_htm.py —2024-6-28 12:03