From c288f656ab3e9ed7d330db25a305bdb0bcdfb186 Mon Sep 17 00:00:00 2001 From: Yaman Umuroglu <maltanar@gmail.com> Date: Wed, 12 Aug 2020 17:28:16 +0200 Subject: [PATCH] [ZYNQ] add high-perf Vivado synth/impl defaults --- src/finn/transformation/fpgadataflow/templates.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/finn/transformation/fpgadataflow/templates.py b/src/finn/transformation/fpgadataflow/templates.py index eaeadc7b3..3bd74ec6a 100644 --- a/src/finn/transformation/fpgadataflow/templates.py +++ b/src/finn/transformation/fpgadataflow/templates.py @@ -404,6 +404,15 @@ validate_bd_design set_property SYNTH_CHECKPOINT_MODE "Hierarchical" [ get_files top.bd ] make_wrapper -files [get_files top.bd] -import -fileset sources_1 -top +set_property strategy Flow_PerfOptimized_high [get_runs synth_1] +set_property STEPS.SYNTH_DESIGN.ARGS.DIRECTIVE AlternateRoutability [get_runs synth_1] +set_property STEPS.SYNTH_DESIGN.ARGS.RETIMING true [get_runs synth_1] +set_property strategy Performance_ExtraTimingOpt [get_runs impl_1] +set_property STEPS.OPT_DESIGN.ARGS.DIRECTIVE Explore [get_runs impl_1] +set_property STEPS.POST_ROUTE_PHYS_OPT_DESIGN.ARGS.DIRECTIVE AggressiveExplore [get_runs impl_1] +set_property STEPS.PHYS_OPT_DESIGN.ARGS.DIRECTIVE AggressiveExplore [get_runs impl_1] +set_property STEPS.POST_ROUTE_PHYS_OPT_DESIGN.IS_ENABLED true [get_runs impl_1] + # out-of-context synth can't be used for bitstream generation # set_property -name {STEPS.SYNTH_DESIGN.ARGS.MORE OPTIONS} -value {-mode out_of_context} -objects [get_runs synth_1] launch_runs -to_step write_bitstream impl_1 -jobs %d -- GitLab