I
Ivan C.
Guest
Hi all,
I've successfully setup the floating point packages that are part
of the VHDL-200X-FT package set at:
http://www.eda.org/vhdl-200x/vhdl-200x-ft/packages/files.html
so that I can use them under ModelSim. When trying to synthesize even
the simplest circuit using Xilinx XST (from 6.3.02i) I get the
following error:
Analyzing Entity <fp32_test> (Architecture <simple>.
ERROR:Xst:1548 - C:/MYModels/simple_fp_test_synthesis/simple_test.vhd
line 14: Negative range in type of signal <A> is not supported.
-->
The Xilinx help page isn't very helpful other than saying that it is
correct (search for: Xilinx answer #18974)
Below is my simple_test.vhd:
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
use std.textio.all;
use ieee.std_logic_textio.all; -- %%% For
testing only
use ieee.math_real.all;
use work.fixed_pkg.all;
use work.fphdl_base_pkg.all;
use work.fphdl32_pkg.all;
entity fp32_test is
port( RST : in std_logic;
LINE14: A, B : in fp;
C : out fp
);
end entity fp32_test;
architecture simple of fp32_test is
begin
reset : process (RST) is
begin
if RST = '1' then
C <= A + B;
end if;
end process reset;
end architecture simple;
Note that to get the packages to work I had to change the FP related
ieee.fp* to work.fp*. BTW, all the FP packages pass the XST
compilation stage.
If you need more information please let me know. I'm pretty sure
someone has run into this before and I'm doing something silly
Thanks,
Ivan C.
I've successfully setup the floating point packages that are part
of the VHDL-200X-FT package set at:
http://www.eda.org/vhdl-200x/vhdl-200x-ft/packages/files.html
so that I can use them under ModelSim. When trying to synthesize even
the simplest circuit using Xilinx XST (from 6.3.02i) I get the
following error:
Analyzing Entity <fp32_test> (Architecture <simple>.
ERROR:Xst:1548 - C:/MYModels/simple_fp_test_synthesis/simple_test.vhd
line 14: Negative range in type of signal <A> is not supported.
-->
The Xilinx help page isn't very helpful other than saying that it is
correct (search for: Xilinx answer #18974)
Below is my simple_test.vhd:
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
use std.textio.all;
use ieee.std_logic_textio.all; -- %%% For
testing only
use ieee.math_real.all;
use work.fixed_pkg.all;
use work.fphdl_base_pkg.all;
use work.fphdl32_pkg.all;
entity fp32_test is
port( RST : in std_logic;
LINE14: A, B : in fp;
C : out fp
);
end entity fp32_test;
architecture simple of fp32_test is
begin
reset : process (RST) is
begin
if RST = '1' then
C <= A + B;
end if;
end process reset;
end architecture simple;
Note that to get the packages to work I had to change the FP related
ieee.fp* to work.fp*. BTW, all the FP packages pass the XST
compilation stage.
If you need more information please let me know. I'm pretty sure
someone has run into this before and I'm doing something silly
Thanks,
Ivan C.