linking readable port names with indexed array

Joined
Sep 17, 2009
Messages
1
Reaction score
0
I have a design which has a large number of bidirectional ports.

Internally i want to refer to them as an array i.e control_pins(71 downto 0), but i want to use readable names at the port level, so that the pinout file is easy to read

if the signals were unidirectional i could just individually assign everything, i.e

SIGNAL_A <= control_pins(0)
SIGNAL_C <= control_pins(1)

but i can't do that because they're bidirectional and the assignment operator isn't.

so another option might be to use aliases

alias control_pins(0) is SIGNAL_A

or

alias SIGNAL_A is control_pins(0)

neither of which are valid.

am i missing something very obvious?

thanks,

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top