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

Module : prim_subreg_arb
SCORELINECONDTOGGLEFSMBRANCHASSERT
100.00 100.00 100.00 100.00

Source File(s) :
/workspaces/repo/scratch/os_regression_2024_10_14/clkmgr-sim-vcs/default/sim-vcs/../src/lowrisc_prim_subreg_0/rtl/prim_subreg_arb.sv

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_reg.u_clk_hints_status_clk_main_aes_val.wr_en_data_arb 50.00 50.00
tb.dut.u_reg.u_clk_hints_status_clk_main_hmac_val.wr_en_data_arb 50.00 50.00
tb.dut.u_reg.u_clk_hints_status_clk_main_kmac_val.wr_en_data_arb 50.00 50.00
tb.dut.u_reg.u_clk_hints_status_clk_main_otbn_val.wr_en_data_arb 50.00 50.00
tb.dut.u_reg.u_fatal_err_code_reg_intg.wr_en_data_arb 50.00 50.00
tb.dut.u_reg.u_fatal_err_code_idle_cnt.wr_en_data_arb 50.00 50.00
tb.dut.u_reg.u_fatal_err_code_shadow_storage_err.wr_en_data_arb 50.00 50.00
tb.dut.u_reg.u_recov_err_code_shadow_update_err.wr_en_data_arb 95.00 100.00 90.00
tb.dut.u_reg.u_extclk_ctrl_regwen.wr_en_data_arb 100.00 100.00 100.00
tb.dut.u_reg.u_extclk_ctrl_sel.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_extclk_ctrl_hi_speed_sel.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_jitter_regwen.wr_en_data_arb 100.00 100.00 100.00
tb.dut.u_reg.u_jitter_enable.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_clk_enables_clk_io_div4_peri_en.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_clk_enables_clk_io_div2_peri_en.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_clk_enables_clk_io_peri_en.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_clk_enables_clk_usb_peri_en.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_clk_hints_clk_main_aes_hint.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_clk_hints_clk_main_hmac_hint.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_clk_hints_clk_main_kmac_hint.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_clk_hints_clk_main_otbn_hint.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_measure_ctrl_regwen.wr_en_data_arb 100.00 100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_en.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_hi.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_lo.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_en.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_hi.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_lo.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_en.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_hi.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_lo.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_en.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_hi.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_lo.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_en.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_hi.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_lo.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb 100.00 100.00 100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_measure_err.wr_en_data_arb 100.00 100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_div2_measure_err.wr_en_data_arb 100.00 100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_div4_measure_err.wr_en_data_arb 100.00 100.00 100.00
tb.dut.u_reg.u_recov_err_code_main_measure_err.wr_en_data_arb 100.00 100.00 100.00
tb.dut.u_reg.u_recov_err_code_usb_measure_err.wr_en_data_arb 100.00 100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_timeout_err.wr_en_data_arb 100.00 100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_div2_timeout_err.wr_en_data_arb 100.00 100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_div4_timeout_err.wr_en_data_arb 100.00 100.00 100.00
tb.dut.u_reg.u_recov_err_code_main_timeout_err.wr_en_data_arb 100.00 100.00 100.00
tb.dut.u_reg.u_recov_err_code_usb_timeout_err.wr_en_data_arb 100.00 100.00 100.00

Line Coverage for Module : prim_subreg_arb ( parameter DW=1,SwAccess=5,Mubi=0 )
Line Coverage for Module self-instances :
SCORELINE
100.00 100.00
tb.dut.u_reg.u_extclk_ctrl_regwen.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_jitter_regwen.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_measure_ctrl_regwen.wr_en_data_arb

Line No.TotalCoveredPercent
TOTAL22100.00
CONT_ASSIGN11311100.00
CONT_ASSIGN13511100.00

