AR# 9283

3.1i XST - XST does not support a shift on a signal/constant that is greater than 32 bits.


Keywords: XST, Verilog, shift, 32

Urgency: Standard

General Description:
The following Verilog code fails in XST:

module shifter (out, in, shift_val);
output [32:0] out;
input [32:0] in;
input [4:0] shift_val;

wire [32:0] temp;

assign temp = in << shift_val;
assign out = temp;


where the shifting is being performed on "in" (which is greater than 32 bits).


This problem is fixed in the latest 3.1i Service Pack, available at:
The first service pack containing the fix is 3.1i Service Pack 6.
AR# 9283
日期 08/20/2002
状态 Archive
Type 综合文章