We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 12483

3.6 FPGA Express - Bad logic is generated from shift operator ">>" on a parameter in Verilog


Keywords: parameter, shift, Verilog, FPGA Express

Urgency: Standard

General Description:
FPGA Express generates bad logic when performing a part-select of a parameter whose type is not explicitly defined.

A simple test case is as follows:

module E (out);
output [2:0] out;
parameter p = (32'h20 >> 32'd2 );
assign out = p[3:1];


This problem is fixed in the latest FPGA Express update with 4.1i Service Pack 2, available at:
The first FPGA Express version containing the fix is version 3.6.1.
AR# 12483
Date 08/11/2003
Status Archive
Type General Article