Module Definition
dashboard | hierarchy | modlist | groups | tests | asserts

Module : i2c_fsm
SCORELINECONDTOGGLEFSMBRANCHASSERT
93.70 98.56 94.63 79.58 95.74 100.00

Source File(s) :
/workspace/default/sim-vcs/../src/lowrisc_ip_i2c_0.1/rtl/i2c_fsm.sv

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.i2c_core.u_i2c_fsm 97.44 98.56 94.63 98.26 95.74 100.00



Module Instance : tb.dut.i2c_core.u_i2c_fsm

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
97.44 98.56 94.63 98.26 95.74 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
97.44 98.56 94.63 98.26 95.74 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
89.44 97.00 77.22 94.12 i2c_core


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
no children

Line Coverage for Module : i2c_fsm
Line No.TotalCoveredPercent
TOTAL55454698.56
ALWAYS1531717100.00
CONT_ASSIGN17711100.00
ALWAYS18033100.00
ALWAYS19399100.00
ALWAYS20977100.00
ALWAYS22266100.00
ALWAYS23355100.00
ALWAYS24077100.00
ALWAYS25355100.00
ALWAYS26788100.00
ALWAYS2798787.50
CONT_ASSIGN29111100.00
CONT_ASSIGN29411100.00
CONT_ASSIGN29711100.00
ALWAYS30199100.00
CONT_ASSIGN31611100.00
CONT_ASSIGN31711100.00
CONT_ASSIGN31811100.00
ALWAYS32277100.00
ALWAYS33355100.00
CONT_ASSIGN34611100.00
CONT_ASSIGN34711100.00
CONT_ASSIGN40511100.00
ALWAYS41066100.00
CONT_ASSIGN42811100.00
ALWAYS43344100.00
CONT_ASSIGN45011100.00
CONT_ASSIGN45411100.00
ALWAYS45818017496.67
CONT_ASSIGN80411100.00
CONT_ASSIGN81311100.00
CONT_ASSIGN81811100.00
ALWAYS82223923899.58
ALWAYS132233100.00
ALWAYS133155100.00
CONT_ASSIGN134011100.00
CONT_ASSIGN134111100.00
CONT_ASSIGN134411100.00
CONT_ASSIGN134711100.00
CONT_ASSIGN135111100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_i2c_0.1/rtl/i2c_fsm.sv' or '../src/lowrisc_ip_i2c_0.1/rtl/i2c_fsm.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
153 1 1
154 1 1
155 1 1
156 1 1
157 1 1
158 1 1
159 1 1
160 1 1
161 1 1
162 1 1
163 1 1
164 1 1
165 1 1
166 1 1
169 1 1
170 1 1
172 1 1
177 1 1
180 1 1
181 1 1
183 1 1
193 1 1
194 1 1
195 1 1
196 1 1
197 1 1
199 1 1
200 1 1
201 1 1
203 1 1
209 1 1
210 1 1
211 1 1
212 1 1
213 1 1
214 1 1
216 1 1
222 1 1
223 1 1
224 1 1
225 1 1
226 1 1
227 1 1
MISSING_ELSE
233 2 2
234 2 2
235 1 1
240 1 1
241 1 1
242 1 1
243 1 1
244 1 1
245 1 1
247 1 1
253 1 1
254 1 1
255 1 1
257 1 1
258 1 1
267 1 1
268 1 1
269 1 1
270 1 1
271 1 1
272 1 1
273 1 1
274 1 1
MISSING_ELSE
279 1 1
280 1 1
281 1 1
282 0 1
283 1 1
284 1 1
285 1 1
286 1 1
MISSING_ELSE
291 1 1
294 1 1
297 1 1
301 1 1
302 1 1
303 1 1
304 1 1
305 1 1
308 2 2
309 1 1
311 1 1
316 1 1
317 1 1
318 1 1
322 1 1
323 1 1
324 1 1
325 1 1
326 1 1
327 2 2
MISSING_ELSE
MISSING_ELSE
333 1 1
334 1 1
335 1 1
336 2 2
MISSING_ELSE
MISSING_ELSE
346 1 1
347 1 1
405 1 1
410 1 1
411 1 1
412 1 1
416 1 1
417 1 1
418 1 1
MISSING_ELSE
428 1 1
433 1 1
434 1 1
435 1 1
436 1 1
MISSING_ELSE
450 1 1
454 1 1
458 1 1
459 1 1
460 1 1
461 1 1
462 1 1
463 1 1
464 1 1
465 1 1
466 1 1
467 1 1
468 1 1
469 1 1
470 1 1
471 1 1
472 1 1
473 1 1
474 1 1
475 1 1
480 1 1
481 1 1
482 0 1
483 0 1
485 1 1
486 1 1
491 1 1
492 1 1
493 1 1
494 2 2
MISSING_ELSE
498 1 1
499 1 1
500 1 1
504 1 1
505 1 1
506 1 1
509 1 1
510 1 1
511 1 1
513 1 1
515 1 1
519 1 1
520 1 1
521 1 1
522 1 1
523 1 2
MISSING_ELSE
524 2 2
MISSING_ELSE
528 1 1
529 1 1
530 1 1
534 1 1
535 1 1
536 1 1
540 1 1
541 1 1
542 1 1
543 2 2
MISSING_ELSE
544 1 1
545 1 2
MISSING_ELSE
546 2 2
MISSING_ELSE
550 1 1
551 1 1
552 1 1
556 1 1
557 1 1
558 1 1
562 1 1
563 1 1
564 1 1
565 1 2
MISSING_ELSE
566 2 2
MISSING_ELSE
570 1 1
571 1 1
572 1 1
573 1 1
574 1 1
MISSING_ELSE
579 1 1
580 1 1
584 2 2
585 2 2
586 1 1
590 1 1
591 2 2
592 2 2
593 1 1
594 1 1
595 1 1
596 1 2
MISSING_ELSE
597 2 2
MISSING_ELSE
601 1 1
602 2 2
603 2 2
604 1 1
605 1 1
609 1 1
610 1 1
611 1 1
615 1 1
616 1 1
617 1 1
621 1 1
622 1 1
623 1 1
624 1 1
628 1 1
634 1 1
638 1 1
639 2 2
640 1 1
641 1 1
645 1 1
649 1 1
650 1 1
654 1 1
658 1 1
659 1 1
663 1 1
664 1 1
668 1 1
669 1 1
672 1 1
674 1 1
675 1 1
MISSING_ELSE
680 1 1
684 1 1
685 1 1
689 1 1
692 1 1
696 1 1
699 1 1
703 1 1
706 1 1
707 1 1
709 1 1
MISSING_ELSE
714 1 1
715 1 1
716 1 1
720 1 1
724 1 1
728 1 1
729 1 1
733 1 1
734 1 1
738 1 1
739 1 1
741 1 1
742 1 1
743 1 1
MISSING_ELSE
749 1 1
750 1 1
752 1 1
753 1 1
757 1 1
758 1 1
762 1 1
763 1 1
764 1 1
768 1 1
769 1 1
772 1 1
773 1 1
795 1 1
797 1 1
798 1 1
800 1 1
MISSING_ELSE
804 1 1
813 1 1
818 1 1
822 1 1
823 1 1
824 1 1
825 1 1
826 1 1
827 1 1
828 1 1
829 1 1
830 1 1
831 1 1
832 1 1
833 1 1
834 1 1
835 1 1
836 1 1
838 1 1
841 2 2
842 1 1
843 2 2
MISSING_ELSE
MISSING_ELSE
849 1 1
850 1 1
851 1 1
852 1 1
853 1 1
MISSING_ELSE
858 1 1
859 1 1
860 1 1
861 1 1
MISSING_ELSE
866 1 1
867 1 1
868 1 1
869 1 1
MISSING_ELSE
874 1 1
875 1 1
876 1 1
877 1 1
878 1 1
879 1 1
881 1 1
882 1 1
MISSING_ELSE
889 1 1
890 1 1
891 1 1
892 1 1
893 1 1
MISSING_ELSE
898 1 1
899 1 1
900 1 1
901 1 1
902 1 1
903 1 1
904 1 1
905 1 1
907 1 1
908 1 1
MISSING_ELSE
915 1 1
916 1 1
917 1 1
918 1 1
MISSING_ELSE
923 1 1
924 1 1
925 1 1
926 1 1
MISSING_ELSE
931 1 1
932 1 1
933 1 1
934 1 1
935 1 1
937 1 1
938 1 1
939 1 1
MISSING_ELSE
945 1 1
946 1 1
947 1 1
948 1 1
MISSING_ELSE
953 1 1
954 1 1
955 1 1
956 1 1
957 1 1
MISSING_ELSE
962 1 1
963 1 1
964 1 1
965 1 1
966 1 1
967 1 1
968 1 1
970 1 1
971 1 1
MISSING_ELSE
978 1 1
979 1 1
980 1 1
981 1 1
982 1 1
MISSING_ELSE
987 1 1
988 1 1
989 1 1
990 1 1
991 1 1
MISSING_ELSE
996 1 1
997 1 1
998 1 1
999 1 1
1000 1 1
1001 1 1
1002 1 1
1003 1 1
1005 1 1
1006 1 1
1007 1 1
1010 1 1
1011 1 1
1012 1 1
1013 1 1
MISSING_ELSE
1020 1 1
1021 1 1
1022 1 1
1023 1 1
MISSING_ELSE
1028 1 1
1029 1 1
1030 1 1
1031 1 1
1032 1 1
MISSING_ELSE
1037 1 1
1038 1 1
1039 1 1
1040 1 1
1041 1 1
1042 1 1
1043 1 1
1045 1 1
1046 1 1
1047 1 1
MISSING_ELSE
1054 1 1
1055 1 1
1056 1 1
1057 1 1
1058 1 1
1059 1 1
1060 1 1
1061 1 1
1062 1 1
1064 1 1
1065 1 1
1066 1 1
1067 1 1
1073 1 1
1074 1 1
1075 1 1
1076 1 1
1077 1 1
1078 1 1
1079 1 1
1080 1 1
1082 1 1
1083 1 1
1084 1 1
1090 1 1
1092 1 1
1093 1 1
MISSING_ELSE
1099 1 1
1100 1 1
1101 1 1
1102 1 1
1103 1 1
1104 1 1
MISSING_ELSE
1110 1 1
1111 1 1
MISSING_ELSE
1116 2 2
MISSING_ELSE
1120 1 1
1121 1 1
1122 1 1
1123 1 1
MISSING_ELSE
1128 1 1
1132 1 1
1133 1 1
1134 1 1
1135 1 1
1136 1 1
1137 1 1
==> MISSING_ELSE
MISSING_ELSE
1143 1 1
1144 1 1
1146 1 1
1147 1 1
1148 1 1
1153 2 2
MISSING_ELSE
1157 1 1
1158 1 1
1159 1 1
1160 1 1
MISSING_ELSE
1165 1 1
1166 1 1
1167 1 1
1169 1 1
1170 1 1
1171 1 1
MISSING_ELSE
1178 1 1
1179 1 1
MISSING_ELSE
1186 1 1
1188 1 1
1189 1 1
1192 1 1
MISSING_ELSE
1201 1 1
1206 1 1
1207 1 1
1208 1 1
1209 1 1
MISSING_ELSE
1215 1 1
1216 1 1
MISSING_ELSE
1221 2 2
MISSING_ELSE
1225 1 1
1226 1 1
1227 1 1
1228 1 1
MISSING_ELSE
1233 1 1
1236 1 1
MISSING_ELSE
1242 1 1
1248 1 1
MISSING_ELSE
1254 1 1
1255 1 1
1262 1 1
1263 1 1
1264 1 1
1267 1 1
MISSING_ELSE
1271 1 1
1272 1 1
MISSING_ELSE
1279 2 2
MISSING_ELSE
1303 1 1
1312 0 1
1313 1 1
1314 1 1
1315 1 1
1316 1 1
MISSING_ELSE
1322 1 1
1323 1 1
1325 1 1
1331 1 1
1332 1 1
1333 1 1
1335 1 1
1336 1 1
1340 1 1
1341 1 1
1344 1 1
1347 1 1
1351 1 1


