Clock

Description of the Clock component in Schematic editor, which outputs the current simulation time in seconds.

Component Icon

Figure 1. Clock component icon

Description

This component provides the current simulation time in seconds.

The output value can be represented as a function of the time variable t:

The waveform of this component is shown in Figure 1.

Figure 2. Output of the Clock component

In other words, at each simulation step, the output of the Clock component is increased by the execution rate value.

Ports

  • Out (out)
    • Simulation time
      • Sported types: real
      • Vector support: no

Properties

  • Execution rate
    • Type in the desired signal processing execution rate. This value must be compatible with other signal processing components of the same circuit: the value must be a multiple of the fastest execution rate in the circuit. There can be up to four different execution rates, but they must all be multiple of the basic simulation timestep. To specify the execution rate, you can use either decimal (e.g. 0.001) or exponential values (e.g. 1e-3) in seconds. Alternatively, you can type in ‘inherit’ in which case the component will be assigned execution rate based on the execution rate of the components it is receiving input from.