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

Module : spi_tpm
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00 0.00

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

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_spi_tpm 0.00 0.00 0.00 0.00 0.00



Module Instance : tb.dut.u_spi_tpm

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00 0.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00 0.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
18.78 0.00 0.00 75.11 0.00 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_arbiter 0.00 0.00 0.00 0.00
u_cmdaddr_buffer 0.00 0.00 0.00 0.00
u_csb_sync_rst 0.00 0.00 0.00 0.00
u_hw_reg_slice 0.00 0.00
u_rdfifo_ready 0.00 0.00 0.00
u_sram_fifo 0.00 0.00 0.00 0.00
u_tpm_rd_buffer 0.00 0.00 0.00 0.00
u_tpm_wr_buffer 0.00 0.00 0.00 0.00
u_wrfifo_busy_sync 0.00 0.00 0.00
u_wrfifo_release_reqack 0.00 0.00 0.00 0.00


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : spi_tpm
Line No.TotalCoveredPercent
TOTAL28200.00
CONT_ASSIGN335100.00
CONT_ASSIGN349100.00
CONT_ASSIGN374100.00
CONT_ASSIGN492100.00
CONT_ASSIGN493100.00
CONT_ASSIGN521100.00
ALWAYS525800.00
ALWAYS542300.00
ALWAYS555400.00
CONT_ASSIGN564100.00
CONT_ASSIGN566100.00
CONT_ASSIGN591100.00
ALWAYS594300.00
ALWAYS602400.00
ALWAYS610300.00
ALWAYS620600.00
CONT_ASSIGN637100.00
CONT_ASSIGN644100.00
ALWAYS648400.00
CONT_ASSIGN655100.00
ALWAYS658400.00
CONT_ASSIGN665100.00
CONT_ASSIGN667100.00
CONT_ASSIGN680100.00
ALWAYS683600.00
CONT_ASSIGN706100.00
ALWAYS709600.00
ALWAYS721400.00
ALWAYS743300.00
ALWAYS751300.00
ALWAYS763600.00
ALWAYS780600.00
ALWAYS796300.00
ALWAYS802600.00
ALWAYS813400.00
ALWAYS823400.00
ALWAYS832400.00
CONT_ASSIGN839100.00
CONT_ASSIGN840100.00
ALWAYS852600.00
ALWAYS863600.00
ALWAYS873300.00
ALWAYS893700.00
ALWAYS9351500.00
ALWAYS1012300.00
CONT_ASSIGN1021100.00
ALWAYS1024300.00
CONT_ASSIGN1044100.00
CONT_ASSIGN1045100.00
CONT_ASSIGN1049100.00
ALWAYS1052300.00
ALWAYS1064400.00
CONT_ASSIGN1073100.00
ALWAYS1095300.00
ALWAYS11237200.00
CONT_ASSIGN1373100.00
CONT_ASSIGN1375100.00
ALWAYS1382600.00
ALWAYS1394800.00
ALWAYS1409600.00
CONT_ASSIGN1425100.00
CONT_ASSIGN1428100.00
CONT_ASSIGN1459100.00
CONT_ASSIGN1465100.00
ALWAYS1470600.00
ALWAYS1480400.00
CONT_ASSIGN1489100.00
CONT_ASSIGN1490100.00
CONT_ASSIGN1522100.00
CONT_ASSIGN1556100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_spi_device_0.1/rtl/spi_tpm.sv' or '../src/lowrisc_ip_spi_device_0.1/rtl/spi_tpm.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
335 0 1
349 0 1
374 0 1
492 0 1
493 0 1
521 0 1
525 0 1
526 0 1
527 0 1
529 0 1
530 0 1
531 0 1
532 0 1
533 0 1
==> MISSING_ELSE
542 0 1
543 0 1
545 0 1
555 0 1
556 0 1
557 0 1
558 0 1
==> MISSING_ELSE
564 0 1
566 0 1
591 0 1
594 0 1
595 0 1
597 0 1
602 0 1
603 0 1
604 0 1
605 0 1
==> MISSING_ELSE
610 0 1
611 0 1
613 0 1
620 0 1
621 0 1
622 0 1
624 0 1
625 0 1
626 0 1
==> MISSING_ELSE
637 0 1
644 0 1
648 0 1
649 0 1
650 0 1
651 0 1
==> MISSING_ELSE
655 0 1
658 0 1
659 0 1
660 0 1
661 0 1
==> MISSING_ELSE
665 0 1
667 0 1
680 0 1
683 0 1
684 0 1
685 0 1
686 0 1
687 0 1
688 0 1
==> MISSING_ELSE
706 0 1
709 0 1
710 0 1
711 0 1
712 0 1
713 0 1
714 0 1
==> MISSING_ELSE
721 0 1
722 0 1
727 0 1
733 0 1
743 0 1
744 0 1
746 0 1
==> MISSING_ELSE
751 0 1
752 0 1
754 0 1
763 0 1
764 0 1
765 0 1
766 0 1
774 0 1
775 0 1
==> MISSING_ELSE
780 0 1
781 0 1
783 0 1
784 0 1
785 0 1
786 0 1
==> MISSING_ELSE
796 0 2
797 0 1
802 0 1
803 0 1
804 0 1
805 0 1
806 0 1
807 0 1
==> MISSING_ELSE
813 0 1
814 0 1
815 0 1
817 0 1
==> MISSING_ELSE
823 0 1
824 0 1
825 0 1
826 0 1
==> MISSING_ELSE
832 0 1
833 0 1
834 0 1
836 0 1
==> MISSING_ELSE
839 0 1
840 0 1
852 0 1
853 0 1
854 0 1
855 0 1
856 0 1
857 0 1
==> MISSING_ELSE
863 0 1
864 0 1
865 0 1
866 0 1
867 0 1
868 0 1
==> MISSING_ELSE
873 0 1
874 0 1
876 0 1
893 0 1
895 0 1
897 0 1
901 0 1
905 0 1
909 0 1
913 0 1
935 0 1
937 0 1
939 0 1
940 0 1
941 0 1
==> MISSING_ELSE
948 0 1
952 0 1
956 0 1
960 0 1
965 0 1
967 0 1
969 0 1
974 0 1
978 0 1
982 0 1
1012 0 1
1013 0 1
1015 0 1
1021 0 1
1024 0 2
1025 0 1
1044 0 1
1045 0 1
1049 0 1
1052 0 1
1053 0 1
1055 0 1
1064 0 1
1065 0 1
1066 0 1
1067 0 1
==> MISSING_ELSE
1073 0 1
1095 0 1
1096 0 1
1098 0 1
1123 0 1
1126 0 1
1127 0 1
1129 0 1
1130 0 1
1131 0 1
1133 0 1
1134 0 1
1140 0 1
1142 0 1
1144 0 1
1146 0 1
1147 0 1
1148 0 1
1150 0 1
1158 0 1
==> MISSING_ELSE
1165 0 1
1167 0 1
1169 0 1
1170 0 1
==> MISSING_ELSE
1174 0 1
1175 0 1
==> MISSING_ELSE
1179 0 1
1180 0 1
1183 0 1
1188 0 1
1189 0 1
==> MISSING_ELSE
1191 0 1
1194 0 1
1195 0 1
1198 0 1
1201 0 1
1206 0 1
1207 0 1
==> MISSING_ELSE
==> MISSING_ELSE
1212 0 1
1213 0 1
1215 0 1
1219 0 1
==> MISSING_ELSE
1225 0 1
1226 0 1
1229 0 1
1230 0 1
==> MISSING_ELSE
1234 0 1
1237 0 1
==> MISSING_ELSE
1242 0 1
1243 0 1
1245 0 1
1247 0 1
1248 0 1
1249 0 1
1250 0 1
1251 0 1
1252 0 1
==> MISSING_ELSE
==> MISSING_ELSE
1258 0 1
1260 0 1
1261 0 1
1263 0 1
1264 0 1
==> MISSING_ELSE
1269 0 1
1270 0 1
1274 0 1
1275 0 1
==> MISSING_ELSE
1280 0 1
1283 0 1
1285 0 1
1286 0 1
==> MISSING_ELSE
1292 0 1
1293 0 1
1294 0 1
==> MISSING_ELSE
1299 0 1
1300 0 1
1301 0 1
==> MISSING_ELSE
1373 0 1
1375 0 1
1382 0 1
1383 0 1
1384 0 1
1385 0 1
1386 0 1
1387 0 1
==> MISSING_ELSE
1394 0 1
1395 0 1
1396 0 1
1400 0 1
1401 0 1
1402 0 1
1403 0 1
1404 0 1
==> MISSING_ELSE
1409 0 1
1410 0 1
1411 0 1
1417 0 1
1418 0 1
1419 0 1
==> MISSING_ELSE
1425 0 1
1428 0 1
1459 0 1
1465 0 1
1470 0 1
1471 0 1
1472 0 1
1473 0 1
1474 0 1
1475 0 1
==> MISSING_ELSE
1480 0 1
1481 0 1
1482 0 1
1483 0 1
==> MISSING_ELSE
1489 0 1
1490 0 1
1522 0 1
1556 0 1


