A
Amish Rughoonundon
Hi,
I was wondering how to concatenate multiple individual bidirectional
signals into 1 bidirectional bus
Would something like this work?
Wouldn't the simulator throw X's on the signal a,b,c because driven
from two places.
Thanks for the help,
Amish
I was wondering how to concatenate multiple individual bidirectional
signals into 1 bidirectional bus
Code:
signal a : std_logic;
signal b : std_logic;
signal c : std_logic;
signal d : std_logic_vector;
test1 : test1
port map(
a => a,
b => b,
c => c
);
d <= a & b & c;
a <= d(2);
b <= d(1);
a <= d(0);
test2 : test2
port map(
d => d
);
Would something like this work?
Wouldn't the simulator throw X's on the signal a,b,c because driven
from two places.
Thanks for the help,
Amish