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
b0b79625
Commit
b0b79625
authored
Apr 27, 2021
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
additional dimension query coverage
parent
e6263d6c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
test/basic/dimensions.sv
+7
-0
test/basic/dimensions.v
+19
-0
No files found.
test/basic/dimensions.sv
View file @
b0b79625
...
@@ -41,6 +41,8 @@ module top;
...
@@ -41,6 +41,8 @@ module top;
$
display
(
"args %b"
,
$
size
(
RamPair
,
1'h1
))
;
$
display
(
"args %b"
,
$
size
(
RamPair
,
1'h1
))
;
$
display
(
"args %b"
,
$
size
(
RamPair
,
1'd1
))
;
$
display
(
"args %b"
,
$
size
(
RamPair
,
1'd1
))
;
$
display
(
"args %b"
,
$
size
(
RamPair
,
1
'
dx
))
;
$
display
(
"args %b"
,
$
size
(
RamPair
,
1
'
dx
))
;
$
display
(
"args %b"
,
$
size
(
RamPair
,
$
bits
(
integer
)
-
31
))
;
$
display
(
"args %b"
,
$
size
(
integer
,
$
bits
(
integer
)
-
31
))
;
`EXHAUST
(
Ram
)
;
`EXHAUST
(
Ram
)
;
`EXHAUST
(
Ram
[
0
])
;
`EXHAUST
(
Ram
[
0
])
;
...
@@ -79,5 +81,10 @@ module top;
...
@@ -79,5 +81,10 @@ module top;
`EXHAUST
(
type
(
ints_rev
[
0
:
1
]))
;
`EXHAUST
(
type
(
ints_rev
[
0
:
1
]))
;
`EXHAUST
(
type
(
ints
[
2
:
1
]))
;
`EXHAUST
(
type
(
ints
[
2
:
1
]))
;
`EXHAUST
(
type
(
ints_rev
[
1
:
2
]))
;
`EXHAUST
(
type
(
ints_rev
[
1
:
2
]))
;
`EXHAUST
(
int
)
`EXHAUST
(
shortint
)
`EXHAUST
(
longint
)
`EXHAUST
(
time
)
end
end
endmodule
endmodule
test/basic/dimensions.v
View file @
b0b79625
...
@@ -38,6 +38,8 @@ module top;
...
@@ -38,6 +38,8 @@ module top;
$
display
(
"args %b"
,
2
)
;
$
display
(
"args %b"
,
2
)
;
$
display
(
"args %b"
,
2
)
;
$
display
(
"args %b"
,
2
)
;
$
display
(
"args %b"
,
1'bx
)
;
$
display
(
"args %b"
,
1'bx
)
;
$
display
(
"args %b"
,
2
)
;
$
display
(
"args %b"
,
32
)
;
`EXHAUST
(
Ram
,
`EXHAUST
(
Ram
,
0
,
9
,
0
,
9
,
...
@@ -181,5 +183,22 @@ module top;
...
@@ -181,5 +183,22 @@ module top;
1
,
2
,
1
,
2
,
31
,
0
,
31
,
0
,
2
,
1
,
64
)
2
,
1
,
64
)
`EXHAUST
(
int
,
31
,
0
,
1'bx
,
1'bx
,
1
,
0
,
32
)
`EXHAUST
(
shortint
,
15
,
0
,
1'bx
,
1'bx
,
1
,
0
,
16
)
`EXHAUST
(
longint
,
63
,
0
,
1'bx
,
1'bx
,
1
,
0
,
64
)
`EXHAUST
(
time
,
63
,
0
,
1'bx
,
1'bx
,
1
,
0
,
64
)
end
end
endmodule
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