using the for-loop !

Mar 24, 2005 0 Replies

Hi .. why cant i synthesize a module where i have a for-loop which runs thourgh a signal std_logic_vector data_in ....



for I in 0 to 31 loop if data_in(I)='1' then // do stuff end loop



xilinx just runs forever .. never finishing ... but if i declare the std_logic_vector to be a constant instead of a signal then i works :/



What could be the reason


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required