Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
dbec6b7f
Commit
dbec6b7f
authored
Mar 17, 2019
by
Micha Ober
Committed by
Jaco A. Hofmann
May 08, 2019
Browse files
Allow setting a custom BD name for a platform
parent
dede29a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
common/design.master.tcl.template
View file @
dbec6b7f
...
...
@@ -74,7 +74,7 @@ set_msg_config -suppress -id {[xilinx.com:ip:axi_intc:4.1-7]}
@@COMPOSITION@@
# create design
create_bd_design -quiet
"system"
create_bd_design -quiet
[platform::get_bd_name]
# enable PE-local memories
tapasco::add_capabilities_flag "PLATFORM_CAP0_PE_LOCAL_MEM"
...
...
platform/common/platform.tcl
View file @
dbec6b7f
...
...
@@ -164,6 +164,15 @@ namespace eval platform {
}
}
proc get_bd_name
{}
{
variable bd_design_name
if
{[
info exists bd_design_name
]
== 0
}
{
return
"system"
}
else
{
return
"
${platform::bd_design_name}
"
}
}
# Platform API: Main entry point to generate the bitstream.
proc generate
{}
{
global bitstreamname
...
...
@@ -171,7 +180,7 @@ namespace eval platform {
set jobs
[
tapasco::get_number_of_processors
]
puts
" using
$jobs
parallel jobs"
generate_target all
[
get_files
system
.bd
]
generate_target all
[
get_files
"
[
get_bd_name
]
.bd
"
]
set synth_run
[
get_runs synth_1
]
set_property -dict
[
list
\
STEPS.SYNTH_DESIGN.ARGS.RETIMING true
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment