C
crazydubi
Guest
Hi,
I am trying to do something very simple, but the simulator is having a
problem resolving my constant expressions. What would be the best
workaround for this problem. Is there something in v2000 that could be
applied that is robust for synthesis as well as for multiple
simulators?
parameter WIDTH=16;
for(i=0;i<WIDTH;i=i+1)
begin
output = input1 | (|input2[WIDTH-1:i);
end
In vcs, I get an error that expression should be a constant.
Andreas
I am trying to do something very simple, but the simulator is having a
problem resolving my constant expressions. What would be the best
workaround for this problem. Is there something in v2000 that could be
applied that is robust for synthesis as well as for multiple
simulators?
parameter WIDTH=16;
for(i=0;i<WIDTH;i=i+1)
begin
output = input1 | (|input2[WIDTH-1:i);
end
In vcs, I get an error that expression should be a constant.
Andreas