Forum Discussion
Altera_Forum
Honored Contributor
7 years ago- Design your HPS: For this example, I used the Quartus Prime Standard 17.1 tools to create a new project. Then I simply copied the GHRD Qsys (converted from Pro to Standard: details in a different post) directory (ghrd_10as066n2/) into my new project directory. I edited the Qsys design by removing all unwanted modules, specifically all modules related to JTAG (ex. 'issp'). These modules seem to result in the generation of sld_hub:auto_hub, which resulted in build problems when this project is imported into an higher-level project.
- Create a wrapper for the HPS, and build:
- Within the project created in Step# 1, design a wrapper for the HPS. Here the signals names of the HPS can be mapped to something simplier.
- 'Add' the qip file, and any other require HDL files, to the project via 'Assignments->Settings->Files'.
- Edit the qsf to contain set_location_assignment for all of the HPS.
- Obtain assignments from original GHRD or from the qip.
- If from the qip, you must convert similar to the following: FROM: set_instance_assignment -name HPS_LOCATION PIN_H18 -entity ghrd_10as066n2_altera_arria10_hps_171_g7cowra -to hps_io|border|hps_io_phery_emac0_TX_CLK
- 'Assignments->Settings->Compilation Process Setting->Incremental Complication', and check the box for Export Project->'Automatically export design partition after compilation'
- Use the defaults for the 'Export Design Partition Settings': Netlist to export: 'Top' and 'Post-fit netlist' and 'Post-synthesis netlist' (Note: Post-fit will not be used, but we're generating anyway).
- 'Add' the qxp file from Step# 2 to the project's 'Assignments->Settings->Files'.
- Create a wrapper for the top-level of the project the was create/built in Setup# 1 and 2.
- Execute 'Start Analysis and Elaboration'.
- Confirm that sld_hub:auto_hub does not exist in the Project Navigator. If it does exist, work on Step# 1 and 2 to remove it, as it will most likely cause build problems.
- Right-Mouse-Click on the soc_inst listed in the Project Navigator, and select 'Design Partition->Import Design Partition'.
- Open the 'Advance Import Settings', and:
- Uncheck 'Promote assignments to all instances of the imported entity'
- 'Skip Conflicts...' for 'Logic Lock Regions'
- 'Skip Conflicts...' for 'Other Assignments'
- The checkboxes above seem to be settable within the qsf, the the GUI reports the following command/args when the import is actually executed: 'quartus_cdb container -c container --incremental_compilation_import'