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
1fdf5dba
Commit
1fdf5dba
authored
6 years ago
by
Florent Kermarrec
Browse files
Options
Download
Email Patches
Plain Diff
lattice/diamond: use build_name as top name
parent
28a5f324
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
migen/build/lattice/diamond.py
migen/build/lattice/diamond.py
+1
-0
No files found.
migen/build/lattice/diamond.py
View file @
1fdf5dba
...
...
@@ -56,6 +56,7 @@ def _build_files(device, sources, vincpaths, build_name):
tcl
.
append
(
"prj_impl option {include path} {
\"
"
+
path
+
"
\"
}"
)
for
filename
,
language
,
library
in
sources
:
tcl
.
append
(
"prj_src add
\"
"
+
filename
+
"
\"
-work "
+
library
)
tcl
.
append
(
"prj_impl option top
\"
{}
\"
"
.
format
(
build_name
))
tcl
.
append
(
"prj_project save"
)
tcl
.
append
(
"prj_run Synthesis -impl impl -forceOne"
)
tcl
.
append
(
"prj_run Translate -impl impl"
)
...
...
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