Digital Pattern Generator

The Digital Pattern Generator (Patterns) lets you define the output on the digital lines, using standard types or user-defined types.

When a line is used by the Static I/O as an output element (Slider, Button, or Switch), this has priority over the signal configuration in Patterns.

 

1. Menu

See Menu in Common Interfaces.

 

2. Control


Run/Stop button: starts/stops the signal generation.

Trigger, Wait, Run and Repeat settings let you generate burst signals. See States for more information.
The dropdown contains the following options:

 

3. Signals Grid

The Signals Grid allows you to customize the display of the signals that you are interested in.

The grid menu contains the following options:

The grid columns are as follows:

The grid context menu opens on mouse right-click. This contains similar buttons as the grid toolbar's Add and Remove menus. The plot area context menu lets you adjust the color and line width.

The waveform area is divided into three sections: top, bottom, and center.

On the bottom area, the time position can be adjusted by a horizontal left mouse button drag while the time base can be adjusted by a right mouse button drag.

 

4. Property Editor

The property editor can be opened for the selected signal, bus, or interpreter under the grid toolbar edit menu.

4.1. Signal

In the signal property editor, the name can be specified and the device pin changed.

 

4.2. Bus

In the bus property editor, the following can be configured:

 

4.3. ROM Logic

The ROM Logic channel allows creating combination logic or state machine.

In the property editor, the name and update frequency can be specified, and the input and output digital signals can be selected.
The number of available input signals depends on the Patterns custom buffer size, log base two of size. The signals added for input as well as output can be used as state bits.

The truth table shows the inputs signals in columns on the left side and outputs on the right. Each row defines a combinational logic between input and outputs signals. The statements in consecutive rows might overwrite earlier ones.
The inputs signals for a statement can be X don't care, 0 logic low or 1 logic high.
The output signals can be 0 logic low, 1 logic high, 'input signal', or '/input signal' negation of an input signal.


 

5. Parameter Editor

The parameter editor can be opened for the selected signal or bus under the grid toolbar's edit menu, under the context menu, or by double-clicking your mouse on the row.

 

5.1. Parameters

The type, output, and idle parameters have dedicated columns in the signal definition grid. For the other parameters, a minimum and maximum value can be specified and linearly changed using the track bar.

The Idle parameter lets you select the signal or bus output while not running.

The output type determines the output behavior of the signals and buses. For OD and OS signals, use external pull-up or pull-down resistors. The output types are:

The possible parameters for different types are the following:

 

5.2. Custom Plot

The custom plot shows the custom data buffer and allows mouse editing. By pressing a mouse button, the value of the corresponding element in the buffer will be changed depending on the vertical position in the row and on the allowed values. By dragging the mouse, multiple buffer positions can be edited with the same value (all positions between the start and the end of the operation). On a bus waveform, all the signals will be changed to the 0, 1, or Z value. Dragging with the left mouse button and changing the vertical position can change the entered value. Dragging with the right mouse button keeps the initial value.

The Samples allow you to specify the used device sample buffer size. On generation, the buffer is repeated while running.
The Undo and Redo buttons allow you to revert the recent changes.
The Show allows you to select a smaller number of samples than the buffer size starting from the specified value.
The second column opens a prefill dialog where constant, pulse or random can be generated for signals and binary counter bus.

 

5.3. Custom Import

The supported import file types are Comma Separated Values (.csv) and Tab-Delimited Text files (.txt).