Saturday, 17 August 2013

Variable number of "in" ports in an entity, VHDL

Variable number of "in" ports in an entity, VHDL

I am trying to simulate a destination control lift controller with n
floors and m lifts. So from every floor, the user can enter a destination
floor to go and gets a lift number in return. So to simulate this kind of
lift controller, I need to have variable in ports (which would be equal to
the number of floors), each of type integer. I tried searching on google
but could not find anything useful. Can someone suggest me how we can do
the above ? Thanks in advance.

No comments:

Post a Comment