LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does a "subroutine priority" mean anything in an FPGA?

Solved!
Go to solution
Highlighted

Since a programmed FPGA is a collection of hardware logic strung together with potentially a great deal of it in parallel, does setting the execution priority properties of FPGA subVIs to "subroutine" really do anything? If you read the description of what a subroutine priority does, it says it devotes all the resources of an execution thread to the subroutine code. This to me implies time sharing of resources. But I don't think time-shared execution threads exist in an FPGA, or do they? Do any of the other possible execution priority levels mean anything to FPGA code?

0 Kudos
Message 1 of 3
(580 Views)
Solution
Accepted by topic author WNM
08-27-2015 04:09 PM

Execution priorities have no effect in FPGA. Every subVI that does not require arbitration (ie, is either reentrant or used only once) is inlined into the main VI at compile time. As far as I know, execution priority has no effect on arbitration for those subVIs that do require it.

Message 2 of 3
(557 Views)

Thank you. That's pretty much what I suspected but I had not yet found words to that effect.

0 Kudos
Message 3 of 3
(529 Views)