Repeating Sequence Discrete

Description of the Repeating Sequence Discrete component in Schematic editor, which outputs and repeats a custom value sequence.

Component icon

Figure 1. Repeating sequence discrete icon

Description

The Repeating Sequence Discrete component outputs and repeats a custom value sequence.

The value sequence is defined as a list of values. The component outputs a number from the list every simulation step. Once it reaches the end of the list, it starts from the beginning.

For a value sequence [0, 2, 3, 1, 5] the output would appear as in Figure 2.

Figure 2. Example of a repeating discrete sequence waveform produced by the Repeating sequence discrete component

Ports

  • Output (out)
    • Repeating sequence waveform output by the component.
      • Supported types: uint, int and real.
        • The output type is determined by the Signal type property.
      • Vector support: no.

Properties

  • Vector of output values
    • Type in the sequence of values that will be generated
  • Signal type
    • Select the type of the output signal. Supported signal types are real, int, and uint.
  • 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.