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
4bfcfe4b
Commit
4bfcfe4b
authored
Feb 17, 2021
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
module item attrs aren't mapped onto trace statements
parent
0d095e6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
src/Language/SystemVerilog/Parser/Parse.y
+5
-1
No files found.
src/Language/SystemVerilog/Parser/Parse.y
View file @
4bfcfe4b
...
@@ -689,7 +689,7 @@ NonGenerateModuleItem :: { [ModuleItem] }
...
@@ -689,7 +689,7 @@ NonGenerateModuleItem :: { [ModuleItem] }
|
NonDeclPackageItem
{
map
MIPackageItem
$
1
}
|
NonDeclPackageItem
{
map
MIPackageItem
$
1
}
|
NInputGateKW
NInputGates
";"
{
map
(
\
(
a
,
b
,
c
,
d
)
->
NInputGate
$
1
a
b
c
d
)
$
2
}
|
NInputGateKW
NInputGates
";"
{
map
(
\
(
a
,
b
,
c
,
d
)
->
NInputGate
$
1
a
b
c
d
)
$
2
}
|
NOutputGateKW
NOutputGates
";"
{
map
(
\
(
a
,
b
,
c
,
d
)
->
NOutputGate
$
1
a
b
c
d
)
$
2
}
|
NOutputGateKW
NOutputGates
";"
{
map
(
\
(
a
,
b
,
c
,
d
)
->
NOutputGate
$
1
a
b
c
d
)
$
2
}
|
AttributeInstance
ModuleItem
{
map
(
MIAttr
$
1
)
$
2
}
|
AttributeInstance
ModuleItem
{
map
(
add
MIAttr
$
1
)
$
2
}
|
AssertionItem
{
[
AssertionItem
$
1
]
}
|
AssertionItem
{
[
AssertionItem
$
1
]
}
AssignOption
::
{
AssignOption
}
AssignOption
::
{
AssignOption
}
...
@@ -1469,4 +1469,8 @@ rangeAsExpr :: ExprOrRange -> Expr
...
@@ -1469,4 +1469,8 @@ rangeAsExpr :: ExprOrRange -> Expr
rangeAsExpr
(
Left
e
)
=
e
rangeAsExpr
(
Left
e
)
=
e
rangeAsExpr
(
Right
r
)
=
Range
Nil
NonIndexed
r
rangeAsExpr
(
Right
r
)
=
Range
Nil
NonIndexed
r
addMIAttr
::
Attr
->
ModuleItem
->
ModuleItem
addMIAttr
_
(
item
@
(
MIPackageItem
(
Decl
CommentDecl
{})))
=
item
addMIAttr
attr
item
=
MIAttr
attr
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