Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
d659370c
Commit
d659370c
authored
Mar 11, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean-up on the IceStorm makefile generator
parent
c384ef83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
icestorm.py
hdlmake/tools/icestorm.py
+4
-4
No files found.
hdlmake/tools/icestorm.py
View file @
d659370c
...
...
@@ -24,6 +24,8 @@
from
__future__
import
absolute_import
import
logging
from
.make_syn
import
ToolSyn
from
hdlmake.srcfile
import
VerilogFile
,
PCFFile
...
...
@@ -81,7 +83,7 @@ class ToolIcestorm(ToolSyn):
ret
.
append
(
"yosys -import"
)
# First stage: linking files
for
file_aux
in
self
.
fileset
:
if
(
isinstance
(
file_aux
,
VerilogFile
)
):
if
isinstance
(
file_aux
,
VerilogFile
):
ret
.
append
(
'read_verilog {0}'
.
format
(
file_aux
.
rel_path
()))
ret
.
append
(
"synth_ice40 -top {0} -blif {1}.blif"
.
format
(
self
.
manifest_dict
[
"syn_top"
],
...
...
@@ -93,12 +95,10 @@ class ToolIcestorm(ToolSyn):
def
makefile_syn_tcl
(
self
):
"""Create an IceStorm synthesis project by TCL"""
syn_device
=
self
.
manifest_dict
[
"syn_device"
]
syn_grade
=
self
.
manifest_dict
[
"syn_grade"
]
syn_package
=
self
.
manifest_dict
[
"syn_package"
]
syn_properties
=
self
.
manifest_dict
.
get
(
"syn_properties"
)
constraints_file
=
None
for
file_aux
in
self
.
fileset
:
if
(
isinstance
(
file_aux
,
PCFFile
)
):
if
isinstance
(
file_aux
,
PCFFile
):
constraints_file
=
file_aux
.
rel_path
()
if
constraints_file
==
None
:
logging
.
error
(
"No Arachne-pnr constraints file found!"
)
...
...
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