1
0
mirror of https://github.com/pConst/basic_verilog.git synced 2025-01-14 06:42:54 +08:00
basic_verilog/scripts/dsp_everywhere.xdc
2023-10-08 12:07:57 +03:00

20 lines
1022 B
Tcl

#------------------------------------------------------------------------------
# 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*" }]