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
68fa8290
Commit
68fa8290
authored
Apr 17, 2021
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
interface instantiation checks for errant name resolution
parent
a6ebc0e3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
src/Convert/Interface.hs
+0
-0
src/Convert/Scoper.hs
+1
-0
test/error/interface_bad_expr.sv
+8
-0
No files found.
src/Convert/Interface.hs
View file @
68fa8290
This diff is collapsed.
Click to expand it.
src/Convert/Scoper.hs
View file @
68fa8290
...
@@ -54,6 +54,7 @@ module Convert.Scoper
...
@@ -54,6 +54,7 @@ module Convert.Scoper
,
lookupLocalIdentM
,
lookupLocalIdentM
,
scopeModuleItemT
,
scopeModuleItemT
,
Replacements
,
Replacements
,
LookupResult
)
where
)
where
import
Control.Monad.State.Strict
import
Control.Monad.State.Strict
...
...
test/error/interface_bad_expr.sv
0 → 100644
View file @
68fa8290
// pattern: inlining instance "intf" of interface "Interface" would make expression "x" used in "intf" resolvable when it wasn't previously
interface
Interface
;
assign
x
=
1
;
endinterface
module
top
;
wire
x
;
Interface
intf
()
;
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