From 64e0408e0c8dab496c7503674567d3a59cd520bc Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Sun, 8 Oct 2023 12:07:57 +0300 Subject: [PATCH] Added dsp_everywhere --- scripts/dsp_everywhere.xdc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 scripts/dsp_everywhere.xdc diff --git a/scripts/dsp_everywhere.xdc b/scripts/dsp_everywhere.xdc new file mode 100644 index 0000000..0e5c5d3 --- /dev/null +++ b/scripts/dsp_everywhere.xdc @@ -0,0 +1,19 @@ +#------------------------------------------------------------------------------ +# dsp_everywhere.xdc +# Konstantin Pavlov, pavlovconst@gmail.com +#------------------------------------------------------------------------------ + +# INFO ------------------------------------------------------------------------ +# Experimental XDC constraints to explore how many DSPs could be used in your +# project. After the exploration you can write more specific DSP constraints +# + + +# add all project cells first +set_property use_dsp48 yes [get_cells -hierarchical -filter { IS_PRIMITIVE == "FALSE" }] + +# (OPTIONAL) and then exclude specific cells if they fail timings with DSP`s +# set_property use_dsp no [get_cells -hierarchical -filter { IS_PRIMITIVE == "FALSE" && NAME =~ "top/my_instance_a*" }] +# set_property use_dsp no [get_cells -hierarchical -filter { IS_PRIMITIVE == "FALSE" && NAME =~ "top/my_instance_b*" }] +# set_property use_dsp no [get_cells -hierarchical -filter { IS_PRIMITIVE == "FALSE" && NAME =~ "top/my_instance_c*" }] +