- Joined
- Dec 16, 2007
- Messages
- 2
- Reaction score
- 0
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...
process
variable s1 : integer;
variable s2 : integer;
variable x1,x2 : real;
begin
UNIFORM(s1,s2,x1);
UNIFORM(s1,s2,x2);
end process;
error : cannot synthesize non-constant real objects or values ...
anyone know what is the problem :-( ??? thx
process
variable s1 : integer;
variable s2 : integer;
variable x1,x2 : real;
begin
UNIFORM(s1,s2,x1);
UNIFORM(s1,s2,x2);
end process;
error : cannot synthesize non-constant real objects or values ...
anyone know what is the problem :-( ??? thx
Last edited: