@@ -24,19 +24,6 @@ class clkmgr_regwen_vseq extends clkmgr_base_vseq;
2424 `uvm_info (`gfn , " Check jitter_regwen done" , UVM_MEDIUM )
2525 endtask : check_jitter_regwen
2626
27- task check_extclk_regwen ();
28- bit enable;
29- int prev_value;
30- int new_value = { extclk_ctrl_high_speed_sel, extclk_ctrl_sel} ;
31- `DV_CHECK_STD_RANDOMIZE_FATAL (enable)
32- `uvm_info (`gfn , $sformatf (" Check extclk_ctrl regwen = %b " , enable), UVM_MEDIUM )
33- csr_wr (.ptr (ral.extclk_ctrl_regwen), .value (enable));
34- csr_rd (.ptr (ral.extclk_ctrl), .value (prev_value));
35- csr_wr (.ptr (ral.extclk_ctrl), .value (new_value));
36- csr_rd_check (.ptr (ral.extclk_ctrl), .compare_value (enable ? new_value : prev_value));
37- `uvm_info (`gfn , " Check extclk_ctrl regwen done" , UVM_MEDIUM )
38- endtask : check_extclk_regwen
39-
4027 // This must be careful to turn measurements off right after checking the updates
4128 // to avoid measurement errors. We could set the thresholds correctly, but we
4229 // might as well set them randomly for good measure. Carefully masks only the
@@ -86,14 +73,12 @@ class clkmgr_regwen_vseq extends clkmgr_base_vseq;
8673 `uvm_info (`gfn , $sformatf (" Will run %0d rounds" , num_trans), UVM_MEDIUM )
8774 for (int i = 0 ; i < num_trans; ++ i) begin
8875 check_jitter_regwen ();
89- check_extclk_regwen ();
9076 check_meas_ctrl_regwen ();
9177 apply_reset (" HARD" );
9278 // This is to make sure we don't start writes immediately after reset,
9379 // otherwise the tl_agent could mistakenly consider the following read
9480 // happens during reset.
9581 cfg.clk_rst_vif.wait_clks (4 );
96- csr_rd_check (.ptr (ral.extclk_ctrl_regwen), .compare_value (1 ));
9782 csr_rd_check (.ptr (ral.measure_ctrl_regwen), .compare_value (1 ));
9883 end
9984 endtask : body
0 commit comments