Test Procedure
- Download the reference design from Design Store and restore the design using Intel® Quartus® Prime software.
- Launch the Intel® Quartus® Prime software and open the project file (top.qpf).
- Before running the design compilation, go to IP Settings category, select Always regenerate design files for IP cores and Generate IP simulation model when generating IP. . Under
- Click Note: You may experience timing violations after running compilation for the design. To resolve these timing violations, you must launch the Design Space Explorer II in the Intel® Quartus® Prime software ( ) and perform seed sweep to get the best quality of fit.
to compile the design.
- After the design is compiled successfully, a programming file (top.sof) is generated and located in <project_directory/output_files>.
- Set up the Intel® Stratix® 10 GX H-Tile Signal Integrity (SI) Development Board.
- Connect the programming cable to the JTAG connection port (CN1).
- Connect the board to the power supply input (J103).
- Connect the 10G SFP+ transceiver module along with optical loopback cable to SFP+ port (J29).
- In the Intel® Quartus® Prime software, select to launch the programmer.
- Configure the Intel® Stratix® 10 GX H-Tile SI development board using the generated programming file (altera_eth_top.sof).
- Reset the Ethernet design by using the push button (USER_PB0).
Note: The design must be reset whenever you begin a new test.
- In the Intel® Quartus® Prime software, click and launch the system console.
- In the System Console command shell, change the directory to project_directory/hwtesting/system_console.
You can now run the predefined hardware tests using the provided test commands listed in Table 4.
Test Case | Test Command | Description |
---|---|---|
SFP+ external loopback | source gen_conf.tcl | The generator generates and sends about 100 000 packets with random bytes (maximum packet length = 1518 bytes). Wait 1 minutes for it to complete its tasks. |
source monitor_conf.tcl | The monitor checks the number of good and bad packets received. | |
source show_stats.tcl | This script displays the values of the statistics counters | |
Avalon® -ST reverse loopback | source loopback_conf.tcl | This command enables the Avalon® -ST loopback. This test is used with an external tester such as Spirent tester |
The following diagrams show excerpts of the output, which shows that the Ethernet packet generator configuration, the Ethernet packet monitor status, and the TX and RX statistics counters.
Figure 10. Sample Test Output—Ethernet Packet Generator Configuration
Figure 11. Sample Test Output—Ethernet Packet Monitor Status
Figure 12. Sample Test Output—TX Statistics Counter
Figure 13. Sample Test Output—RX Statistics Counter