M
Mike Dearman
Guest
I have the following vector in my design:
signal CONTROL_PINS : std_logic_vector(69 downto 0);
I want to connect certain bits of this vector to pins, and i want to
give them meaningfull names, for example i want a pin called "ABC"
connected to CONTROL_PINS(4)
the most obvious thing i can think of is to use an alias:
alias "ABC" is CONTROL_PINS(4);
but i can't use "ABC" in the port declaration as it then complains
about being declared twice.
Am i going about this the wrong way? Suggestions welcomed
Mike
signal CONTROL_PINS : std_logic_vector(69 downto 0);
I want to connect certain bits of this vector to pins, and i want to
give them meaningfull names, for example i want a pin called "ABC"
connected to CONTROL_PINS(4)
the most obvious thing i can think of is to use an alias:
alias "ABC" is CONTROL_PINS(4);
but i can't use "ABC" in the port declaration as it then complains
about being declared twice.
Am i going about this the wrong way? Suggestions welcomed
Mike