Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > VHDL ... What wrong with my real number???

Thread Tools

VHDL ... What wrong with my real number???

elements_me elements_me is offline
Junior Member
Join Date: Dec 2007
Posts: 2
i have just wrote a simply codes in Quartus II to test how the Uniform function... but i met with the problem with the real number... the following is my codes...

variable s1 : integer;
variable s2 : integer;
variable x1,x2 : real;
end process;

error : cannot synthesize non-constant real objects or values ...

anyone know what is the problem ??? thx

Last edited by elements_me; 09-13-2008 at 01:44 PM..
Reply With Quote
Steff Steff is offline
Junior Member
Join Date: Sep 2008
Posts: 11

doesn't matter which kind of synthesis tool you take.
All these tools are not able to synthesis non-static numbers of type real.

If you want to synthesis random patterns like the procedure UNIFORM then have a look at this:

Also have a look at the Megawizard inside Quartus II.


Last edited by Steff; 09-17-2008 at 12:15 PM..
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VHDL-2002 vs VHDL-93 vs VHDL-87? afd VHDL 1 03-23-2007 09:33 AM
Detailsview shows real numbers with commata: Error converting data type nvarchar to real! Curious Trigger ASP .Net 2 09-09-2006 10:59 PM
OT: The Interview - Real, Funny...Real Funny The Rev [MCT] MCSE 42 05-31-2005 10:42 PM
call any usa REAL telephone number from the internet at pulver freeworld for .06 per minute - have your own real fone # for $10 month!! VOIP 0 06-09-2004 01:41 AM
product of real and (integer)(after converted to real one) value - vhdl found fatal error senthil VHDL 5 01-24-2004 04:37 AM