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
d36ae19e
Commit
d36ae19e
authored
Apr 23, 2019
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix $bits resolution of params/localparams
parent
925f11cf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
src/Convert/Bits.hs
+6
-4
No files found.
src/Convert/Bits.hs
View file @
d36ae19e
...
...
@@ -32,10 +32,12 @@ convertDescription =
scopedConversion
traverseDeclM
traverseModuleItemM
traverseStmtM
Map
.
empty
traverseDeclM
::
Decl
->
State
Info
Decl
traverseDeclM
(
origDecl
@
(
Variable
_
t
ident
a
_
))
=
do
modify
$
Map
.
insert
ident
(
t
,
a
)
return
origDecl
traverseDeclM
other
=
return
other
traverseDeclM
decl
=
do
case
decl
of
Variable
_
t
ident
a
_
->
modify
$
Map
.
insert
ident
(
t
,
a
)
Parameter
t
ident
_
->
modify
$
Map
.
insert
ident
(
t
,
[]
)
Localparam
t
ident
_
->
modify
$
Map
.
insert
ident
(
t
,
[]
)
return
decl
traverseModuleItemM
::
ModuleItem
->
State
Info
ModuleItem
traverseModuleItemM
item
=
traverseExprsM
traverseExprM
item
...
...
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