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


Ignore:
Timestamp:
Oct 9, 2019, 7:35:19 PM (5 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Component/Vci Master Nic

    v1 v2  
    7373== 2) Addressable registers and buffers ==
    7474
    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.
     75The addressable registers can be split in two classes: ''global'' registers, and ''channel'' registers.
    7776
    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 ===
    8378
    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 ||
     79These registers are used for global NIC configuration or status, and are not linked to a specific channel:
     80 *
    10081
    10182
     
    145126== 3) Component definition & usage ==
    146127
    147 source:trunk/soclib/soclib/module/connectivity_component/vci_multi_nic/caba/metadata/vci_multi_nic.sd
     128source:trunk/soclib/soclib/module/connectivity_component/vci_multi_nic/caba/metadata/vci_master_nic.sd
    148129
    149130{{{
    150 Uses( 'vci_multi_nic' )
     131Uses( 'vci_master_nic' )
    151132}}}
    152133
     
    155136=== CABA sources ===
    156137 
    157  * interface : source:trunk/soclib/soclib/module/connectivity_component/vci_multi_nic/caba/source/include/vci_multi_nic.h
    158  * implementation : source:trunk/soclib/soclib/module/connectivity_component/vci_multi_nic/caba/source/src/vci_multi_nic.cpp
     138 * 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
    159140
    160141=== CABA Constructor parameters ===