Specify whether the test bench forces clock input signals.
Default: On
The test bench forces the clock input signals. When this option is selected, the clock high and low time settings control the clock waveform.
A user-defined external source forces the clock input signals.
This property enables the Clock high time and Clock high time options. This option is disabled if you select the entire model. Select the DUT instead for Generate HDL for setting.
Property:
ForceClock |
Type: character vector |
Value:
'on' | 'off' |
Default:
'on' |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.
Specify the period, in nanoseconds, during which the test bench drives clock input signals high (1).
Default: 5
The Clock high time and Clock low time properties define the period and duty cycle for the clock signal. Using the defaults, the clock signal is a square wave (50% duty cycle) with a period of 10 ns.
This parameter is enabled when Force clock is selected.
Property:
ClockHighTime |
Type: integer |
Value: positive integer |
Default: 5 |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.
Specify the period, in nanoseconds, during which the test bench drives clock input signals low (0).
Default: 5
The Clock high time and Clock low time properties define the period and duty cycle for the clock signal. Using the defaults, the clock signal is a square wave (50% duty cycle) with a period of 10 ns.
This parameter is enabled when Force clock is selected.
Property:
ClockLowTime |
Type: integer |
Value: positive integer |
Default: 5 |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.