Entering GPIO Definitions
General purpose signals IN (GPIs) and General purpose signals OUT (GPOs) may enter or leave the VA IP Core. These signals can be used for triggering and process control.
The number of GPI and GPO signals you can configure as described below.
Any GPI or GPO signal which has been defined in the eVA platform description has a corresponding input or output port in the VA IP Core. The signal ports will get the following names when NAME is the name of the GPI or GPO signal as it will show up in VisualApplets:
- iSig_NAME for an input signal of width 1
- oSig_NAME for an output signal of width 1
All dedicated I/O signals are synchronous to the clock iDesignClk.
| Port | Direction | Width | Description |
|---|---|---|---|
| iSig_NAME | In | 1 | Input signal on GPI port |
| oSig_NAME | Out | 1 | Output signal on GPO port |
To define the GPI ports of the VA IP Core:
- Go to the GPIO tab.
- In the General Purpose Input Signals area, click the plus icon
. - Into the field that is available now, enter the name of the GPI port you want to define. Double-click into the field to write.
- Repeat steps 3 and 4 until you have defined all GPI ports you want to have available on your VA IP Core.
- Go to the General Purpose Output Signals area.
- Click the plus icon
. - Into the field that is available now, enter the name of the GPO port you want to define. Double-click into the field to write.
- Repeat steps 7 and 8 until you have defined all GPO ports you want to have available on your VA IP Core.
The defined GPI and GPO ports are immediately visible in the graphical representation of the IP Core:
| Related Operators in VisualApplets | |
|
|
For the GPI and GPO signals, you can later define one or more platform-specific VisualApplets GPIO operators (see Defining Hardware-Specific Operators for details). These operators are made up by connectors to one or several of the GPIO resources. These operators can (after IP core integration) be instantiated within VisualApplets and then implement access to one or more GPI and/or GPO ports of the IP Core. The VisualApplets environment checks for resource conflicts (the same input/output pin cannot be used by two operator instances). |