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 agoip1(i) is a single bit. You cannot assign an entire array (the ufixed) to a single bit.
You need to decalre an array of ufixed values.