Skip to content

Commit e9945da

Browse files
committed
Add strategy to remove -retime flag from Vivado
1 parent d65ee3c commit e9945da

File tree

7 files changed

+64
-6
lines changed

7 files changed

+64
-6
lines changed

hdk/cl/developer_designs/cl_firesim/build/scripts/synth_cl_firesim.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ puts "AWS FPGA: ([clock format [clock seconds] -format %T]) Start design synthes
117117

118118
update_compile_order -fileset sources_1
119119
puts "\nRunning synth_design for $CL_MODULE $CL_DIR/build/scripts \[[clock format [clock seconds] -format {%a %b %d %H:%M:%S %Y}]\]"
120-
eval [concat synth_design -top $CL_MODULE -verilog_define XSDB_SLV_DIS $VDEFINES -part [DEVICE_TYPE] -mode out_of_context $synth_options -directive $synth_directive -retiming]
120+
eval [concat synth_design -top $CL_MODULE -verilog_define XSDB_SLV_DIS $VDEFINES -part [DEVICE_TYPE] -mode out_of_context $synth_options -directive $synth_directive]
121121

122122
set failval [catch {exec grep "FAIL" failfast.csv}]
123123
if { $failval==0 } {

hdk/common/shell_v04261818/build/scripts/strategy_BASIC.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
source $HDK_SHELL_DIR/build/scripts/params.tcl
1717
source $HDK_SHELL_DIR/build/scripts/uram_options.tcl
1818

19-
set synth_options "-keep_equivalent_registers $synth_uram_option"
19+
set synth_options "-keep_equivalent_registers $synth_uram_option -retiming"
2020
set synth_directive "default"
2121

2222
#Set psip to 1 to enable Physical Synthesis in Placer

hdk/common/shell_v04261818/build/scripts/strategy_CONGESTION.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
source $HDK_SHELL_DIR/build/scripts/params.tcl
1717
source $HDK_SHELL_DIR/build/scripts/uram_options.tcl
1818

19-
set synth_options "-no_lc -shreg_min_size 10 -control_set_opt_threshold 16 $synth_uram_option"
19+
set synth_options "-no_lc -shreg_min_size 10 -control_set_opt_threshold 16 $synth_uram_option -retiming"
2020
set synth_directive "AlternateRoutability"
2121

2222
#Set psip to 1 to enable Physical Synthesis in Placer

hdk/common/shell_v04261818/build/scripts/strategy_DEFAULT.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
source $HDK_SHELL_DIR/build/scripts/params.tcl
1717
source $HDK_SHELL_DIR/build/scripts/uram_options.tcl
1818

19-
set synth_options "-keep_equivalent_registers -flatten_hierarchy rebuilt $synth_uram_option"
19+
set synth_options "-keep_equivalent_registers -flatten_hierarchy rebuilt $synth_uram_option -retiming"
2020
set synth_directive "default"
2121

2222
#Set psip to 1 to enable Physical Synthesis in Placer

hdk/common/shell_v04261818/build/scripts/strategy_EXPLORE.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
source $HDK_SHELL_DIR/build/scripts/params.tcl
1717
source $HDK_SHELL_DIR/build/scripts/uram_options.tcl
1818

19-
set synth_options "-keep_equivalent_registers -flatten_hierarchy rebuilt $synth_uram_option"
19+
set synth_options "-keep_equivalent_registers -flatten_hierarchy rebuilt $synth_uram_option -retiming"
2020
set synth_directive "default"
2121

2222
#Set psip to 1 to enable Physical Synthesis in Placer
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Amazon FPGA Hardware Development Kit
2+
#
3+
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
#
5+
# Licensed under the Amazon Software License (the "License"). You may not use
6+
# this file except in compliance with the License. A copy of the License is
7+
# located at
8+
#
9+
# http://aws.amazon.com/asl/
10+
#
11+
# or in the "license" file accompanying this file. This file is distributed on
12+
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or
13+
# implied. See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
source $HDK_SHELL_DIR/build/scripts/params.tcl
17+
source $HDK_SHELL_DIR/build/scripts/uram_options.tcl
18+
19+
set synth_options "-no_lc -shreg_min_size 5 -fsm_extraction one_hot -resource_sharing auto $synth_uram_option"
20+
set synth_directive "default"
21+
22+
#Set psip to 1 to enable Physical Synthesis in Placer
23+
set psip 0
24+
25+
set link 1
26+
27+
set opt 1
28+
set opt_options ""
29+
set opt_directive "Explore"
30+
set opt_preHookTcl "$HDK_SHELL_DIR/build/scripts/check_uram.tcl"
31+
set opt_postHookTcl "$HDK_SHELL_DIR/build/scripts/apply_debug_constraints.tcl"
32+
33+
set place 1
34+
set place_options ""
35+
set place_directive "ExtraNetDelay_high"
36+
set place_preHookTcl ""
37+
set place_postHookTcl ""
38+
39+
set phys_opt 1
40+
set phys_options ""
41+
set phys_directive ""
42+
set phys_directive "AggressiveExplore"
43+
set phys_preHookTcl ""
44+
set phys_postHookTcl ""
45+
46+
set route 1
47+
set route_options "-tns_cleanup"
48+
set route_directive "Explore"
49+
set route_preHookTcl ""
50+
set route_postHookTcl ""
51+
52+
set route_phys_opt 1
53+
set post_phys_options ""
54+
set post_phys_directive "AggressiveExplore"
55+
set post_phys_preHookTcl ""
56+
set post_phys_postHookTcl ""
57+
58+

hdk/common/shell_v04261818/build/scripts/strategy_TIMING.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
source $HDK_SHELL_DIR/build/scripts/params.tcl
1717
source $HDK_SHELL_DIR/build/scripts/uram_options.tcl
1818

19-
set synth_options "-no_lc -shreg_min_size 5 -fsm_extraction one_hot -resource_sharing auto $synth_uram_option"
19+
set synth_options "-no_lc -shreg_min_size 5 -fsm_extraction one_hot -resource_sharing auto $synth_uram_option -retiming"
2020
set synth_directive "default"
2121

2222
#Set psip to 1 to enable Physical Synthesis in Placer

0 commit comments

Comments
 (0)