Changes between Version 1 and Version 2 of Component/Vci Master Nic
- Timestamp:
- Oct 9, 2019, 7:35:19 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Component/Vci Master Nic
v1 v2 73 73 == 2) Addressable registers and buffers == 74 74 75 In a virtualized environment each channel segment will be mapped in the address space of a different virtual machine. 76 Each channel takes a segment of 32 Kbytes in the address space, to simplify the address decoding, but only 20K bytes are used. 75 The addressable registers can be split in two classes: ''global'' registers, and ''channel'' registers. 77 76 78 * The first 4 Kbytes contain the RX_0 container data 79 * The next 4 Kbytes contain the RX_1 container data 80 * The next 4 Kbytes contain the TX_0 container data 81 * The next 4 Kbytes contain the TX_1 container data 82 * The next 4 Kbytes contain the channel addressable registers: 77 === global registers === 83 78 84 || NIC_RX_STS_0 || RX_0 status (full or empty) || read/write || 85 || NIC_RX_STS_1 || RX_1 status (full or empty) || read/write || 86 || NIC_TX_STS_0 || TX_0 status (full or empty) || read/write || 87 || NIC_TX_STS_1 || TX_1 status (full or empty) || read/write || 88 || NIC_RX_DESC_LO_0 || RX_0 descriptor low word || read/write || 89 || NIC_RX_DESC_HI_0 || RX_0 descriptor high word || read/write || 90 || NIC_RX_DESC_LO_1 || RX_1 descriptor low word || read/write || 91 || NIC_RX_DESC_HI_1 || RX_1 descriptor high word || read/write || 92 || NIC_TX_DESC_LO_0 || TX_0 descriptor low word || read/write || 93 || NIC_TX_DESC_HI_0 || TX_0 descriptor high word || read/write || 94 || NIC_TX_DESC_LO_1 || TX_1 descriptor low word || read/write || 95 || NIC_TX_DESC_HI_1 || TX_1 descriptor high word || read/write || 96 || NIC_MAC_4 || MAC address 32 LSB bits || read_only || 97 || NIC_MAC_2 || MAC address 16 MSB bits || read_only || 98 || NIC_RX_RUN || RX channel activated || write_only || 99 || NIC_TX_RUN || TX channel activated || write_only || 79 These registers are used for global NIC configuration or status, and are not linked to a specific channel: 80 * 100 81 101 82 … … 145 126 == 3) Component definition & usage == 146 127 147 source:trunk/soclib/soclib/module/connectivity_component/vci_multi_nic/caba/metadata/vci_m ulti_nic.sd128 source:trunk/soclib/soclib/module/connectivity_component/vci_multi_nic/caba/metadata/vci_master_nic.sd 148 129 149 130 {{{ 150 Uses( 'vci_m ulti_nic' )131 Uses( 'vci_master_nic' ) 151 132 }}} 152 133 … … 155 136 === CABA sources === 156 137 157 * interface : source:trunk/soclib/soclib/module/connectivity_component/vci_multi_nic/caba/source/include/vci_m ulti_nic.h158 * implementation : source:trunk/soclib/soclib/module/connectivity_component/vci_multi_nic/caba/source/src/vci_m ulti_nic.cpp138 * interface : source:trunk/soclib/soclib/module/connectivity_component/vci_multi_nic/caba/source/include/vci_master_nic.h 139 * implementation : source:trunk/soclib/soclib/module/connectivity_component/vci_multi_nic/caba/source/src/vci_master_nic.cpp 159 140 160 141 === CABA Constructor parameters ===