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
14644cd1
Commit
14644cd1
authored
Feb 09, 2020
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix output of empty generate loops
parent
8a008c30
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletions
+3
-1
src/Language/SystemVerilog/AST/GenItem.hs
+1
-1
test/basic/for_decl.sv
+1
-0
test/basic/for_decl.v
+1
-0
No files found.
src/Language/SystemVerilog/AST/GenItem.hs
View file @
14644cd1
...
...
@@ -45,7 +45,7 @@ instance Show GenItem where
x1
(
show
e1
)
(
show
c
)
x2
(
show
o2
)
(
show
e2
)
(
show
s
)
(
if
s
==
GenNull
then
"begin end"
else
show
s
)
show
(
GenNull
)
=
";"
show
(
GenModuleItem
item
)
=
show
item
...
...
test/basic/for_decl.sv
View file @
14644cd1
...
...
@@ -69,6 +69,7 @@ module top;
;
for
(
genvar
n
=
0
;
n
<
32
;
n
=
n
+
1
)
assign
c
[
n
]
=
n
&
1
;
for
(
genvar
m
=
0
;
m
<
32
;
m
=
m
+
1
)
begin
end
endgenerate
endmodule
test/basic/for_decl.v
View file @
14644cd1
...
...
@@ -79,6 +79,7 @@ module top;
generate
for
(
n
=
0
;
n
<
32
;
n
=
n
+
1
)
assign
c
[
n
]
=
n
&
1
;
for
(
n
=
0
;
n
<
32
;
n
=
n
+
1
)
begin
end
endgenerate
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