Cond Coverage for Module : spi_tpm
TotalCoveredPercent
Conditions21600.00
Logical21600.00
Non-Logical00
Event00

 LINE       564
 EXPRESSION ((cmdaddr_bitcnt == 5'b0) && (sck_st_q == StIdle))
             ------------1-----------    ----------2---------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       564
 SUB-EXPRESSION (cmdaddr_bitcnt == 5'b0)
                ------------1-----------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       564
 SUB-EXPRESSION (sck_st_q == StIdle)
                ----------1---------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       566
 EXPRESSION (cmdaddr_bitcnt == 5'h1d)
            ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       591
 EXPRESSION (cmdaddr_bitcnt == 5'h1f)
            ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       644
 EXPRESSION (isck_p2s_sent && (isck_data_sel == SelHwReg))
             ------1------    -------------2-------------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       644
 SUB-EXPRESSION (isck_data_sel == SelHwReg)
                -------------1-------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       655
 EXPRESSION (wrdata_bitcnt == 3'h7)
            -----------1-----------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       711
 EXPRESSION (sck_cmdaddr_wvalid && (cmd_type == Write))
             ---------1--------    ---------2---------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       711
 SUB-EXPRESSION (cmd_type == Write)
                ---------1---------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       744
 EXPRESSION (check_locality && (sys_clk_tpm_cfg.tpm_reg_chk_dis || (addr[23:16] == TpmAddr)))
             -------1------    ------------------------------2------------------------------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       744
 SUB-EXPRESSION (sys_clk_tpm_cfg.tpm_reg_chk_dis || (addr[23:16] == TpmAddr))
                 ---------------1---------------    ------------2-----------
-1--2-StatusTests
00Not Covered
01Not Covered
10Not Covered

 LINE       744
 SUB-EXPRESSION (addr[23:16] == TpmAddr)
                ------------1-----------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       766
 EXPRESSION (((!sys_clk_tpm_cfg.tpm_mode)) && check_hw_reg && (cmd_type == Read) && is_tpm_reg_q && ((!invalid_locality)) && ((!sys_clk_tpm_cfg.hw_reg_dis)))
             --------------1--------------    ------2-----    ---------3--------    ------4-----    ----------5----------    ---------------6---------------
-1--2--3--4--5--6-StatusTests
011111Not Covered
101111Not Covered
110111Not Covered
111011Not Covered
111101Not Covered
111110Not Covered
111111Not Covered

 LINE       766
 SUB-EXPRESSION (cmd_type == Read)
                ---------1--------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       784
 EXPRESSION (TpmReturnByHwAddr[i][11:2] == addr[11:2])
            ---------------------1--------------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       805
 EXPRESSION (check_locality && is_tpm_reg_d)
             -------1------    ------2-----
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       807
 EXPRESSION ((addr[15:12] < 4'(spi_device_reg_pkg::NumLocality)) ? 1'b0 : 1'b1)
             -------------------------1-------------------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       834
 EXPRESSION ((isck_p2s_sent && sck_rddata_shift_en) || (sck_wrfifo_wvalid && wrdata_shift_en))
             -------------------1------------------    -------------------2------------------
-1--2-StatusTests
00Not Covered
01Not Covered
10Not Covered

 LINE       834
 SUB-EXPRESSION (isck_p2s_sent && sck_rddata_shift_en)
                 ------1------    ---------2---------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       834
 SUB-EXPRESSION (sck_wrfifo_wvalid && wrdata_shift_en)
                 --------1--------    -------2-------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       840
 EXPRESSION (xfer_bytes_q == xfer_size)
            -------------1-------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       856
 EXPRESSION (sys_rdfifo_wvalid_i & sys_rdfifo_wready_o)
             ---------1---------   ---------2---------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       867
 EXPRESSION (sys_cmdaddr_rvalid_o & sys_cmdaddr_rready_i)
             ----------1---------   ----------2---------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       940
 EXPRESSION (((!invalid_locality)) && (4'(i) == locality))
             ----------1----------    ---------2---------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       940
 SUB-EXPRESSION (4'(i) == locality)
                ---------1---------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       965
 EXPRESSION (((!invalid_locality)) && sys_active_locality[locality[2:0]])
             ----------1----------    -----------------2----------------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1021
 EXPRESSION (isck_p2s_valid && (isck_p2s_bitcnt == '0))
             -------1------    -----------2-----------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1021
 SUB-EXPRESSION (isck_p2s_bitcnt == '0)
                -----------1-----------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1049
 EXPRESSION (isck_p2s_sent && (isck_data_sel == SelRdFifo))
             ------1------    --------------2-------------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1049
 SUB-EXPRESSION (isck_data_sel == SelRdFifo)
                --------------1-------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1073
 EXPRESSION (((&sck_rdfifo_idx)) && (isck_data_sel == SelRdFifo) && sck_p2s_valid && (isck_p2s_bitcnt == 3'b1))
             ---------1---------    --------------2-------------    ------3------    ------------4------------
-1--2--3--4-StatusTests
0111Not Covered
1011Not Covered
1101Not Covered
1110Not Covered
1111Not Covered

 LINE       1073
 SUB-EXPRESSION (isck_data_sel == SelRdFifo)
                --------------1-------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1073
 SUB-EXPRESSION (isck_p2s_bitcnt == 3'b1)
                ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1146
 EXPRESSION (cmdaddr_bitcnt == 5'h07)
            ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1174
 EXPRESSION (cmdaddr_bitcnt == 5'h1b)
            ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1179
 EXPRESSION ((cmdaddr_bitcnt == 5'h1f) && (cmd_type == Read))
             ------------1------------    ---------2--------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1179
 SUB-EXPRESSION (cmdaddr_bitcnt == 5'h1f)
                ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1179
 SUB-EXPRESSION (cmd_type == Read)
                ---------1--------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1180
 EXPRESSION (((!is_tpm_reg_q)) || sys_clk_tpm_cfg.tpm_mode)
             --------1--------    ------------2-----------
-1--2-StatusTests
00Not Covered
01Not Covered
10Not Covered

 LINE       1188
 EXPRESSION (sck_cmdaddr_wdepth == '0)
            -------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1195
 EXPRESSION (invalid_locality && sys_clk_tpm_cfg.invalid_locality)
             --------1-------    ----------------2---------------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1206
 EXPRESSION (sck_cmdaddr_wdepth == '0)
            -------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1212
 EXPRESSION ((cmdaddr_bitcnt == 5'h1f) && (cmd_type == Write))
             ------------1------------    ---------2---------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1212
 SUB-EXPRESSION (cmdaddr_bitcnt == 5'h1f)
                ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1212
 SUB-EXPRESSION (cmd_type == Write)
                ---------1---------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1213
 EXPRESSION (((!sck_wrfifo_busy)) && ((~|sck_cmdaddr_wdepth)))
             ----------1---------    ------------2-----------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1229
 EXPRESSION ((cmd_type == Read) && ((!sck_rdfifo_cmd_pending)) && ((~|sck_cmdaddr_wdepth)))
             ---------1--------    -------------2-------------    ------------3-----------
-1--2--3-StatusTests
011Not Covered
101Not Covered
110Not Covered
111Not Covered

 LINE       1229
 SUB-EXPRESSION (cmd_type == Read)
                ---------1--------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1234
 EXPRESSION (isck_p2s_sent && (((cmd_type == Read) && enough_payload_in_rdfifo) || ((cmd_type == Write) && ((!sck_wrfifo_busy)) && ((~|sck_cmdaddr_wdepth)))))
             ------1------    ---------------------------------------------------------------2---------------------------------------------------------------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1234
 SUB-EXPRESSION (((cmd_type == Read) && enough_payload_in_rdfifo) || ((cmd_type == Write) && ((!sck_wrfifo_busy)) && ((~|sck_cmdaddr_wdepth))))
                 ------------------------1-----------------------    ------------------------------------2------------------------------------
-1--2-StatusTests
00Not Covered
01Not Covered
10Not Covered

 LINE       1234
 SUB-EXPRESSION ((cmd_type == Read) && enough_payload_in_rdfifo)
                 ---------1--------    ------------2-----------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1234
 SUB-EXPRESSION (cmd_type == Read)
                ---------1--------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1234
 SUB-EXPRESSION ((cmd_type == Write) && ((!sck_wrfifo_busy)) && ((~|sck_cmdaddr_wdepth)))
                 ---------1---------    ----------2---------    ------------3-----------
-1--2--3-StatusTests
011Not Covered
101Not Covered
110Not Covered
111Not Covered

 LINE       1234
 SUB-EXPRESSION (cmd_type == Write)
                ---------1---------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1247
 EXPRESSION ((cmd_type == Read) && is_hw_reg)
             ---------1--------    ----2----
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1247
 SUB-EXPRESSION (cmd_type == Read)
                ---------1--------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1249
 EXPRESSION (cmd_type == Read)
            ---------1--------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1251
 EXPRESSION (cmd_type == Write)
            ---------1---------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1263
 EXPRESSION (isck_p2s_sent && xfer_size_met)
             ------1------    ------2------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1274
 EXPRESSION (isck_p2s_sent && xfer_size_met)
             ------1------    ------2------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1283
 EXPRESSION (sck_wrfifo_wvalid && xfer_size_met)
             --------1--------    ------2------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1292
 EXPRESSION (cmd_type == Read)
            ---------1--------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1299
 EXPRESSION (cmd_type == Read)
            ---------1--------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1386
 EXPRESSION (sys_cmdaddr.rnw & sys_cmdaddr_rvalid_o & sys_cmdaddr_rready_i)
             -------1-------   ----------2---------   ----------3---------
-1--2--3-StatusTests
011Not Covered
101Not Covered
110Not Covered
111Not Covered

 LINE       1396
 EXPRESSION (cmdaddr_bitcnt == 5'h0f)
            ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1401
 EXPRESSION (sck_cmdaddr_wvalid && (cmd_type == Read))
             ---------1--------    ---------2--------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1401
 SUB-EXPRESSION (cmd_type == Read)
                ---------1--------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1403
 EXPRESSION (isck_p2s_sent && xfer_size_met && (sck_st_q == StReadFifo))
             ------1------    ------2------    ------------3-----------
-1--2--3-StatusTests
011Not Covered
101Not Covered
110Not Covered
111Not Covered

 LINE       1403
 SUB-EXPRESSION (sck_st_q == StReadFifo)
                ------------1-----------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1411
 EXPRESSION (sys_csb_deasserted_pulse & ((!sys_rdfifo_sync_clr)))
             ------------1-----------   ------------2-----------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1418
 EXPRESSION (sys_cmdaddr_rvalid_o & sys_cmdaddr_rready_i)
             ----------1---------   ----------2---------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1425
 EXPRESSION (sys_csb_deasserted_pulse & ((!sys_rdfifo_sync_clr)))
             ------------1-----------   ------------2-----------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1459
 EXPRESSION (sys_rdfifo_wvalid_i & ((!sys_rdfifo_wready_o)))
             ---------1---------   ------------2-----------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1465
 EXPRESSION (enough_payload_in_rdfifo && ((sck_st_q == StReadFifo) || (sck_st_q == StStartByte)))
             ------------1-----------    ---------------------------2---------------------------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1465
 SUB-EXPRESSION ((sck_st_q == StReadFifo) || (sck_st_q == StStartByte))
                 ------------1-----------    ------------2------------
-1--2-StatusTests
00Not Covered
01Not Covered
10Not Covered

 LINE       1465
 SUB-EXPRESSION (sck_st_q == StReadFifo)
                ------------1-----------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1465
 SUB-EXPRESSION (sck_st_q == StStartByte)
                ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       1472
 EXPRESSION (sck_sram_req[SramRdFifo] & sck_sram_gnt[SramRdFifo])
             ------------1-----------   ------------2-----------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1482
 EXPRESSION (sck_sram_req[SramRdFifo] & sck_sram_gnt[SramRdFifo])
             ------------1-----------   ------------2-----------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       1489
 EXPRESSION (rdfifo_active && ((!sck_rdfifo_req_pending)) && ((!sck_rdfifo_full)))
             ------1------    -------------2-------------    ----------3---------
-1--2--3-StatusTests
011Not Covered
101Not Covered
110Not Covered
111Not Covered

FSM Coverage for Module : spi_tpm
Summary for FSM :: sck_st_q
TotalCoveredPercent
States 9 0 0.00 (Not included in score)
Transitions 12 0 0.00
Sequences 0 0

State, Transition and Sequence Details for FSM :: sck_st_q
statesLine No.CoveredTests
StAddr 1148 Not Covered
StEnd 1158 Not Covered
StIdle 1143 Not Covered
StInvalid 1198 Not Covered
StReadFifo 1250 Not Covered
StReadHwReg 1248 Not Covered
StStartByte 1194 Not Covered
StWait 1183 Not Covered
StWrite 1252 Not Covered


transitionsLine No.CoveredTests
StAddr->StInvalid 1198 Not Covered
StAddr->StStartByte 1194 Not Covered
StAddr->StWait 1183 Not Covered
StIdle->StAddr 1148 Not Covered
StIdle->StEnd 1158 Not Covered
StReadFifo->StEnd 1264 Not Covered
StReadHwReg->StEnd 1275 Not Covered
StStartByte->StReadFifo 1250 Not Covered
StStartByte->StReadHwReg 1248 Not Covered
StStartByte->StWrite 1252 Not Covered
StWait->StStartByte 1237 Not Covered
StWrite->StEnd 1286 Not Covered



Branch Coverage for Module : spi_tpm
Line No.TotalCoveredPercent
Branches 155 0 0.00
IF 525 3 0 0.00
IF 542 2 0 0.00
IF 555 3 0 0.00
IF 594 2 0 0.00
IF 602 3 0 0.00
IF 610 2 0 0.00
IF 620 4 0 0.00
IF 648 3 0 0.00
IF 658 3 0 0.00
IF 683 4 0 0.00
IF 709 4 0 0.00
CASE 722 3 0 0.00
IF 744 2 0 0.00
IF 751 2 0 0.00
IF 763 3 0 0.00
IF 784 2 0 0.00
IF 796 2 0 0.00
IF 802 4 0 0.00
IF 813 3 0 0.00
IF 823 3 0 0.00
IF 832 3 0 0.00
IF 852 4 0 0.00
IF 863 4 0 0.00
IF 873 2 0 0.00
CASE 895 6 0 0.00
CASE 937 11 0 0.00
IF 1012 2 0 0.00
IF 1024 2 0 0.00
IF 1052 2 0 0.00
IF 1064 3 0 0.00
IF 1095 2 0 0.00
CASE 1142 37 0 0.00
IF 1382 4 0 0.00
IF 1394 5 0 0.00
IF 1409 4 0 0.00
IF 1470 4 0 0.00
IF 1480 3 0 0.00

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

LineNo. Expression -1-: 525 if ((!sys_rst_ni)) -2-: 529 if (sys_csb_asserted_pulse)

Branches:
-1--2-StatusTests
1 - Not Covered
0 1 Not Covered
0 0 Not Covered


LineNo. Expression -1-: 542 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 555 if ((!rst_ni)) -2-: 557 if (cmdaddr_shift_en)

Branches:
-1--2-StatusTests
1 - Not Covered
0 1 Not Covered
0 0 Not Covered


LineNo. Expression -1-: 594 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 602 if ((!rst_ni)) -2-: 604 if (cmdaddr_shift_en)

Branches:
-1--2-StatusTests
1 - Not Covered
0 1 Not Covered
0 0 Not Covered


LineNo. Expression -1-: 610 if (cmdaddr_shift_en)

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 620 if ((!rst_out_ni)) -2-: 622 if (isck_fifoaddr_latch) -3-: 625 if (isck_fifoaddr_inc)

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Not Covered
0 0 1 Not Covered
0 0 0 Not Covered


LineNo. Expression -1-: 648 if ((!rst_ni)) -2-: 650 if (wrdata_shift_en)

Branches:
-1--2-StatusTests
1 - Not Covered
0 1 Not Covered
0 0 Not Covered


LineNo. Expression -1-: 658 if ((!rst_ni)) -2-: 660 if (wrdata_shift_en)

Branches:
-1--2-StatusTests
1 - Not Covered
0 1 Not Covered
0 0 Not Covered


LineNo. Expression -1-: 683 if ((!sys_rst_ni)) -2-: 685 if (sys_wrfifo_release_i) -3-: 687 if (sys_wrfifo_release_ack)

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Not Covered
0 0 1 Not Covered
0 0 0 Not Covered


LineNo. Expression -1-: 709 if ((!sys_rst_ni)) -2-: 711 if ((sck_cmdaddr_wvalid && (cmd_type == Write))) -3-: 713 if (sck_wrfifo_release_req)

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Not Covered
0 0 1 Not Covered
0 0 0 Not Covered


LineNo. Expression -1-: 722 case (1'b1)

Branches:
-1-StatusTests
check_locality Not Covered
check_hw_reg Not Covered
default Not Covered


LineNo. Expression -1-: 744 if ((check_locality && (sys_clk_tpm_cfg.tpm_reg_chk_dis || (addr[23:16] == TpmAddr))))

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


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

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 763 if ((!rst_ni)) -2-: 766 if (((((((!sys_clk_tpm_cfg.tpm_mode) && check_hw_reg) && (cmd_type == Read)) && is_tpm_reg_q) && (!invalid_locality)) && (!sys_clk_tpm_cfg.hw_reg_dis)))

Branches:
-1--2-StatusTests
1 - Not Covered
0 1 Not Covered
0 0 Not Covered


LineNo. Expression -1-: 784 if ((TpmReturnByHwAddr[i][11:2] == addr[11:2]))

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 796 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 802 if ((!rst_ni)) -2-: 805 if ((check_locality && is_tpm_reg_d)) -3-: 807 ((addr[15:12] < 4'(spi_device_reg_pkg::NumLocality))) ?

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 1 Not Covered
0 1 0 Not Covered
0 0 - Not Covered


LineNo. Expression -1-: 813 if ((!rst_ni)) -2-: 815 if (latch_cmd_type)

Branches:
-1--2-StatusTests
1 - Not Covered
0 1 Not Covered
0 0 Not Covered


LineNo. Expression -1-: 823 if ((!rst_ni)) -2-: 825 if (latch_xfer_size)

Branches:
-1--2-StatusTests
1 - Not Covered
0 1 Not Covered
0 0 Not Covered


LineNo. Expression -1-: 832 if ((!rst_ni)) -2-: 834 if (((isck_p2s_sent && sck_rddata_shift_en) || (sck_wrfifo_wvalid && wrdata_shift_en)))

Branches:
-1--2-StatusTests
1 - Not Covered
0 1 Not Covered
0 0 Not Covered


LineNo. Expression -1-: 852 if ((!sys_rst_ni)) -2-: 854 if (sys_csb_asserted_pulse) -3-: 856 if ((sys_rdfifo_wvalid_i & sys_rdfifo_wready_o))

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Not Covered
0 0 1 Not Covered
0 0 0 Not Covered


LineNo. Expression -1-: 863 if ((!sys_rst_ni)) -2-: 865 if (sys_csb_asserted_pulse) -3-: 867 if ((sys_cmdaddr_rvalid_o & sys_cmdaddr_rready_i))

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Not Covered
0 0 1 Not Covered
0 0 0 Not Covered


LineNo. Expression -1-: 873 if ((!sys_rst_ni))

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 895 case (isck_data_sel)

Branches:
-1-StatusTests
SelWait Not Covered
SelStart Not Covered
SelInvalid Not Covered
SelHwReg Not Covered
SelRdFifo Not Covered
default Not Covered


LineNo. Expression -1-: 937 case (isck_hw_reg_idx) -2-: 965 if (((!invalid_locality) && sys_active_locality[locality[2:0]]))

Branches:
-1--2-StatusTests
RegAccess - Not Covered
RegIntEn - Not Covered
RegIntVect - Not Covered
RegIntSts - Not Covered
RegIntfCap - Not Covered
RegSts 1 Not Covered
RegSts 0 Not Covered
RegHashStart - Not Covered
RegId - Not Covered
RegRid - Not Covered
default - Not Covered


LineNo. Expression -1-: 1012 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 1024 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 1052 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 1064 if ((!rst_ni)) -2-: 1066 if (isck_rd_byte_sent)

Branches:
-1--2-StatusTests
1 - Not Covered
0 1 Not Covered
0 0 Not Covered


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

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 1142 case (sck_st_q) -2-: 1146 if ((cmdaddr_bitcnt == 5'h07)) -3-: 1147 if (sys_clk_tpm_en) -4-: 1167 if ((cmdaddr_bitcnt >= 5'h18)) -5-: 1174 if ((cmdaddr_bitcnt == 5'h1b)) -6-: 1179 if (((cmdaddr_bitcnt == 5'h1f) && (cmd_type == Read))) -7-: 1180 if (((!is_tpm_reg_q) || sys_clk_tpm_cfg.tpm_mode)) -8-: 1188 if ((sck_cmdaddr_wdepth == '0)) -9-: 1191 if (is_hw_reg) -10-: 1195 if ((invalid_locality && sys_clk_tpm_cfg.invalid_locality)) -11-: 1206 if ((sck_cmdaddr_wdepth == '0)) -12-: 1212 if (((cmdaddr_bitcnt == 5'h1f) && (cmd_type == Write))) -13-: 1213 if (((!sck_wrfifo_busy) && (~|sck_cmdaddr_wdepth))) -14-: 1229 if ((((cmd_type == Read) && (!sck_rdfifo_cmd_pending)) && (~|sck_cmdaddr_wdepth))) -15-: 1234 if ((isck_p2s_sent && (((cmd_type == Read) && enough_payload_in_rdfifo) || (((cmd_type == Write) && (!sck_wrfifo_busy)) && (~|sck_cmdaddr_wdepth))))) -16-: 1245 if (isck_p2s_sent) -17-: 1247 if (((cmd_type == Read) && is_hw_reg)) -18-: 1249 if ((cmd_type == Read)) -19-: 1251 if ((cmd_type == Write)) -20-: 1263 if ((isck_p2s_sent && xfer_size_met)) -21-: 1274 if ((isck_p2s_sent && xfer_size_met)) -22-: 1283 if ((sck_wrfifo_wvalid && xfer_size_met)) -23-: 1292 if ((cmd_type == Read)) -24-: 1299 if ((cmd_type == Read))

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
StIdle 1 1 - - - - - - - - - - - - - - - - - - - - - Not Covered
StIdle 1 0 - - - - - - - - - - - - - - - - - - - - - Not Covered
StIdle 0 - - - - - - - - - - - - - - - - - - - - - - Not Covered
StAddr - - 1 - - - - - - - - - - - - - - - - - - - - Not Covered
StAddr - - 0 - - - - - - - - - - - - - - - - - - - - Not Covered
StAddr - - - 1 - - - - - - - - - - - - - - - - - - - Not Covered
StAddr - - - 0 - - - - - - - - - - - - - - - - - - - Not Covered
StAddr - - - - 1 1 1 - - - - - - - - - - - - - - - - Not Covered
StAddr - - - - 1 1 0 - - - - - - - - - - - - - - - - Not Covered
StAddr - - - - 1 0 - 1 - - - - - - - - - - - - - - - Not Covered
StAddr - - - - 1 0 - 0 1 - - - - - - - - - - - - - - Not Covered
StAddr - - - - 1 0 - 0 0 1 - - - - - - - - - - - - - Not Covered
StAddr - - - - 1 0 - 0 0 0 - - - - - - - - - - - - - Not Covered
StAddr - - - - 0 - - - - - - - - - - - - - - - - - - Not Covered
StAddr - - - - - - - - - - 1 1 - - - - - - - - - - - Not Covered
StAddr - - - - - - - - - - 1 0 - - - - - - - - - - - Not Covered
StAddr - - - - - - - - - - 0 - - - - - - - - - - - - Not Covered
StWait - - - - - - - - - - - - 1 - - - - - - - - - - Not Covered
StWait - - - - - - - - - - - - 0 - - - - - - - - - - Not Covered
StWait - - - - - - - - - - - - - 1 - - - - - - - - - Not Covered
StWait - - - - - - - - - - - - - 0 - - - - - - - - - Not Covered
StStartByte - - - - - - - - - - - - - - 1 1 - - - - - - - Not Covered
StStartByte - - - - - - - - - - - - - - 1 0 1 - - - - - - Not Covered
StStartByte - - - - - - - - - - - - - - 1 0 0 1 - - - - - Not Covered
StStartByte - - - - - - - - - - - - - - 1 0 0 0 - - - - - Not Covered
StStartByte - - - - - - - - - - - - - - 0 - - - - - - - - Not Covered
StReadFifo - - - - - - - - - - - - - - - - - - 1 - - - - Not Covered
StReadFifo - - - - - - - - - - - - - - - - - - 0 - - - - Not Covered
StReadHwReg - - - - - - - - - - - - - - - - - - - 1 - - - Not Covered
StReadHwReg - - - - - - - - - - - - - - - - - - - 0 - - - Not Covered
StWrite - - - - - - - - - - - - - - - - - - - - 1 - - Not Covered
StWrite - - - - - - - - - - - - - - - - - - - - 0 - - Not Covered
StInvalid - - - - - - - - - - - - - - - - - - - - - 1 - Not Covered
StInvalid - - - - - - - - - - - - - - - - - - - - - 0 - Not Covered
StEnd - - - - - - - - - - - - - - - - - - - - - - 1 Not Covered
StEnd - - - - - - - - - - - - - - - - - - - - - - 0 Not Covered
default - - - - - - - - - - - - - - - - - - - - - - - Not Covered


LineNo. Expression -1-: 1382 if ((!sys_rst_ni)) -2-: 1384 if (sys_csb_deasserted_pulse) -3-: 1386 if (((sys_cmdaddr.rnw & sys_cmdaddr_rvalid_o) & sys_cmdaddr_rready_i))

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Not Covered
0 0 1 Not Covered
0 0 0 Not Covered


LineNo. Expression -1-: 1394 if ((!sys_rst_ni)) -2-: 1396 if ((cmdaddr_bitcnt == 5'h0f)) -3-: 1401 if ((sck_cmdaddr_wvalid && (cmd_type == Read))) -4-: 1403 if (((isck_p2s_sent && xfer_size_met) && (sck_st_q == StReadFifo)))

Branches:
-1--2--3--4-StatusTests
1 - - - Not Covered
0 1 - - Not Covered
0 0 1 - Not Covered
0 0 0 1 Not Covered
0 0 0 0 Not Covered


LineNo. Expression -1-: 1409 if ((!sys_rst_ni)) -2-: 1411 if ((sys_csb_deasserted_pulse & (!sys_rdfifo_sync_clr))) -3-: 1418 if ((sys_cmdaddr_rvalid_o & sys_cmdaddr_rready_i))

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Not Covered
0 0 1 Not Covered
0 0 0 Not Covered


LineNo. Expression -1-: 1470 if ((!rst_ni)) -2-: 1472 if ((sck_sram_req[SramRdFifo] & sck_sram_gnt[SramRdFifo])) -3-: 1474 if (sck_sram_rvalid[SramRdFifo])

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Not Covered
0 0 1 Not Covered
0 0 0 Not Covered


LineNo. Expression -1-: 1480 if ((!rst_ni)) -2-: 1482 if ((sck_sram_req[SramRdFifo] & sck_sram_gnt[SramRdFifo]))

Branches:
-1--2-StatusTests
1 - Not Covered
0 1 Not Covered
0 0 Not Covered

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