cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Anonymous
Not applicable
2,601 Views

Fatal ERROR while using GENERICS for comparing

I have an entity with the following generics

 

LOWER_BOUND : integer := 1350;

UPPER_BOUND : integer := 1400;

 

 

in my architecture i use this to check if a register is in some predefined bounds

 

signal chk_reg : unsigned(13 downto 0);

 

...

...

 

valid <= '1' when (chk_reg >= to_unsigned(LOWER_BOUND, 14) ) and (chk_reg <= to_unsigned(UPPER_BOUND,14)) else '0';

 

 

i tested this code as a stand alone design in ISE on an virtex2p and it worked fine. Also simulation didn't show any problems.

But as soon as I used it in a bigger design with EDK it gave me the FATAL ERROR.

 

Is this a bug in EDK? I'm using 10.1 SP3

 

Sebastian

 

 

 

0 Kudos
1 Reply
Highlighted
Historian
Historian
2,568 Views
Registered: ‎02-25-2008


sebs wrote:

I have an entity with the following generics

 

LOWER_BOUND : integer := 1350;

UPPER_BOUND : integer := 1400;

 

 

in my architecture i use this to check if a register is in some predefined bounds

 

signal chk_reg : unsigned(13 downto 0);

 

...

...

 

valid <= '1' when (chk_reg >= to_unsigned(LOWER_BOUND, 14) ) and (chk_reg <= to_unsigned(UPPER_BOUND,14)) else '0';

 

 

i tested this code as a stand alone design in ISE on an virtex2p and it worked fine. Also simulation didn't show any problems.

But as soon as I used it in a bigger design with EDK it gave me the FATAL ERROR.

 

Is this a bug in EDK? I'm using 10.1 SP3

 

Sebastian

 

 

 


It might help if you gave us the exact error message.

 

-a

----------------------------Yes, I do this for a living.
0 Kudos