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
f4543872
Commit
f4543872
authored
Feb 11, 2024
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
partially bump iverilog
parent
9825bb9b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
13 deletions
+23
-13
.github/workflows/main.yaml
+1
-1
test/core/array.sv
+2
-0
test/core/array.v
+6
-1
test/core/package_enum_3.sv
+2
-0
test/core/package_enum_3.v
+3
-0
test/core/stream.sv
+3
-3
test/core/stream.v
+3
-3
test/core/struct_array.v
+3
-5
No files found.
.github/workflows/main.yaml
View file @
f4543872
...
...
@@ -41,7 +41,7 @@ jobs:
-
macOS-11
needs
:
build
env
:
IVERILOG_REF
:
999bcb69353db5b38aa348f466e51274a6fb99e2
IVERILOG_REF
:
8ee1d56e1acbc130aa63da3c8ef0d535a551cf28
steps
:
-
uses
:
actions/checkout@v1
-
name
:
Install Dependencies (macOS)
...
...
test/core/array.sv
View file @
f4543872
...
...
@@ -5,7 +5,9 @@ endmodule
module
top
;
logic
[
1
:
0
]
a
[
3
]
;
logic
[
1
:
0
]
b
[
3
]
;
logic
start
;
always_comb
a
=
b
;
initial
start
=
0
;
logic
x
;
logic
[
1
:
0
]
c
[
3
]
;
...
...
test/core/array.v
View file @
f4543872
...
...
@@ -5,7 +5,12 @@ endmodule
module
top
;
reg
[
5
:
0
]
a
;
wire
[
5
:
0
]
b
;
always
@
(
*
)
a
=
b
;
reg
start
;
always
@
(
*
)
begin
if
(
start
)
;
a
=
b
;
end
initial
start
=
0
;
reg
x
;
wire
[
5
:
0
]
c
;
...
...
test/core/package_enum_3.sv
View file @
f4543872
...
...
@@ -9,10 +9,12 @@ module top;
import
foo_pkg
::*;
wire
[
2
:
0
]
test
;
reg
start
;
always_comb
begin
case
(
test
)
AccessAck:
$
display
(
"Ack"
)
;
default
:
$
display
(
"default"
)
;
endcase
end
initial
start
=
0
;
endmodule
test/core/package_enum_3.v
View file @
f4543872
...
...
@@ -2,10 +2,13 @@ module top;
localparam
[
2
:
0
]
AccessAck
=
3'd0
;
wire
[
2
:
0
]
test
;
reg
start
;
always
@
(
*
)
begin
if
(
start
)
;
case
(
test
)
AccessAck:
$
display
(
"Ack"
)
;
default
:
$
display
(
"default"
)
;
endcase
end
initial
start
=
0
;
endmodule
test/core/stream.sv
View file @
f4543872
...
...
@@ -126,9 +126,9 @@ module top;
logic
[
31
:
0
]
mux1
,
mux2
,
mux3
,
mux4
,
mux5
,
mux6
;
initial
$
monitor
(
"%b %b %b %b %b %b"
,
mux1
,
mux2
,
mux3
,
mux4
,
mux5
,
mux6
)
;
assign
mux1
=
i
?
{<<
1
{
in
}}
:
32'b0
;
assign
mux2
=
i
?
{>>
1
{
in
}}
:
{<<
1
{
in
}};
assign
mux3
=
i
?
{<<
1
{
in
}}
:
{<<
1
{
m
}};
assign
#
10
mux1
=
i
?
{<<
1
{
in
}}
:
32'b0
;
assign
#
20
mux2
=
i
?
{>>
1
{
in
}}
:
{<<
1
{
in
}};
assign
#
30
mux3
=
i
?
{<<
1
{
in
}}
:
{<<
1
{
m
}};
always
@*
begin
mux4
=
i
?
{<<
1
{
in
}}
:
32'b0
;
mux5
=
i
?
{>>
1
{
in
}}
:
{<<
1
{
in
}};
...
...
test/core/stream.v
View file @
f4543872
...
...
@@ -151,9 +151,9 @@ module top;
wire
[
31
:
0
]
mux1
,
mux2
,
mux3
;
reg
[
31
:
0
]
mux4
,
mux5
,
mux6
;
initial
$
monitor
(
"%b %b %b %b %b %b"
,
mux1
,
mux2
,
mux3
,
mux4
,
mux5
,
mux6
)
;
assign
mux1
=
i
?
reverse
(
in
)
:
32'b0
;
assign
mux2
=
i
?
in
<<
8
:
reverse
(
in
)
;
assign
mux3
=
i
?
reverse
(
in
)
:
reverse
(
m
)
;
assign
#
10
mux1
=
i
?
reverse
(
in
)
:
32'b0
;
assign
#
20
mux2
=
i
?
in
<<
8
:
reverse
(
in
)
;
assign
#
30
mux3
=
i
?
reverse
(
in
)
:
reverse
(
m
)
;
always
@*
begin
mux4
=
i
?
reverse
(
in
)
:
32'b0
;
mux5
=
i
?
in
<<
8
:
reverse
(
in
)
;
...
...
test/core/struct_array.v
View file @
f4543872
...
...
@@ -5,9 +5,7 @@ module Unpacker(in, select, a, b, c);
output
wire
a
;
output
wire
[
3
:
0
]
b
;
output
wire
[
1
:
0
]
c
;
wire
[
6
:
0
]
p
;
assign
p
=
in
[
select
*
7
+:
7
]
;
assign
a
=
p
[
6
:
6
]
;
assign
b
=
p
[
5
:
2
]
;
assign
c
=
p
[
1
:
0
]
;
assign
a
=
in
[
select
*
7
+
6
]
;
assign
b
=
in
[
select
*
7
+
5
-:
4
]
;
assign
c
=
in
[
select
*
7
+
1
-:
2
]
;
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