@@ -37,7 +37,7 @@ set clock_recipe_b [lindex $argv 9]
3737set clock_recipe_c [lindex $argv 10]
3838set uram_option [lindex $argv 11]
3939set notify_via_sns [lindex $argv 12]
40-
40+ set VDEFINES [ lindex $argv 13]
4141# #################################################
4242# # Flow control variables
4343# #################################################
@@ -135,6 +135,8 @@ set_msg_config -id {Synth 8-3332} -suppress
135135set_msg_config -id {Synth 8-350} -suppress
136136set_msg_config -id {Synth 8-3848} -suppress
137137set_msg_config -id {Synth 8-3917} -suppress
138+ set_msg_config -id {Opt 31-430} -suppress
139+ # TODO: Sagar: where did the rest of these come from?
138140set_msg_config -id {Synth 8-6014} -suppress
139141set_msg_config -id {Vivado 12-1580} -suppress
140142set_msg_config -id {Constraints 18-619} -suppress
@@ -202,7 +204,7 @@ puts "AWS FPGA: ([clock format [clock seconds] -format %T]) Calling aws_gen_clk_
202204
203205source $HDK_SHELL_DIR /build/scripts/aws_gen_clk_constraints.tcl
204206# ################################################################
205- # #### Do not remove this setting. Need to workaround bug in 2017.4
207+ # #### Do not remove this setting. Need to workaround bug
206208# #################################################################
207209set_param hd.clockRoutingWireReduction false
208210
@@ -261,6 +263,7 @@ if {$implement} {
261263 # #######################
262264 # CL Optimize
263265 # #######################
266+ set place_preHookTcl " "
264267 if {$opt } {
265268 puts " \n AWS FPGA: ([ clock format [clock seconds] -format %T]) - Running optimization" ;
266269 impl_step opt_design $TOP $opt_options $opt_directive $opt_preHookTcl $opt_postHookTcl
@@ -345,18 +348,10 @@ puts "AWS FPGA: ([clock format [clock seconds] -format %T]) - Compress files for
345348set manifest_file [open " $CL_DIR /build/checkpoints/to_aws/${timestamp} .manifest.txt" w]
346349set hash [lindex [split [exec sha256sum $CL_DIR /build/checkpoints/to_aws/${timestamp} .SH_CL_routed.dcp] ] 0]
347350set TOOL_VERSION $::env(VIVADO_TOOL_VERSION)
348- set vivado_version [version -short]
349- set ver_2017_4 2017.4
351+ set vivado_version [string range [version -short] 0 5]
350352puts " vivado_version is $vivado_version \n "
351353
352- if { [string first $ver_2017_4 $vivado_version ] == 0 } {
353354puts $manifest_file " manifest_format_version=2\n "
354- # puts "in 2017.4"
355- } else {
356- puts $manifest_file " manifest_format_version=1\n "
357- # puts "in 2017.1"
358- }
359-
360355puts $manifest_file " pci_vendor_id=$vendor_id \n "
361356puts $manifest_file " pci_device_id=$device_id \n "
362357puts $manifest_file " pci_subsystem_id=$subsystem_id \n "
@@ -365,9 +360,7 @@ puts $manifest_file "dcp_hash=$hash\n"
365360puts $manifest_file " shell_version=$shell_version \n "
366361puts $manifest_file " dcp_file_name=${timestamp} .SH_CL_routed.dcp\n "
367362puts $manifest_file " hdk_version=$hdk_version \n "
368- if { [string first $ver_2017_4 $vivado_version ] == 0} {
369- puts $manifest_file " tool_version=v2017.4\n "
370- }
363+ puts $manifest_file " tool_version=v$vivado_version \n "
371364puts $manifest_file " date=$timestamp \n "
372365puts $manifest_file " clock_recipe_a=$clock_recipe_a \n "
373366puts $manifest_file " clock_recipe_b=$clock_recipe_b \n "
0 commit comments