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
4bebb85c
Commit
4bebb85c
authored
Jun 20, 2020
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor interface conversion
parent
aca24ebe
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
+1
-2
src/Convert/Interface.hs
+0
-0
src/Convert/Logic.hs
+1
-2
No files found.
src/Convert/Interface.hs
View file @
4bebb85c
This diff is collapsed.
Click to expand it.
src/Convert/Logic.hs
View file @
4bebb85c
...
@@ -52,8 +52,7 @@ convert =
...
@@ -52,8 +52,7 @@ convert =
lookupDir
portName
=
lookupDir
portName
=
case
lookup
portName
dirs
of
case
lookup
portName
dirs
of
Just
dir
->
dir
Just
dir
->
dir
Nothing
->
error
$
"Could not find dir for port "
++
Nothing
->
Inout
portName
++
" in module "
++
name
collectPortsM
_
=
return
()
collectPortsM
_
=
return
()
collectDeclDirsM
::
ModuleItem
->
Writer
[(
Identifier
,
Direction
)]
()
collectDeclDirsM
::
ModuleItem
->
Writer
[(
Identifier
,
Direction
)]
()
collectDeclDirsM
(
MIPackageItem
(
Decl
(
Variable
dir
t
ident
_
_
)))
=
collectDeclDirsM
(
MIPackageItem
(
Decl
(
Variable
dir
t
ident
_
_
)))
=
...
...
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