Line Coverage for Module :
clkmgr_byp
| Line No. | Total | Covered | Percent |
TOTAL | | 3 | 3 | 100.00 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 111 | 1 | 1 | 100.00 |
CONT_ASSIGN | 114 | 1 | 1 | 100.00 |
84 mubi4_t io_clk_byp_req_d;
85 1/1 assign io_clk_byp_req_d = lc_ctrl_pkg::lc_tx_test_true_strict(lc_clk_byp_req[LcClkBypReqIoReq]) ?
Tests: T5 T30 T31
86 MuBi4True :
87 MuBi4False;
88
89 prim_mubi4_sender #(
90 .ResetValue(MuBi4False),
91 .EnSecBuf(1)
92 ) u_io_byp_req (
93 .clk_i,
94 .rst_ni,
95 .mubi_i(io_clk_byp_req_d),
96 .mubi_o(io_clk_byp_req_o)
97 );
98
99 // only ack the lc_ctrl if it made a request.
100 mubi4_t io_clk_byp_ack;
101 prim_lc_sender u_send (
102 .clk_i,
103 .rst_ni,
104 .lc_en_i(&step_down_acks_sync & mubi4_test_true_strict(io_clk_byp_ack) ?
105 lc_clk_byp_req[LcClkBypReqLcAck] : lc_ctrl_pkg::Off),
106 .lc_en_o(lc_clk_byp_ack_o)
107 );
108
109 // software switch request handling
110 mubi4_t debug_en;
111 1/1 assign debug_en = lc_ctrl_pkg::lc_to_mubi4(en);
Tests: T5 T30 T31
112
113 mubi4_t all_clk_byp_req_d;
114 1/1 assign all_clk_byp_req_d = mubi4_and_hi(byp_req_i, debug_en);
Tests: T5 T30 T31