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
a12c7718
Commit
a12c7718
authored
7 years ago
by
William D. Jones
Committed by
Sébastien Bourdeauducq
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
lattice/icestorm: synthesis_template => yosys_template.
parent
b96cba7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
migen/build/lattice/icestorm.py
migen/build/lattice/icestorm.py
+2
-2
No files found.
migen/build/lattice/icestorm.py
View file @
a12c7718
...
@@ -89,7 +89,7 @@ class LatticeIceStormToolchain:
...
@@ -89,7 +89,7 @@ class LatticeIceStormToolchain:
special_overrides
=
common
.
icestorm_special_overrides
special_overrides
=
common
.
icestorm_special_overrides
def
__init__
(
self
):
def
__init__
(
self
):
self
.
sy
nthesi
s_template
=
[
self
.
yo
sys_template
=
[
"{read_files}"
,
"{read_files}"
,
"attrmap -tocase keep -imap keep=
\"
true
\"
keep=1 -imap keep=
\"
false
\"
keep=0 -remove keep=0"
,
"attrmap -tocase keep -imap keep=
\"
true
\"
keep=1 -imap keep=
\"
false
\"
keep=0 -remove keep=0"
,
"synth_ice40 -top top -blif {build_name}.blif"
,
"synth_ice40 -top top -blif {build_name}.blif"
,
...
@@ -122,7 +122,7 @@ class LatticeIceStormToolchain:
...
@@ -122,7 +122,7 @@ class LatticeIceStormToolchain:
ys_contents
=
"
\n
"
.
join
(
_
.
format
(
build_name
=
build_name
,
ys_contents
=
"
\n
"
.
join
(
_
.
format
(
build_name
=
build_name
,
read_files
=
self
.
gen_read_files
(
platform
,
v_file
))
read_files
=
self
.
gen_read_files
(
platform
,
v_file
))
for
_
in
self
.
sy
nthesi
s_template
)
for
_
in
self
.
yo
sys_template
)
ys_name
=
build_name
+
".ys"
ys_name
=
build_name
+
".ys"
tools
.
write_to_file
(
ys_name
,
ys_contents
)
tools
.
write_to_file
(
ys_name
,
ys_contents
)
...
...
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