Documentation

Speedgoat IO303 PCI Setup

Speedgoat IO303 PCI Setup block

Description

The Speedgoat IO303 PCI Setup block performs the setup and configuration to use the Speedgoat IO303 board.

The Speedgoat FPGA I/O board block descriptions are for informational purposes only. The HDL Coder™ HDL Workflow Advisor uses these blocks to generate a Simulink® Real-Time™ interface subsystem. The subsystem mask controls the block parameters. Do not edit the parameters directly.

Library

Simulink Real-Time Library for FPGA

Block Parameters

FPGA model/subsystem name

Enter a character vector to identify the model and subsystem containing the Setup block.

Run FPGA only when Simulink Real-Time runs

Select this check box for the FPGA to execute only when the real-time application is running.

Clear this check box for the FPGA to start immediately after the real-time application is loaded.

Reset FPGA states on start

Select this check box for the FPGA to reset the initial state of the FPGA variables and registers to the default state on startup. Takes effect only when you select the check box Run FPGA only when Simulink Real-Time runs.

Clear this check box for the FPGA to retain the end state of the previous execution. To return to the initial state, download the model to the target again and restart the simulation.

The default setting is Selected.

Device index

Enter a number between 0 and 7. The maximum number of allowed boards is 8.

PCI slot (-1:autosearch)

If only one board of this type is in the Speedgoat target machine, enter -1 to locate the board.

If two or more boards of this type are in the Speedgoat target machine, enter the bus number and the PCI slot number of the board associated with this driver block. Use the format [BusNumber,SlotNumber].

To determine the bus number and the PCI slot number, type:

tg = slrt;
getPCIInfo(tg, 'installed')

Was this topic helpful?