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
ca5f2ff9
Commit
ca5f2ff9
authored
Mar 19, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor too long lines in synthesis makefile generator
parent
98b7a94f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
make_syn.py
hdlmake/tools/make_syn.py
+5
-2
No files found.
hdlmake/tools/make_syn.py
View file @
ca5f2ff9
...
...
@@ -109,7 +109,8 @@ SYN_GRADE := ${syn_grade}
command_list
=
[
"create"
,
"open"
,
"save"
,
"close"
]
for
command
in
command_list
:
if
command
in
self
.
_tcl_controls
:
self
.
writeln
(
'TCL_{1} := "{0}"'
.
format
(
self
.
_tcl_controls
[
command
],
command
.
upper
()))
self
.
writeln
(
'TCL_{1} := "{0}"'
.
format
(
self
.
_tcl_controls
[
command
],
command
.
upper
()))
self
.
writeln
()
def
makefile_syn_files
(
self
):
...
...
@@ -134,7 +135,9 @@ SYN_GRADE := ${syn_grade}
self
.
writeln
(
'
\n
'
.
join
(
ret
))
self
.
writeln
(
'files.tcl:'
)
for
filetype
in
sources_list
:
self
.
writeln
(
'
\t\t
@$(foreach sourcefile, $(SOURCES_{0}), echo "{1}" >> $@;)'
.
format
(
filetype
.
__name__
,
fileset_dict
[
filetype
]))
self
.
writeln
(
'
\t\t
@$(foreach sourcefile,'
' $(SOURCES_{0}), echo "{1}" >> $@;)'
.
format
(
filetype
.
__name__
,
fileset_dict
[
filetype
]))
self
.
writeln
()
def
makefile_syn_local
(
self
):
...
...
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