Test Engine FPGA IP User Guide: Agilex™ 3, Agilex™ 5, and Agilex™ 7 FPGAs
                    
                        ID
                        817758
                    
                
                
                    Date
                    7/07/2025
                
                
                    Public
                
            
                        
                        
                            
                            
                                4.1. Remote Interface Signals
                            
                        
                            
                            
                                4.2. I/O PLL Interface Signals
                            
                        
                            
                            
                                4.3. Status Interface Signals
                            
                        
                            
                            
                                4.4. Global CSR interface Signals
                            
                        
                            
                            
                                4.5. Memory AXI4 Driver Interface Signals
                            
                        
                            
                            
                                4.6. CSR AXI-Lite Driver Interface Signals
                            
                        
                            
                            
                                4.7. Memory Status Driver Interface Signals
                            
                        
                            
                            
                                4.8. Memory Reset Driver Interface Signals
                            
                        
                            
                            
                                4.9. CAM AXI-Stream Driver Interface Signals
                            
                        
                            
                                4.10. Registers
                            
                            
                        
                    
                
                                                
                                                
                                                    
                                                    
                                                        4.10.1.1. version_0
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.2. version_1
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.3. ctrl_status_0
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.4. driver_ctrl_status_1
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.5. driver_run_bitmask_0
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.6. driver_run_bitmask_1
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.7. driver_run_bitmask_2
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.8. driver_run_bitmask3
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.9. driver_done_bitmask_0
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.10. driver_done_bitmask_1
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.11. driver_done_bitmask_2
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.12. driver_done_bitmask_3
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.13. driver_error_bitmask_0
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.14. driver_error_bitmask_1
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.15. driver_error_bitmask_2
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.1.16. driver_error_bitmask_3
                                                    
                                                    
                                                
                                            
                                        
                                                
                                                
                                                    
                                                    
                                                        4.10.2.1. version_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.2. version_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.3. ctrl_stat_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.4. ctrl_stat_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.5. scratchpad_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.6. scratchpad_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.7. wr_log_ram_stat_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.8. wr_log_ram_stat_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.9. wr_log_ram_ctrl_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.10. wr_log_ram_ctrl_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.11. rd_log_ram_stat_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.12. rd_log_ram_stat_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.13. rd_log_ram_ctrl_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.14. rd_log_ram_ctrl_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.15. wr_err_counters_0_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.16. wr_err_counters_0_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.17. rd_err_counters_0_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.18. rd_err_counters_0_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.19. rd_err_counters_1_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.20. rd_err_counters_1_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.21. rd_pnf_0_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.22. rd_pnf_0_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.23. rd_pnf_1_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.24. rd_pnf_1_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.25. rd_pnf_2_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.26. rd_pnf_2_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.27. rd_pnf_3_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.28. rd_pnf_3_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.29. rd_pnf_4_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.30. rd_pnf_4_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.31. rd_pnf_5_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.32. rd_pnf_5_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.33. rd_pnf_6_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.34. rd_pnf_6_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.35. rd_pnf_7_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.36. rd_pnf_7_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.37. rd_pnf_8_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.38. rd_pnf_8_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.39. rd_pnf_9_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.40. rd_pnf_9_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.41. rd_pnf_10_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.42. rd_pnf_10_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.43. rd_pnf_11_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.44. rd_pnf_11_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.45. rd_pnf_12_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.46. rd_pnf_12_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.47. rd_pnf_13_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.48. rd_pnf_13_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.49. rd_pnf_14_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.50. rd_pnf_14_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.51. rd_pnf_15_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.52. rd_pnf_15_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.53. rd_pnf_16_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.54. rd_pnf_16_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.55. rd_pnf_17_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.56. rd_pnf_17_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.57. rd_pnf_18_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.58. rd_pnf_18_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.59. rd_pnf_19_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.60. rd_pnf_19_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.61. ter_dq_mask_0_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.62. ter_dq_mask_0_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.63. ter_dq_mask_1_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.64. ter_dq_mask_1_hi
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.65. ter_lo
                                                    
                                                    
                                                
                                                    
                                                    
                                                        4.10.2.66. ter_hi
                                                    
                                                    
                                                
                                            
                                        
                                                
                                                
                                                    
                                                    
                                                        5.2.2.1. dq_alu_echo_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.2. dq_alu_invert_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.3. dq_alu_rotate_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.4. dq_alu_prbs_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.5. data_eq_dq_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.6. data_eq_raw_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.7. data_eq_addr_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.8. data_eq_id_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.9. dm_alu_echo_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.10. dm_alu_invert_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.11. dm_alu_rotate_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.12. dm_alu_prbs_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.13. strb_eq_dm_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.14. strb_eq_raw_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.15. addr_alu_echo_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.16. addr_alu_incr_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.17. addr_alu_rand_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.18. addr_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.19. write_worker_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.20. read_worker_op
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.21. write_cmd
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.22. read_cmd
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.23. wait_writes_cmd
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.24. wait_reads_cmd
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.25. sleep_cmd
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.26. driver_post_cmd
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.27. driver_wait_cmd
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.28. parallel_cmd
                                                    
                                                    
                                                
                                                    
                                                    
                                                        5.2.2.29. loop_cmd
                                                    
                                                    
                                                
                                            
                                        6. Test Engine IP - Limitations
