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
3f5a9078
Commit
3f5a9078
authored
7 years ago
by
Sebastien Bourdeauducq
Browse files
Options
Download
Email Patches
Plain Diff
build: work around Vivado 2016.4 crash in Verific::veri_file::IncludeFileName
parent
e93d0601
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
migen/build/xilinx/vivado.py
migen/build/xilinx/vivado.py
+5
-1
No files found.
migen/build/xilinx/vivado.py
View file @
3f5a9078
...
@@ -96,7 +96,11 @@ class XilinxVivadoToolchain:
...
@@ -96,7 +96,11 @@ class XilinxVivadoToolchain:
tcl
.
append
(
"read_xdc {}.xdc"
.
format
(
build_name
))
tcl
.
append
(
"read_xdc {}.xdc"
.
format
(
build_name
))
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
)
tcl
.
append
(
"synth_design -top top -part {} -include_dirs {{{}}}"
.
format
(
platform
.
device
,
" "
.
join
(
platform
.
verilog_include_paths
)))
# "-include_dirs {}" crashes Vivado 2016.4
if
platform
.
verilog_include_paths
:
tcl
.
append
(
"synth_design -top top -part {} -include_dirs {{{}}}"
.
format
(
platform
.
device
,
" "
.
join
(
platform
.
verilog_include_paths
)))
else
:
tcl
.
append
(
"synth_design -top top -part {}"
.
format
(
platform
.
device
))
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
))
tcl
.
append
(
"place_design"
)
tcl
.
append
(
"place_design"
)
...
...
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