Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
René Pihlak
/
IAS0440_code_covergroup
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
830cbff7
authored
Apr 04, 2023
by
René
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: printing 2
parent
86cab66c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
cgroup1.sv
cgroup2.sv
cgroup1.sv
View file @
830cbff7
...
@@ -39,8 +39,8 @@ initial begin
...
@@ -39,8 +39,8 @@ initial begin
wait
(
clk
)
;
wait
(
clk
)
;
$
display
(
"%
3
.2f %%: Coverage (instance)"
,
cg_inst
.
get_inst_coverage
())
;
$
display
(
"%
6
.2f %%: Coverage (instance)"
,
cg_inst
.
get_inst_coverage
())
;
$
display
(
"%
3
.2f %%: Coverage (pb1)"
,
cg_inst
.
pb1
.
get_coverage
())
;
$
display
(
"%
6
.2f %%: Coverage (pb1)"
,
cg_inst
.
pb1
.
get_coverage
())
;
$
stop
;
$
stop
;
...
...
cgroup2.sv
View file @
830cbff7
...
@@ -40,9 +40,9 @@ initial begin
...
@@ -40,9 +40,9 @@ initial begin
wait
(
clk
)
;
wait
(
clk
)
;
$
display
(
"%
3
.2f %%: Coverage (instance)"
,
cg_inst
.
get_inst_coverage
())
;
$
display
(
"%
6
.2f %%: Coverage (instance)"
,
cg_inst
.
get_inst_coverage
())
;
$
display
(
"%
3
.2f %%: Coverage (pb1)"
,
cg_inst
.
pb1
.
get_coverage
())
;
$
display
(
"%
6
.2f %%: Coverage (pb1)"
,
cg_inst
.
pb1
.
get_coverage
())
;
$
display
(
"%
3
.2f %%: Coverage (pb2)"
,
cg_inst
.
pb2
.
get_coverage
())
;
$
display
(
"%
6
.2f %%: Coverage (pb2)"
,
cg_inst
.
pb2
.
get_coverage
())
;
$
stop
;
$
stop
;
...
...
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