Documentation search search close
CONTENTS
https://www.speedgoat.com/help/slrt/page/icon_documentation.jpg
v10.0.1.x for R2026a
View other versions

Pulse I/O - Setup

Pulse I/O - Setup — Setup the Pulse I/O

[Note]Note

The information on this page applies to MATLAB R2025a and later.

Library

Library: Speedgoat

Description

Use the Setup block to define the functionality of this I/O module by selecting a configuration file. You can also use this block to configure all the digital I/O pins (pull resistors, I/O voltage, termination, etc.) of this configurable I/O module.

Your model must contain a Setup block for every configurable I/O module you intend to use.

Ports

This driver block has no input or output ports.

Parameters

Module Setup Tab

Hardware

Select the name of the configurable I/O module for which you are defining the setup parameters.

Configurable I/O Module ID

The Module ID identifies the configurable I/O in the target machine and creates a logical connection to all the code module blocks associated with Pulse I/O. The Module ID of all the code module blocks intended for use with Pulse I/O must match the Module ID in the Setup v3 driver block.

Unlike other module types, the Module ID parameter must be unique for each Simulink-programmable and configurable I/O module. To obtain the Module ID for use with your I/O modules, run the following Speedgoat API in the MATLAB command window:

>> speedgoat.getIoInterfaces

                Position          IO_Interface          ModuleID
                _________    _______________________    ________

                Host Link    Onboard Ethernet (GEM)        -
                -            Pulse I/O                     1
                1            Pulse-21 Extension            -
                2            IO145                         1
                3            IO203                         1 
Configuration File (Bitstream)

This parameter defines the configuration file (bitstream) to download to the FPGA of your configurable I/O module when your Simulink model is built and the application deployed to the target machine. The configuration file defines the pin mapping and the implemented functionality (code modules). The dropdown will show installed configuration files, files located in the actual working directory and files from installed Speedgoat I/O Configuration Packages. A configuration file can also be selected from a different location by using the Browse button. The entries are automatically limited to configuration files matching the selected I/O module.

Browse...

This button opens a file explorer window to select a configuration file (.mat-file) from any location. The selected file is automatically applied as the new configuration file if compatible with the selected I/O module.

[Note]Note
Moving or renaming the file will remove the file from the dropdown, since the Setup block cannot find the file anymore.
Configuration File Information

This collapsible panel shows additional information about the selected configuration file.

Timestamp

This field shows the timestamp information of the configuration file in the format dd/MM/YY hh:mm:ss.

Revision

This field shows the revision of the selected configuration file. By default, the revision is "1.0" and increases when there are updates to the configuration file.

FPGA Frequency

This field shows the FPGA base clock for the selected configuration file. The FPGA frequency defines the base rate of the implemented functionality from a configuration file. It therefore has a direct influence on the applicable rates in code modules.

Tick time

This field shows the corresponding time of one FPGA tick for the selected configuration file. For some code modules this value is used to calculate time-related parameters.

Pin Mapping

This button opens a window with the implemented pin mapping for the currently selected configuration file. The button is only visible, if the image is included in the selected configuration file.

I/O Interface Extension Selection

Selecting a checkbox will enable the corresponding I/O interface extension. When not selected, the functionality located on the extension is disabled. The number and the type of selectable extensions depends on the configuration file.

-2x Tab

This tab is enabled if the corresponding I/O interface extension checkbox is selected. From here you can configure the pull-resistor and I/O voltage settings of the digital I/O lines located on the -2x extension.

Settings per Port
Pull Resistors

Select the pull resistor of the digital TTL I/O lines of the corresponding port.

I/O Voltage

Select the I/O voltage of the 8 digital I/O lines of the corresponding port.