Clock Period Configuration-UVM Help!

You didn’t show how you intended to use cycle_2 to represent the clock frequency. You can’t change the value of a parameter at run-time, but you can change the value of a variable. Fortunately, you can use the value of a variable in a procedural delay. Your clock generator can read the value from the uvm_config_db and set up the clock period.