Forum Discussion
Altera_Forum
Honored Contributor
8 years agohow to map many ports to a vector/array ?
Hi All, I have an entiry with a lot of ports. I'd like to map these ports to a vector/array. example: Ports: bit_000_0 : in std_logic; bit_000_1 : in std_logic; bit_000_2 : in ...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Concatenation: vec(4 downto 0) <= bit_000_4 & bit_000_3 & bit_000_2 & bit_000_1 & bit_000_0 --- Quote End --- Could this assignment be done in the package? Remember that bit_000_4, bit_000_3, ... are ports - could they be observed from a package?