Forum Discussion

StefanoC's avatar
StefanoC
Icon for Occasional Contributor rankOccasional Contributor
3 years ago

ram 1 port crashes when float package is included

Hi,

I don't know why, adding from the library a 1-port RAM makes the following vhdl crash, it' s a dummy code just to reproduce the error (which is:Error(17729): VHDL error at float_generic_pkg_vhdl2008.vhd(72): formal generic package fixed_pkg does not match with actual"). Commenting out use IEEE.float_pkg.all; compiles, so I wonder why that simple RAM and the float package have a problem (on Quartus Prime pro, latest version)

-- VHDL Code for OR gate

library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.float_pkg.all;

-- Entity declaration

entity trial is

port(A : in std_logic; -- OR gate input
B : in std_logic; -- OR gate input
Y : out std_logic); -- OR gate output

end trial;

-- Dataflow Modelling Style
-- Architecture definition

architecture orLogic of trial is
--signal P: float64;
begin

Y <= A OR B;

end orLogic;

2 Replies