Agilex™ 7 Hard Processor System Component Reference Manual
ID
683581
Date
10/08/2025
Public
3.1. Simulation Flows
3.2. Clock and Reset Interfaces
3.3. FPGA-to-HPS AXI* Slave Interface
3.4. HPS-to-FPGA AXI* Master Interface
3.5. Lightweight HPS-to-FPGA AXI* Master Interface
3.6. HPS-to-FPGA MPU Event Interface
3.7. Interrupts Interface
3.8. HPS-to-FPGA Debug APB Interface
3.9. FPGA-to-HPS System Trace Macrocell Hardware Event Interface
3.10. HPS-to-FPGA Cross-Trigger Interface
3.11. HPS-to-FPGA Trace Port Interface
3.12. FPGA-to-HPS DMA Handshake Interface
3.13. General Purpose Input Interface
3.14. EMIF Conduit
3.15. Simulating the Agilex™ 7 HPS Component Revision History
4.3.1. my_simple_tb.sv
- Locate simple_tb.v and copy it to your own file.
- cd <project directory>/simple_tb/simple_tb/sim/
- cp simple_tb.v my_simple_tb.sv
- Edit the newly created mysimple_tb.sv file and add the function calls highlighted below, as well as the optional delay code afterward. These function calls test each bridge and details are provided in the later section.
// my_simple_tb.sv `timescale 1 ps / 1 ps module simple_tb ( ); wire simple_inst_clk_bfm_clk_clk; // simple_inst_clk_bfm:clk -> [simple_inst:clk_clk, simple_inst_reset_bfm:clk] wire simple_inst_reset_bfm_reset_reset; // simple_inst_reset_bfm:reset -> simple_inst:reset_reset simple_inst_clk_bfm_ip simple_inst_clk_bfm ( .clk (simple_inst_clk_bfm_clk_clk) // output, width = 1, clk.clk ); simple_inst_reset_bfm_ip simple_inst_reset_bfm ( .reset (simple_inst_reset_bfm_reset_reset), // output, width = 1, reset.reset .clk (simple_inst_clk_bfm_clk_clk) // input, width = 1, clk.clk ); simple simple_inst ( .clk_clk (simple_inst_clk_bfm_clk_clk), // input, width = 1, clk.clk .reset_reset (simple_inst_reset_bfm_reset_reset) // input, width = 1, reset.reset ); // calls to test the bridges test_lwh2f lwh2f_test_m (); test_h2f h2f_test_m (); initial begin #6000000 // optional delay - if timescale is 1ps/1ps, then 6000000 = 6ns $finish; end endmodule