Advanced Code Generation Page (FPGA I/O Properties Dialog Box)
- Updated2025-01-28
- 5 minute(s) read
Advanced Code Generation Page (FPGA I/O Properties Dialog Box)
Select Advanced Code Generation in the Category list of the FPGA I/O Properties dialog box to display this page.
Use this page to select code generation options, such as arbitration and the number of synchronizing registers. You also can specify certain I/O options in the FPGA I/O Node Properties dialog box. Supported options, values, and defaults vary according to FPGA target and FPGA I/O. This page displays only the options and values supported by the selected FPGA I/O. Some FPGA targets might not allow access to this page at all.
This page can contain the following options:
Option | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ArbitrationForInputData | Specifies the type of arbitration the resource uses for input data. This option typically applies to FPGA I/O items where input requires multiple clock cycles.This option can include Always Arbitrate, Arbitrate if Multiple Requestors Only, and Never Arbitrate. | ||||||||||||||||||||||||||||||||||||
ArbitrationForOutputData | Specifies the type of arbitration the resource uses for output data.This option can include Always Arbitrate, Arbitrate if Multiple Requestors Only, and Never Arbitrate. | ||||||||||||||||||||||||||||||||||||
ArbitrationForOutputEnable | Specifies the type of arbitration the resource uses for output enable.This option appears for FPGA I/O with output enable, such as bidirectional digital I/O. This option can include Always Arbitrate, Arbitrate if Multiple Requestors Only, and Never Arbitrate. | ||||||||||||||||||||||||||||||||||||
NumberOfSyncRegistersForOutputData | Specifies the number of synchronizing registers between the FPGA I/O function executing on the FPGA target and the FPGA target hardware interface. The FPGA target hardware interface might be a physical I/O connector on the device or a connection to a section of the FPGA that contains circuitry designed by NI.
Note To ensure consistent timing, use the same number of synchronization registers for output data and output enable.
Each synchronization register executes in one clock cycle.
Caution Select 0 only if you also use component-level IP (CLIP) and the HDL code contains its own synchronization registers.
Supported options typically include the following:
|
||||||||||||||||||||||||||||||||||||
NumberOfSyncRegistersForOutputEnable | Specifies the number of synchronizing registers between the FPGA I/O Node executing on the FPGA target and the FPGA target hardware interface.
Note To ensure consistent timing, use the same number of synchronization registers for output data and output enable.
This option appears for FPGA I/O with the Set Output Enable method available, such as bidirectional digital I/O. Each synchronization register executes in one clock cycle.
Caution Select 0 only if you also use component-level IP (CLIP) and the HDL code contains its own synchronization registers.
Supported options typically include the following:
|
||||||||||||||||||||||||||||||||||||
NumberOfSyncRegistersForRead | Specifies the number of synchronizing registers between the FPGA target hardware interface and the FPGA I/O executing on the FPGA target. The FPGA target hardware interface might be a physical I/O connector on the device or a connection to a section of the FPGA that contains circuitry designed by NI.
Each synchronizing register executes in one clock cycle. If you use the FPGA I/O item outside a single-cycle Timed Loop, LabVIEW places one additional synchronizing register, or holding register, that attempts to hold the digital value constant for subsequent operations in the FPGA VI. These synchronizing registers are in addition to enable chain registers that are present outside of the single-cycle Timed Loop. If you use the FPGA I/O item inside a single-cycle Timed Loop, LabVIEW does not add the additional register because logic inside a single-cycle Timed Loop executes every clock cycle. However, you must use caution when synchronizing I/O in single-cycle Timed Loops.
Caution Select 0 only if you also use component-level IP (CLIP) and the HDL code contains its own synchronization registers. Otherwise, you might introduce metastable data in the FPGA VI and experience unpredictable behavior.
Supported options typically include the following:
|