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
d0ba0268
Commit
d0ba0268
authored
Sep 21, 2017
by
Robert Jensch
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified: - instance regex supports entity instantiation
parent
14e4970d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
vhdl_parser.py
hdlmake/vhdl_parser.py
+1
-2
No files found.
hdlmake/vhdl_parser.py
View file @
d0ba0268
...
@@ -243,8 +243,7 @@ class VHDLParser(DepParser):
...
@@ -243,8 +243,7 @@ class VHDLParser(DepParser):
# instantions
# instantions
libraries
=
set
([
dep_file
.
library
])
libraries
=
set
([
dep_file
.
library
])
instance_pattern
=
re
.
compile
(
instance_pattern
=
re
.
compile
(
r"^\s*(\w+)\s*\:\s*(\w+)\s*(?:port\s+map.*?;"
r"^\s*(\w+)\s*:\s*(?:entity\s+\w+\.)?(\w+)\s*(?:port\s+map.*?|generic\s+map.*?)"
,
r"|generic\s+map.*?;|\s*;)"
,
re
.
DOTALL
|
re
.
MULTILINE
|
re
.
IGNORECASE
)
re
.
DOTALL
|
re
.
MULTILINE
|
re
.
IGNORECASE
)
def
do_instance
(
text
):
def
do_instance
(
text
):
...
...
William Kamp
@willkamp
mentioned in commit
e8c1f12c
·
Mar 27, 2019
mentioned in commit
e8c1f12c
mentioned in commit e8c1f12ca59ee01e617a1de248cd9f5e3390760d
Toggle commit list
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