mirror of
https://github.com/pConst/basic_verilog.git
synced 2025-01-28 07:02:55 +08:00
Added dsp_everywhere
This commit is contained in:
parent
5020e0b13e
commit
64e0408e0c
19
scripts/dsp_everywhere.xdc
Normal file
19
scripts/dsp_everywhere.xdc
Normal file
@ -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*" }]
|
||||
|
Loading…
x
Reference in New Issue
Block a user