Line Coverage for Module :
prim_sync_reqack_data
| Line No. | Total | Covered | Percent |
TOTAL | | 7 | 7 | 100.00 |
CONT_ASSIGN | 80 | 1 | 1 | 100.00 |
CONT_ASSIGN | 81 | 1 | 1 | 100.00 |
ALWAYS | 83 | 4 | 4 | 100.00 |
CONT_ASSIGN | 89 | 1 | 1 | 100.00 |
79 // Sample the data when seing the REQ/ACK handshake in the DST domain.
80 1/1 assign data_we = dst_req_o & dst_ack_i;
Tests: T1 T2 T3
81 1/1 assign data_d = data_i;
Tests: T1 T2 T3
82 always_ff @(posedge clk_dst_i or negedge rst_dst_ni) begin
83 1/1 if (!rst_dst_ni) begin
Tests: T1 T2 T3
84 1/1 data_q <= '0;
Tests: T1 T2 T3
85 1/1 end else if (data_we) begin
Tests: T1 T2 T3
86 1/1 data_q <= data_d;
Tests: T1 T3 T13
87 end
MISSING_ELSE
88 end
89 1/1 assign data_o = data_q;
Tests: T1 T2 T3
Cond Coverage for Module :
prim_sync_reqack_data
| Total | Covered | Percent |
Conditions | 3 | 3 | 100.00 |
Logical | 3 | 3 | 100.00 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 80
EXPRESSION (dst_req_o & dst_ack_i)
----1---- ----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T19,T43,T16 |
1 | 0 | Covered | T1,T3,T13 |
1 | 1 | Covered | T1,T3,T13 |
Branch Coverage for Module :
prim_sync_reqack_data
| Line No. | Total | Covered | Percent |
Branches |
|
3 |
3 |
100.00 |
IF |
83 |
3 |
3 |
100.00 |
83 if (!rst_dst_ni) begin
-1-
84 data_q <= '0;
==>
85 end else if (data_we) begin
-2-
86 data_q <= data_d;
==>
87 end
MISSING_ELSE
==>
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T3,T13 |
0 |
0 |
Covered |
T1,T2,T3 |