From fa0b39fa20a1d3b18b478442c08fa6053a234bf6 Mon Sep 17 00:00:00 2001 From: Istvan Csomortani Date: Thu, 13 Aug 2020 15:12:24 +0100 Subject: [PATCH] adi_project_intel: Update QSYS generation In Quartus Prime in place of the set_domain_assignment command, the set_interconnect_requirement command is used. --- projects/scripts/adi_project_intel.tcl | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/projects/scripts/adi_project_intel.tcl b/projects/scripts/adi_project_intel.tcl index be7245ff4..163dce9d6 100644 --- a/projects/scripts/adi_project_intel.tcl +++ b/projects/scripts/adi_project_intel.tcl @@ -134,9 +134,15 @@ proc adi_project {project_name {parameter_list {}}} { puts $QFILE "set_project_property DEVICE $device" puts $QFILE "foreach {param value} {$parameter_list} { set ad_project_params(\$param) \$value }" puts $QFILE "source system_qsys.tcl" - puts $QFILE "set_domain_assignment {\$system} {qsys_mm.maxAdditionalLatency} {4}" - puts $QFILE "set_domain_assignment {\$system} {qsys_mm.clockCrossingAdapter} {AUTO}" - puts $QFILE "set_domain_assignment {\$system} {qsys_mm.burstAdapterImplementation} {PER_BURST_TYPE_CONVERTER}" + if {$quartus_pro_isused == 1} { + puts $QFILE "set_domain_assignment {\$system} {qsys_mm.maxAdditionalLatency} {4}" + puts $QFILE "set_domain_assignment {\$system} {qsys_mm.clockCrossingAdapter} {AUTO}" + puts $QFILE "set_domain_assignment {\$system} {qsys_mm.burstAdapterImplementation} {PER_BURST_TYPE_CONVERTER}" + } else { + puts $QFILE "set_interconnect_requirement {\$system} {qsys_mm.maxAdditionalLatency} {4}" + puts $QFILE "set_interconnect_requirement {\$system} {qsys_mm.clockCrossingAdapter} {AUTO}" + puts $QFILE "set_interconnect_requirement {\$system} {qsys_mm.burstAdapterImplementation} {PER_BURST_TYPE_CONVERTER}" + } puts $QFILE "save_system {system_bd.qsys}" close $QFILE