112 end else if (SwAccess == SwAccessW0C) begin : gen_w0c 113 1/1 assign wr_en = we | de; Tests: T4 T5 T30  114 if (Mubi) begin : gen_mubi 115 if (DW == 4) begin : gen_mubi4 116 assign wr_data = prim_mubi_pkg::mubi4_and_hi(prim_mubi_pkg::mubi4_t'(de ? d : q), 117 (we ? prim_mubi_pkg::mubi4_t'(wd) : 118 prim_mubi_pkg::MuBi4True)); 119 end else if (DW == 8) begin : gen_mubi8 120 assign wr_data = prim_mubi_pkg::mubi8_and_hi(prim_mubi_pkg::mubi8_t'(de ? d : q), 121 (we ? prim_mubi_pkg::mubi8_t'(wd) : 122 prim_mubi_pkg::MuBi8True)); 123 end else if (DW == 12) begin : gen_mubi12 124 assign wr_data = prim_mubi_pkg::mubi12_and_hi(prim_mubi_pkg::mubi12_t'(de ? d : q), 125 (we ? prim_mubi_pkg::mubi12_t'(wd) : 126 prim_mubi_pkg::MuBi12True)); 127 end else if (DW == 16) begin : gen_mubi16 128 assign wr_data = prim_mubi_pkg::mubi16_and_hi(prim_mubi_pkg::mubi16_t'(de ? d : q), 129 (we ? prim_mubi_pkg::mubi16_t'(wd) : 130 prim_mubi_pkg::MuBi16True)); 131 end else begin : gen_invalid_mubi 132 $error("%m: Invalid width for MuBi"); 133 end 134 end else begin : gen_non_mubi 135 1/1 assign wr_data = (de ? d : q) & (we ? wd : '1); Tests: T4 T5 T6 

Line Coverage for Module : prim_subreg_arb ( parameter DW=4,SwAccess=0,Mubi=1 + DW=1,SwAccess=0,Mubi=0 + DW=10,SwAccess=0,Mubi=0 + DW=9,SwAccess=0,Mubi=0 + DW=8,SwAccess=0,Mubi=0 )
Line Coverage for Module self-instances :
SCORELINE
100.00 100.00
tb.dut.u_reg.u_extclk_ctrl_sel.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_extclk_ctrl_hi_speed_sel.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_jitter_enable.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_clk_enables_clk_io_div4_peri_en.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_clk_enables_clk_io_div2_peri_en.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_clk_enables_clk_io_peri_en.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_clk_enables_clk_usb_peri_en.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_clk_hints_clk_main_aes_hint.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_clk_hints_clk_main_hmac_hint.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_clk_hints_clk_main_kmac_hint.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_clk_hints_clk_main_otbn_hint.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_en.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_hi.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_lo.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_en.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_hi.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_lo.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_en.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_hi.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_lo.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_en.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_hi.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_lo.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_en.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_hi.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_lo.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb

Line No.TotalCoveredPercent
TOTAL22100.00
CONT_ASSIGN3311100.00
CONT_ASSIGN3411100.00
CONT_ASSIGN3900

32 if (SwAccess inside {SwAccessRW, SwAccessWO}) begin : gen_w 33 1/1 assign wr_en = we | de; Tests: T4 T5 T6  34 1/1 assign wr_data = (we == 1'b1) ? wd : d; // SW higher priority Tests: T4 T5 T6  35 // Unused q - Prevent lint errors. 36 logic [DW-1:0] unused_q; 37 //VCS coverage off 38 // pragma coverage off 39 unreachable assign unused_q = q;

Line Coverage for Module : prim_subreg_arb ( parameter DW=1,SwAccess=1,Mubi=0 )
Line Coverage for Module self-instances :
SCORELINE
50.00 50.00
tb.dut.u_reg.u_clk_hints_status_clk_main_aes_val.wr_en_data_arb

SCORELINE
50.00 50.00
tb.dut.u_reg.u_clk_hints_status_clk_main_hmac_val.wr_en_data_arb

SCORELINE
50.00 50.00
tb.dut.u_reg.u_clk_hints_status_clk_main_kmac_val.wr_en_data_arb

SCORELINE
50.00 50.00
tb.dut.u_reg.u_clk_hints_status_clk_main_otbn_val.wr_en_data_arb

SCORELINE
50.00 50.00
tb.dut.u_reg.u_fatal_err_code_reg_intg.wr_en_data_arb

SCORELINE
50.00 50.00
tb.dut.u_reg.u_fatal_err_code_idle_cnt.wr_en_data_arb

SCORELINE
50.00 50.00
tb.dut.u_reg.u_fatal_err_code_shadow_storage_err.wr_en_data_arb

Line No.TotalCoveredPercent
TOTAL22100.00
CONT_ASSIGN4311100.00
CONT_ASSIGN4411100.00
CONT_ASSIGN5100
CONT_ASSIGN5200
CONT_ASSIGN5300

42 end else if (SwAccess == SwAccessRO) begin : gen_ro 43 1/1 assign wr_en = de; Tests: T4 T5 T6  44 1/1 assign wr_data = d; Tests: T4 T5 T6  45 // Unused we, wd, q - Prevent lint errors. 46 logic unused_we; 47 logic [DW-1:0] unused_wd; 48 logic [DW-1:0] unused_q; 49 //VCS coverage off 50 // pragma coverage off 51 unreachable assign unused_we = we; 52 unreachable assign unused_wd = wd; 53 unreachable assign unused_q = q;

Line Coverage for Module : prim_subreg_arb ( parameter DW=1,SwAccess=3,Mubi=0 )
Line Coverage for Module self-instances :
SCORELINE
95.00 100.00
tb.dut.u_reg.u_recov_err_code_shadow_update_err.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_measure_err.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_div2_measure_err.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_div4_measure_err.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_recov_err_code_main_measure_err.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_recov_err_code_usb_measure_err.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_timeout_err.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_div2_timeout_err.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_div4_timeout_err.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_recov_err_code_main_timeout_err.wr_en_data_arb

SCORELINE
100.00 100.00
tb.dut.u_reg.u_recov_err_code_usb_timeout_err.wr_en_data_arb

Line No.TotalCoveredPercent
TOTAL22100.00
CONT_ASSIGN8811100.00
CONT_ASSIGN11011100.00

87 // If both try to set/clr at the same bit pos, SW wins. 88 1/1 assign wr_en = we | de; Tests: T1 T3 T34  89 if (Mubi) begin : gen_mubi 90 if (DW == 4) begin : gen_mubi4 91 assign wr_data = prim_mubi_pkg::mubi4_and_hi(prim_mubi_pkg::mubi4_t'(de ? d : q), 92 (we ? prim_mubi_pkg::mubi4_t'(~wd) : 93 prim_mubi_pkg::MuBi4True)); 94 end else if (DW == 8) begin : gen_mubi8 95 assign wr_data = prim_mubi_pkg::mubi8_and_hi(prim_mubi_pkg::mubi8_t'(de ? d : q), 96 (we ? prim_mubi_pkg::mubi8_t'(~wd) : 97 prim_mubi_pkg::MuBi8True)); 98 end else if (DW == 12) begin : gen_mubi12 99 assign wr_data = prim_mubi_pkg::mubi12_and_hi(prim_mubi_pkg::mubi12_t'(de ? d : q), 100 (we ? prim_mubi_pkg::mubi12_t'(~wd) : 101 prim_mubi_pkg::MuBi12True)); 102 end else if (DW == 16) begin : gen_mubi16 103 assign wr_data = prim_mubi_pkg::mubi16_and_hi(prim_mubi_pkg::mubi16_t'(de ? d : q), 104 (we ? prim_mubi_pkg::mubi16_t'(~wd) : 105 prim_mubi_pkg::MuBi16True)); 106 end else begin : gen_invalid_mubi 107 $error("%m: Invalid width for MuBi"); 108 end 109 end else begin : gen_non_mubi 110 1/1 assign wr_data = (de ? d : q) & (we ? ~wd : '1); Tests: T4 T5 T6 

Cond Coverage for Module : prim_subreg_arb ( parameter DW=10,SwAccess=0,Mubi=0 )
Cond Coverage for Module self-instances :
SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_hi.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_lo.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_hi.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_lo.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb

TotalCoveredPercent
Conditions66100.00
Logical66100.00
Non-Logical00
Event00

 LINE       33
 EXPRESSION (we | de)
             -1   -2
-1--2-StatusTests
00CoveredT4,T5,T6
01Unreachable
10CoveredT1,T2,T3

 LINE       34
 EXPRESSION ((we == 1'b1) ? wd : d)
             ------1-----
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT1,T2,T3

 LINE       34
 SUB-EXPRESSION (we == 1'b1)
                ------1-----
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT1,T2,T3

Cond Coverage for Module : prim_subreg_arb ( parameter DW=9,SwAccess=0,Mubi=0 )
Cond Coverage for Module self-instances :
SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_hi.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_lo.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_hi.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_lo.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb

TotalCoveredPercent
Conditions66100.00
Logical66100.00
Non-Logical00
Event00

 LINE       33
 EXPRESSION (we | de)
             -1   -2
-1--2-StatusTests
00CoveredT4,T5,T6
01Unreachable
10CoveredT1,T2,T3

 LINE       34
 EXPRESSION ((we == 1'b1) ? wd : d)
             ------1-----
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT1,T2,T3

 LINE       34
 SUB-EXPRESSION (we == 1'b1)
                ------1-----
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT1,T2,T3

Cond Coverage for Module : prim_subreg_arb ( parameter DW=1,SwAccess=3,Mubi=0 )
Cond Coverage for Module self-instances :
SCORECOND
95.00 90.00
tb.dut.u_reg.u_recov_err_code_shadow_update_err.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_measure_err.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_div2_measure_err.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_div4_measure_err.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_recov_err_code_main_measure_err.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_recov_err_code_usb_measure_err.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_timeout_err.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_div2_timeout_err.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_recov_err_code_io_div4_timeout_err.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_recov_err_code_main_timeout_err.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_recov_err_code_usb_timeout_err.wr_en_data_arb

TotalCoveredPercent
Conditions1010100.00
Logical1010100.00
Non-Logical00
Event00

 LINE       88
 EXPRESSION (we | de)
             -1   -2
-1--2-StatusTests
00CoveredT4,T5,T6
01CoveredT34,T8,T10
10CoveredT1,T3,T34

 LINE       110
 EXPRESSION ((de ? d : q) & (we ? ((~wd)) : '1))
             ------1-----   ---------2---------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT1,T3,T34
11CoveredT34,T8,T10

 LINE       110
 SUB-EXPRESSION (de ? d : q)
                 -1
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT34,T8,T10

 LINE       110
 SUB-EXPRESSION (we ? ((~wd)) : '1)
                 -1
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT1,T3,T34

Cond Coverage for Module : prim_subreg_arb ( parameter DW=1,SwAccess=0,Mubi=0 )
Cond Coverage for Module self-instances :
SCORECOND
100.00 100.00
tb.dut.u_reg.u_clk_enables_clk_io_div4_peri_en.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_clk_enables_clk_io_div2_peri_en.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_clk_enables_clk_io_peri_en.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_clk_enables_clk_usb_peri_en.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_clk_hints_clk_main_aes_hint.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_clk_hints_clk_main_hmac_hint.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_clk_hints_clk_main_kmac_hint.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_clk_hints_clk_main_otbn_hint.wr_en_data_arb

TotalCoveredPercent
Conditions66100.00
Logical66100.00
Non-Logical00
Event00

 LINE       33
 EXPRESSION (we | de)
             -1   -2
-1--2-StatusTests
00CoveredT4,T5,T6
01Unreachable
10CoveredT4,T6,T28

 LINE       34
 EXPRESSION ((we == 1'b1) ? wd : d)
             ------1-----
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T6,T28

 LINE       34
 SUB-EXPRESSION (we == 1'b1)
                ------1-----
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T6,T28

Cond Coverage for Module : prim_subreg_arb ( parameter DW=4,SwAccess=0,Mubi=1 )
Cond Coverage for Module self-instances :
SCORECOND
100.00 100.00
tb.dut.u_reg.u_extclk_ctrl_sel.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_extclk_ctrl_hi_speed_sel.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_jitter_enable.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_meas_ctrl_en.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div2_meas_ctrl_en.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_en.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_main_meas_ctrl_en.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_usb_meas_ctrl_en.wr_en_data_arb

TotalCoveredPercent
Conditions77100.00
Logical77100.00
Non-Logical00
Event00

 LINE       33
 EXPRESSION (we | de)
             -1   -2
-1--2-StatusTests
00CoveredT4,T5,T6
01CoveredT3,T7,T8
10CoveredT4,T5,T30

 LINE       34
 EXPRESSION ((we == 1'b1) ? wd : d)
             ------1-----
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T30

 LINE       34
 SUB-EXPRESSION (we == 1'b1)
                ------1-----
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T30

Cond Coverage for Module : prim_subreg_arb ( parameter DW=1,SwAccess=5,Mubi=0 )
Cond Coverage for Module self-instances :
SCORECOND
100.00 100.00
tb.dut.u_reg.u_extclk_ctrl_regwen.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_jitter_regwen.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_measure_ctrl_regwen.wr_en_data_arb

TotalCoveredPercent
Conditions1010100.00
Logical1010100.00
Non-Logical00
Event00

 LINE       113
 EXPRESSION (we | de)
             -1   -2
-1--2-StatusTests
00CoveredT4,T5,T6
01CoveredT4,T5,T6
10CoveredT5,T30,T31

 LINE       135
 EXPRESSION ((de ? d : q) & (we ? wd : '1))
             ------1-----   -------2------
-1--2-StatusTests
01CoveredT2,T34,T9
10CoveredT2,T3,T9
11CoveredT4,T5,T6

 LINE       135
 SUB-EXPRESSION (de ? d : q)
                 -1
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T6

 LINE       135
 SUB-EXPRESSION (we ? wd : '1)
                 -1
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT5,T30,T31

Cond Coverage for Module : prim_subreg_arb ( parameter DW=8,SwAccess=0,Mubi=0 )
Cond Coverage for Module self-instances :
SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_hi.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_hi.staged_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_hi.shadow_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_hi.committed_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_lo.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_lo.staged_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_lo.shadow_reg.wr_en_data_arb

SCORECOND
100.00 100.00
tb.dut.u_reg.u_io_div4_meas_ctrl_shadowed_lo.committed_reg.wr_en_data_arb

TotalCoveredPercent
Conditions66100.00
Logical66100.00
Non-Logical00
Event00

 LINE       33
 EXPRESSION (we | de)
             -1   -2
-1--2-StatusTests
00CoveredT4,T5,T6
01Unreachable
10CoveredT1,T2,T3

 LINE       34
 EXPRESSION ((we == 1'b1) ? wd : d)
             ------1-----
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT1,T2,T3

 LINE       34
 SUB-EXPRESSION (we == 1'b1)
                ------1-----
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT1,T2,T3

Branch Coverage for Module : prim_subreg_arb
Line No.TotalCoveredPercent
Branches 2 2 100.00
TERNARY 34 2 2 100.00


34 assign wr_data = (we == 1'b1) ? wd : d; // SW higher priority -1- ==> ==>

Branches:
-1-StatusTests
1 Covered T4,T5,T30
0 Covered T4,T5,T6

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