Guest
Hi,
I am trying to model a switch by connecting two ports based on a select
signal. For example, if I have 2 ports A and B, I should connect A and
B if the select signal is high(the select signal acts like a switch). I
do not know which port is the driver before simulation. So a statement
like A<=B; will not work. I am assuming that A and B are inout ports.
Does anyone know how I can go about modeling this?
Thanks.
Easwar
I am trying to model a switch by connecting two ports based on a select
signal. For example, if I have 2 ports A and B, I should connect A and
B if the select signal is high(the select signal acts like a switch). I
do not know which port is the driver before simulation. So a statement
like A<=B; will not work. I am assuming that A and B are inout ports.
Does anyone know how I can go about modeling this?
Thanks.
Easwar