Functions
set_clk_prd
task set_clk_prd(
input real user_period 100,
input real user_duty_cycle0.5,
input bit user_jitter_on 0,
input real user_jitter_min_range 0.0,
input real user_jitter_max_range 0.0
);

set the feature of clock period, duty_cycle, jitter on/off,minmum jitter and maximum jitter

set_clk_frq
task set_clk_frq(
input int user_frequency 10000000,
input real user_duty_cycle 0.5,
input bit user_jitter_on 0,
input real user_jitter_min_range 0.0,
input real user_jitter_max_range 0.0
);

set the feature of clock period, duty_cycle, jitter on/off,minmum jitter and maximum jitter

get_min_jitter_range
function real get_min_jitter_range();

Returns minimum jitter range

get_max_jitter_range
function real get_max_jitter_range();

Returns maximum jitter range

set_initial_value
function void set_initial_value(
input bit value
);

Sets the initial value of clk in clk vip

get_initial_value
function bit get_initial_value();

Returns the initial value of clk in clk vip

get_jitter_range
function int get_jitter_range();

Returns the jitter range of the clk

get_clk_freq
function int get_clk_freq ();

Returns the current clock period of the clock generation

get_clk_period
function int get_clk_period ();

Returns the current clock period of the clock generation

start_clock
task start_clock();

Starts to generate clock. This API has to be called to get clock signal.

set_intf_master
function void set_intf_master();

Sets interface to master mode,When user wants to change passthrough VIP as master VIP, what they do is to call <hierarchy_path>.IF.set_intf_master

set_intf_monitor
function void set_intf_monitor();

Sets interface to monitor mode.Set VIP into runtime passthrough mode.  what they do is to call <hierarchy_path>.IF.set_intf_monitor