From 5176e427a13cbed7f6dc6fa88e201d0da8a68f11 Mon Sep 17 00:00:00 2001 From: Rejeesh Kutty Date: Tue, 6 Jun 2017 12:24:13 -0400 Subject: [PATCH] common/a10soc- add project create tcl procedure --- projects/common/a10soc/a10soc_system_assign.tcl | 15 +-------------- projects/common/a10soc/a10soc_system_qsys.tcl | 9 +++------ 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/projects/common/a10soc/a10soc_system_assign.tcl b/projects/common/a10soc/a10soc_system_assign.tcl index 3efc48393..01ce15a75 100755 --- a/projects/common/a10soc/a10soc_system_assign.tcl +++ b/projects/common/a10soc/a10soc_system_assign.tcl @@ -1,14 +1,4 @@ - -# device settings - -set_global_assignment -name FAMILY "Arria 10" -set_global_assignment -name DEVICE 10AS066N3F40E2SGE2 - -# ignored warnings and such - -set_global_assignment -name MESSAGE_DISABLE 17951 ; ## disable unused RX channels message -set_global_assignment -name MESSAGE_DISABLE 18655 ; ## disable unused TX channels message - +# a10soc carrier defaults # clocks and resets set_location_assignment PIN_AM10 -to sys_clk @@ -259,6 +249,3 @@ set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_gpio[1] set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_gpio[2] set_instance_assignment -name IO_STANDARD "1.8 V" -to hps_gpio[3] -# source defaults - -source $ad_hdl_dir/projects/common/altera/sys_gen.tcl diff --git a/projects/common/a10soc/a10soc_system_qsys.tcl b/projects/common/a10soc/a10soc_system_qsys.tcl index 3187f8f26..30da2ec65 100755 --- a/projects/common/a10soc/a10soc_system_qsys.tcl +++ b/projects/common/a10soc/a10soc_system_qsys.tcl @@ -1,12 +1,9 @@ - -package require qsys - -set_module_property NAME {system_bd} -set_project_property DEVICE_FAMILY {Arria 10} -set_project_property DEVICE {10AS066N3F40E2SGE2} +# a10soc carrier qsys set system_type a10soc +# clock-&-reset + add_instance sys_clk clock_source add_interface sys_clk clock sink set_interface_property sys_clk EXPORT_OF sys_clk.clk_in