Hard Processor System Component Reference Manual: Agilex™ 5 SoCs

ID 813752
Date 11/10/2025
Public
Document Table of Contents

3.2.3. Implementing Example Design Callback Procedure

Platform Designer provides API for implementing example design callback procedure. The callback procedure executes TCL scripts to generate a .qsys and Quartus® Prime design.
add_fileset example_design EXAMPLE_DESIGN example_design::example_design_fileset_callback

All parameters related to example design configuration are displayed in the Example Design tab. The params.tcl is an intermediate file generated by the callback to pass arguments to the make_qsys.tcl and make_quartus_design.tcl scripts.

  1. Click Generate Example Design button.
    Figure 60. Generate Example Design button
  2. Enter the desired path and click OK.
    Figure 61. Select Example Design Directory
  3. Once complete, locate the generated example designs at <path>/EXAMPLE/intel_agilex_5_soc_0_example_design/.
    Note: The synthesized designs are located in the qii sub-directory. Simulation designs are located in the sim sub-directory. All errors or legality checks against the example design parameters are flagged as warnings in the Platform Designer Parameterization Messages. However, these are considered errors once the generate example design callback is called. As stated previously, a warning is given that the BFMs are not synthesizable.
    Figure 62. Generate Example Design Completed
  4. Click Close to run the testbench. Alternatively, you can skip to Running the Testbench section.
  5. To view the complete example design in Quartus® Prime:
    1. Click Launch Example Design in Quartus.
    2. Select sim/ed_sim.qpf and click OK.
    3. In the new Quartus® Prime pop-up window, click Tools > Platform Designer > ... to select the desired Platform Designer system to open.
    4. Select ed_sim.qsys and click Select.
    5. Click Open.
    Figure 63. Open the Example System
  6. Click Close to show the full design as shown in the example below.
    Figure 64. Full View of the Example Design