Skip to content

Commit 64e0408

Browse files
committed
Added dsp_everywhere
1 parent 5020e0b commit 64e0408

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

scripts/dsp_everywhere.xdc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#------------------------------------------------------------------------------
2+
# dsp_everywhere.xdc
3+
# Konstantin Pavlov, [email protected]
4+
#------------------------------------------------------------------------------
5+
6+
# INFO ------------------------------------------------------------------------
7+
# Experimental XDC constraints to explore how many DSPs could be used in your
8+
# project. After the exploration you can write more specific DSP constraints
9+
#
10+
11+
12+
# add all project cells first
13+
set_property use_dsp48 yes [get_cells -hierarchical -filter { IS_PRIMITIVE == "FALSE" }]
14+
15+
# (OPTIONAL) and then exclude specific cells if they fail timings with DSP`s
16+
# set_property use_dsp no [get_cells -hierarchical -filter { IS_PRIMITIVE == "FALSE" && NAME =~ "top/my_instance_a*" }]
17+
# set_property use_dsp no [get_cells -hierarchical -filter { IS_PRIMITIVE == "FALSE" && NAME =~ "top/my_instance_b*" }]
18+
# set_property use_dsp no [get_cells -hierarchical -filter { IS_PRIMITIVE == "FALSE" && NAME =~ "top/my_instance_c*" }]
19+

0 commit comments

Comments
 (0)