Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kestrel Collaboration
Kestrel LiteX
migen
Commits
5e7c71ac
Commit
5e7c71ac
authored
5 years ago
by
Florent Kermarrec
Browse files
Options
Download
Email Patches
Plain Diff
build/xilinx/vivado: use build_name instead of top in synth_design
parent
37db6bb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
migen/build/xilinx/vivado.py
migen/build/xilinx/vivado.py
+2
-2
No files found.
migen/build/xilinx/vivado.py
View file @
5e7c71ac
...
@@ -116,9 +116,9 @@ class XilinxVivadoToolchain:
...
@@ -116,9 +116,9 @@ class XilinxVivadoToolchain:
tcl
.
extend
(
c
.
format
(
build_name
=
build_name
)
for
c
in
self
.
pre_synthesis_commands
)
tcl
.
extend
(
c
.
format
(
build_name
=
build_name
)
for
c
in
self
.
pre_synthesis_commands
)
# "-include_dirs {}" crashes Vivado 2016.4
# "-include_dirs {}" crashes Vivado 2016.4
if
platform
.
verilog_include_paths
:
if
platform
.
verilog_include_paths
:
tcl
.
append
(
"synth_design -top
top
-part {} -include_dirs {{{}}}"
.
format
(
platform
.
device
,
" "
.
join
(
platform
.
verilog_include_paths
)))
tcl
.
append
(
"synth_design -top
{}
-part {} -include_dirs {{{}}}"
.
format
(
build_name
,
platform
.
device
,
" "
.
join
(
platform
.
verilog_include_paths
)))
else
:
else
:
tcl
.
append
(
"synth_design -top
top
-part {}"
.
format
(
platform
.
device
))
tcl
.
append
(
"synth_design -top
{}
-part {}"
.
format
(
build_name
,
platform
.
device
))
tcl
.
append
(
"report_timing_summary -file {}_timing_synth.rpt"
.
format
(
build_name
))
tcl
.
append
(
"report_timing_summary -file {}_timing_synth.rpt"
.
format
(
build_name
))
tcl
.
append
(
"report_utilization -hierarchical -file {}_utilization_hierarchical_synth.rpt"
.
format
(
build_name
))
tcl
.
append
(
"report_utilization -hierarchical -file {}_utilization_hierarchical_synth.rpt"
.
format
(
build_name
))
tcl
.
append
(
"report_utilization -file {}_utilization_synth.rpt"
.
format
(
build_name
))
tcl
.
append
(
"report_utilization -file {}_utilization_synth.rpt"
.
format
(
build_name
))
...
...
This diff is collapsed.
Click to expand it.
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