FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5930 Discussions

ram 1 port crashes when float package is included

StefanoC
Novice
331 Views

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;

0 Kudos
2 Replies
ShengN_Intel
Employee
320 Views

Hi,

 

I had no problem at synthesizing the posted code on my end. No error appears. Check file attached. (Quartus Pro 22.2, VHDL2008)

I found this link https://stackoverflow.com/questions/73903583/formal-generic-package-fixed-pkg-does-not-match-with-actual-float may be try restarting the project from scratch or deleting qdb recompile.

 

Best Regards,

Sheng

 

p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.

 

0 Kudos
StefanoC
Novice
315 Views
0 Kudos
Reply