test_link_startup (TC-CORE-01) |
Identification and clock of both MIBs; both ports wait in Ready; link speed, LinkStart at A, AutoStart at B; both in Run, interrupt on link up, event and counter, credits 56 and 56, no error, driver and receiver enabled |
CORE-IF-03, CORE-IF-04, CORE-ST-01, CORE-ST-02, CORE-NI-02 |
test_packets (TC-CORE-02) |
40 packets of 0 to 500 bytes from A to B (EOP and EEP) and 40 from B to A at the same time, full payload compared |
CORE-IF-01, CORE-NI-01, CORE-NI-02 |
test_time_codes (TC-CORE-03) |
70 time-codes from the user port of A indicated in order at B; time-code registers; a time-code that is not the next one is counted as invalid at B |
CORE-IF-02, CORE-NI-02 |
test_interrupts (TC-CORE-04) |
Interrupt with acknowledgement: interrupt from A, acknowledgement from B indicated at A, interrupt registers; interrupts of the MIB; interrupt mode: no acknowledgement code |
CORE-IF-02 |
test_line_errors (TC-CORE-05) |
Line cut in a packet: both ports restart, the packet arrives truncated with an EEP, the rest is discarded at A, the following packets are complete; cause and counters in the MIB. Glitch on the data line: receive error at B, restart, EEP |
CORE-NI-01, CORE-ST-01 |
test_port_reset (TC-CORE-06) |
Port reset through the MIB in Run: time-code register zero, the link restarts, packets after the restart |
CORE-ST-01 |
test_loopback (TC-CORE-07) |
Port loopback: A starts a link with itself and receives its own packets |
CORE-LB-01 |
test_rates (TC-CORE-08) |
A sends at 100 Mb/s (bit period 1.25 clock periods of B), B at 13.9 Mb/s; packets in both directions |
CORE-PH-01 |
test_phy_enables (TC-CORE-09) |
Line driver and receiver enables of PORT_CTRL at the core outputs |
CORE-PH-02, CORE-IF-04 |
test_ecc (TC-CORE-10) |
Double error injected into the transmit FIFO of A: EEP at B, next packet complete, EDAC counters and flags; single error in the receive FIFO of B corrected |
CORE-FT-01 |
test_throughput (TC-CORE-11) |
20 packets of 1000 bytes from A at 100 Mb/s and 20 of 600 bytes from B at 62.5 Mb/s at the same time: both at 90 % or more of the data character rate |
CORE-PF-01 |
test_link_disabled (TC-CORE-12) |
LinkDisabled keeps A in ErrorReset and B in Ready; enabled: Run; LinkDisabled in Run: ErrorReset with the cause LinkDisabled |
CORE-ST-01 |
test_far_end (TC-CORE-13) |
A against the far-end model: initial bit period 100 ns until Run, seven FCTs, run bit period 40 ns, packets in both directions decoded by the model, time-code of the model indicated |
CORE-IF-04, CORE-NI-01, CORE-PH-01 |
test_no_services (TC-CORE-14) |
Configurations no_services, time_codes_only and interrupts_only of B: GENERICS shows the services; the codes of an enabled service are indicated (time-code register of B), the codes of a disabled service are ignored and reported |
CORE-IF-02 |
test_reset_values (TC-CORE-15) |
Configurations link_start, auto_start and link_disabled of B: PORT_CTRL after reset shows the reset value; A starts by software, B by its reset value; with LinkDisabled B stays in ErrorReset until software enables it; both in Run |
CORE-ST-01, MG-RF-06 |
test_long_packet (TC-CORE-17) |
A packet of 65542 bytes from A to B, every byte and the marker checked, while B sends 20 packets of 1000 bytes to A. The long packets of TC-CORE-17 and TC-CORE-18 come from the generator and checker of owr_tb_axis_master and owr_tb_axis_slave (the AXI4-Stream VVC carries at most 16 KiB per command) |
CORE-NI-01 |
test_long_packet_error (TC-CORE-18) |
Line cut 1 ms into a packet of 65542 bytes: B receives a prefix ended by an EEP, A discards the rest of the packet, the next packet arrives complete |
CORE-NI-01, CORE-ST-01 |
TC-CORE-16 (lint/synth_check.py) |
GHDL synthesis of owr_core with the defaults, every combination of the broadcast services, the bounds of every numeric generic (FIFO depths 2, 16 and 32768, IntTimerWidth_g 1 and 30, RunDiv_g 255, SyncStages_g 4, LinkClkFreq_g 18, 22, 27, 33, 36, 44, 45 and 2554 MHz) and the reset values; no error, no inferred latch. Configurations outside the ranges (RxFifoDepth_g 8 and 65536, TxFifoDepth_g 1 and 65536, LinkClkFreq_g 11, 25 and 2555 MHz) stop the elaboration with their message |
CORE-CF-01, CORE-CF-02 |