The Test Engine IP supports both simple usages and complex stress-testing traffic patterns.
  
  The following are known limitations in the current version of the Test Engine IP:
- Only one instance of the Test Engine IP is supported within a design at any given time. Two or more Test Engines result in errors or unexpected behavior in traffic pattern compilation and System Console interaction.
 - Read-data and write-data ports should have identical widths; only symmetric read/write data widths on the same driver are supported.
 - Address ALU argument width parameter affects the number of bits that the Address ALU can change; the default value is 16 bits. If the desired address space isn't supported by the specified value, you will loop back to first address causing early address looping to occur. For example, if you have an address space of 16 bits. you can only affect these 16 bits. You can increase this value to allow wider ranges or address sweeping per command.
 - The maximum iteration value that you can use within one command (i.e., gencmd() API function) is 65536 or 2^16. If you want to use more than 65,536 iterations, you can stack one command after the other and use the resume feature to chain the commands to output a continuous address and data pattern. The maximum number of commands supported in a program is 512.
 The Test Engine IP supports a custom bandwidth on the AXI command channels and custom backpressure on the AXI response channels. On the response channels, the custom bandwidth becomes active after a certain delay following reception of the first response. If the delay is undesirable, you can prelude it using a dummy read/write command to configure the backpressure. Inject some delay after receiving the responses to the dummy command, to ensure that backpressure is active.
- Write Data Width and Read Data Width parameters support non-power-of-two data widths, where the remaining bits are mapped to WUSER/RUSER ports of the AXI4 Bus. These ports are controlled by same data logic as the regular data path.
 - WSTRB is unusable with non-power-of-2 data widths and is terminated to all 1s.
 - Integer values for data and strobe values in the gencmd() API function must have enough DQ/DM ALUs to support the number of bits without being aliased. If the data and strobe values are too large, the gencmd() API issues a warning that the integer values will be clipped and not represented in their entirety. To prevent this, you must increase the number of DQ/DM ALUs. The maximum number of bits that ALU supports is 32.
 - Address channel bandwidth control causes the AxVALID signal to de-assert while the AxREADY signal is low; this does not follow the VALID/READY handshake rules of the AXI4 specification. This behavior affects primarily low-performance AXI4 subordinate interfaces.
 - Low-level read and write APIs only check that the traffic pattern is executable by the hardware, but not if the traffic pattern itself is correctly structured.
 High-level read and write APIs check that the traffic pattern is well-structured, for example if it's AXI compliant.