- Open AMD Vivado™ , and in the Tcl Console navigate to the folder where the design scripts and constraint file are located.
- Source this script to generate the block designs for this
create_ipi.tclscript calls four underlying scripts, each of which creates an individual block design. The first three are reconfigurable modules (RM), and the fourth is a top block design that uses a block design container to reference the individual reconfigurable modules. Given that the RMs are created before the top-level, this is considered a bottom-up approach.
Once the design creation is complete, you will observe the design is divided into one static region and one reconfigurable partition.
The static_region is a level of hierarchy that sets up the management of the design. It includes CIPS, NoC (with DDR), clocking, and reset. It also includes a static debug hub, an ILA core, and a DFX decoupler instance.
Reconfigurable Module rp1rm1 is the default RM and can be seen when expanding the Block Design Container rp1. This first module has an up counter connected to ILA. This ILA will be stitched to the Debug Hub in the rp1rm1 during opt_design of the parent run.
Reconfigurable Module rp1rm2 has a down counter connected to VIO. This debug core will also be stitched to the Debug Hub in rp1rm2 during opt_design of the first child run.
Reconfigurable Module rp1rm3 has a down counter and up counter connected to two AXI GPIOs. Both counters are connected to separate ILAs. Both of the ILAs, along with a VIO core, will be connected to the Debug Hub in rp1rm3 during opt_design of the second child run.
- Enable HSDP1 for CIPS
Follow the steps from HSDP tutorial to enable HSDP for high speed debug. Confirm that the Aurora-based HSDP has been enabled by opening the tab.
To complete the set of design sources, first add the constraint file that defines the Pblock for the reconfigurable region. Alternatively, you can create this Pblock yourself after synthesis.
- Use the Add Sources button to add the Pblocks constraint file, or
call this command on the Tcl
add_files -fileset constrs_1 -norecurse ./pblocks.xdc
Next, create the HDL wrapper for the top-level block design.
- Right-click design_1.bd and select to have this file auto-generated and added to the project.