Cond Coverage for Module : i2c_fsm
TotalCoveredPercent
Conditions24222994.63
Logical24222994.63
Non-Logical00
Event00

 LINE       169
 EXPRESSION ((stretch_idle_cnt == '0) || target_enable_i)
             ------------1-----------    -------2-------
-1--2-StatusTests
00CoveredT1,T10,T11
01CoveredT7,T8,T9
10CoveredT1,T2,T3

 LINE       169
 SUB-EXPRESSION (stretch_idle_cnt == '0)
                ------------1-----------
-1-StatusTests
0CoveredT1,T10,T7
1CoveredT1,T2,T3

 LINE       195
 EXPRESSION (stretch_en && scl_d && ((!scl_i)))
             -----1----    --2--    -----3----
-1--2--3-StatusTests
011CoveredT1,T10,T7
101Not Covered
110CoveredT1,T10,T11
111CoveredT1,T10,T11

 LINE       197
 EXPRESSION (((!target_idle_o)) && event_host_timeout_o)
             ---------1--------    ----------2---------
-1--2-StatusTests
01Not Covered
10CoveredT7,T8,T9
11CoveredT16,T30,T31

 LINE       200
 EXPRESSION (((!target_idle_o)) && scl_i)
             ---------1--------    --2--
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT7,T8,T9
11CoveredT7,T8,T9

 LINE       234
 EXPRESSION (fmt_byte_i == '0)
            ---------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT11,T32,T33

 LINE       269
 EXPRESSION (trans_started && ((!host_enable_i)))
             ------1------    ---------2--------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T10,T11
11CoveredT34,T35,T36

 LINE       281
 EXPRESSION (pend_restart && ((!host_enable_i)))
             ------1-----    ---------2--------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT11,T37,T38
11Not Covered

 LINE       291
 EXPRESSION (target_enable_i && ((scl_i_q && scl_i) & (sda_i_q && ((!sda_i)))))
             -------1-------    -----------------------2----------------------
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT7,T8,T9
11CoveredT7,T8,T9

 LINE       291
 SUB-EXPRESSION ((scl_i_q && scl_i) & (sda_i_q && ((!sda_i))))
                 ---------1--------   -----------2-----------
-1--2-StatusTests
01CoveredT1,T10,T7
10CoveredT1,T2,T3
11CoveredT1,T10,T7

 LINE       291
 SUB-EXPRESSION (scl_i_q && scl_i)
                 ---1---    --2--
-1--2-StatusTests
01CoveredT1,T10,T7
10CoveredT1,T10,T7
11CoveredT1,T2,T3

 LINE       291
 SUB-EXPRESSION (sda_i_q && ((!sda_i)))
                 ---1---    -----2----
-1--2-StatusTests
01CoveredT1,T10,T7
10CoveredT1,T2,T3
11CoveredT1,T10,T7

 LINE       294
 EXPRESSION (target_enable_i && ((scl_i_q && scl_i) & (((!sda_i_q)) && sda_i)))
             -------1-------    -----------------------2----------------------
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT7,T8,T9
11CoveredT7,T8,T9

 LINE       294
 SUB-EXPRESSION ((scl_i_q && scl_i) & (((!sda_i_q)) && sda_i))
                 ---------1--------   -----------2-----------
-1--2-StatusTests
01CoveredT1,T10,T7
10CoveredT1,T2,T3
11CoveredT1,T10,T7

 LINE       294
 SUB-EXPRESSION (scl_i_q && scl_i)
                 ---1---    --2--
-1--2-StatusTests
01CoveredT1,T10,T7
10CoveredT1,T10,T7
11CoveredT1,T2,T3

 LINE       294
 SUB-EXPRESSION (((!sda_i_q)) && sda_i)
                 ------1-----    --2--
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T10,T7
11CoveredT1,T10,T7

 LINE       297
 EXPRESSION (bit_idx == 4'd8)
            --------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T10,T7

 LINE       305
 EXPRESSION (scl_i_q && ((!scl_i)))
             ---1---    -----2----
-1--2-StatusTests
01CoveredT1,T10,T7
10CoveredT1,T2,T3
11CoveredT1,T10,T7

 LINE       308
 EXPRESSION (input_byte_clr || bit_ack)
             -------1------    ---2---
-1--2-StatusTests
00CoveredT1,T10,T7
01CoveredT1,T10,T7
10CoveredT7,T8,T9

 LINE       316
 EXPRESSION ((input_byte[7:1] & target_mask0_i) == target_address0_i)
            ----------------------------1----------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       317
 EXPRESSION ((input_byte[7:1] & target_mask1_i) == target_address1_i)
            ----------------------------1----------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       318
 EXPRESSION (address0_match || address1_match)
             -------1------    -------2------
-1--2-StatusTests
00CoveredT7,T8,T9
01CoveredT7,T8,T9
10CoveredT7,T8,T9

 LINE       326
 EXPRESSION (((!scl_i_q)) && scl_i)
             ------1-----    --2--
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T10,T7
11CoveredT1,T10,T7

 LINE       335
 EXPRESSION (((!scl_i_q)) && scl_i)
             ------1-----    --2--
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T10,T7
11CoveredT1,T10,T7

 LINE       412
 EXPRESSION (((!en_sda_interf_det)) && ((|sda_rise_cnt)))
             -----------1----------    --------2--------
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT1,T2,T3
11CoveredT1,T10,T11

 LINE       417
 EXPRESSION (en_sda_interf_det && (sda_rise_cnt < sda_rise_latency))
             --------1--------    ----------------2----------------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T10,T11
11CoveredT1,T10,T11

 LINE       428
 EXPRESSION ((host_idle_o & host_enable_i & ((!sda_i))) | ((sda_rise_cnt == sda_rise_latency) & sda_o & ((!sda_i))))
             ---------------------1--------------------   ----------------------------2----------------------------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T10,T11
10CoveredT1,T10,T11

 LINE       428
 SUB-EXPRESSION (host_idle_o & host_enable_i & ((!sda_i)))
                 -----1-----   ------2------   -----3----
-1--2--3-StatusTests
011CoveredT1,T10,T11
101CoveredT7,T8,T9
110CoveredT1,T10,T11
111CoveredT1,T10,T11

 LINE       428
 SUB-EXPRESSION ((sda_rise_cnt == sda_rise_latency) & sda_o & ((!sda_i)))
                 -----------------1----------------   --2--   -----3----
-1--2--3-StatusTests
011CoveredT1,T10,T7
101CoveredT1,T10,T11
110CoveredT1,T10,T11
111CoveredT1,T10,T11

 LINE       428
 SUB-EXPRESSION (sda_rise_cnt == sda_rise_latency)
                -----------------1----------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T10,T11

 LINE       435
 EXPRESSION (bit_ack && address_match)
             ---1---    ------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT7,T8,T9
11CoveredT1,T10,T7

 LINE       454
 EXPRESSION (((!target_idle)) & rw_bit_q & stop_det & ((!expect_stop)))
             --------1-------   ----2---   ----3---   --------4-------
-1--2--3--4-StatusTests
0111CoveredT9,T39,T40
1011CoveredT7,T8,T9
1101CoveredT7,T9,T15
1110CoveredT7,T9,T15
1111CoveredT16,T41,T42

 LINE       481
 EXPRESSION (host_enable_i && trans_started)
             ------1------    ------2------
-1--2-StatusTests
01Not Covered
10CoveredT1,T10,T11
11Not Covered

 LINE       523
 EXPRESSION (scl_i_q && ((!scl_i)))
             ---1---    -----2----
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT1,T10,T11
11Not Covered

 LINE       524
 EXPRESSION (sda_i_q != sda_i)
            ---------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT11,T12,T43

 LINE       543
 EXPRESSION (((!scl_i_q)) && scl_i && sda_i && ((!fmt_flag_nak_ok_i)))
             ------1-----    --2--    --3--    -----------4----------
-1--2--3--4-StatusTests
0111CoveredT44,T45,T46
1011CoveredT1,T10,T11
1101CoveredT1,T10,T11
1110CoveredT47,T48,T49
1111CoveredT44,T45,T50

 LINE       545
 EXPRESSION (scl_i_q && ((!scl_i)))
             ---1---    -----2----
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT1,T10,T11
11Not Covered

 LINE       546
 EXPRESSION (sda_i_q != sda_i)
            ---------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       565
 EXPRESSION (scl_i_q && ((!scl_i)))
             ---1---    -----2----
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT1,T10,T11
11Not Covered

 LINE       566
 EXPRESSION (sda_i_q != sda_i)
            ---------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       572
 EXPRESSION ((bit_index == '0) && (tcount_q == 20'b1))
             --------1--------    ---------2---------
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT1,T10,T11
11CoveredT1,T10,T11

 LINE       572
 SUB-EXPRESSION (bit_index == '0)
                --------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       572
 SUB-EXPRESSION (tcount_q == 20'b1)
                ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       585
 EXPRESSION (byte_index == 9'b1)
            ----------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       592
 EXPRESSION (byte_index == 9'b1)
            ----------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       596
 EXPRESSION (scl_i_q && ((!scl_i)))
             ---1---    -----2----
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT1,T10,T11
11Not Covered

 LINE       597
 EXPRESSION (sda_i_q != sda_i)
            ---------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT11,T12,T51

 LINE       603
 EXPRESSION (byte_index == 9'b1)
            ----------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       634
 EXPRESSION (fmt_flag_start_before_i && ((!trans_started)))
             -----------1-----------    ---------2--------
-1--2-StatusTests
01CoveredT52,T53,T54
10CoveredT11,T37,T38
11CoveredT1,T10,T11

 LINE       672
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT8,T9,T15
1CoveredT7,T8,T9

 LINE       741
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT8,T9,T15
1CoveredT7,T8,T9

 LINE       795
 EXPRESSION (start_det || stop_det)
             ----1----    ----2---
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT7,T8,T9
10CoveredT7,T8,T9

 LINE       798
 EXPRESSION (start_det ? ({AcqRestart, input_byte}) : ({AcqStop, input_byte}))
             ----1----
-1-StatusTests
0CoveredT7,T8,T9
1CoveredT7,T8,T9

 LINE       813
 EXPRESSION (((~tx_fifo_rvalid_i)) | (acq_fifo_depth_i > 7'(1'b1)))
             ----------1----------   --------------2--------------
-1--2-StatusTests
00CoveredT7,T9,T15
01CoveredT7,T9,T15
10CoveredT1,T2,T3

 LINE       841
 EXPRESSION (((!host_enable_i)) && ((!target_enable_i)))
             ---------1--------    ----------2---------
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT7,T8,T9
11CoveredT1,T2,T3

 LINE       849
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       858
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       866
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       875
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       890
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       899
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       903
 EXPRESSION (bit_index == '0)
            --------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       915
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       923
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       931
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       945
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       953
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       962
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       965
 EXPRESSION (bit_index == '0)
            --------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       979
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       988
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       997
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       999
 EXPRESSION (byte_index == 9'b1)
            ----------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       1020
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       1028
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       1038
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       1059
 EXPRESSION (fmt_flag_start_before_i && ((!trans_started)))
             -----------1-----------    ---------2--------
-1--2-StatusTests
01CoveredT52,T53,T54
10CoveredT11,T37,T38
11CoveredT1,T10,T11

 LINE       1077
 EXPRESSION (fmt_fifo_depth_i == 7'b1)
            -------------1------------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       1090
 EXPRESSION (scl_i_q && ((!scl_i)))
             ---1---    -----2----
-1--2-StatusTests
01CoveredT55,T56
10CoveredT7,T8,T9
11CoveredT7,T8,T9

 LINE       1099
 EXPRESSION (bit_ack && address_match)
             ---1---    ------2------
-1--2-StatusTests
01CoveredT7,T8,T9
10CoveredT9,T39,T40
11CoveredT7,T8,T9

 LINE       1103
 EXPRESSION (bit_ack && ((!address_match)))
             ---1---    ---------2--------
-1--2-StatusTests
01CoveredT7,T8,T9
10Not Covered
11CoveredT9,T39,T40

 LINE       1110
 EXPRESSION ((tcount_q == 20'b1) && ((!scl_i)))
             ---------1---------    -----2----
-1--2-StatusTests
01CoveredT8,T9,T15
10Not Covered
11CoveredT7,T8,T9

 LINE       1110
 SUB-EXPRESSION (tcount_q == 20'b1)
                ---------1---------
-1-StatusTests
0CoveredT8,T9,T15
1CoveredT7,T8,T9

 LINE       1128
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT8,T9,T15
1CoveredT7,T8,T9

 LINE       1165
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT9,T15,T18
1CoveredT7,T9,T15

 LINE       1215
 EXPRESSION ((tcount_q == 20'b1) && ((!scl_i)))
             ---------1---------    -----2----
-1--2-StatusTests
01CoveredT8,T9,T15
10Not Covered
11CoveredT7,T8,T9

 LINE       1215
 SUB-EXPRESSION (tcount_q == 20'b1)
                ---------1---------
-1-StatusTests
0CoveredT8,T9,T15
1CoveredT7,T8,T9

 LINE       1233
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT8,T9,T15
1CoveredT7,T8,T9

 LINE       1236
 EXPRESSION (acq_fifo_wready ? AcquireByte : StretchAcqFull)
             -------1-------
-1-StatusTests
0CoveredT8,T16,T57
1CoveredT7,T8,T9

 LINE       1248
 EXPRESSION (rw_bit_q ? StretchTx : AcquireByte)
             ----1---
-1-StatusTests
0CoveredT8,T16,T57
1CoveredT58,T59,T60

 LINE       1271
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT7,T9,T15
1CoveredT7,T9,T15

 LINE       1303
 EXPRESSION (((!target_idle)) && ((!target_enable_i)))
             --------1-------    ----------2---------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT7,T8,T9
11Not Covered

 LINE       1344
 EXPRESSION (((!target_idle_o)) & (stretch_idle_cnt > host_timeout_i))
             ---------1--------   -----------------2-----------------
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT7,T8,T9
11CoveredT16,T30,T31

 LINE       1347
 EXPRESSION (stretch_en && (stretch_idle_cnt[30:0] > stretch_timeout_i) && timeout_enable_i)
             -----1----    ----------------------2---------------------    --------3-------
-1--2--3-StatusTests
011CoveredT7,T15,T19
101CoveredT1,T10,T11
110CoveredT1,T10,T11
111CoveredT1,T10,T11

FSM Coverage for Module : i2c_fsm
Summary for FSM :: state_q
TotalCoveredPercent
States 43 43 100.00 (Not included in score)
Transitions 142 113 79.58
Sequences 0 0

State, Transition and Sequence Details for FSM :: state_q
statesLine No.CoveredTests
AcquireAckHold 1226 Covered T20
AcquireAckPulse 1221 Covered T20
AcquireAckSetup 1216 Covered T20
AcquireAckWait 1207 Covered T20
AcquireByte 1137 Covered T20
AcquireStart 1314 Covered T20
Active 843 Covered T20
AddrAckHold 1121 Covered T20
AddrAckPulse 1116 Covered T20
AddrAckSetup 1111 Covered T20
AddrAckWait 1100 Covered T20
AddrRead 1092 Covered T20
ClockLow 867 Covered T20
ClockLowAck 904 Covered T20
ClockPulse 881 Covered T20
ClockPulseAck 916 Covered T20
ClockStart 859 Covered T20
ClockStop 933 Covered T20
HoldBit 891 Covered T20
HoldDevAck 924 Covered T20
HoldStart 850 Covered T20
HoldStop 1029 Covered T20
HostClockLowAck 966 Covered T20
HostClockPulseAck 980 Covered T20
HostHoldBitAck 989 Covered T20
Idle 841 Covered T20
PopFmtFifo 937 Covered T20
ReadClockLow 970 Covered T20
ReadClockPulse 946 Covered T20
ReadHoldBit 954 Covered T20
SetupStart 878 Covered T20
SetupStop 1021 Covered T20
StretchAcqFull 1236 Covered T20
StretchAddr 1133 Covered T20
StretchTx 1144 Covered T20
StretchTxSetup 1262 Covered T20
TransmitAck 1167 Covered T20
TransmitAckPulse 1179 Covered T20
TransmitHold 1158 Covered T20
TransmitPulse 1153 Covered T20
TransmitSetup 1146 Covered T20
TransmitWait 1135 Covered T20
WaitForStop 1192 Covered T20


transitionsLine No.CoveredTests
AcquireAckHold->AcquireByte 1236 Covered T20
AcquireAckHold->AcquireStart 1314 Covered T20
AcquireAckHold->Idle 1312 Covered T20
AcquireAckHold->StretchAcqFull 1236 Covered T20
AcquireAckPulse->AcquireAckHold 1226 Covered T20
AcquireAckPulse->AcquireStart 1314 Covered T20
AcquireAckPulse->Idle 1312 Covered T20
AcquireAckSetup->AcquireAckPulse 1221 Covered T20
AcquireAckSetup->AcquireStart 1314 Covered T20
AcquireAckSetup->Idle 1312 Covered T20
AcquireAckWait->AcquireAckSetup 1216 Covered T20
AcquireAckWait->AcquireStart 1314 Covered T20
AcquireAckWait->Idle 1312 Covered T20
AcquireByte->AcquireAckWait 1207 Covered T20
AcquireByte->AcquireStart 1314 Covered T20
AcquireByte->Idle 1312 Covered T20
AcquireStart->AddrRead 1092 Covered T20
AcquireStart->Idle 1312 Covered T20
Active->AcquireStart 1314 Not Covered
Active->ClockLow 1064 Covered T20
Active->Idle 1312 Not Covered
Active->ReadClockLow 1056 Covered T20
Active->SetupStart 1060 Covered T20
AddrAckHold->AcquireByte 1137 Covered T20
AddrAckHold->AcquireStart 1314 Covered T20
AddrAckHold->Idle 1312 Covered T20
AddrAckHold->StretchAddr 1133 Covered T20
AddrAckHold->TransmitWait 1135 Covered T20
AddrAckPulse->AcquireStart 1314 Covered T20
AddrAckPulse->AddrAckHold 1121 Covered T20
AddrAckPulse->Idle 1312 Covered T20
AddrAckSetup->AcquireStart 1314 Covered T20
AddrAckSetup->AddrAckPulse 1116 Covered T20
AddrAckSetup->Idle 1312 Covered T20
AddrAckWait->AcquireStart 1314 Covered T20
AddrAckWait->AddrAckSetup 1111 Covered T20
AddrAckWait->Idle 1312 Covered T20
AddrRead->AcquireStart 1314 Covered T20
AddrRead->AddrAckWait 1100 Covered T20
AddrRead->Idle 1104 Covered T20
ClockLow->AcquireStart 1314 Not Covered
ClockLow->ClockPulse 881 Covered T20
ClockLow->Idle 1312 Covered T20
ClockLow->SetupStart 878 Covered T20
ClockLowAck->AcquireStart 1314 Not Covered
ClockLowAck->ClockPulseAck 916 Covered T20
ClockLowAck->Idle 1312 Not Covered
ClockPulse->AcquireStart 1314 Not Covered
ClockPulse->HoldBit 891 Covered T20
ClockPulse->Idle 1312 Covered T20
ClockPulseAck->AcquireStart 1314 Not Covered
ClockPulseAck->HoldDevAck 924 Covered T20
ClockPulseAck->Idle 1312 Covered T20
ClockStart->AcquireStart 1314 Not Covered
ClockStart->ClockLow 867 Covered T20
ClockStart->Idle 1312 Not Covered
ClockStop->AcquireStart 1314 Not Covered
ClockStop->Idle 1312 Not Covered
ClockStop->SetupStop 1021 Covered T20
HoldBit->AcquireStart 1314 Not Covered
HoldBit->ClockLow 907 Covered T20
HoldBit->ClockLowAck 904 Covered T20
HoldBit->Idle 1312 Covered T20
HoldDevAck->AcquireStart 1314 Not Covered
HoldDevAck->ClockStop 933 Covered T20
HoldDevAck->Idle 1312 Not Covered
HoldDevAck->PopFmtFifo 937 Covered T20
HoldStart->AcquireStart 1314 Not Covered
HoldStart->ClockStart 859 Covered T20
HoldStart->Idle 1312 Not Covered
HoldStop->AcquireStart 1314 Not Covered
HoldStop->Idle 1041 Covered T20
HoldStop->PopFmtFifo 1045 Covered T20
HostClockLowAck->AcquireStart 1314 Not Covered
HostClockLowAck->HostClockPulseAck 980 Covered T20
HostClockLowAck->Idle 1312 Not Covered
HostClockPulseAck->AcquireStart 1314 Not Covered
HostClockPulseAck->HostHoldBitAck 989 Covered T20
HostClockPulseAck->Idle 1312 Covered T20
HostHoldBitAck->AcquireStart 1314 Not Covered
HostHoldBitAck->ClockStop 1001 Covered T20
HostHoldBitAck->Idle 1312 Covered T20
HostHoldBitAck->PopFmtFifo 1005 Covered T20
HostHoldBitAck->ReadClockLow 1010 Covered T20
Idle->AcquireStart 1314 Covered T20
Idle->Active 843 Covered T20
PopFmtFifo->AcquireStart 1314 Not Covered
PopFmtFifo->Active 1082 Covered T20
PopFmtFifo->ClockStop 1074 Covered T20
PopFmtFifo->Idle 1078 Covered T20
ReadClockLow->AcquireStart 1314 Not Covered
ReadClockLow->Idle 1312 Covered T20
ReadClockLow->ReadClockPulse 946 Covered T20
ReadClockPulse->AcquireStart 1314 Not Covered
ReadClockPulse->Idle 1312 Covered T20
ReadClockPulse->ReadHoldBit 954 Covered T20
ReadHoldBit->AcquireStart 1314 Not Covered
ReadHoldBit->HostClockLowAck 966 Covered T20
ReadHoldBit->Idle 1312 Covered T20
ReadHoldBit->ReadClockLow 970 Covered T20
SetupStart->AcquireStart 1314 Not Covered
SetupStart->HoldStart 850 Covered T20
SetupStart->Idle 1312 Not Covered
SetupStop->AcquireStart 1314 Not Covered
SetupStop->HoldStop 1029 Covered T20
SetupStop->Idle 1312 Not Covered
StretchAcqFull->AcquireByte 1279 Covered T20
StretchAcqFull->AcquireStart 1314 Covered T20
StretchAcqFull->Idle 1312 Covered T20
StretchAddr->AcquireByte 1248 Covered T20
StretchAddr->AcquireStart 1314 Covered T20
StretchAddr->Idle 1312 Covered T20
StretchAddr->StretchTx 1248 Covered T20
StretchTx->AcquireStart 1314 Covered T20
StretchTx->Idle 1312 Covered T20
StretchTx->StretchTxSetup 1262 Covered T20
StretchTxSetup->AcquireStart 1314 Covered T20
StretchTxSetup->Idle 1312 Covered T20
StretchTxSetup->TransmitSetup 1272 Covered T20
TransmitAck->AcquireStart 1314 Covered T20
TransmitAck->Idle 1312 Covered T20
TransmitAck->TransmitAckPulse 1179 Covered T20
TransmitAckPulse->AcquireStart 1314 Covered T20
TransmitAckPulse->Idle 1312 Covered T20
TransmitAckPulse->TransmitWait 1189 Covered T20
TransmitAckPulse->WaitForStop 1192 Covered T20
TransmitHold->AcquireStart 1314 Covered T20
TransmitHold->Idle 1312 Covered T20
TransmitHold->TransmitAck 1167 Covered T20
TransmitHold->TransmitSetup 1171 Covered T20
TransmitPulse->AcquireStart 1314 Covered T20
TransmitPulse->Idle 1312 Covered T20
TransmitPulse->TransmitHold 1158 Covered T20
TransmitSetup->AcquireStart 1314 Covered T20
TransmitSetup->Idle 1312 Covered T20
TransmitSetup->TransmitPulse 1153 Covered T20
TransmitWait->AcquireStart 1314 Covered T20
TransmitWait->Idle 1312 Covered T20
TransmitWait->StretchTx 1144 Covered T20
TransmitWait->TransmitSetup 1146 Covered T20
WaitForStop->AcquireStart 1314 Covered T20
WaitForStop->Idle 1312 Covered T20



Branch Coverage for Module : i2c_fsm
Line No.TotalCoveredPercent
Branches 258 247 95.74
IF 154 14 13 92.86
IF 180 2 2 100.00
IF 193 5 5 100.00
IF 209 4 4 100.00
IF 222 4 4 100.00
IF 233 3 3 100.00
IF 240 4 4 100.00
IF 253 2 2 100.00
IF 267 5 5 100.00
IF 279 5 4 80.00
IF 301 5 5 100.00
IF 322 5 5 100.00
IF 333 4 4 100.00
IF 410 4 4 100.00
IF 433 3 3 100.00
CASE 475 73 67 91.78
IF 795 3 3 100.00
CASE 838 105 103 98.10
IF 1303 4 3 75.00
IF 1322 2 2 100.00
IF 1331 2 2 100.00

WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_i2c_0.1/rtl/i2c_fsm.sv' or '../src/lowrisc_ip_i2c_0.1/rtl/i2c_fsm.sv was not found/opened, so annotated branch coverage report could not be generated.

LineNo. Expression -1-: 154 if (load_tcount) -2-: 155 case (tcount_sel) -3-: 169 if (((stretch_idle_cnt == '0) || target_enable_i))

Branches:
-1--2--3-StatusTests
1 tSetupStart - Covered T1,T10,T11
1 tHoldStart - Covered T1,T10,T11
1 tSetupData - Covered T7,T9,T15
1 tClockStart - Covered T1,T10,T7
1 tClockLow - Covered T1,T10,T11
1 tClockPulse - Covered T1,T10,T11
1 tHoldBit - Covered T1,T10,T11
1 tClockStop - Covered T1,T10,T11
1 tSetupStop - Covered T1,T10,T11
1 tHoldStop - Covered T1,T10,T11
1 tNoDelay - Covered T1,T10,T11
1 default - Not Covered
0 - 1 Covered T1,T2,T3
0 - 0 Covered T1,T10,T11


LineNo. Expression -1-: 180 if ((!rst_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 193 if ((!rst_ni)) -2-: 195 if (((stretch_en && scl_d) && (!scl_i))) -3-: 197 if (((!target_idle_o) && event_host_timeout_o)) -4-: 200 if (((!target_idle_o) && scl_i))

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Covered T1,T10,T11
0 0 1 - Covered T16,T30,T31
0 0 0 1 Covered T7,T8,T9
0 0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 209 if ((!rst_ni)) -2-: 211 if (bit_clr) -3-: 213 if (bit_decr)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T10,T11
0 0 1 Covered T1,T10,T11
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 222 if ((!rst_ni)) -2-: 224 if (read_byte_clr) -3-: 226 if (shift_data_en)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T10,T11
0 0 1 Covered T1,T10,T11
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 233 if ((!fmt_flag_read_bytes_i)) -2-: 234 if ((fmt_byte_i == '0))

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T11,T32,T33
0 0 Covered T1,T10,T11


LineNo. Expression -1-: 240 if ((!rst_ni)) -2-: 242 if (byte_clr) -3-: 244 if (byte_decr)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T10,T11
0 0 1 Covered T1,T10,T11
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 253 if ((!rst_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 267 if ((!rst_ni)) -2-: 269 if ((trans_started && (!host_enable_i))) -3-: 271 if (log_start) -4-: 273 if (log_stop)

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Covered T34,T35,T36
0 0 1 - Covered T1,T10,T11
0 0 0 1 Covered T1,T10,T11
0 0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 279 if ((!rst_ni)) -2-: 281 if ((pend_restart && (!host_enable_i))) -3-: 283 if (req_restart) -4-: 285 if (log_start)

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Not Covered
0 0 1 - Covered T11,T37,T38
0 0 0 1 Covered T1,T10,T11
0 0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 301 if ((!rst_ni)) -2-: 303 if (start_det) -3-: 305 if ((scl_i_q && (!scl_i))) -4-: 308 if ((input_byte_clr || bit_ack))

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Covered T7,T8,T9
0 0 1 1 Covered T1,T10,T7
0 0 1 0 Covered T1,T10,T7
0 0 0 - Covered T1,T2,T3


LineNo. Expression -1-: 322 if ((!rst_ni)) -2-: 324 if (input_byte_clr) -3-: 326 if (((!scl_i_q) && scl_i)) -4-: 327 if ((!bit_ack))

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Covered T7,T8,T9
0 0 1 1 Covered T1,T10,T7
0 0 1 0 Covered T1,T10,T7
0 0 0 - Covered T1,T2,T3


LineNo. Expression -1-: 333 if ((!rst_ni)) -2-: 335 if (((!scl_i_q) && scl_i)) -3-: 336 if (bit_ack)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 1 Covered T1,T10,T7
0 1 0 Covered T1,T10,T7
0 0 - Covered T1,T2,T3


LineNo. Expression -1-: 410 if ((!rst_ni)) -2-: 412 if (((!en_sda_interf_det) && (|sda_rise_cnt))) -3-: 417 if ((en_sda_interf_det && (sda_rise_cnt < sda_rise_latency)))

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T10,T11
0 0 1 Covered T1,T10,T11
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 433 if ((!rst_ni)) -2-: 435 if ((bit_ack && address_match))

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T1,T10,T7
0 0 Covered T1,T2,T3


LineNo. Expression -1-: 475 case (state_q) -2-: 481 if ((host_enable_i && trans_started)) -3-: 494 if (log_start) -4-: 510 if (pend_restart) -5-: 523 if ((scl_i_q && (!scl_i))) -6-: 524 if ((sda_i_q != sda_i)) -7-: 543 if (((((!scl_i_q) && scl_i) && sda_i) && (!fmt_flag_nak_ok_i))) -8-: 545 if ((scl_i_q && (!scl_i))) -9-: 546 if ((sda_i_q != sda_i)) -10-: 565 if ((scl_i_q && (!scl_i))) -11-: 566 if ((sda_i_q != sda_i)) -12-: 572 if (((bit_index == '0) && (tcount_q == 20'b1))) -13-: 584 if (fmt_flag_read_continue_i) -14-: 585 if ((byte_index == 9'b1)) -15-: 591 if (fmt_flag_read_continue_i) -16-: 592 if ((byte_index == 9'b1)) -17-: 596 if ((scl_i_q && (!scl_i))) -18-: 597 if ((sda_i_q != sda_i)) -19-: 602 if (fmt_flag_read_continue_i) -20-: 603 if ((byte_index == 9'b1)) -21-: 639 if (fmt_flag_stop_after_i) -22-: 672 if ((tcount_q == 20'b1)) -23-: 707 if ((!scl_i)) -24-: 741 if ((tcount_q == 20'b1))

Branches:
-1--2--3--4--5--6--7--8--9--10--11--12--13--14--15--16--17--18--19--20--21--22--23--24-StatusTests
Idle 1 - - - - - - - - - - - - - - - - - - - - - - Not Covered
Idle 0 - - - - - - - - - - - - - - - - - - - - - - Covered T1,T2,T3
SetupStart - 1 - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
SetupStart - 0 - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
HoldStart - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockStart - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockLow - - 1 - - - - - - - - - - - - - - - - - - - - Covered T11,T37,T38
ClockLow - - 0 - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockPulse - - - 1 - - - - - - - - - - - - - - - - - - - Not Covered
ClockPulse - - - 0 - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockPulse - - - - 1 - - - - - - - - - - - - - - - - - - Covered T11,T12,T43
ClockPulse - - - - 0 - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
HoldBit - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockLowAck - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockPulseAck - - - - - 1 - - - - - - - - - - - - - - - - - Covered T44,T45,T50
ClockPulseAck - - - - - 0 - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockPulseAck - - - - - - 1 - - - - - - - - - - - - - - - - Not Covered
ClockPulseAck - - - - - - 0 - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockPulseAck - - - - - - - 1 - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockPulseAck - - - - - - - 0 - - - - - - - - - - - - - - - Covered T1,T10,T11
HoldDevAck - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ReadClockLow - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ReadClockPulse - - - - - - - - 1 - - - - - - - - - - - - - - Not Covered
ReadClockPulse - - - - - - - - 0 - - - - - - - - - - - - - - Covered T1,T10,T11
ReadClockPulse - - - - - - - - - 1 - - - - - - - - - - - - - Covered T1,T10,T11
ReadClockPulse - - - - - - - - - 0 - - - - - - - - - - - - - Covered T1,T10,T11
ReadHoldBit - - - - - - - - - - 1 - - - - - - - - - - - - Covered T1,T10,T11
ReadHoldBit - - - - - - - - - - 0 - - - - - - - - - - - - Covered T1,T10,T11
HostClockLowAck - - - - - - - - - - - 1 - - - - - - - - - - - Covered T11,T61,T62
HostClockLowAck - - - - - - - - - - - 0 1 - - - - - - - - - - Covered T1,T10,T11
HostClockLowAck - - - - - - - - - - - 0 0 - - - - - - - - - - Covered T1,T10,T11
HostClockPulseAck - - - - - - - - - - - - - 1 - - - - - - - - - Covered T11,T61,T62
HostClockPulseAck - - - - - - - - - - - - - 0 1 - - - - - - - - Covered T1,T10,T11
HostClockPulseAck - - - - - - - - - - - - - 0 0 - - - - - - - - Covered T1,T10,T11
HostClockPulseAck - - - - - - - - - - - - - - - 1 - - - - - - - Not Covered
HostClockPulseAck - - - - - - - - - - - - - - - 0 - - - - - - - Covered T1,T10,T11
HostClockPulseAck - - - - - - - - - - - - - - - - 1 - - - - - - Covered T11,T12,T51
HostClockPulseAck - - - - - - - - - - - - - - - - 0 - - - - - - Covered T1,T10,T11
HostHoldBitAck - - - - - - - - - - - - - - - - - 1 - - - - - Covered T11,T61,T62
HostHoldBitAck - - - - - - - - - - - - - - - - - 0 1 - - - - Covered T1,T10,T11
HostHoldBitAck - - - - - - - - - - - - - - - - - 0 0 - - - - Covered T1,T10,T11
ClockStop - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
SetupStop - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
HoldStop - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
Active - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
PopFmtFifo - - - - - - - - - - - - - - - - - - - 1 - - - Covered T1,T10,T11
PopFmtFifo - - - - - - - - - - - - - - - - - - - 0 - - - Covered T1,T10,T11
AcquireStart - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AddrRead - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AddrAckWait - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AddrAckSetup - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AddrAckPulse - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AddrAckHold - - - - - - - - - - - - - - - - - - - - 1 - - Covered T7,T8,T9
AddrAckHold - - - - - - - - - - - - - - - - - - - - 0 - - Covered T8,T9,T15
TransmitWait - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
TransmitSetup - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
TransmitPulse - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
TransmitHold - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
TransmitAck - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
TransmitAckPulse - - - - - - - - - - - - - - - - - - - - - 1 - Covered T7,T9,T15
TransmitAckPulse - - - - - - - - - - - - - - - - - - - - - 0 - Covered T7,T9,T15
WaitForStop - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
AcquireByte - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AcquireAckWait - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AcquireAckSetup - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AcquireAckPulse - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AcquireAckHold - - - - - - - - - - - - - - - - - - - - - - 1 Covered T7,T8,T9
AcquireAckHold - - - - - - - - - - - - - - - - - - - - - - 0 Covered T8,T9,T15
StretchAddr - - - - - - - - - - - - - - - - - - - - - - - Covered T8,T16,T57
StretchTx - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
StretchTxSetup - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
StretchAcqFull - - - - - - - - - - - - - - - - - - - - - - - Covered T8,T16,T57
default - - - - - - - - - - - - - - - - - - - - - - - Not Covered


LineNo. Expression -1-: 795 if ((start_det || stop_det)) -2-: 798 (start_det) ?

Branches:
-1--2-StatusTests
1 1 Covered T7,T8,T9
1 0 Covered T7,T8,T9
0 - Covered T1,T2,T3


LineNo. Expression -1-: 838 case (state_q) -2-: 841 if (((!host_enable_i) && (!target_enable_i))) -3-: 842 if (host_enable_i) -4-: 843 if (fmt_fifo_rvalid_i) -5-: 849 if ((tcount_q == 20'b1)) -6-: 858 if ((tcount_q == 20'b1)) -7-: 866 if ((tcount_q == 20'b1)) -8-: 875 if ((tcount_q == 20'b1)) -9-: 877 if (pend_restart) -10-: 890 if ((tcount_q == 20'b1)) -11-: 899 if ((tcount_q == 20'b1)) -12-: 903 if ((bit_index == '0)) -13-: 915 if ((tcount_q == 20'b1)) -14-: 923 if ((tcount_q == 20'b1)) -15-: 931 if ((tcount_q == 20'b1)) -16-: 932 if (fmt_flag_stop_after_i) -17-: 945 if ((tcount_q == 20'b1)) -18-: 953 if ((tcount_q == 20'b1)) -19-: 962 if ((tcount_q == 20'b1)) -20-: 965 if ((bit_index == '0)) -21-: 979 if ((tcount_q == 20'b1)) -22-: 988 if ((tcount_q == 20'b1)) -23-: 997 if ((tcount_q == 20'b1)) -24-: 999 if ((byte_index == 9'b1)) -25-: 1000 if (fmt_flag_stop_after_i) -26-: 1020 if ((tcount_q == 20'b1)) -27-: 1028 if ((tcount_q == 20'b1)) -28-: 1038 if ((tcount_q == 20'b1)) -29-: 1040 if ((!host_enable_i)) -30-: 1054 if (fmt_flag_read_bytes_i) -31-: 1059 if ((fmt_flag_start_before_i && (!trans_started))) -32-: 1073 if ((!host_enable_i)) -33-: 1077 if ((fmt_fifo_depth_i == 7'b1)) -34-: 1090 if ((scl_i_q && (!scl_i))) -35-: 1099 if ((bit_ack && address_match)) -36-: 1103 if ((bit_ack && (!address_match))) -37-: 1110 if (((tcount_q == 20'b1) && (!scl_i))) -38-: 1116 if (scl_i) -39-: 1120 if ((!scl_i)) -40-: 1128 if ((tcount_q == 20'b1)) -41-: 1132 if (stretch_addr) -42-: 1134 if (rw_bit_q) -43-: 1136 if ((!rw_bit_q)) -44-: 1143 if (stretch_tx) -45-: 1153 if (scl_i) -46-: 1157 if ((!scl_i)) -47-: 1165 if ((tcount_q == 20'b1)) -48-: 1166 if (bit_ack) -49-: 1178 if (scl_i) -50-: 1186 if ((!scl_i)) -51-: 1188 if (host_ack) -52-: 1206 if (bit_ack) -53-: 1215 if (((tcount_q == 20'b1) && (!scl_i))) -54-: 1221 if (scl_i) -55-: 1225 if ((!scl_i)) -56-: 1233 if ((tcount_q == 20'b1)) -57-: 1236 (acq_fifo_wready) ? -58-: 1242 if ((!stretch_addr)) -59-: 1248 (rw_bit_q) ? -60-: 1255 if ((!stretch_tx)) -61-: 1271 if ((tcount_q == 20'b1)) -62-: 1279 if (acq_fifo_wready)

Branches:
BranchStatusTests
(1.Idle )->(2) Covered T1,T2,T3
(1.Idle )->(!2)->(3)->(4) Covered T1,T10,T11
(1.Idle )->(!2)->(3)->(!4) Covered T1,T10,T11
(1.Idle )->(!2)->(!3) Covered T7,T8,T9
(1.SetupStart )->(5) Covered T1,T10,T11
(1.SetupStart )->(!5) Covered T1,T10,T11
(1.HoldStart )->(6) Covered T1,T10,T11
(1.HoldStart )->(!6) Covered T1,T10,T11
(1.ClockStart )->(7) Covered T1,T10,T11
(1.ClockStart )->(!7) Covered T1,T10,T11
(1.ClockLow )->(8)->(9) Covered T11,T37,T38
(1.ClockLow )->(8)->(!9) Covered T1,T10,T11
(1.ClockLow )->(!8) Covered T1,T10,T11
(1.ClockPulse )->(10) Covered T1,T10,T11
(1.ClockPulse )->(!10) Covered T1,T10,T11
(1.HoldBit )->(11)->(12) Covered T1,T10,T11
(1.HoldBit )->(11)->(!12) Covered T1,T10,T11
(1.HoldBit )->(!11) Covered T1,T10,T11
(1.ClockLowAck )->(13) Covered T1,T10,T11
(1.ClockLowAck )->(!13) Covered T1,T10,T11
(1.ClockPulseAck )->(14) Covered T1,T10,T11
(1.ClockPulseAck )->(!14) Covered T1,T10,T11
(1.HoldDevAck )->(15)->(16) Covered T1,T10,T11
(1.HoldDevAck )->(15)->(!16) Covered T1,T10,T11
(1.HoldDevAck )->(!15) Covered T1,T10,T11
(1.ReadClockLow )->(17) Covered T1,T10,T11
(1.ReadClockLow )->(!17) Covered T1,T10,T11
(1.ReadClockPulse )->(18) Covered T1,T10,T11
(1.ReadClockPulse )->(!18) Covered T1,T10,T11
(1.ReadHoldBit )->(19)->(20) Covered T1,T10,T11
(1.ReadHoldBit )->(19)->(!20) Covered T1,T10,T11
(1.ReadHoldBit )->(!19) Covered T1,T10,T11
(1.HostClockLowAck )->(21) Covered T1,T10,T11
(1.HostClockLowAck )->(!21) Covered T1,T10,T11
(1.HostClockPulseAck )->(22) Covered T1,T10,T11
(1.HostClockPulseAck )->(!22) Covered T1,T10,T11
(1.HostHoldBitAck )->(23)->(24)->(25) Covered T1,T10,T11
(1.HostHoldBitAck )->(23)->(24)->(!25) Covered T11,T61,T62
(1.HostHoldBitAck )->(23)->(!24) Covered T1,T10,T11
(1.HostHoldBitAck )->(!23) Covered T1,T10,T11
(1.ClockStop )->(26) Covered T1,T10,T11
(1.ClockStop )->(!26) Covered T1,T10,T11
(1.SetupStop )->(27) Covered T1,T10,T11
(1.SetupStop )->(!27) Covered T1,T10,T11
(1.HoldStop )->(28)->(29) Covered T34,T35,T36
(1.HoldStop )->(28)->(!29) Covered T1,T10,T11
(1.HoldStop )->(!28) Covered T1,T10,T11
(1.Active )->(30) Covered T1,T10,T11
(1.Active )->(!30)->(31) Covered T1,T10,T11
(1.Active )->(!30)->(!31) Covered T1,T10,T11
(1.PopFmtFifo )->(32) Covered T34,T35,T36
(1.PopFmtFifo )->(!32)->(33) Covered T1,T10,T11
(1.PopFmtFifo )->(!32)->(!33) Covered T1,T10,T11
(1.AcquireStart )->(34) Covered T7,T8,T9
(1.AcquireStart )->(!34) Covered T7,T8,T9
(1.AddrRead )->(35) Covered T7,T8,T9
(1.AddrRead )->(!35)->(36) Covered T9,T39,T40
(1.AddrRead )->(!35)->(!36) Covered T7,T8,T9
(1.AddrAckWait )->(37) Covered T7,T8,T9
(1.AddrAckWait )->(!37) Covered T8,T9,T15
(1.AddrAckSetup )->(38) Covered T7,T8,T9
(1.AddrAckSetup )->(!38) Covered T7,T8,T9
(1.AddrAckPulse )->(39) Covered T7,T8,T9
(1.AddrAckPulse )->(!39) Covered T7,T8,T9
(1.AddrAckHold )->(40)->(41) Covered T8,T16,T57
(1.AddrAckHold )->(40)->(!41)->(42) Covered T7,T9,T15
(1.AddrAckHold )->(40)->(!41)->(!42)->(43) Covered T7,T8,T9
(1.AddrAckHold )->(40)->(!41)->(!42)->(!43) Not Covered
(1.AddrAckHold )->(!40) Covered T8,T9,T15
(1.TransmitWait )->(44) Covered T7,T9,T15
(1.TransmitWait )->(!44) Covered T7,T9,T15
(1.TransmitSetup )->(45) Covered T7,T9,T15
(1.TransmitSetup )->(!45) Covered T7,T9,T15
(1.TransmitPulse )->(46) Covered T7,T9,T15
(1.TransmitPulse )->(!46) Covered T7,T9,T15
(1.TransmitHold )->(47)->(48) Covered T7,T9,T15
(1.TransmitHold )->(47)->(!48) Covered T7,T9,T15
(1.TransmitHold )->(!47) Covered T9,T15,T18
(1.TransmitAck )->(49) Covered T7,T9,T15
(1.TransmitAck )->(!49) Covered T7,T9,T15
(1.TransmitAckPulse )->(50)->(51) Covered T7,T9,T15
(1.TransmitAckPulse )->(50)->(!51) Covered T7,T9,T15
(1.TransmitAckPulse )->(!50) Covered T7,T9,T15
(1.WaitForStop ) Covered T7,T9,T15
(1.AcquireByte )->(52) Covered T7,T8,T9
(1.AcquireByte )->(!52) Covered T7,T8,T9
(1.AcquireAckWait )->(53) Covered T7,T8,T9
(1.AcquireAckWait )->(!53) Covered T8,T9,T15
(1.AcquireAckSetup )->(54) Covered T7,T8,T9
(1.AcquireAckSetup )->(!54) Covered T7,T8,T9
(1.AcquireAckPulse )->(55) Covered T7,T8,T9
(1.AcquireAckPulse )->(!55) Covered T7,T8,T9
(1.AcquireAckHold )->(56)->(57) Covered T7,T8,T9
(1.AcquireAckHold )->(56)->(!57) Covered T8,T16,T57
(1.AcquireAckHold )->(!56) Covered T8,T9,T15
(1.StretchAddr )->(58)->(59) Covered T58,T59,T60
(1.StretchAddr )->(58)->(!59) Covered T8,T16,T57
(1.StretchAddr )->(!58) Covered T8,T16,T57
(1.StretchTx )->(60) Covered T7,T9,T15
(1.StretchTx )->(!60) Covered T7,T9,T15
(1.StretchTxSetup )->(61) Covered T7,T9,T15
(1.StretchTxSetup )->(!61) Covered T7,T9,T15
(1.StretchAcqFull )->(62) Covered T8,T16,T57
(1.StretchAcqFull )->(!62) Covered T8,T16,T57
(1.default) Not Covered


LineNo. Expression -1-: 1303 if (((!target_idle) && (!target_enable_i))) -2-: 1313 if (start_det) -3-: 1315 if (stop_det)

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Covered T7,T8,T9
0 0 1 Covered T7,T8,T9
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 1322 if ((!rst_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 1331 if ((!rst_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


Assert Coverage for Module : i2c_fsm
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 4 4 100.00 4 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 4 4 100.00 4 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
AcqDepthRdCheck_A 530708895 4151690 0 0
SclInputGlitch_A 510674952 11289189 0 0
SclOutputGlitch_A 530708895 5871538 0 0
SclSdaChangeNotSimultaneous_A 530708895 530521025 0 0


AcqDepthRdCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 530708895 4151690 0 0
T4 1377 0 0 0
T7 109140 1398 0 0
T8 241125 0 0 0
T9 122658 401 0 0
T11 484611 0 0 0
T12 486934 0 0 0
T15 0 37618 0 0
T16 0 27509 0 0
T17 0 35987 0 0
T18 0 32192 0 0
T19 0 2606 0 0
T30 0 292 0 0
T39 0 663 0 0
T41 0 5026 0 0
T63 21740 0 0 0
T64 371573 0 0 0
T65 17486 0 0 0
T66 1608 0 0 0

SclInputGlitch_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 510674952 11289189 0 0
T1 648573 22268 0 0
T2 1768 0 0 0
T3 1142 0 0 0
T4 1377 3 0 0
T7 109140 4859 0 0
T8 0 5387 0 0
T9 0 4248 0 0
T10 515292 17580 0 0
T11 480809 15258 0 0
T12 486934 17733 0 0
T63 21740 829 0 0
T64 371573 14064 0 0

SclOutputGlitch_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 530708895 5871538 0 0
T1 648573 22268 0 0
T2 1768 0 0 0
T3 1142 0 0 0
T4 1377 0 0 0
T7 109140 31 0 0
T8 0 318 0 0
T9 0 19 0 0
T10 515292 17580 0 0
T11 484611 15295 0 0
T12 486934 17733 0 0
T63 21740 829 0 0
T64 371573 14064 0 0
T65 0 829 0 0

SclSdaChangeNotSimultaneous_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 530708895 530521025 0 0
T1 648573 648478 0 0
T2 1768 1718 0 0
T3 1142 1049 0 0
T4 1377 1327 0 0
T7 109140 109075 0 0
T10 515292 515198 0 0
T11 484611 483671 0 0
T12 486934 486839 0 0
T63 21740 21664 0 0
T64 371573 371492 0 0

Line Coverage for Instance : tb.dut.i2c_core.u_i2c_fsm
Line No.TotalCoveredPercent
TOTAL55454698.56
ALWAYS1531717100.00
CONT_ASSIGN17711100.00
ALWAYS18033100.00
ALWAYS19399100.00
ALWAYS20977100.00
ALWAYS22266100.00
ALWAYS23355100.00
ALWAYS24077100.00
ALWAYS25355100.00
ALWAYS26788100.00
ALWAYS2798787.50
CONT_ASSIGN29111100.00
CONT_ASSIGN29411100.00
CONT_ASSIGN29711100.00
ALWAYS30199100.00
CONT_ASSIGN31611100.00
CONT_ASSIGN31711100.00
CONT_ASSIGN31811100.00
ALWAYS32277100.00
ALWAYS33355100.00
CONT_ASSIGN34611100.00
CONT_ASSIGN34711100.00
CONT_ASSIGN40511100.00
ALWAYS41066100.00
CONT_ASSIGN42811100.00
ALWAYS43344100.00
CONT_ASSIGN45011100.00
CONT_ASSIGN45411100.00
ALWAYS45818017496.67
CONT_ASSIGN80411100.00
CONT_ASSIGN81311100.00
CONT_ASSIGN81811100.00
ALWAYS82223923899.58
ALWAYS132233100.00
ALWAYS133155100.00
CONT_ASSIGN134011100.00
CONT_ASSIGN134111100.00
CONT_ASSIGN134411100.00
CONT_ASSIGN134711100.00
CONT_ASSIGN135111100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_i2c_0.1/rtl/i2c_fsm.sv' or '../src/lowrisc_ip_i2c_0.1/rtl/i2c_fsm.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
153 1 1
154 1 1
155 1 1
156 1 1
157 1 1
158 1 1
159 1 1
160 1 1
161 1 1
162 1 1
163 1 1
164 1 1
165 1 1
166 1 1
169 1 1
170 1 1
172 1 1
177 1 1
180 1 1
181 1 1
183 1 1
193 1 1
194 1 1
195 1 1
196 1 1
197 1 1
199 1 1
200 1 1
201 1 1
203 1 1
209 1 1
210 1 1
211 1 1
212 1 1
213 1 1
214 1 1
216 1 1
222 1 1
223 1 1
224 1 1
225 1 1
226 1 1
227 1 1
MISSING_ELSE
233 2 2
234 2 2
235 1 1
240 1 1
241 1 1
242 1 1
243 1 1
244 1 1
245 1 1
247 1 1
253 1 1
254 1 1
255 1 1
257 1 1
258 1 1
267 1 1
268 1 1
269 1 1
270 1 1
271 1 1
272 1 1
273 1 1
274 1 1
MISSING_ELSE
279 1 1
280 1 1
281 1 1
282 0 1
283 1 1
284 1 1
285 1 1
286 1 1
MISSING_ELSE
291 1 1
294 1 1
297 1 1
301 1 1
302 1 1
303 1 1
304 1 1
305 1 1
308 2 2
309 1 1
311 1 1
316 1 1
317 1 1
318 1 1
322 1 1
323 1 1
324 1 1
325 1 1
326 1 1
327 2 2
MISSING_ELSE
MISSING_ELSE
333 1 1
334 1 1
335 1 1
336 2 2
MISSING_ELSE
MISSING_ELSE
346 1 1
347 1 1
405 1 1
410 1 1
411 1 1
412 1 1
416 1 1
417 1 1
418 1 1
MISSING_ELSE
428 1 1
433 1 1
434 1 1
435 1 1
436 1 1
MISSING_ELSE
450 1 1
454 1 1
458 1 1
459 1 1
460 1 1
461 1 1
462 1 1
463 1 1
464 1 1
465 1 1
466 1 1
467 1 1
468 1 1
469 1 1
470 1 1
471 1 1
472 1 1
473 1 1
474 1 1
475 1 1
480 1 1
481 1 1
482 0 1
483 0 1
485 1 1
486 1 1
491 1 1
492 1 1
493 1 1
494 2 2
MISSING_ELSE
498 1 1
499 1 1
500 1 1
504 1 1
505 1 1
506 1 1
509 1 1
510 1 1
511 1 1
513 1 1
515 1 1
519 1 1
520 1 1
521 1 1
522 1 1
523 1 2
MISSING_ELSE
524 2 2
MISSING_ELSE
528 1 1
529 1 1
530 1 1
534 1 1
535 1 1
536 1 1
540 1 1
541 1 1
542 1 1
543 2 2
MISSING_ELSE
544 1 1
545 1 2
MISSING_ELSE
546 2 2
MISSING_ELSE
550 1 1
551 1 1
552 1 1
556 1 1
557 1 1
558 1 1
562 1 1
563 1 1
564 1 1
565 1 2
MISSING_ELSE
566 2 2
MISSING_ELSE
570 1 1
571 1 1
572 1 1
573 1 1
574 1 1
MISSING_ELSE
579 1 1
580 1 1
584 2 2
585 2 2
586 1 1
590 1 1
591 2 2
592 2 2
593 1 1
594 1 1
595 1 1
596 1 2
MISSING_ELSE
597 2 2
MISSING_ELSE
601 1 1
602 2 2
603 2 2
604 1 1
605 1 1
609 1 1
610 1 1
611 1 1
615 1 1
616 1 1
617 1 1
621 1 1
622 1 1
623 1 1
624 1 1
628 1 1
634 1 1
638 1 1
639 2 2
640 1 1
641 1 1
645 1 1
649 1 1
650 1 1
654 1 1
658 1 1
659 1 1
663 1 1
664 1 1
668 1 1
669 1 1
672 1 1
674 1 1
675 1 1
MISSING_ELSE
680 1 1
684 1 1
685 1 1
689 1 1
692 1 1
696 1 1
699 1 1
703 1 1
706 1 1
707 1 1
709 1 1
MISSING_ELSE
714 1 1
715 1 1
716 1 1
720 1 1
724 1 1
728 1 1
729 1 1
733 1 1
734 1 1
738 1 1
739 1 1
741 1 1
742 1 1
743 1 1
MISSING_ELSE
749 1 1
750 1 1
752 1 1
753 1 1
757 1 1
758 1 1
762 1 1
763 1 1
764 1 1
768 1 1
769 1 1
772 1 1
773 1 1
795 1 1
797 1 1
798 1 1
800 1 1
MISSING_ELSE
804 1 1
813 1 1
818 1 1
822 1 1
823 1 1
824 1 1
825 1 1
826 1 1
827 1 1
828 1 1
829 1 1
830 1 1
831 1 1
832 1 1
833 1 1
834 1 1
835 1 1
836 1 1
838 1 1
841 2 2
842 1 1
843 2 2
MISSING_ELSE
MISSING_ELSE
849 1 1
850 1 1
851 1 1
852 1 1
853 1 1
MISSING_ELSE
858 1 1
859 1 1
860 1 1
861 1 1
MISSING_ELSE
866 1 1
867 1 1
868 1 1
869 1 1
MISSING_ELSE
874 1 1
875 1 1
876 1 1
877 1 1
878 1 1
879 1 1
881 1 1
882 1 1
MISSING_ELSE
889 1 1
890 1 1
891 1 1
892 1 1
893 1 1
MISSING_ELSE
898 1 1
899 1 1
900 1 1
901 1 1
902 1 1
903 1 1
904 1 1
905 1 1
907 1 1
908 1 1
MISSING_ELSE
915 1 1
916 1 1
917 1 1
918 1 1
MISSING_ELSE
923 1 1
924 1 1
925 1 1
926 1 1
MISSING_ELSE
931 1 1
932 1 1
933 1 1
934 1 1
935 1 1
937 1 1
938 1 1
939 1 1
MISSING_ELSE
945 1 1
946 1 1
947 1 1
948 1 1
MISSING_ELSE
953 1 1
954 1 1
955 1 1
956 1 1
957 1 1
MISSING_ELSE
962 1 1
963 1 1
964 1 1
965 1 1
966 1 1
967 1 1
968 1 1
970 1 1
971 1 1
MISSING_ELSE
978 1 1
979 1 1
980 1 1
981 1 1
982 1 1
MISSING_ELSE
987 1 1
988 1 1
989 1 1
990 1 1
991 1 1
MISSING_ELSE
996 1 1
997 1 1
998 1 1
999 1 1
1000 1 1
1001 1 1
1002 1 1
1003 1 1
1005 1 1
1006 1 1
1007 1 1
1010 1 1
1011 1 1
1012 1 1
1013 1 1
MISSING_ELSE
1020 1 1
1021 1 1
1022 1 1
1023 1 1
MISSING_ELSE
1028 1 1
1029 1 1
1030 1 1
1031 1 1
1032 1 1
MISSING_ELSE
1037 1 1
1038 1 1
1039 1 1
1040 1 1
1041 1 1
1042 1 1
1043 1 1
1045 1 1
1046 1 1
1047 1 1
MISSING_ELSE
1054 1 1
1055 1 1
1056 1 1
1057 1 1
1058 1 1
1059 1 1
1060 1 1
1061 1 1
1062 1 1
1064 1 1
1065 1 1
1066 1 1
1067 1 1
1073 1 1
1074 1 1
1075 1 1
1076 1 1
1077 1 1
1078 1 1
1079 1 1
1080 1 1
1082 1 1
1083 1 1
1084 1 1
1090 1 1
1092 1 1
1093 1 1
MISSING_ELSE
1099 1 1
1100 1 1
1101 1 1
1102 1 1
1103 1 1
1104 1 1
MISSING_ELSE
1110 1 1
1111 1 1
MISSING_ELSE
1116 2 2
MISSING_ELSE
1120 1 1
1121 1 1
1122 1 1
1123 1 1
MISSING_ELSE
1128 1 1
1132 1 1
1133 1 1
1134 1 1
1135 1 1
1136 1 1
1137 1 1
==> MISSING_ELSE
MISSING_ELSE
1143 1 1
1144 1 1
1146 1 1
1147 1 1
1148 1 1
1153 2 2
MISSING_ELSE
1157 1 1
1158 1 1
1159 1 1
1160 1 1
MISSING_ELSE
1165 1 1
1166 1 1
1167 1 1
1169 1 1
1170 1 1
1171 1 1
MISSING_ELSE
1178 1 1
1179 1 1
MISSING_ELSE
1186 1 1
1188 1 1
1189 1 1
1192 1 1
MISSING_ELSE
1201 1 1
1206 1 1
1207 1 1
1208 1 1
1209 1 1
MISSING_ELSE
1215 1 1
1216 1 1
MISSING_ELSE
1221 2 2
MISSING_ELSE
1225 1 1
1226 1 1
1227 1 1
1228 1 1
MISSING_ELSE
1233 1 1
1236 1 1
MISSING_ELSE
1242 1 1
1248 1 1
MISSING_ELSE
1254 1 1
1255 1 1
1262 1 1
1263 1 1
1264 1 1
1267 1 1
MISSING_ELSE
1271 1 1
1272 1 1
MISSING_ELSE
1279 2 2
MISSING_ELSE
1303 1 1
1312 0 1
1313 1 1
1314 1 1
1315 1 1
1316 1 1
MISSING_ELSE
1322 1 1
1323 1 1
1325 1 1
1331 1 1
1332 1 1
1333 1 1
1335 1 1
1336 1 1
1340 1 1
1341 1 1
1344 1 1
1347 1 1
1351 1 1


Cond Coverage for Instance : tb.dut.i2c_core.u_i2c_fsm
TotalCoveredPercent
Conditions24222994.63
Logical24222994.63
Non-Logical00
Event00

 LINE       169
 EXPRESSION ((stretch_idle_cnt == '0) || target_enable_i)
             ------------1-----------    -------2-------
-1--2-StatusTests
00CoveredT1,T10,T11
01CoveredT7,T8,T9
10CoveredT1,T2,T3

 LINE       169
 SUB-EXPRESSION (stretch_idle_cnt == '0)
                ------------1-----------
-1-StatusTests
0CoveredT1,T10,T7
1CoveredT1,T2,T3

 LINE       195
 EXPRESSION (stretch_en && scl_d && ((!scl_i)))
             -----1----    --2--    -----3----
-1--2--3-StatusTests
011CoveredT1,T10,T7
101Not Covered
110CoveredT1,T10,T11
111CoveredT1,T10,T11

 LINE       197
 EXPRESSION (((!target_idle_o)) && event_host_timeout_o)
             ---------1--------    ----------2---------
-1--2-StatusTests
01Not Covered
10CoveredT7,T8,T9
11CoveredT16,T30,T31

 LINE       200
 EXPRESSION (((!target_idle_o)) && scl_i)
             ---------1--------    --2--
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT7,T8,T9
11CoveredT7,T8,T9

 LINE       234
 EXPRESSION (fmt_byte_i == '0)
            ---------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT11,T32,T33

 LINE       269
 EXPRESSION (trans_started && ((!host_enable_i)))
             ------1------    ---------2--------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T10,T11
11CoveredT34,T35,T36

 LINE       281
 EXPRESSION (pend_restart && ((!host_enable_i)))
             ------1-----    ---------2--------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT11,T37,T38
11Not Covered

 LINE       291
 EXPRESSION (target_enable_i && ((scl_i_q && scl_i) & (sda_i_q && ((!sda_i)))))
             -------1-------    -----------------------2----------------------
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT7,T8,T9
11CoveredT7,T8,T9

 LINE       291
 SUB-EXPRESSION ((scl_i_q && scl_i) & (sda_i_q && ((!sda_i))))
                 ---------1--------   -----------2-----------
-1--2-StatusTests
01CoveredT1,T10,T7
10CoveredT1,T2,T3
11CoveredT1,T10,T7

 LINE       291
 SUB-EXPRESSION (scl_i_q && scl_i)
                 ---1---    --2--
-1--2-StatusTests
01CoveredT1,T10,T7
10CoveredT1,T10,T7
11CoveredT1,T2,T3

 LINE       291
 SUB-EXPRESSION (sda_i_q && ((!sda_i)))
                 ---1---    -----2----
-1--2-StatusTests
01CoveredT1,T10,T7
10CoveredT1,T2,T3
11CoveredT1,T10,T7

 LINE       294
 EXPRESSION (target_enable_i && ((scl_i_q && scl_i) & (((!sda_i_q)) && sda_i)))
             -------1-------    -----------------------2----------------------
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT7,T8,T9
11CoveredT7,T8,T9

 LINE       294
 SUB-EXPRESSION ((scl_i_q && scl_i) & (((!sda_i_q)) && sda_i))
                 ---------1--------   -----------2-----------
-1--2-StatusTests
01CoveredT1,T10,T7
10CoveredT1,T2,T3
11CoveredT1,T10,T7

 LINE       294
 SUB-EXPRESSION (scl_i_q && scl_i)
                 ---1---    --2--
-1--2-StatusTests
01CoveredT1,T10,T7
10CoveredT1,T10,T7
11CoveredT1,T2,T3

 LINE       294
 SUB-EXPRESSION (((!sda_i_q)) && sda_i)
                 ------1-----    --2--
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T10,T7
11CoveredT1,T10,T7

 LINE       297
 EXPRESSION (bit_idx == 4'd8)
            --------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T10,T7

 LINE       305
 EXPRESSION (scl_i_q && ((!scl_i)))
             ---1---    -----2----
-1--2-StatusTests
01CoveredT1,T10,T7
10CoveredT1,T2,T3
11CoveredT1,T10,T7

 LINE       308
 EXPRESSION (input_byte_clr || bit_ack)
             -------1------    ---2---
-1--2-StatusTests
00CoveredT1,T10,T7
01CoveredT1,T10,T7
10CoveredT7,T8,T9

 LINE       316
 EXPRESSION ((input_byte[7:1] & target_mask0_i) == target_address0_i)
            ----------------------------1----------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       317
 EXPRESSION ((input_byte[7:1] & target_mask1_i) == target_address1_i)
            ----------------------------1----------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       318
 EXPRESSION (address0_match || address1_match)
             -------1------    -------2------
-1--2-StatusTests
00CoveredT7,T8,T9
01CoveredT7,T8,T9
10CoveredT7,T8,T9

 LINE       326
 EXPRESSION (((!scl_i_q)) && scl_i)
             ------1-----    --2--
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T10,T7
11CoveredT1,T10,T7

 LINE       335
 EXPRESSION (((!scl_i_q)) && scl_i)
             ------1-----    --2--
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T10,T7
11CoveredT1,T10,T7

 LINE       412
 EXPRESSION (((!en_sda_interf_det)) && ((|sda_rise_cnt)))
             -----------1----------    --------2--------
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT1,T2,T3
11CoveredT1,T10,T11

 LINE       417
 EXPRESSION (en_sda_interf_det && (sda_rise_cnt < sda_rise_latency))
             --------1--------    ----------------2----------------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T10,T11
11CoveredT1,T10,T11

 LINE       428
 EXPRESSION ((host_idle_o & host_enable_i & ((!sda_i))) | ((sda_rise_cnt == sda_rise_latency) & sda_o & ((!sda_i))))
             ---------------------1--------------------   ----------------------------2----------------------------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T10,T11
10CoveredT1,T10,T11

 LINE       428
 SUB-EXPRESSION (host_idle_o & host_enable_i & ((!sda_i)))
                 -----1-----   ------2------   -----3----
-1--2--3-StatusTests
011CoveredT1,T10,T11
101CoveredT7,T8,T9
110CoveredT1,T10,T11
111CoveredT1,T10,T11

 LINE       428
 SUB-EXPRESSION ((sda_rise_cnt == sda_rise_latency) & sda_o & ((!sda_i)))
                 -----------------1----------------   --2--   -----3----
-1--2--3-StatusTests
011CoveredT1,T10,T7
101CoveredT1,T10,T11
110CoveredT1,T10,T11
111CoveredT1,T10,T11

 LINE       428
 SUB-EXPRESSION (sda_rise_cnt == sda_rise_latency)
                -----------------1----------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T10,T11

 LINE       435
 EXPRESSION (bit_ack && address_match)
             ---1---    ------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT7,T8,T9
11CoveredT1,T10,T7

 LINE       454
 EXPRESSION (((!target_idle)) & rw_bit_q & stop_det & ((!expect_stop)))
             --------1-------   ----2---   ----3---   --------4-------
-1--2--3--4-StatusTests
0111CoveredT9,T39,T40
1011CoveredT7,T8,T9
1101CoveredT7,T9,T15
1110CoveredT7,T9,T15
1111CoveredT16,T41,T42

 LINE       481
 EXPRESSION (host_enable_i && trans_started)
             ------1------    ------2------
-1--2-StatusTests
01Not Covered
10CoveredT1,T10,T11
11Not Covered

 LINE       523
 EXPRESSION (scl_i_q && ((!scl_i)))
             ---1---    -----2----
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT1,T10,T11
11Not Covered

 LINE       524
 EXPRESSION (sda_i_q != sda_i)
            ---------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT11,T12,T43

 LINE       543
 EXPRESSION (((!scl_i_q)) && scl_i && sda_i && ((!fmt_flag_nak_ok_i)))
             ------1-----    --2--    --3--    -----------4----------
-1--2--3--4-StatusTests
0111CoveredT44,T45,T46
1011CoveredT1,T10,T11
1101CoveredT1,T10,T11
1110CoveredT47,T48,T49
1111CoveredT44,T45,T50

 LINE       545
 EXPRESSION (scl_i_q && ((!scl_i)))
             ---1---    -----2----
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT1,T10,T11
11Not Covered

 LINE       546
 EXPRESSION (sda_i_q != sda_i)
            ---------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       565
 EXPRESSION (scl_i_q && ((!scl_i)))
             ---1---    -----2----
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT1,T10,T11
11Not Covered

 LINE       566
 EXPRESSION (sda_i_q != sda_i)
            ---------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       572
 EXPRESSION ((bit_index == '0) && (tcount_q == 20'b1))
             --------1--------    ---------2---------
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT1,T10,T11
11CoveredT1,T10,T11

 LINE       572
 SUB-EXPRESSION (bit_index == '0)
                --------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       572
 SUB-EXPRESSION (tcount_q == 20'b1)
                ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       585
 EXPRESSION (byte_index == 9'b1)
            ----------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       592
 EXPRESSION (byte_index == 9'b1)
            ----------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       596
 EXPRESSION (scl_i_q && ((!scl_i)))
             ---1---    -----2----
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT1,T10,T11
11Not Covered

 LINE       597
 EXPRESSION (sda_i_q != sda_i)
            ---------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT11,T12,T51

 LINE       603
 EXPRESSION (byte_index == 9'b1)
            ----------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       634
 EXPRESSION (fmt_flag_start_before_i && ((!trans_started)))
             -----------1-----------    ---------2--------
-1--2-StatusTests
01CoveredT52,T53,T54
10CoveredT11,T37,T38
11CoveredT1,T10,T11

 LINE       672
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT8,T9,T15
1CoveredT7,T8,T9

 LINE       741
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT8,T9,T15
1CoveredT7,T8,T9

 LINE       795
 EXPRESSION (start_det || stop_det)
             ----1----    ----2---
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT7,T8,T9
10CoveredT7,T8,T9

 LINE       798
 EXPRESSION (start_det ? ({AcqRestart, input_byte}) : ({AcqStop, input_byte}))
             ----1----
-1-StatusTests
0CoveredT7,T8,T9
1CoveredT7,T8,T9

 LINE       813
 EXPRESSION (((~tx_fifo_rvalid_i)) | (acq_fifo_depth_i > 7'(1'b1)))
             ----------1----------   --------------2--------------
-1--2-StatusTests
00CoveredT7,T9,T15
01CoveredT7,T9,T15
10CoveredT1,T2,T3

 LINE       841
 EXPRESSION (((!host_enable_i)) && ((!target_enable_i)))
             ---------1--------    ----------2---------
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT7,T8,T9
11CoveredT1,T2,T3

 LINE       849
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       858
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       866
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       875
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       890
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       899
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       903
 EXPRESSION (bit_index == '0)
            --------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       915
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       923
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       931
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       945
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       953
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       962
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       965
 EXPRESSION (bit_index == '0)
            --------1--------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       979
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       988
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       997
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       999
 EXPRESSION (byte_index == 9'b1)
            ----------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       1020
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       1028
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       1038
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       1059
 EXPRESSION (fmt_flag_start_before_i && ((!trans_started)))
             -----------1-----------    ---------2--------
-1--2-StatusTests
01CoveredT52,T53,T54
10CoveredT11,T37,T38
11CoveredT1,T10,T11

 LINE       1077
 EXPRESSION (fmt_fifo_depth_i == 7'b1)
            -------------1------------
-1-StatusTests
0CoveredT1,T10,T11
1CoveredT1,T10,T11

 LINE       1090
 EXPRESSION (scl_i_q && ((!scl_i)))
             ---1---    -----2----
-1--2-StatusTests
01CoveredT55,T56
10CoveredT7,T8,T9
11CoveredT7,T8,T9

 LINE       1099
 EXPRESSION (bit_ack && address_match)
             ---1---    ------2------
-1--2-StatusTests
01CoveredT7,T8,T9
10CoveredT9,T39,T40
11CoveredT7,T8,T9

 LINE       1103
 EXPRESSION (bit_ack && ((!address_match)))
             ---1---    ---------2--------
-1--2-StatusTests
01CoveredT7,T8,T9
10Not Covered
11CoveredT9,T39,T40

 LINE       1110
 EXPRESSION ((tcount_q == 20'b1) && ((!scl_i)))
             ---------1---------    -----2----
-1--2-StatusTests
01CoveredT8,T9,T15
10Not Covered
11CoveredT7,T8,T9

 LINE       1110
 SUB-EXPRESSION (tcount_q == 20'b1)
                ---------1---------
-1-StatusTests
0CoveredT8,T9,T15
1CoveredT7,T8,T9

 LINE       1128
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT8,T9,T15
1CoveredT7,T8,T9

 LINE       1165
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT9,T15,T18
1CoveredT7,T9,T15

 LINE       1215
 EXPRESSION ((tcount_q == 20'b1) && ((!scl_i)))
             ---------1---------    -----2----
-1--2-StatusTests
01CoveredT8,T9,T15
10Not Covered
11CoveredT7,T8,T9

 LINE       1215
 SUB-EXPRESSION (tcount_q == 20'b1)
                ---------1---------
-1-StatusTests
0CoveredT8,T9,T15
1CoveredT7,T8,T9

 LINE       1233
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT8,T9,T15
1CoveredT7,T8,T9

 LINE       1236
 EXPRESSION (acq_fifo_wready ? AcquireByte : StretchAcqFull)
             -------1-------
-1-StatusTests
0CoveredT8,T16,T57
1CoveredT7,T8,T9

 LINE       1248
 EXPRESSION (rw_bit_q ? StretchTx : AcquireByte)
             ----1---
-1-StatusTests
0CoveredT8,T16,T57
1CoveredT58,T59,T60

 LINE       1271
 EXPRESSION (tcount_q == 20'b1)
            ---------1---------
-1-StatusTests
0CoveredT7,T9,T15
1CoveredT7,T9,T15

 LINE       1303
 EXPRESSION (((!target_idle)) && ((!target_enable_i)))
             --------1-------    ----------2---------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT7,T8,T9
11Not Covered

 LINE       1344
 EXPRESSION (((!target_idle_o)) & (stretch_idle_cnt > host_timeout_i))
             ---------1--------   -----------------2-----------------
-1--2-StatusTests
01CoveredT1,T10,T11
10CoveredT7,T8,T9
11CoveredT16,T30,T31

 LINE       1347
 EXPRESSION (stretch_en && (stretch_idle_cnt[30:0] > stretch_timeout_i) && timeout_enable_i)
             -----1----    ----------------------2---------------------    --------3-------
-1--2--3-StatusTests
011CoveredT7,T15,T19
101CoveredT1,T10,T11
110CoveredT1,T10,T11
111CoveredT1,T10,T11

FSM Coverage for Instance : tb.dut.i2c_core.u_i2c_fsm
Summary for FSM :: state_q
TotalCoveredPercent
States 43 43 100.00 (Not included in score)
Transitions 115 113 98.26
Sequences 0 0

State, Transition and Sequence Details for FSM :: state_q
statesLine No.CoveredTests
AcquireAckHold 1226 Covered T20
AcquireAckPulse 1221 Covered T20
AcquireAckSetup 1216 Covered T20
AcquireAckWait 1207 Covered T20
AcquireByte 1137 Covered T20
AcquireStart 1314 Covered T20
Active 843 Covered T20
AddrAckHold 1121 Covered T20
AddrAckPulse 1116 Covered T20
AddrAckSetup 1111 Covered T20
AddrAckWait 1100 Covered T20
AddrRead 1092 Covered T20
ClockLow 867 Covered T20
ClockLowAck 904 Covered T20
ClockPulse 881 Covered T20
ClockPulseAck 916 Covered T20
ClockStart 859 Covered T20
ClockStop 933 Covered T20
HoldBit 891 Covered T20
HoldDevAck 924 Covered T20
HoldStart 850 Covered T20
HoldStop 1029 Covered T20
HostClockLowAck 966 Covered T20
HostClockPulseAck 980 Covered T20
HostHoldBitAck 989 Covered T20
Idle 841 Covered T20
PopFmtFifo 937 Covered T20
ReadClockLow 970 Covered T20
ReadClockPulse 946 Covered T20
ReadHoldBit 954 Covered T20
SetupStart 878 Covered T20
SetupStop 1021 Covered T20
StretchAcqFull 1236 Covered T20
StretchAddr 1133 Covered T20
StretchTx 1144 Covered T20
StretchTxSetup 1262 Covered T20
TransmitAck 1167 Covered T20
TransmitAckPulse 1179 Covered T20
TransmitHold 1158 Covered T20
TransmitPulse 1153 Covered T20
TransmitSetup 1146 Covered T20
TransmitWait 1135 Covered T20
WaitForStop 1192 Covered T20


transitionsLine No.CoveredTests
AcquireAckHold->AcquireByte 1236 Covered T20
AcquireAckHold->AcquireStart 1314 Covered T20
AcquireAckHold->Idle 1312 Covered T20
AcquireAckHold->StretchAcqFull 1236 Covered T20
AcquireAckPulse->AcquireAckHold 1226 Covered T20
AcquireAckPulse->AcquireStart 1314 Covered T20
AcquireAckPulse->Idle 1312 Covered T20
AcquireAckSetup->AcquireAckPulse 1221 Covered T20
AcquireAckSetup->AcquireStart 1314 Covered T20
AcquireAckSetup->Idle 1312 Covered T20
AcquireAckWait->AcquireAckSetup 1216 Covered T20
AcquireAckWait->AcquireStart 1314 Covered T20
AcquireAckWait->Idle 1312 Covered T20
AcquireByte->AcquireAckWait 1207 Covered T20
AcquireByte->AcquireStart 1314 Covered T20
AcquireByte->Idle 1312 Covered T20
AcquireStart->AddrRead 1092 Covered T20
AcquireStart->Idle 1312 Covered T20
Active->AcquireStart 1314 Excluded
Active->ClockLow 1064 Covered T20
Active->Idle 1312 Excluded
Active->ReadClockLow 1056 Covered T20
Active->SetupStart 1060 Covered T20
AddrAckHold->AcquireByte 1137 Covered T20
AddrAckHold->AcquireStart 1314 Covered T20
AddrAckHold->Idle 1312 Covered T20
AddrAckHold->StretchAddr 1133 Covered T20
AddrAckHold->TransmitWait 1135 Covered T20
AddrAckPulse->AcquireStart 1314 Covered T20
AddrAckPulse->AddrAckHold 1121 Covered T20
AddrAckPulse->Idle 1312 Covered T20
AddrAckSetup->AcquireStart 1314 Covered T20
AddrAckSetup->AddrAckPulse 1116 Covered T20
AddrAckSetup->Idle 1312 Covered T20
AddrAckWait->AcquireStart 1314 Covered T20
AddrAckWait->AddrAckSetup 1111 Covered T20
AddrAckWait->Idle 1312 Covered T20
AddrRead->AcquireStart 1314 Covered T20
AddrRead->AddrAckWait 1100 Covered T20
AddrRead->Idle 1104 Covered T20
ClockLow->AcquireStart 1314 Excluded
ClockLow->ClockPulse 881 Covered T20
ClockLow->Idle 1312 Covered T20
ClockLow->SetupStart 878 Covered T20
ClockLowAck->AcquireStart 1314 Excluded
ClockLowAck->ClockPulseAck 916 Covered T20
ClockLowAck->Idle 1312 Not Covered
ClockPulse->AcquireStart 1314 Excluded
ClockPulse->HoldBit 891 Covered T20
ClockPulse->Idle 1312 Covered T20
ClockPulseAck->AcquireStart 1314 Excluded
ClockPulseAck->HoldDevAck 924 Covered T20
ClockPulseAck->Idle 1312 Covered T20
ClockStart->AcquireStart 1314 Excluded
ClockStart->ClockLow 867 Covered T20
ClockStart->Idle 1312 Excluded
ClockStop->AcquireStart 1314 Excluded
ClockStop->Idle 1312 Excluded
ClockStop->SetupStop 1021 Covered T20
HoldBit->AcquireStart 1314 Excluded
HoldBit->ClockLow 907 Covered T20
HoldBit->ClockLowAck 904 Covered T20
HoldBit->Idle 1312 Covered T20
HoldDevAck->AcquireStart 1314 Excluded
HoldDevAck->ClockStop 933 Covered T20
HoldDevAck->Idle 1312 Not Covered
HoldDevAck->PopFmtFifo 937 Covered T20
HoldStart->AcquireStart 1314 Excluded
HoldStart->ClockStart 859 Covered T20
HoldStart->Idle 1312 Excluded
HoldStop->AcquireStart 1314 Excluded
HoldStop->Idle 1041 Covered T20
HoldStop->PopFmtFifo 1045 Covered T20
HostClockLowAck->AcquireStart 1314 Excluded
HostClockLowAck->HostClockPulseAck 980 Covered T20
HostClockLowAck->Idle 1312 Excluded
HostClockPulseAck->AcquireStart 1314 Excluded
HostClockPulseAck->HostHoldBitAck 989 Covered T20
HostClockPulseAck->Idle 1312 Covered T20
HostHoldBitAck->AcquireStart 1314 Excluded
HostHoldBitAck->ClockStop 1001 Covered T20
HostHoldBitAck->Idle 1312 Covered T20
HostHoldBitAck->PopFmtFifo 1005 Covered T20
HostHoldBitAck->ReadClockLow 1010 Covered T20
Idle->AcquireStart 1314 Covered T20
Idle->Active 843 Covered T20
PopFmtFifo->AcquireStart 1314 Excluded
PopFmtFifo->Active 1082 Covered T20
PopFmtFifo->ClockStop 1074 Covered T20
PopFmtFifo->Idle 1078 Covered T20
ReadClockLow->AcquireStart 1314 Excluded
ReadClockLow->Idle 1312 Covered T20
ReadClockLow->ReadClockPulse 946 Covered T20
ReadClockPulse->AcquireStart 1314 Excluded
ReadClockPulse->Idle 1312 Covered T20
ReadClockPulse->ReadHoldBit 954 Covered T20
ReadHoldBit->AcquireStart 1314 Excluded
ReadHoldBit->HostClockLowAck 966 Covered T20
ReadHoldBit->Idle 1312 Covered T20
ReadHoldBit->ReadClockLow 970 Covered T20
SetupStart->AcquireStart 1314 Excluded
SetupStart->HoldStart 850 Covered T20
SetupStart->Idle 1312 Excluded
SetupStop->AcquireStart 1314 Excluded
SetupStop->HoldStop 1029 Covered T20
SetupStop->Idle 1312 Excluded
StretchAcqFull->AcquireByte 1279 Covered T20
StretchAcqFull->AcquireStart 1314 Covered T20
StretchAcqFull->Idle 1312 Covered T20
StretchAddr->AcquireByte 1248 Covered T20
StretchAddr->AcquireStart 1314 Covered T20
StretchAddr->Idle 1312 Covered T20
StretchAddr->StretchTx 1248 Covered T20
StretchTx->AcquireStart 1314 Covered T20
StretchTx->Idle 1312 Covered T20
StretchTx->StretchTxSetup 1262 Covered T20
StretchTxSetup->AcquireStart 1314 Covered T20
StretchTxSetup->Idle 1312 Covered T20
StretchTxSetup->TransmitSetup 1272 Covered T20
TransmitAck->AcquireStart 1314 Covered T20
TransmitAck->Idle 1312 Covered T20
TransmitAck->TransmitAckPulse 1179 Covered T20
TransmitAckPulse->AcquireStart 1314 Covered T20
TransmitAckPulse->Idle 1312 Covered T20
TransmitAckPulse->TransmitWait 1189 Covered T20
TransmitAckPulse->WaitForStop 1192 Covered T20
TransmitHold->AcquireStart 1314 Covered T20
TransmitHold->Idle 1312 Covered T20
TransmitHold->TransmitAck 1167 Covered T20
TransmitHold->TransmitSetup 1171 Covered T20
TransmitPulse->AcquireStart 1314 Covered T20
TransmitPulse->Idle 1312 Covered T20
TransmitPulse->TransmitHold 1158 Covered T20
TransmitSetup->AcquireStart 1314 Covered T20
TransmitSetup->Idle 1312 Covered T20
TransmitSetup->TransmitPulse 1153 Covered T20
TransmitWait->AcquireStart 1314 Covered T20
TransmitWait->Idle 1312 Covered T20
TransmitWait->StretchTx 1144 Covered T20
TransmitWait->TransmitSetup 1146 Covered T20
WaitForStop->AcquireStart 1314 Covered T20
WaitForStop->Idle 1312 Covered T20



Branch Coverage for Instance : tb.dut.i2c_core.u_i2c_fsm
Line No.TotalCoveredPercent
Branches 258 247 95.74
IF 154 14 13 92.86
IF 180 2 2 100.00
IF 193 5 5 100.00
IF 209 4 4 100.00
IF 222 4 4 100.00
IF 233 3 3 100.00
IF 240 4 4 100.00
IF 253 2 2 100.00
IF 267 5 5 100.00
IF 279 5 4 80.00
IF 301 5 5 100.00
IF 322 5 5 100.00
IF 333 4 4 100.00
IF 410 4 4 100.00
IF 433 3 3 100.00
CASE 475 73 67 91.78
IF 795 3 3 100.00
CASE 838 105 103 98.10
IF 1303 4 3 75.00
IF 1322 2 2 100.00
IF 1331 2 2 100.00

WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_i2c_0.1/rtl/i2c_fsm.sv' or '../src/lowrisc_ip_i2c_0.1/rtl/i2c_fsm.sv was not found/opened, so annotated branch coverage report could not be generated.

LineNo. Expression -1-: 154 if (load_tcount) -2-: 155 case (tcount_sel) -3-: 169 if (((stretch_idle_cnt == '0) || target_enable_i))

Branches:
-1--2--3-StatusTests
1 tSetupStart - Covered T1,T10,T11
1 tHoldStart - Covered T1,T10,T11
1 tSetupData - Covered T7,T9,T15
1 tClockStart - Covered T1,T10,T7
1 tClockLow - Covered T1,T10,T11
1 tClockPulse - Covered T1,T10,T11
1 tHoldBit - Covered T1,T10,T11
1 tClockStop - Covered T1,T10,T11
1 tSetupStop - Covered T1,T10,T11
1 tHoldStop - Covered T1,T10,T11
1 tNoDelay - Covered T1,T10,T11
1 default - Not Covered
0 - 1 Covered T1,T2,T3
0 - 0 Covered T1,T10,T11


LineNo. Expression -1-: 180 if ((!rst_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 193 if ((!rst_ni)) -2-: 195 if (((stretch_en && scl_d) && (!scl_i))) -3-: 197 if (((!target_idle_o) && event_host_timeout_o)) -4-: 200 if (((!target_idle_o) && scl_i))

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Covered T1,T10,T11
0 0 1 - Covered T16,T30,T31
0 0 0 1 Covered T7,T8,T9
0 0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 209 if ((!rst_ni)) -2-: 211 if (bit_clr) -3-: 213 if (bit_decr)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T10,T11
0 0 1 Covered T1,T10,T11
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 222 if ((!rst_ni)) -2-: 224 if (read_byte_clr) -3-: 226 if (shift_data_en)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T10,T11
0 0 1 Covered T1,T10,T11
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 233 if ((!fmt_flag_read_bytes_i)) -2-: 234 if ((fmt_byte_i == '0))

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T11,T32,T33
0 0 Covered T1,T10,T11


LineNo. Expression -1-: 240 if ((!rst_ni)) -2-: 242 if (byte_clr) -3-: 244 if (byte_decr)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T10,T11
0 0 1 Covered T1,T10,T11
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 253 if ((!rst_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 267 if ((!rst_ni)) -2-: 269 if ((trans_started && (!host_enable_i))) -3-: 271 if (log_start) -4-: 273 if (log_stop)

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Covered T34,T35,T36
0 0 1 - Covered T1,T10,T11
0 0 0 1 Covered T1,T10,T11
0 0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 279 if ((!rst_ni)) -2-: 281 if ((pend_restart && (!host_enable_i))) -3-: 283 if (req_restart) -4-: 285 if (log_start)

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Not Covered
0 0 1 - Covered T11,T37,T38
0 0 0 1 Covered T1,T10,T11
0 0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 301 if ((!rst_ni)) -2-: 303 if (start_det) -3-: 305 if ((scl_i_q && (!scl_i))) -4-: 308 if ((input_byte_clr || bit_ack))

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Covered T7,T8,T9
0 0 1 1 Covered T1,T10,T7
0 0 1 0 Covered T1,T10,T7
0 0 0 - Covered T1,T2,T3


LineNo. Expression -1-: 322 if ((!rst_ni)) -2-: 324 if (input_byte_clr) -3-: 326 if (((!scl_i_q) && scl_i)) -4-: 327 if ((!bit_ack))

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Covered T7,T8,T9
0 0 1 1 Covered T1,T10,T7
0 0 1 0 Covered T1,T10,T7
0 0 0 - Covered T1,T2,T3


LineNo. Expression -1-: 333 if ((!rst_ni)) -2-: 335 if (((!scl_i_q) && scl_i)) -3-: 336 if (bit_ack)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 1 Covered T1,T10,T7
0 1 0 Covered T1,T10,T7
0 0 - Covered T1,T2,T3


LineNo. Expression -1-: 410 if ((!rst_ni)) -2-: 412 if (((!en_sda_interf_det) && (|sda_rise_cnt))) -3-: 417 if ((en_sda_interf_det && (sda_rise_cnt < sda_rise_latency)))

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T10,T11
0 0 1 Covered T1,T10,T11
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 433 if ((!rst_ni)) -2-: 435 if ((bit_ack && address_match))

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T1,T10,T7
0 0 Covered T1,T2,T3


LineNo. Expression -1-: 475 case (state_q) -2-: 481 if ((host_enable_i && trans_started)) -3-: 494 if (log_start) -4-: 510 if (pend_restart) -5-: 523 if ((scl_i_q && (!scl_i))) -6-: 524 if ((sda_i_q != sda_i)) -7-: 543 if (((((!scl_i_q) && scl_i) && sda_i) && (!fmt_flag_nak_ok_i))) -8-: 545 if ((scl_i_q && (!scl_i))) -9-: 546 if ((sda_i_q != sda_i)) -10-: 565 if ((scl_i_q && (!scl_i))) -11-: 566 if ((sda_i_q != sda_i)) -12-: 572 if (((bit_index == '0) && (tcount_q == 20'b1))) -13-: 584 if (fmt_flag_read_continue_i) -14-: 585 if ((byte_index == 9'b1)) -15-: 591 if (fmt_flag_read_continue_i) -16-: 592 if ((byte_index == 9'b1)) -17-: 596 if ((scl_i_q && (!scl_i))) -18-: 597 if ((sda_i_q != sda_i)) -19-: 602 if (fmt_flag_read_continue_i) -20-: 603 if ((byte_index == 9'b1)) -21-: 639 if (fmt_flag_stop_after_i) -22-: 672 if ((tcount_q == 20'b1)) -23-: 707 if ((!scl_i)) -24-: 741 if ((tcount_q == 20'b1))

Branches:
-1--2--3--4--5--6--7--8--9--10--11--12--13--14--15--16--17--18--19--20--21--22--23--24-StatusTests
Idle 1 - - - - - - - - - - - - - - - - - - - - - - Not Covered
Idle 0 - - - - - - - - - - - - - - - - - - - - - - Covered T1,T2,T3
SetupStart - 1 - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
SetupStart - 0 - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
HoldStart - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockStart - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockLow - - 1 - - - - - - - - - - - - - - - - - - - - Covered T11,T37,T38
ClockLow - - 0 - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockPulse - - - 1 - - - - - - - - - - - - - - - - - - - Not Covered
ClockPulse - - - 0 - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockPulse - - - - 1 - - - - - - - - - - - - - - - - - - Covered T11,T12,T43
ClockPulse - - - - 0 - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
HoldBit - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockLowAck - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockPulseAck - - - - - 1 - - - - - - - - - - - - - - - - - Covered T44,T45,T50
ClockPulseAck - - - - - 0 - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockPulseAck - - - - - - 1 - - - - - - - - - - - - - - - - Not Covered
ClockPulseAck - - - - - - 0 - - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockPulseAck - - - - - - - 1 - - - - - - - - - - - - - - - Covered T1,T10,T11
ClockPulseAck - - - - - - - 0 - - - - - - - - - - - - - - - Covered T1,T10,T11
HoldDevAck - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ReadClockLow - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
ReadClockPulse - - - - - - - - 1 - - - - - - - - - - - - - - Not Covered
ReadClockPulse - - - - - - - - 0 - - - - - - - - - - - - - - Covered T1,T10,T11
ReadClockPulse - - - - - - - - - 1 - - - - - - - - - - - - - Covered T1,T10,T11
ReadClockPulse - - - - - - - - - 0 - - - - - - - - - - - - - Covered T1,T10,T11
ReadHoldBit - - - - - - - - - - 1 - - - - - - - - - - - - Covered T1,T10,T11
ReadHoldBit - - - - - - - - - - 0 - - - - - - - - - - - - Covered T1,T10,T11
HostClockLowAck - - - - - - - - - - - 1 - - - - - - - - - - - Covered T11,T61,T62
HostClockLowAck - - - - - - - - - - - 0 1 - - - - - - - - - - Covered T1,T10,T11
HostClockLowAck - - - - - - - - - - - 0 0 - - - - - - - - - - Covered T1,T10,T11
HostClockPulseAck - - - - - - - - - - - - - 1 - - - - - - - - - Covered T11,T61,T62
HostClockPulseAck - - - - - - - - - - - - - 0 1 - - - - - - - - Covered T1,T10,T11
HostClockPulseAck - - - - - - - - - - - - - 0 0 - - - - - - - - Covered T1,T10,T11
HostClockPulseAck - - - - - - - - - - - - - - - 1 - - - - - - - Not Covered
HostClockPulseAck - - - - - - - - - - - - - - - 0 - - - - - - - Covered T1,T10,T11
HostClockPulseAck - - - - - - - - - - - - - - - - 1 - - - - - - Covered T11,T12,T51
HostClockPulseAck - - - - - - - - - - - - - - - - 0 - - - - - - Covered T1,T10,T11
HostHoldBitAck - - - - - - - - - - - - - - - - - 1 - - - - - Covered T11,T61,T62
HostHoldBitAck - - - - - - - - - - - - - - - - - 0 1 - - - - Covered T1,T10,T11
HostHoldBitAck - - - - - - - - - - - - - - - - - 0 0 - - - - Covered T1,T10,T11
ClockStop - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
SetupStop - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
HoldStop - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
Active - - - - - - - - - - - - - - - - - - - - - - - Covered T1,T10,T11
PopFmtFifo - - - - - - - - - - - - - - - - - - - 1 - - - Covered T1,T10,T11
PopFmtFifo - - - - - - - - - - - - - - - - - - - 0 - - - Covered T1,T10,T11
AcquireStart - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AddrRead - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AddrAckWait - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AddrAckSetup - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AddrAckPulse - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AddrAckHold - - - - - - - - - - - - - - - - - - - - 1 - - Covered T7,T8,T9
AddrAckHold - - - - - - - - - - - - - - - - - - - - 0 - - Covered T8,T9,T15
TransmitWait - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
TransmitSetup - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
TransmitPulse - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
TransmitHold - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
TransmitAck - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
TransmitAckPulse - - - - - - - - - - - - - - - - - - - - - 1 - Covered T7,T9,T15
TransmitAckPulse - - - - - - - - - - - - - - - - - - - - - 0 - Covered T7,T9,T15
WaitForStop - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
AcquireByte - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AcquireAckWait - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AcquireAckSetup - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AcquireAckPulse - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T8,T9
AcquireAckHold - - - - - - - - - - - - - - - - - - - - - - 1 Covered T7,T8,T9
AcquireAckHold - - - - - - - - - - - - - - - - - - - - - - 0 Covered T8,T9,T15
StretchAddr - - - - - - - - - - - - - - - - - - - - - - - Covered T8,T16,T57
StretchTx - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
StretchTxSetup - - - - - - - - - - - - - - - - - - - - - - - Covered T7,T9,T15
StretchAcqFull - - - - - - - - - - - - - - - - - - - - - - - Covered T8,T16,T57
default - - - - - - - - - - - - - - - - - - - - - - - Not Covered


LineNo. Expression -1-: 795 if ((start_det || stop_det)) -2-: 798 (start_det) ?

Branches:
-1--2-StatusTests
1 1 Covered T7,T8,T9
1 0 Covered T7,T8,T9
0 - Covered T1,T2,T3


LineNo. Expression -1-: 838 case (state_q) -2-: 841 if (((!host_enable_i) && (!target_enable_i))) -3-: 842 if (host_enable_i) -4-: 843 if (fmt_fifo_rvalid_i) -5-: 849 if ((tcount_q == 20'b1)) -6-: 858 if ((tcount_q == 20'b1)) -7-: 866 if ((tcount_q == 20'b1)) -8-: 875 if ((tcount_q == 20'b1)) -9-: 877 if (pend_restart) -10-: 890 if ((tcount_q == 20'b1)) -11-: 899 if ((tcount_q == 20'b1)) -12-: 903 if ((bit_index == '0)) -13-: 915 if ((tcount_q == 20'b1)) -14-: 923 if ((tcount_q == 20'b1)) -15-: 931 if ((tcount_q == 20'b1)) -16-: 932 if (fmt_flag_stop_after_i) -17-: 945 if ((tcount_q == 20'b1)) -18-: 953 if ((tcount_q == 20'b1)) -19-: 962 if ((tcount_q == 20'b1)) -20-: 965 if ((bit_index == '0)) -21-: 979 if ((tcount_q == 20'b1)) -22-: 988 if ((tcount_q == 20'b1)) -23-: 997 if ((tcount_q == 20'b1)) -24-: 999 if ((byte_index == 9'b1)) -25-: 1000 if (fmt_flag_stop_after_i) -26-: 1020 if ((tcount_q == 20'b1)) -27-: 1028 if ((tcount_q == 20'b1)) -28-: 1038 if ((tcount_q == 20'b1)) -29-: 1040 if ((!host_enable_i)) -30-: 1054 if (fmt_flag_read_bytes_i) -31-: 1059 if ((fmt_flag_start_before_i && (!trans_started))) -32-: 1073 if ((!host_enable_i)) -33-: 1077 if ((fmt_fifo_depth_i == 7'b1)) -34-: 1090 if ((scl_i_q && (!scl_i))) -35-: 1099 if ((bit_ack && address_match)) -36-: 1103 if ((bit_ack && (!address_match))) -37-: 1110 if (((tcount_q == 20'b1) && (!scl_i))) -38-: 1116 if (scl_i) -39-: 1120 if ((!scl_i)) -40-: 1128 if ((tcount_q == 20'b1)) -41-: 1132 if (stretch_addr) -42-: 1134 if (rw_bit_q) -43-: 1136 if ((!rw_bit_q)) -44-: 1143 if (stretch_tx) -45-: 1153 if (scl_i) -46-: 1157 if ((!scl_i)) -47-: 1165 if ((tcount_q == 20'b1)) -48-: 1166 if (bit_ack) -49-: 1178 if (scl_i) -50-: 1186 if ((!scl_i)) -51-: 1188 if (host_ack) -52-: 1206 if (bit_ack) -53-: 1215 if (((tcount_q == 20'b1) && (!scl_i))) -54-: 1221 if (scl_i) -55-: 1225 if ((!scl_i)) -56-: 1233 if ((tcount_q == 20'b1)) -57-: 1236 (acq_fifo_wready) ? -58-: 1242 if ((!stretch_addr)) -59-: 1248 (rw_bit_q) ? -60-: 1255 if ((!stretch_tx)) -61-: 1271 if ((tcount_q == 20'b1)) -62-: 1279 if (acq_fifo_wready)

Branches:
BranchStatusTests
(1.Idle )->(2) Covered T1,T2,T3
(1.Idle )->(!2)->(3)->(4) Covered T1,T10,T11
(1.Idle )->(!2)->(3)->(!4) Covered T1,T10,T11
(1.Idle )->(!2)->(!3) Covered T7,T8,T9
(1.SetupStart )->(5) Covered T1,T10,T11
(1.SetupStart )->(!5) Covered T1,T10,T11
(1.HoldStart )->(6) Covered T1,T10,T11
(1.HoldStart )->(!6) Covered T1,T10,T11
(1.ClockStart )->(7) Covered T1,T10,T11
(1.ClockStart )->(!7) Covered T1,T10,T11
(1.ClockLow )->(8)->(9) Covered T11,T37,T38
(1.ClockLow )->(8)->(!9) Covered T1,T10,T11
(1.ClockLow )->(!8) Covered T1,T10,T11
(1.ClockPulse )->(10) Covered T1,T10,T11
(1.ClockPulse )->(!10) Covered T1,T10,T11
(1.HoldBit )->(11)->(12) Covered T1,T10,T11
(1.HoldBit )->(11)->(!12) Covered T1,T10,T11
(1.HoldBit )->(!11) Covered T1,T10,T11
(1.ClockLowAck )->(13) Covered T1,T10,T11
(1.ClockLowAck )->(!13) Covered T1,T10,T11
(1.ClockPulseAck )->(14) Covered T1,T10,T11
(1.ClockPulseAck )->(!14) Covered T1,T10,T11
(1.HoldDevAck )->(15)->(16) Covered T1,T10,T11
(1.HoldDevAck )->(15)->(!16) Covered T1,T10,T11
(1.HoldDevAck )->(!15) Covered T1,T10,T11
(1.ReadClockLow )->(17) Covered T1,T10,T11
(1.ReadClockLow )->(!17) Covered T1,T10,T11
(1.ReadClockPulse )->(18) Covered T1,T10,T11
(1.ReadClockPulse )->(!18) Covered T1,T10,T11
(1.ReadHoldBit )->(19)->(20) Covered T1,T10,T11
(1.ReadHoldBit )->(19)->(!20) Covered T1,T10,T11
(1.ReadHoldBit )->(!19) Covered T1,T10,T11
(1.HostClockLowAck )->(21) Covered T1,T10,T11
(1.HostClockLowAck )->(!21) Covered T1,T10,T11
(1.HostClockPulseAck )->(22) Covered T1,T10,T11
(1.HostClockPulseAck )->(!22) Covered T1,T10,T11
(1.HostHoldBitAck )->(23)->(24)->(25) Covered T1,T10,T11
(1.HostHoldBitAck )->(23)->(24)->(!25) Covered T11,T61,T62
(1.HostHoldBitAck )->(23)->(!24) Covered T1,T10,T11
(1.HostHoldBitAck )->(!23) Covered T1,T10,T11
(1.ClockStop )->(26) Covered T1,T10,T11
(1.ClockStop )->(!26) Covered T1,T10,T11
(1.SetupStop )->(27) Covered T1,T10,T11
(1.SetupStop )->(!27) Covered T1,T10,T11
(1.HoldStop )->(28)->(29) Covered T34,T35,T36
(1.HoldStop )->(28)->(!29) Covered T1,T10,T11
(1.HoldStop )->(!28) Covered T1,T10,T11
(1.Active )->(30) Covered T1,T10,T11
(1.Active )->(!30)->(31) Covered T1,T10,T11
(1.Active )->(!30)->(!31) Covered T1,T10,T11
(1.PopFmtFifo )->(32) Covered T34,T35,T36
(1.PopFmtFifo )->(!32)->(33) Covered T1,T10,T11
(1.PopFmtFifo )->(!32)->(!33) Covered T1,T10,T11
(1.AcquireStart )->(34) Covered T7,T8,T9
(1.AcquireStart )->(!34) Covered T7,T8,T9
(1.AddrRead )->(35) Covered T7,T8,T9
(1.AddrRead )->(!35)->(36) Covered T9,T39,T40
(1.AddrRead )->(!35)->(!36) Covered T7,T8,T9
(1.AddrAckWait )->(37) Covered T7,T8,T9
(1.AddrAckWait )->(!37) Covered T8,T9,T15
(1.AddrAckSetup )->(38) Covered T7,T8,T9
(1.AddrAckSetup )->(!38) Covered T7,T8,T9
(1.AddrAckPulse )->(39) Covered T7,T8,T9
(1.AddrAckPulse )->(!39) Covered T7,T8,T9
(1.AddrAckHold )->(40)->(41) Covered T8,T16,T57
(1.AddrAckHold )->(40)->(!41)->(42) Covered T7,T9,T15
(1.AddrAckHold )->(40)->(!41)->(!42)->(43) Covered T7,T8,T9
(1.AddrAckHold )->(40)->(!41)->(!42)->(!43) Not Covered
(1.AddrAckHold )->(!40) Covered T8,T9,T15
(1.TransmitWait )->(44) Covered T7,T9,T15
(1.TransmitWait )->(!44) Covered T7,T9,T15
(1.TransmitSetup )->(45) Covered T7,T9,T15
(1.TransmitSetup )->(!45) Covered T7,T9,T15
(1.TransmitPulse )->(46) Covered T7,T9,T15
(1.TransmitPulse )->(!46) Covered T7,T9,T15
(1.TransmitHold )->(47)->(48) Covered T7,T9,T15
(1.TransmitHold )->(47)->(!48) Covered T7,T9,T15
(1.TransmitHold )->(!47) Covered T9,T15,T18
(1.TransmitAck )->(49) Covered T7,T9,T15
(1.TransmitAck )->(!49) Covered T7,T9,T15
(1.TransmitAckPulse )->(50)->(51) Covered T7,T9,T15
(1.TransmitAckPulse )->(50)->(!51) Covered T7,T9,T15
(1.TransmitAckPulse )->(!50) Covered T7,T9,T15
(1.WaitForStop ) Covered T7,T9,T15
(1.AcquireByte )->(52) Covered T7,T8,T9
(1.AcquireByte )->(!52) Covered T7,T8,T9
(1.AcquireAckWait )->(53) Covered T7,T8,T9
(1.AcquireAckWait )->(!53) Covered T8,T9,T15
(1.AcquireAckSetup )->(54) Covered T7,T8,T9
(1.AcquireAckSetup )->(!54) Covered T7,T8,T9
(1.AcquireAckPulse )->(55) Covered T7,T8,T9
(1.AcquireAckPulse )->(!55) Covered T7,T8,T9
(1.AcquireAckHold )->(56)->(57) Covered T7,T8,T9
(1.AcquireAckHold )->(56)->(!57) Covered T8,T16,T57
(1.AcquireAckHold )->(!56) Covered T8,T9,T15
(1.StretchAddr )->(58)->(59) Covered T58,T59,T60
(1.StretchAddr )->(58)->(!59) Covered T8,T16,T57
(1.StretchAddr )->(!58) Covered T8,T16,T57
(1.StretchTx )->(60) Covered T7,T9,T15
(1.StretchTx )->(!60) Covered T7,T9,T15
(1.StretchTxSetup )->(61) Covered T7,T9,T15
(1.StretchTxSetup )->(!61) Covered T7,T9,T15
(1.StretchAcqFull )->(62) Covered T8,T16,T57
(1.StretchAcqFull )->(!62) Covered T8,T16,T57
(1.default) Not Covered


LineNo. Expression -1-: 1303 if (((!target_idle) && (!target_enable_i))) -2-: 1313 if (start_det) -3-: 1315 if (stop_det)

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Covered T7,T8,T9
0 0 1 Covered T7,T8,T9
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 1322 if ((!rst_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 1331 if ((!rst_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


Assert Coverage for Instance : tb.dut.i2c_core.u_i2c_fsm
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 4 4 100.00 4 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 4 4 100.00 4 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
AcqDepthRdCheck_A 530708895 4151690 0 0
SclInputGlitch_A 510674952 11289189 0 0
SclOutputGlitch_A 530708895 5871538 0 0
SclSdaChangeNotSimultaneous_A 530708895 530521025 0 0


AcqDepthRdCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 530708895 4151690 0 0
T4 1377 0 0 0
T7 109140 1398 0 0
T8 241125 0 0 0
T9 122658 401 0 0
T11 484611 0 0 0
T12 486934 0 0 0
T15 0 37618 0 0
T16 0 27509 0 0
T17 0 35987 0 0
T18 0 32192 0 0
T19 0 2606 0 0
T30 0 292 0 0
T39 0 663 0 0
T41 0 5026 0 0
T63 21740 0 0 0
T64 371573 0 0 0
T65 17486 0 0 0
T66 1608 0 0 0

SclInputGlitch_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 510674952 11289189 0 0
T1 648573 22268 0 0
T2 1768 0 0 0
T3 1142 0 0 0
T4 1377 3 0 0
T7 109140 4859 0 0
T8 0 5387 0 0
T9 0 4248 0 0
T10 515292 17580 0 0
T11 480809 15258 0 0
T12 486934 17733 0 0
T63 21740 829 0 0
T64 371573 14064 0 0

SclOutputGlitch_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 530708895 5871538 0 0
T1 648573 22268 0 0
T2 1768 0 0 0
T3 1142 0 0 0
T4 1377 0 0 0
T7 109140 31 0 0
T8 0 318 0 0
T9 0 19 0 0
T10 515292 17580 0 0
T11 484611 15295 0 0
T12 486934 17733 0 0
T63 21740 829 0 0
T64 371573 14064 0 0
T65 0 829 0 0

SclSdaChangeNotSimultaneous_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 530708895 530521025 0 0
T1 648573 648478 0 0
T2 1768 1718 0 0
T3 1142 1049 0 0
T4 1377 1327 0 0
T7 109140 109075 0 0
T10 515292 515198 0 0
T11 484611 483671 0 0
T12 486934 486839 0 0
T63 21740 21664 0 0
T64 371573 371492 0 0

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%