Answers Database


FPGA Express 2.x/3.0: Comparators may not infer carry logic


Record #3224

Product Family: Software

Product Line: Synopsys

Product Part: FPGA Express

Product Version: 2.0

Problem Title:
FPGA Express 2.x/3.0: Comparators may not infer carry logic


Problem Description:
Urgency: Standard

General Description:
FPGA Express versions 2.x and 3.0 implement large comparators using general
combinatorial logic only by default, instead of using carry logic optimized
for Xilinx devices along with the required combinatorial logic.

Straight combinatorial logic may take up less space (fewer LookUp Tables), but
will run slower and have less predictable timing than an implementation using
carry logic.

This issue has been resolved with version 3.1 of FPGA Express.


Solution 1:

To force FPGA Express infers carry logic, use the following syntax when
describing compare functionality.

Verilog:

(A-B) >> 0;	    instead of	    A >> B;

VHDL:

(A-B) > 0; instead of A > B;




End of Record #3224 - Last Modified: 03/22/99 08:41

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!