Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv2v
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
sv2v
Commits
5c0f414d
Commit
5c0f414d
authored
Dec 03, 2020
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
convert wildcard bindings before interfaces
parent
091520e4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
1 deletions
+33
-1
src/Convert.hs
+1
-1
test/basic/interface_star.sv
+21
-0
test/basic/interface_star.v
+11
-0
No files found.
src/Convert.hs
View file @
5c0f414d
...
@@ -75,7 +75,6 @@ phases excludes =
...
@@ -75,7 +75,6 @@ phases excludes =
,
Convert
.
ParamType
.
convert
,
Convert
.
ParamType
.
convert
,
Convert
.
SizeCast
.
convert
,
Convert
.
SizeCast
.
convert
,
Convert
.
Simplify
.
convert
,
Convert
.
Simplify
.
convert
,
Convert
.
StarPort
.
convert
,
Convert
.
Stream
.
convert
,
Convert
.
Stream
.
convert
,
Convert
.
Struct
.
convert
,
Convert
.
Struct
.
convert
,
Convert
.
TFBlock
.
convert
,
Convert
.
TFBlock
.
convert
...
@@ -94,6 +93,7 @@ phases excludes =
...
@@ -94,6 +93,7 @@ phases excludes =
,
Convert
.
Foreach
.
convert
,
Convert
.
Foreach
.
convert
,
Convert
.
StringParam
.
convert
,
Convert
.
StringParam
.
convert
,
selectExclude
(
Job
.
Interface
,
Convert
.
Interface
.
convert
)
,
selectExclude
(
Job
.
Interface
,
Convert
.
Interface
.
convert
)
,
Convert
.
StarPort
.
convert
,
selectExclude
(
Job
.
Always
,
Convert
.
AlwaysKW
.
convert
)
,
selectExclude
(
Job
.
Always
,
Convert
.
AlwaysKW
.
convert
)
,
selectExclude
(
Job
.
Succinct
,
Convert
.
RemoveComments
.
convert
)
,
selectExclude
(
Job
.
Succinct
,
Convert
.
RemoveComments
.
convert
)
]
]
...
...
test/basic/interface_star.sv
0 → 100644
View file @
5c0f414d
interface
Interface
(
data
)
;
input
logic
data
;
initial
#
1
$
display
(
"Interface %b"
,
data
)
;
endinterface
module
Module
(
intf
)
;
Interface
intf
;
initial
#
2
$
display
(
"Module %b"
,
intf
.
data
)
;
endmodule
module
top
;
logic
data
;
Interface
intf
(
.*
)
;
Module
m
(
.*
)
;
initial
begin
data
=
0
;
#
1
;
data
=
1
;
#
1
;
end
endmodule
test/basic/interface_star.v
0 → 100644
View file @
5c0f414d
module
top
;
reg
data
;
initial
#
1
$
display
(
"Interface %b"
,
data
)
;
initial
#
2
$
display
(
"Module %b"
,
data
)
;
initial
begin
data
=
0
;
#
1
;
data
=
1
;
#
1
;
end
endmodule
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