Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Comparison Palette Details (FPGA Module)

LabVIEW 2011 FPGA Module Help

Edition Date: June 2011

Part Number: 371599G-01

»View Product Info

This topic contains FPGA-specific information about the objects on the Comparison Functions palette.

Note  The information in this topic is subject to change with each version of the LabVIEW FPGA Module.

The following details apply to all the Comparison functions, except for the Max & Min function.

Single-Cycle Timed Loop Supported.
Usage When you compare signed and unsigned integers of the same width, such as U8 and I8, LabVIEW treats both integers as unsigned integers.
Timing Inside single-cycle Timed Loop—When you use Comparison functions inside a single-cycle Timed Loop, the combinatorial logic delay is proportional to the width of the data types you compare.
Outside single-cycle Timed Loop—When you use Comparison functions outside a single-cycle Timed Loop, each Comparison function takes one clock cycle.

If you use the Comparison functions with the fixed-point data type, the overflow and rounding modes might impact timing.
Resources The Comparison functions use FPGA logic resources in proportion to the width of the data types you compare.

Max & Min

Single-Cycle Timed Loop Supported.
Usage You cannot wire an array or cluster to this function in an FPGA VI. When you compare signed and unsigned integers of the same width, such as U8 and I8, LabVIEW treats both integers as unsigned integers.
Timing Inside single-cycle Timed Loop—When you use Comparison functions inside a single-cycle Timed Loop, the combinatorial logic delay is proportional to the width of the data types you compare.
Outside single-cycle Timed Loop—When you use Comparison functions outside a single-cycle Timed Loop, each Comparison function takes one clock cycle.
Resources The Comparison functions use FPGA logic resources in proportion to the width of the data types you compare.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit