Forum Discussion
Altera_Forum
Honored Contributor
14 years agoproblems: object "std_logic" is not declared
Hi; I try write a code for convert integer to ufixed: package my_data_types is type vector is array (natural range <>) of integer; type ufixed is array (natural range <>) of std_logic; ...
Altera_Forum
Honored Contributor
14 years agoFirst of all. DO NOT declare your own version of ufixed, it is in the fixed_pkg library. You are going to have problems if you do this.
Secondly, you need to include the line: library ieee; use ieee.std_logic_1164.all;