Forum Discussion
Altera_Forum
Honored Contributor
14 years agoYou have to remember that VHDL has strong typing. So signed, unsigned, std_logic_vectors are arrays of std_logic. integer, is just an integer, it has no bits. Quartus converts an integer to actual bits to map it to hardware, but in VHDL there are no bits.
I suggest that 1. Do not use std_logic_arith library (its not part of the IEEE VHDL language standard.) Use numeric_std instead. 2. use an array type when you want to see the actual bits.