UPGRADE YOUR BROWSER

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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor sebs
Visitor
2,580 Views
Registered: ‎03-26-2009

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,547 Views
Registered: ‎02-25-2008

Re: Fatal ERROR while using GENERICS for comparing


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