Dependencies
This extension is written against the SPIR-V Specification, Version 1.6 Revision 2.
This extension requires SPIR-V 1.0.
Overview
This extension adds decorations to request that statically-scheduled clusters use a stall-enable signal, or an exit FIFO, on an FPGA target.
Extension Name
To use this extension within a SPIR-V module, the following OpExtension must be present in the module:
OpExtension "SPV_ALTERA_fpga_cluster_attributes"
New capabilities
This extension introduces two new capabilities:
FPGAClusterAttributesALTERA FPGAClusterAttributesV2ALTERA
New Decorations
This extension adds the following decoration under the FPGAClusterAttributesALTERA capability:
StallEnableALTERA
This extension adds the following decoration under the FPGAClusterAttributesV2ALTERA capability:
StallFreeALTERA
Token Number Assignments
FPGAClusterAttributesALTERA |
5904 |
StallEnableALTERA |
5905 |
FPGAClusterAttributesV2ALTERA |
6150 |
StallFreeALTERA |
6151 |
Modifications to the SPIR-V Specification, Version 1.6
Decoration
Modify Section 3.20, Decoration, adding these rows to the Decoration table:
| Decoration | Extra Operands | Enabling Capabilities | ||
|---|---|---|---|---|
5905 |
StallEnableALTERA |
FPGAClusterAttributesALTERA |
||
6151 |
StallFreeALTERA |
FPGAClusterAttributesV2ALTERA |
||