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
f43e660a
Commit
f43e660a
authored
Aug 16, 2013
by
Paweł Szostek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add lazy module processing
parent
a8ebe445
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
module.py
hdlmake/module.py
+4
-0
No files found.
hdlmake/module.py
View file @
f43e660a
...
...
@@ -65,6 +65,7 @@ class Module(object):
self
.
source
=
source
self
.
parent
=
parent
self
.
isparsed
=
False
self
.
isprocessed
=
False
self
.
include_dirs
=
None
self
.
library
=
"work"
self
.
local
=
[]
...
...
@@ -225,6 +226,8 @@ class Module(object):
def
process_manifest
(
self
):
from
srcfile
import
VerilogFile
,
VHDLFile
,
SourceFileFactory
,
SourceFileSet
if
self
.
isprocessed
is
True
:
return
if
self
.
manifest_dict
is
None
:
logging
.
debug
(
"there is no manifest to be processed"
)
return
...
...
@@ -368,6 +371,7 @@ class Module(object):
self
.
syn_top
=
self
.
manifest_dict
[
"syn_top"
]
self
.
isparsed
=
True
self
.
isprocessed
=
True
for
m
in
self
.
submodules
():
m
.
parse_manifest
()
...
...
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