openenoc address map
Absolute Address: 0x0
Base Offset: 0x0
Size: 0x20001C00
Offset |
Identifier |
Name |
|---|---|---|
0x00000000 |
imem |
imem |
0x10000000 |
dmem |
dmem |
0x20000000 |
csr |
csr |
imem memory
Absolute Address: 0x0
Base Offset: 0x0
Size: 0x8000
CPU Program Memory
No supported members.
dmem memory
Absolute Address: 0x10000000
Base Offset: 0x10000000
Size: 0x8000
CPU Data Memory
No supported members.
csr address map
Absolute Address: 0x20000000
Base Offset: 0x20000000
Size: 0x1C00
openENOC CSR
Offset |
Identifier |
Name |
|---|---|---|
0x0000 |
test_reg |
csr.test_reg |
0x0004 |
regB |
— |
0x0800 |
endpoint1 |
csr.endpoint1 |
0x1000 |
endpoint2 |
csr.endpoint2 |
0x1400 |
switch1 |
csr.switch1 |
0x1800 |
switch2 |
csr.switch2 |
test_reg register
Absolute Address: 0x20000000
Base Offset: 0x0
Size: 0x4
Test register
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
test_field |
rw |
0x0 |
csr.test_reg.test_field[31:0] |
test_field field
4-byte test field
regB register
Absolute Address: 0x20000004
Base Offset: 0x4
Size: 0x4
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
f0 |
rw |
0x0 |
— |
15:8 |
f1 |
rw |
0x0 |
— |
23:16 |
f2 |
rw |
0x0 |
— |
31:24 |
f3 |
rw |
0x0 |
— |
endpoint1 address map
Absolute Address: 0x20000800
Base Offset: 0x800
Size: 0x800
Control and status register map for an openENOC Endpoint Interface instance.
Offset |
Identifier |
Name |
|---|---|---|
0x000 |
info |
csr.endpoint1.info |
0x008 |
config |
csr.endpoint1.config |
0x020 |
axis_if |
csr.endpoint1.axis_if |
0x080 |
peers |
csr.endpoint1.peers |
0x400 |
rmem |
rmem |
info register
Absolute Address: 0x20000800
Base Offset: 0x0
Size: 0x8
Read-only information register for this openENOC Endpoint Interface instance.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
rmem_total_depth |
r |
0x100 |
csr.endpoint1.info.rmem_total_depth[15:0] |
63:32 |
num_of_peers |
r |
0x4 |
csr.endpoint1.info.num_of_peers[31:16] |
rmem_total_depth field
Total depth of the shared memory region for all remote peers. This field reflects the RMEM_TOTAL_DEPTH parameter value.
num_of_peers field
Number of remote peers supported by this openENOC Endpoint Interface instance. This field reflects the NUM_OF_PEERS parameter value.
config register file
Absolute Address: 0x20000808
Base Offset: 0x8
Size: 0x8
Configuration register file for this openENOC Endpoint Interface instance.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.endpoint1.config.mac_address |
mac_address register
Absolute Address: 0x20000808
Base Offset: 0x0
Size: 0x8
Local site 48-bit destination MAC address.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
0x0 |
csr.endpoint1.config.mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
0x0 |
csr.endpoint1.config.mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address.
axis_if register file
Absolute Address: 0x20000820
Base Offset: 0x20
Size: 0x1C
Register file for the AXI4-Stream source and sink interfaces.
Offset |
Identifier |
Name |
|---|---|---|
0x00 |
source |
csr.endpoint1.axis_if.source |
0x10 |
sink |
csr.endpoint1.axis_if.sink |
source register file
Absolute Address: 0x20000820
Base Offset: 0x0
Size: 0xC
Register file for the AXI4-Stream source interface.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
data |
csr.endpoint1.axis_if.source.data |
0x4 |
control |
csr.endpoint1.axis_if.source.control |
0x8 |
status |
csr.endpoint1.axis_if.source.status |
data register
Absolute Address: 0x20000820
Base Offset: 0x0
Size: 0x4
Data register for the AXI4-Stream source interface.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
tdata |
rw |
0x0 |
csr.endpoint1.axis_if.source.data.tdata[31:0] |
tdata field
32-bit data value for the AXI4-Stream source interface.
control register
Absolute Address: 0x20000824
Base Offset: 0x4
Size: 0x4
Control register for the AXI4-Stream source interface.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
tvalid |
rw |
0x0 |
csr.endpoint1.axis_if.source.control.tvalid |
8 |
tlast |
rw |
0x0 |
csr.endpoint1.axis_if.source.control.tlast |
tvalid field
Indicates that the AXI4-Stream source interface has valid data to send. This field is a single-pulse register that is automatically cleared back to zero after being written.
tlast field
Indicates the last data word of a frame on the AXI4-Stream source interface.
status register
Absolute Address: 0x20000828
Base Offset: 0x8
Size: 0x4
Status register for the AXI4-Stream source interface.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
tready |
r |
0x0 |
csr.endpoint1.axis_if.source.status.tready |
tready field
Indicates that the destination AXI4-Stream interface is ready to receive data.
sink register file
Absolute Address: 0x20000830
Base Offset: 0x10
Size: 0xC
Register file for the AXI4-Stream sink interface.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
data |
csr.endpoint1.axis_if.sink.data |
0x4 |
control |
csr.endpoint1.axis_if.sink.control |
0x8 |
status |
csr.endpoint1.axis_if.sink.status |
data register
Absolute Address: 0x20000830
Base Offset: 0x0
Size: 0x4
Data register for the AXI4-Stream sink interface.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
tdata |
r |
— |
csr.endpoint1.axis_if.sink.data.tdata[31:0] |
tdata field
32-bit data value for the AXI4-Stream sink interface.
control register
Absolute Address: 0x20000834
Base Offset: 0x4
Size: 0x4
Control register for the AXI4-Stream sink interface.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
tready |
w |
0x0 |
csr.endpoint1.axis_if.sink.control.tready |
tready field
Indicates that the AXI4-Stream sink interface is ready to receive next data transfer.
status register
Absolute Address: 0x20000838
Base Offset: 0x8
Size: 0x4
Status register for the AXI4-Stream sink interface.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
tvalid |
r |
— |
csr.endpoint1.axis_if.sink.status.tvalid |
8 |
tlast |
r |
— |
csr.endpoint1.axis_if.sink.status.tlast |
tvalid field
Indicates that the AXI4-Stream sink interface has valid data to receive.
tlast field
Indicates the last data word of a frame on the AXI4-Stream sink interface.
peers register file
Absolute Address: 0x20000880
Base Offset: 0x80
Size: 0x70
Register file for remote peer configuration and memory region information.
Offset |
Identifier |
Name |
|---|---|---|
0x00 |
entry[0] |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1] |
0x1C |
entry[1] |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1] |
0x38 |
entry[2] |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1] |
0x54 |
entry[3] |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1] |
entry register file
Absolute Address: 0x20000880
Base Offset: 0x0
Size: 0x1C
Array Dimensions: [4]
Array Stride: 0x1C
Total Size: 0x70
Register file for a single remote peer configuration and memory region information.
Offset |
Identifier |
Name |
|---|---|---|
0x00 |
mac_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].mac_address |
0x08 |
rmem_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].rmem_address |
0x0C |
local_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].local_address |
0x10 |
remote_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].remote_address |
0x14 |
size |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].size |
0x18 |
dma |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma |
mac_address register
Absolute Address: 0x20000880
Base Offset: 0x0
Size: 0x8
Remote peer 48-bit destination MAC address.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address.
rmem_address register
Absolute Address: 0x20000888
Base Offset: 0x8
Size: 0x4
Address offset of the virtual memory region corresponding to the remote peer's memory.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
offset |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].rmem_address.offset[31:0] |
offset field
Word-aligned 32-bit address offset of the virtual memory region corresponding to the remote peer's memory.
local_address register
Absolute Address: 0x2000088C
Base Offset: 0xC
Size: 0x4
Start address of the local memory region for DMA transfers.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
base |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].local_address.base[31:0] |
base field
Word-aligned 32-bit start address of the local memory region for DMA transfers.
remote_address register
Absolute Address: 0x20000890
Base Offset: 0x10
Size: 0x4
Start address of the remote peer's memory region.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
base |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].remote_address.base[31:0] |
base field
Word-aligned 32-bit start address of the remote peer's memory region.
size register
Absolute Address: 0x20000894
Base Offset: 0x14
Size: 0x4
Size of the remote peer's memory region.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
bytes |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].size.bytes[31:0] |
bytes field
32-bit size of the remote peer's memory region in bytes.
dma register
Absolute Address: 0x20000898
Base Offset: 0x18
Size: 0x4
DMA configuration and control for the remote peer.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
1:0 |
mode |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.mode[1:0] |
8 |
request |
rw |
0x0 |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.request[8:8] |
16 |
idle |
r |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.idle[16:16] |
24 |
done |
r |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.done[24:24] |
25 |
error |
r |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.error[25:25] |
mode field
DMA mode for transfers to/from the remote peer:
- 0: DMA transfers to/from the remote peer are disabled.
- 1: DMA transfers to/from the remote peer are enabled in transparent mode, where accesses to the virtual memory region are directly translated to corresponding accesses to the remote peer's memory region (transactions are word-by-word, i.e., per virtual memory access).
- 2: DMA transfers to/from the remote peer are enabled in mirror-to-local mode, where the local memory region is used instead of the virtual memory region. The state of the remote peer's memory region (remote_address, size) is fetched from the remote peer on demand or periodically.
- 3: DMA transfers to/from the remote peer are enabled in mirror-to-remote mode, where the remote memory region is used instead of the virtual memory region. The state of the local peer's memory region (local_address, size) is sent to the remote peer on demand or periodically.
request field
Writing a 1 to this field initiates a DMA transfer to/from the remote peer. This field is a single-pulse register that is automatically cleared back to zero after being written.
idle field
Indicates whether the DMA transfer to/from the remote peer is idle. A value of 1 indicates that the DMA transfer is idle, while a value of 0 indicates that the DMA transfer is in progress.
done field
Indicates whether the DMA transfer to/from the remote peer has been successful. A value of 1 indicates that the DMA transfer has completed successfully, while a value of 0 indicates that the DMA transfer is still in progress or has encountered an error.
error field
Indicates whether the DMA transfer to/from the remote peer has encountered an error. A value of 1 indicates an error, while a value of 0 indicates no error.
entry register file
Absolute Address: 0x2000089C
Base Offset: 0x0
Size: 0x1C
Array Dimensions: [4]
Array Stride: 0x1C
Total Size: 0x70
Register file for a single remote peer configuration and memory region information.
Offset |
Identifier |
Name |
|---|---|---|
0x00 |
mac_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].mac_address |
0x08 |
rmem_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].rmem_address |
0x0C |
local_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].local_address |
0x10 |
remote_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].remote_address |
0x14 |
size |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].size |
0x18 |
dma |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma |
mac_address register
Absolute Address: 0x2000089C
Base Offset: 0x0
Size: 0x8
Remote peer 48-bit destination MAC address.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address.
rmem_address register
Absolute Address: 0x200008A4
Base Offset: 0x8
Size: 0x4
Address offset of the virtual memory region corresponding to the remote peer's memory.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
offset |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].rmem_address.offset[31:0] |
offset field
Word-aligned 32-bit address offset of the virtual memory region corresponding to the remote peer's memory.
local_address register
Absolute Address: 0x200008A8
Base Offset: 0xC
Size: 0x4
Start address of the local memory region for DMA transfers.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
base |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].local_address.base[31:0] |
base field
Word-aligned 32-bit start address of the local memory region for DMA transfers.
remote_address register
Absolute Address: 0x200008AC
Base Offset: 0x10
Size: 0x4
Start address of the remote peer's memory region.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
base |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].remote_address.base[31:0] |
base field
Word-aligned 32-bit start address of the remote peer's memory region.
size register
Absolute Address: 0x200008B0
Base Offset: 0x14
Size: 0x4
Size of the remote peer's memory region.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
bytes |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].size.bytes[31:0] |
bytes field
32-bit size of the remote peer's memory region in bytes.
dma register
Absolute Address: 0x200008B4
Base Offset: 0x18
Size: 0x4
DMA configuration and control for the remote peer.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
1:0 |
mode |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.mode[1:0] |
8 |
request |
rw |
0x0 |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.request[8:8] |
16 |
idle |
r |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.idle[16:16] |
24 |
done |
r |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.done[24:24] |
25 |
error |
r |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.error[25:25] |
mode field
DMA mode for transfers to/from the remote peer:
- 0: DMA transfers to/from the remote peer are disabled.
- 1: DMA transfers to/from the remote peer are enabled in transparent mode, where accesses to the virtual memory region are directly translated to corresponding accesses to the remote peer's memory region (transactions are word-by-word, i.e., per virtual memory access).
- 2: DMA transfers to/from the remote peer are enabled in mirror-to-local mode, where the local memory region is used instead of the virtual memory region. The state of the remote peer's memory region (remote_address, size) is fetched from the remote peer on demand or periodically.
- 3: DMA transfers to/from the remote peer are enabled in mirror-to-remote mode, where the remote memory region is used instead of the virtual memory region. The state of the local peer's memory region (local_address, size) is sent to the remote peer on demand or periodically.
request field
Writing a 1 to this field initiates a DMA transfer to/from the remote peer. This field is a single-pulse register that is automatically cleared back to zero after being written.
idle field
Indicates whether the DMA transfer to/from the remote peer is idle. A value of 1 indicates that the DMA transfer is idle, while a value of 0 indicates that the DMA transfer is in progress.
done field
Indicates whether the DMA transfer to/from the remote peer has been successful. A value of 1 indicates that the DMA transfer has completed successfully, while a value of 0 indicates that the DMA transfer is still in progress or has encountered an error.
error field
Indicates whether the DMA transfer to/from the remote peer has encountered an error. A value of 1 indicates an error, while a value of 0 indicates no error.
entry register file
Absolute Address: 0x200008B8
Base Offset: 0x0
Size: 0x1C
Array Dimensions: [4]
Array Stride: 0x1C
Total Size: 0x70
Register file for a single remote peer configuration and memory region information.
Offset |
Identifier |
Name |
|---|---|---|
0x00 |
mac_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].mac_address |
0x08 |
rmem_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].rmem_address |
0x0C |
local_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].local_address |
0x10 |
remote_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].remote_address |
0x14 |
size |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].size |
0x18 |
dma |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma |
mac_address register
Absolute Address: 0x200008B8
Base Offset: 0x0
Size: 0x8
Remote peer 48-bit destination MAC address.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address.
rmem_address register
Absolute Address: 0x200008C0
Base Offset: 0x8
Size: 0x4
Address offset of the virtual memory region corresponding to the remote peer's memory.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
offset |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].rmem_address.offset[31:0] |
offset field
Word-aligned 32-bit address offset of the virtual memory region corresponding to the remote peer's memory.
local_address register
Absolute Address: 0x200008C4
Base Offset: 0xC
Size: 0x4
Start address of the local memory region for DMA transfers.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
base |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].local_address.base[31:0] |
base field
Word-aligned 32-bit start address of the local memory region for DMA transfers.
remote_address register
Absolute Address: 0x200008C8
Base Offset: 0x10
Size: 0x4
Start address of the remote peer's memory region.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
base |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].remote_address.base[31:0] |
base field
Word-aligned 32-bit start address of the remote peer's memory region.
size register
Absolute Address: 0x200008CC
Base Offset: 0x14
Size: 0x4
Size of the remote peer's memory region.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
bytes |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].size.bytes[31:0] |
bytes field
32-bit size of the remote peer's memory region in bytes.
dma register
Absolute Address: 0x200008D0
Base Offset: 0x18
Size: 0x4
DMA configuration and control for the remote peer.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
1:0 |
mode |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.mode[1:0] |
8 |
request |
rw |
0x0 |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.request[8:8] |
16 |
idle |
r |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.idle[16:16] |
24 |
done |
r |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.done[24:24] |
25 |
error |
r |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.error[25:25] |
mode field
DMA mode for transfers to/from the remote peer:
- 0: DMA transfers to/from the remote peer are disabled.
- 1: DMA transfers to/from the remote peer are enabled in transparent mode, where accesses to the virtual memory region are directly translated to corresponding accesses to the remote peer's memory region (transactions are word-by-word, i.e., per virtual memory access).
- 2: DMA transfers to/from the remote peer are enabled in mirror-to-local mode, where the local memory region is used instead of the virtual memory region. The state of the remote peer's memory region (remote_address, size) is fetched from the remote peer on demand or periodically.
- 3: DMA transfers to/from the remote peer are enabled in mirror-to-remote mode, where the remote memory region is used instead of the virtual memory region. The state of the local peer's memory region (local_address, size) is sent to the remote peer on demand or periodically.
request field
Writing a 1 to this field initiates a DMA transfer to/from the remote peer. This field is a single-pulse register that is automatically cleared back to zero after being written.
idle field
Indicates whether the DMA transfer to/from the remote peer is idle. A value of 1 indicates that the DMA transfer is idle, while a value of 0 indicates that the DMA transfer is in progress.
done field
Indicates whether the DMA transfer to/from the remote peer has been successful. A value of 1 indicates that the DMA transfer has completed successfully, while a value of 0 indicates that the DMA transfer is still in progress or has encountered an error.
error field
Indicates whether the DMA transfer to/from the remote peer has encountered an error. A value of 1 indicates an error, while a value of 0 indicates no error.
entry register file
Absolute Address: 0x200008D4
Base Offset: 0x0
Size: 0x1C
Array Dimensions: [4]
Array Stride: 0x1C
Total Size: 0x70
Register file for a single remote peer configuration and memory region information.
Offset |
Identifier |
Name |
|---|---|---|
0x00 |
mac_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].mac_address |
0x08 |
rmem_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].rmem_address |
0x0C |
local_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].local_address |
0x10 |
remote_address |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].remote_address |
0x14 |
size |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].size |
0x18 |
dma |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma |
mac_address register
Absolute Address: 0x200008D4
Base Offset: 0x0
Size: 0x8
Remote peer 48-bit destination MAC address.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address.
rmem_address register
Absolute Address: 0x200008DC
Base Offset: 0x8
Size: 0x4
Address offset of the virtual memory region corresponding to the remote peer's memory.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
offset |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].rmem_address.offset[31:0] |
offset field
Word-aligned 32-bit address offset of the virtual memory region corresponding to the remote peer's memory.
local_address register
Absolute Address: 0x200008E0
Base Offset: 0xC
Size: 0x4
Start address of the local memory region for DMA transfers.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
base |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].local_address.base[31:0] |
base field
Word-aligned 32-bit start address of the local memory region for DMA transfers.
remote_address register
Absolute Address: 0x200008E4
Base Offset: 0x10
Size: 0x4
Start address of the remote peer's memory region.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
base |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].remote_address.base[31:0] |
base field
Word-aligned 32-bit start address of the remote peer's memory region.
size register
Absolute Address: 0x200008E8
Base Offset: 0x14
Size: 0x4
Size of the remote peer's memory region.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
bytes |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].size.bytes[31:0] |
bytes field
32-bit size of the remote peer's memory region in bytes.
dma register
Absolute Address: 0x200008EC
Base Offset: 0x18
Size: 0x4
DMA configuration and control for the remote peer.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
1:0 |
mode |
rw |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.mode[1:0] |
8 |
request |
rw |
0x0 |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.request[8:8] |
16 |
idle |
r |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.idle[16:16] |
24 |
done |
r |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.done[24:24] |
25 |
error |
r |
— |
csr.endpoint1.peers.entry[0..NUM_OF_PEERS-1].dma.error[25:25] |
mode field
DMA mode for transfers to/from the remote peer:
- 0: DMA transfers to/from the remote peer are disabled.
- 1: DMA transfers to/from the remote peer are enabled in transparent mode, where accesses to the virtual memory region are directly translated to corresponding accesses to the remote peer's memory region (transactions are word-by-word, i.e., per virtual memory access).
- 2: DMA transfers to/from the remote peer are enabled in mirror-to-local mode, where the local memory region is used instead of the virtual memory region. The state of the remote peer's memory region (remote_address, size) is fetched from the remote peer on demand or periodically.
- 3: DMA transfers to/from the remote peer are enabled in mirror-to-remote mode, where the remote memory region is used instead of the virtual memory region. The state of the local peer's memory region (local_address, size) is sent to the remote peer on demand or periodically.
request field
Writing a 1 to this field initiates a DMA transfer to/from the remote peer. This field is a single-pulse register that is automatically cleared back to zero after being written.
idle field
Indicates whether the DMA transfer to/from the remote peer is idle. A value of 1 indicates that the DMA transfer is idle, while a value of 0 indicates that the DMA transfer is in progress.
done field
Indicates whether the DMA transfer to/from the remote peer has been successful. A value of 1 indicates that the DMA transfer has completed successfully, while a value of 0 indicates that the DMA transfer is still in progress or has encountered an error.
error field
Indicates whether the DMA transfer to/from the remote peer has encountered an error. A value of 1 indicates an error, while a value of 0 indicates no error.
rmem memory
Absolute Address: 0x20000C00
Base Offset: 0x400
Size: 0x400
Virtual memory region for all remote peers, with offsets and sizes defined in the peers regfile.
No supported members.
endpoint2 address map
Absolute Address: 0x20001000
Base Offset: 0x1000
Size: 0x400
Control and status register map for an openENOC Endpoint Interface instance.
Offset |
Identifier |
Name |
|---|---|---|
0x000 |
info |
csr.endpoint2.info |
0x008 |
config |
csr.endpoint2.config |
0x020 |
axis_if |
csr.endpoint2.axis_if |
0x040 |
peers |
csr.endpoint2.peers |
0x200 |
rmem |
rmem |
info register
Absolute Address: 0x20001000
Base Offset: 0x0
Size: 0x8
Read-only information register for this openENOC Endpoint Interface instance.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
rmem_total_depth |
r |
0x80 |
csr.endpoint2.info.rmem_total_depth[15:0] |
63:32 |
num_of_peers |
r |
0x2 |
csr.endpoint2.info.num_of_peers[31:16] |
rmem_total_depth field
Total depth of the shared memory region for all remote peers. This field reflects the RMEM_TOTAL_DEPTH parameter value.
num_of_peers field
Number of remote peers supported by this openENOC Endpoint Interface instance. This field reflects the NUM_OF_PEERS parameter value.
config register file
Absolute Address: 0x20001008
Base Offset: 0x8
Size: 0x8
Configuration register file for this openENOC Endpoint Interface instance.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.endpoint2.config.mac_address |
mac_address register
Absolute Address: 0x20001008
Base Offset: 0x0
Size: 0x8
Local site 48-bit destination MAC address.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
0x0 |
csr.endpoint2.config.mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
0x0 |
csr.endpoint2.config.mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address.
axis_if register file
Absolute Address: 0x20001020
Base Offset: 0x20
Size: 0x1C
Register file for the AXI4-Stream source and sink interfaces.
Offset |
Identifier |
Name |
|---|---|---|
0x00 |
source |
csr.endpoint2.axis_if.source |
0x10 |
sink |
csr.endpoint2.axis_if.sink |
source register file
Absolute Address: 0x20001020
Base Offset: 0x0
Size: 0xC
Register file for the AXI4-Stream source interface.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
data |
csr.endpoint2.axis_if.source.data |
0x4 |
control |
csr.endpoint2.axis_if.source.control |
0x8 |
status |
csr.endpoint2.axis_if.source.status |
data register
Absolute Address: 0x20001020
Base Offset: 0x0
Size: 0x4
Data register for the AXI4-Stream source interface.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
tdata |
rw |
0x0 |
csr.endpoint2.axis_if.source.data.tdata[31:0] |
tdata field
32-bit data value for the AXI4-Stream source interface.
control register
Absolute Address: 0x20001024
Base Offset: 0x4
Size: 0x4
Control register for the AXI4-Stream source interface.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
tvalid |
rw |
0x0 |
csr.endpoint2.axis_if.source.control.tvalid |
8 |
tlast |
rw |
0x0 |
csr.endpoint2.axis_if.source.control.tlast |
tvalid field
Indicates that the AXI4-Stream source interface has valid data to send. This field is a single-pulse register that is automatically cleared back to zero after being written.
tlast field
Indicates the last data word of a frame on the AXI4-Stream source interface.
status register
Absolute Address: 0x20001028
Base Offset: 0x8
Size: 0x4
Status register for the AXI4-Stream source interface.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
tready |
r |
0x0 |
csr.endpoint2.axis_if.source.status.tready |
tready field
Indicates that the destination AXI4-Stream interface is ready to receive data.
sink register file
Absolute Address: 0x20001030
Base Offset: 0x10
Size: 0xC
Register file for the AXI4-Stream sink interface.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
data |
csr.endpoint2.axis_if.sink.data |
0x4 |
control |
csr.endpoint2.axis_if.sink.control |
0x8 |
status |
csr.endpoint2.axis_if.sink.status |
data register
Absolute Address: 0x20001030
Base Offset: 0x0
Size: 0x4
Data register for the AXI4-Stream sink interface.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
tdata |
r |
— |
csr.endpoint2.axis_if.sink.data.tdata[31:0] |
tdata field
32-bit data value for the AXI4-Stream sink interface.
control register
Absolute Address: 0x20001034
Base Offset: 0x4
Size: 0x4
Control register for the AXI4-Stream sink interface.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
tready |
w |
0x0 |
csr.endpoint2.axis_if.sink.control.tready |
tready field
Indicates that the AXI4-Stream sink interface is ready to receive next data transfer.
status register
Absolute Address: 0x20001038
Base Offset: 0x8
Size: 0x4
Status register for the AXI4-Stream sink interface.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
tvalid |
r |
— |
csr.endpoint2.axis_if.sink.status.tvalid |
8 |
tlast |
r |
— |
csr.endpoint2.axis_if.sink.status.tlast |
tvalid field
Indicates that the AXI4-Stream sink interface has valid data to receive.
tlast field
Indicates the last data word of a frame on the AXI4-Stream sink interface.
peers register file
Absolute Address: 0x20001040
Base Offset: 0x40
Size: 0x38
Register file for remote peer configuration and memory region information.
Offset |
Identifier |
Name |
|---|---|---|
0x00 |
entry[0] |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1] |
0x1C |
entry[1] |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1] |
entry register file
Absolute Address: 0x20001040
Base Offset: 0x0
Size: 0x1C
Array Dimensions: [2]
Array Stride: 0x1C
Total Size: 0x38
Register file for a single remote peer configuration and memory region information.
Offset |
Identifier |
Name |
|---|---|---|
0x00 |
mac_address |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].mac_address |
0x08 |
rmem_address |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].rmem_address |
0x0C |
local_address |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].local_address |
0x10 |
remote_address |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].remote_address |
0x14 |
size |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].size |
0x18 |
dma |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].dma |
mac_address register
Absolute Address: 0x20001040
Base Offset: 0x0
Size: 0x8
Remote peer 48-bit destination MAC address.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address.
rmem_address register
Absolute Address: 0x20001048
Base Offset: 0x8
Size: 0x4
Address offset of the virtual memory region corresponding to the remote peer's memory.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
offset |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].rmem_address.offset[31:0] |
offset field
Word-aligned 32-bit address offset of the virtual memory region corresponding to the remote peer's memory.
local_address register
Absolute Address: 0x2000104C
Base Offset: 0xC
Size: 0x4
Start address of the local memory region for DMA transfers.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
base |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].local_address.base[31:0] |
base field
Word-aligned 32-bit start address of the local memory region for DMA transfers.
remote_address register
Absolute Address: 0x20001050
Base Offset: 0x10
Size: 0x4
Start address of the remote peer's memory region.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
base |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].remote_address.base[31:0] |
base field
Word-aligned 32-bit start address of the remote peer's memory region.
size register
Absolute Address: 0x20001054
Base Offset: 0x14
Size: 0x4
Size of the remote peer's memory region.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
bytes |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].size.bytes[31:0] |
bytes field
32-bit size of the remote peer's memory region in bytes.
dma register
Absolute Address: 0x20001058
Base Offset: 0x18
Size: 0x4
DMA configuration and control for the remote peer.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
1:0 |
mode |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].dma.mode[1:0] |
8 |
request |
rw |
0x0 |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].dma.request[8:8] |
16 |
idle |
r |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].dma.idle[16:16] |
24 |
done |
r |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].dma.done[24:24] |
25 |
error |
r |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].dma.error[25:25] |
mode field
DMA mode for transfers to/from the remote peer:
- 0: DMA transfers to/from the remote peer are disabled.
- 1: DMA transfers to/from the remote peer are enabled in transparent mode, where accesses to the virtual memory region are directly translated to corresponding accesses to the remote peer's memory region (transactions are word-by-word, i.e., per virtual memory access).
- 2: DMA transfers to/from the remote peer are enabled in mirror-to-local mode, where the local memory region is used instead of the virtual memory region. The state of the remote peer's memory region (remote_address, size) is fetched from the remote peer on demand or periodically.
- 3: DMA transfers to/from the remote peer are enabled in mirror-to-remote mode, where the remote memory region is used instead of the virtual memory region. The state of the local peer's memory region (local_address, size) is sent to the remote peer on demand or periodically.
request field
Writing a 1 to this field initiates a DMA transfer to/from the remote peer. This field is a single-pulse register that is automatically cleared back to zero after being written.
idle field
Indicates whether the DMA transfer to/from the remote peer is idle. A value of 1 indicates that the DMA transfer is idle, while a value of 0 indicates that the DMA transfer is in progress.
done field
Indicates whether the DMA transfer to/from the remote peer has been successful. A value of 1 indicates that the DMA transfer has completed successfully, while a value of 0 indicates that the DMA transfer is still in progress or has encountered an error.
error field
Indicates whether the DMA transfer to/from the remote peer has encountered an error. A value of 1 indicates an error, while a value of 0 indicates no error.
entry register file
Absolute Address: 0x2000105C
Base Offset: 0x0
Size: 0x1C
Array Dimensions: [2]
Array Stride: 0x1C
Total Size: 0x38
Register file for a single remote peer configuration and memory region information.
Offset |
Identifier |
Name |
|---|---|---|
0x00 |
mac_address |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].mac_address |
0x08 |
rmem_address |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].rmem_address |
0x0C |
local_address |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].local_address |
0x10 |
remote_address |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].remote_address |
0x14 |
size |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].size |
0x18 |
dma |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].dma |
mac_address register
Absolute Address: 0x2000105C
Base Offset: 0x0
Size: 0x8
Remote peer 48-bit destination MAC address.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address.
rmem_address register
Absolute Address: 0x20001064
Base Offset: 0x8
Size: 0x4
Address offset of the virtual memory region corresponding to the remote peer's memory.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
offset |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].rmem_address.offset[31:0] |
offset field
Word-aligned 32-bit address offset of the virtual memory region corresponding to the remote peer's memory.
local_address register
Absolute Address: 0x20001068
Base Offset: 0xC
Size: 0x4
Start address of the local memory region for DMA transfers.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
base |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].local_address.base[31:0] |
base field
Word-aligned 32-bit start address of the local memory region for DMA transfers.
remote_address register
Absolute Address: 0x2000106C
Base Offset: 0x10
Size: 0x4
Start address of the remote peer's memory region.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
base |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].remote_address.base[31:0] |
base field
Word-aligned 32-bit start address of the remote peer's memory region.
size register
Absolute Address: 0x20001070
Base Offset: 0x14
Size: 0x4
Size of the remote peer's memory region.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
bytes |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].size.bytes[31:0] |
bytes field
32-bit size of the remote peer's memory region in bytes.
dma register
Absolute Address: 0x20001074
Base Offset: 0x18
Size: 0x4
DMA configuration and control for the remote peer.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
1:0 |
mode |
rw |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].dma.mode[1:0] |
8 |
request |
rw |
0x0 |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].dma.request[8:8] |
16 |
idle |
r |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].dma.idle[16:16] |
24 |
done |
r |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].dma.done[24:24] |
25 |
error |
r |
— |
csr.endpoint2.peers.entry[0..NUM_OF_PEERS-1].dma.error[25:25] |
mode field
DMA mode for transfers to/from the remote peer:
- 0: DMA transfers to/from the remote peer are disabled.
- 1: DMA transfers to/from the remote peer are enabled in transparent mode, where accesses to the virtual memory region are directly translated to corresponding accesses to the remote peer's memory region (transactions are word-by-word, i.e., per virtual memory access).
- 2: DMA transfers to/from the remote peer are enabled in mirror-to-local mode, where the local memory region is used instead of the virtual memory region. The state of the remote peer's memory region (remote_address, size) is fetched from the remote peer on demand or periodically.
- 3: DMA transfers to/from the remote peer are enabled in mirror-to-remote mode, where the remote memory region is used instead of the virtual memory region. The state of the local peer's memory region (local_address, size) is sent to the remote peer on demand or periodically.
request field
Writing a 1 to this field initiates a DMA transfer to/from the remote peer. This field is a single-pulse register that is automatically cleared back to zero after being written.
idle field
Indicates whether the DMA transfer to/from the remote peer is idle. A value of 1 indicates that the DMA transfer is idle, while a value of 0 indicates that the DMA transfer is in progress.
done field
Indicates whether the DMA transfer to/from the remote peer has been successful. A value of 1 indicates that the DMA transfer has completed successfully, while a value of 0 indicates that the DMA transfer is still in progress or has encountered an error.
error field
Indicates whether the DMA transfer to/from the remote peer has encountered an error. A value of 1 indicates an error, while a value of 0 indicates no error.
rmem memory
Absolute Address: 0x20001200
Base Offset: 0x200
Size: 0x200
Virtual memory region for all remote peers, with offsets and sizes defined in the peers regfile.
No supported members.
switch1 address map
Absolute Address: 0x20001400
Base Offset: 0x1400
Size: 0x100
Control and status register map for an openENOC Switch instance. It includes configuration registers and a forwarding table used to map destination MAC address keys to output interface selections for frame forwarding.
Offset |
Identifier |
Name |
|---|---|---|
0x00 |
info |
csr.switch1.info |
0x04 |
forwarding_control |
csr.switch1.forwarding_control |
0x08 |
default_forwarding |
csr.switch1.default_forwarding |
0x80 |
forwarding_table |
csr.switch1.forwarding_table |
info register
Absolute Address: 0x20001400
Base Offset: 0x0
Size: 0x4
Read-only information register for this openENOC Switch instance.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
15:0 |
table_depth |
r |
0x8 |
csr.switch1.info.table_depth[15:0] |
21:16 |
num_of_interfaces |
r |
0x4 |
csr.switch1.info.num_of_interfaces[21:16] |
table_depth field
Depth of the forwarding table in this openENOC Switch instance. This field reflects the TABLE_DEPTH parameter value.
num_of_interfaces field
Number of interfaces in this openENOC Switch instance. This field reflects the NUM_OF_INTERFACES parameter value.
forwarding_control register
Absolute Address: 0x20001404
Base Offset: 0x4
Size: 0x4
Forwarding control register for the openENOC Switch instance.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
operation_mode |
rw |
0x0 |
csr.switch1.forwarding_control.operation_mode[0:0] |
7 |
pause_request |
rw |
0x0 |
csr.switch1.forwarding_control.pause_request[7:7] |
15 |
pause_done |
r |
— |
csr.switch1.forwarding_control.pause_done[15:15] |
operation_mode field
Mode of operation for the openENOC Switch instance. When set to 1, the switch operates in managed mode, allowing software to configure the forwarding table and control forwarding operations. When set to 0, the switch operates in unmanaged mode, where forwarding state is maintained autonomously by internal hardware logic without software intervention.
pause_request field
Pause request for the forwarding logic. When set, this field requests the switch to pause frame forwarding and clear its internal pipeline before forwarding table updates are performed.
pause_done field
Pause done status. When set, this field indicates that the switch has paused frame forwarding and reached a safe state for forwarding table modification.
default_forwarding register
Absolute Address: 0x20001408
Base Offset: 0x8
Size: 0x4
Defines the destination interface or interfaces for frames that do not match any enabled forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
3:0 |
bitmap |
rw |
0x0 |
csr.switch1.default_forwarding.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which frames that do not match any enabled forwarding table entry are forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
forwarding_table register file
Absolute Address: 0x20001480
Base Offset: 0x80
Size: 0x80
Forwarding table used to map MAC addresses to output interface selections for frame forwarding.
Offset |
Identifier |
Name |
|---|---|---|
0x00 |
entry[0] |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x10 |
entry[1] |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x20 |
entry[2] |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x30 |
entry[3] |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x40 |
entry[4] |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x50 |
entry[5] |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x60 |
entry[6] |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x70 |
entry[7] |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1] |
entry register file
Absolute Address: 0x20001480
Base Offset: 0x0
Size: 0x10
Array Dimensions: [8]
Array Stride: 0x10
Total Size: 0x80
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001480
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001488
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
3:0 |
bitmap |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x2000148C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001490
Base Offset: 0x0
Size: 0x10
Array Dimensions: [8]
Array Stride: 0x10
Total Size: 0x80
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001490
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001498
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
3:0 |
bitmap |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x2000149C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x200014A0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [8]
Array Stride: 0x10
Total Size: 0x80
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x200014A0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x200014A8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
3:0 |
bitmap |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x200014AC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x200014B0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [8]
Array Stride: 0x10
Total Size: 0x80
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x200014B0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x200014B8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
3:0 |
bitmap |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x200014BC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x200014C0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [8]
Array Stride: 0x10
Total Size: 0x80
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x200014C0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x200014C8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
3:0 |
bitmap |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x200014CC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x200014D0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [8]
Array Stride: 0x10
Total Size: 0x80
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x200014D0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x200014D8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
3:0 |
bitmap |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x200014DC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x200014E0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [8]
Array Stride: 0x10
Total Size: 0x80
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x200014E0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x200014E8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
3:0 |
bitmap |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x200014EC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x200014F0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [8]
Array Stride: 0x10
Total Size: 0x80
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x200014F0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x200014F8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
3:0 |
bitmap |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x200014FC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch1.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
switch2 address map
Absolute Address: 0x20001800
Base Offset: 0x1800
Size: 0x400
Control and status register map for an openENOC Switch instance. It includes configuration registers and a forwarding table used to map destination MAC address keys to output interface selections for frame forwarding.
Offset |
Identifier |
Name |
|---|---|---|
0x000 |
info |
csr.switch2.info |
0x004 |
forwarding_control |
csr.switch2.forwarding_control |
0x008 |
default_forwarding |
csr.switch2.default_forwarding |
0x200 |
forwarding_table |
csr.switch2.forwarding_table |
info register
Absolute Address: 0x20001800
Base Offset: 0x0
Size: 0x4
Read-only information register for this openENOC Switch instance.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
15:0 |
table_depth |
r |
0x20 |
csr.switch2.info.table_depth[15:0] |
21:16 |
num_of_interfaces |
r |
0x8 |
csr.switch2.info.num_of_interfaces[21:16] |
table_depth field
Depth of the forwarding table in this openENOC Switch instance. This field reflects the TABLE_DEPTH parameter value.
num_of_interfaces field
Number of interfaces in this openENOC Switch instance. This field reflects the NUM_OF_INTERFACES parameter value.
forwarding_control register
Absolute Address: 0x20001804
Base Offset: 0x4
Size: 0x4
Forwarding control register for the openENOC Switch instance.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
operation_mode |
rw |
0x0 |
csr.switch2.forwarding_control.operation_mode[0:0] |
7 |
pause_request |
rw |
0x0 |
csr.switch2.forwarding_control.pause_request[7:7] |
15 |
pause_done |
r |
— |
csr.switch2.forwarding_control.pause_done[15:15] |
operation_mode field
Mode of operation for the openENOC Switch instance. When set to 1, the switch operates in managed mode, allowing software to configure the forwarding table and control forwarding operations. When set to 0, the switch operates in unmanaged mode, where forwarding state is maintained autonomously by internal hardware logic without software intervention.
pause_request field
Pause request for the forwarding logic. When set, this field requests the switch to pause frame forwarding and clear its internal pipeline before forwarding table updates are performed.
pause_done field
Pause done status. When set, this field indicates that the switch has paused frame forwarding and reached a safe state for forwarding table modification.
default_forwarding register
Absolute Address: 0x20001808
Base Offset: 0x8
Size: 0x4
Defines the destination interface or interfaces for frames that do not match any enabled forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
0x0 |
csr.switch2.default_forwarding.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which frames that do not match any enabled forwarding table entry are forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
forwarding_table register file
Absolute Address: 0x20001A00
Base Offset: 0x200
Size: 0x200
Forwarding table used to map MAC addresses to output interface selections for frame forwarding.
Offset |
Identifier |
Name |
|---|---|---|
0x000 |
entry[0] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x010 |
entry[1] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x020 |
entry[2] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x030 |
entry[3] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x040 |
entry[4] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x050 |
entry[5] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x060 |
entry[6] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x070 |
entry[7] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x080 |
entry[8] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x090 |
entry[9] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x0A0 |
entry[10] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x0B0 |
entry[11] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x0C0 |
entry[12] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x0D0 |
entry[13] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x0E0 |
entry[14] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x0F0 |
entry[15] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x100 |
entry[16] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x110 |
entry[17] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x120 |
entry[18] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x130 |
entry[19] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x140 |
entry[20] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x150 |
entry[21] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x160 |
entry[22] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x170 |
entry[23] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x180 |
entry[24] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x190 |
entry[25] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x1A0 |
entry[26] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x1B0 |
entry[27] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x1C0 |
entry[28] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x1D0 |
entry[29] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x1E0 |
entry[30] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
0x1F0 |
entry[31] |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1] |
entry register file
Absolute Address: 0x20001A00
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001A00
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001A08
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001A0C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001A10
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001A10
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001A18
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001A1C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001A20
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001A20
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001A28
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001A2C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001A30
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001A30
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001A38
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001A3C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001A40
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001A40
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001A48
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001A4C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001A50
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001A50
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001A58
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001A5C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001A60
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001A60
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001A68
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001A6C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001A70
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001A70
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001A78
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001A7C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001A80
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001A80
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001A88
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001A8C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001A90
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001A90
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001A98
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001A9C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001AA0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001AA0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001AA8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001AAC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001AB0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001AB0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001AB8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001ABC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001AC0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001AC0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001AC8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001ACC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001AD0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001AD0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001AD8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001ADC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001AE0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001AE0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001AE8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001AEC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001AF0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001AF0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001AF8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001AFC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001B00
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001B00
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001B08
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001B0C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001B10
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001B10
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001B18
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001B1C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001B20
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001B20
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001B28
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001B2C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001B30
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001B30
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001B38
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001B3C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001B40
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001B40
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001B48
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001B4C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001B50
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001B50
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001B58
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001B5C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001B60
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001B60
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001B68
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001B6C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001B70
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001B70
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001B78
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001B7C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001B80
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001B80
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001B88
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001B8C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001B90
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001B90
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001B98
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001B9C
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001BA0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001BA0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001BA8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001BAC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001BB0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001BB0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001BB8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001BBC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001BC0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001BC0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001BC8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001BCC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001BD0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001BD0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001BD8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001BDC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001BE0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001BE0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001BE8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001BEC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.
entry register file
Absolute Address: 0x20001BF0
Base Offset: 0x0
Size: 0x10
Array Dimensions: [32]
Array Stride: 0x10
Total Size: 0x200
Forwarding table entry containing the MAC address key, output interface selection, and entry configuration.
Offset |
Identifier |
Name |
|---|---|---|
0x0 |
mac_address |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address |
0x8 |
iface |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface |
0xC |
config |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config |
mac_address register
Absolute Address: 0x20001BF0
Base Offset: 0x0
Size: 0x8
48-bit destination MAC address used as the key for this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
31:0 |
lo_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.lo_word[31:0] |
47:32 |
hi_word |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].mac_address.hi_word[47:32] |
lo_word field
Lower 32 bits [31:0] of the 48-bit MAC address stored in this forwarding table entry.
hi_word field
Upper 16 bits [47:32] of the 48-bit MAC address stored in this forwarding table entry.
iface register
Absolute Address: 0x20001BF8
Base Offset: 0x8
Size: 0x4
Forwarding interface information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
7:0 |
bitmap |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].iface.bitmap[NUM_OF_INTERFACES-1:0] |
bitmap field
Bitmap selecting the output interface or interfaces to which a matching frame is forwarded. Bit NUM_OF_INTERFACES-1, the MSB, corresponds to the first interface; bit 0 corresponds to the last interface.
config register
Absolute Address: 0x20001BFC
Base Offset: 0xC
Size: 0x4
Configuration information associated with this forwarding table entry.
Bits |
Identifier |
Access |
Reset |
Name |
|---|---|---|---|---|
0 |
enabled |
rw |
— |
csr.switch2.forwarding_table.entry[0..TABLE_DEPTH-1].config.enabled |
enabled field
Enables this forwarding table entry. When cleared, the entry is ignored during forwarding table lookup.