Commit 3873e4fe authored by Laura Alexandra Sequeira Gouveia's avatar Laura Alexandra Sequeira Gouveia
Browse files

Add FPGA Configurations visibility to Zynq partition templates

parent 5bd25f89
......@@ -7,6 +7,7 @@
@@-- @_Blocks_@ : Code generated for protected functions
@@-- @_Block_Names@ : Vector Tag: list of block (user functions) names
@@-- @_Block_Languages_@ : |_ Corresponding implementation language
@@-- @_Block_FPGAConf_@ : |_ Corresponding FPGA Configuration property value
@@-- @_Coverage_@ : True if user requested code coverage enable
@@-- @_Package_Name_@ : AADL Package name for the target (e.g. ocarina_porocessors_x86)
@@-- @_CPU_Name_@ : CPU Name (e.g. x86_linux)
......@@ -45,8 +46,8 @@ aggregate project @_CAPITALIZE:Name_@_Zynq_Bambu is
for Project_Files use (
@@INLINE(,)@@
@@TABLE@@
@@IF@@ @_LOWER:Block_Languages_@ = simulink
"zynq_bambu_@_LOWER:Block_Names_@.gpr"
@@IF@@ not @_IS_EMPTY:Block_FPGAConf_@
"@_LOWER:Block_Names_@_zynq_bambu.gpr"
@@END_IF@@
@@END_TABLE@@
@@END_INLINE@@
......@@ -55,3 +56,4 @@ aggregate project @_CAPITALIZE:Name_@_Zynq_Bambu is
end @_CAPITALIZE:Name_@_Zynq_Bambu;
......@@ -7,6 +7,7 @@
@@-- @_Blocks_@ : Code generated for protected functions
@@-- @_Block_Names@ : Vector Tag: list of block (user functions) names
@@-- @_Block_Languages_@ : |_ Corresponding implementation language
@@-- @_Block_FPGAConf_@ : |_ Corresponding FPGA Configuration property value
@@-- @_Coverage_@ : True if user requested code coverage enable
@@-- @_Package_Name_@ : AADL Package name for the target (e.g. ocarina_porocessors_x86)
@@-- @_CPU_Name_@ : CPU Name (e.g. x86_linux)
......@@ -35,19 +36,26 @@
@@SET@@ Distributed_System = TRUE
@@END_IF@@
aggregate project @_CAPITALIZE:Name_@_Zynq is
for Project_Files use (
@@INLINE(,)@@
@@TABLE@@
@@IF@@ @_LOWER:Block_Languages_@ = simulink
"@_LOWER:Name_@_zynq_bambu.gpr"
@@IF@@ not @_IS_EMPTY:Block_FPGAConf_@
@@SET@@ bambu_needed = TRUE
@@ELSE@@
"@_LOWER:Name_@_zynq_rtems.gpr"
@@SET@@ rtems_needed = TRUE
@@END_IF@@
@@END_TABLE@@
aggregate project @_CAPITALIZE:Name_@_Zynq is
for Project_Files use (
@@INLINE(,)@@
@@IF@@ @_bambu_needed_@ = TRUE
"@_LOWER:Name_@_zynq_bambu.gpr"
@@END_IF@@
@@IF@@ @_rtems_needed_@ = TRUE
"@_LOWER:Name_@_zynq_rtems.gpr"
@@END_IF@@
@@END_INLINE@@
);
end @_CAPITALIZE:Name_@_Zynq;
end @_CAPITALIZE:Name_@_Zynq;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment