how to change the same clock frequency during the simulation in the TB.
let say i run the simulation for 2000ns so for 500ns clock frequency should be 200mhz then next 500ns same clock frequency should be 100mhz then next 500ns 300mhz like so on.
Create a clock agent with a driver that generates a clock signal with a variable delay. When you want to change the clock frequency, send a sequence item with the new delay.
Use an interface that generates a clock signal with a variable delay. When you want to change the clock frequency, call a function in the interface with the new delay,