Changes between Version 9 and Version 10 of Component/Vci Master Nic
- Timestamp:
- Apr 3, 2020, 11:40:16 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Component/Vci Master Nic
v9 v10 19 19 of operation, defined by a constructor parameter: 20 20 * '''NIC_MODE_FILE''': Both the RX packets stream an the TX packets stream are read/written from/to dedicated files "nic_rx_file.txt" and "nic_tx_file.txt", stored in the same directory as the top.cpp file. 21 * '''NIC_MODE_SYNTHESIS''': The TX packet stream is still written to the "nic_tx_file.txt" file, but the RX packet stream is synthesised. The packet length (between 64and 1538 bytes) and the source MAC address (8 possible values) are pseudo-random numbers.21 * '''NIC_MODE_SYNTHESIS''': The TX packet stream is still written to the "nic_tx_file.txt" file, but the RX packet stream is synthesised. The packet length (between 42 and 1538 bytes) and the source MAC address (8 possible values) are pseudo-random numbers. 22 22 * '''NIC_MODE_TAP''': The TX and RX packet streams are send and received to and from the physical network controller of the workstation running the simulation. 23 23 24 The Ethernet packet length can have any value, in the range [4 4 to 1514] bytes.24 The Ethernet packet length can have any value, in the range [42 to 1538] bytes. 25 25 26 26 The minimal data transfer unit between software and the NIC is a 4K bytes '''container''',