Ngised
Newbie level 6
Hi there, I have a gradually input-upwards multiplexer. I designed a general 3 bit input multiplexer with one select input and one output. My question is, that in the first level MUX_0 from the 3 bit-input I am using only one bit, so accordingly
MUX_0 = 1 bit input usage
MUX_1 = 2 bit input usage
MUX_2 = 3 bit input usage
How I declare in MUX_0 and MUX_1 the non input bit in the port map? I have been already tried with the keyword "open" but it doesn't work. A small example of my code which doesn't work see below.
MUX_0 = 1 bit input usage
MUX_1 = 2 bit input usage
MUX_2 = 3 bit input usage
How I declare in MUX_0 and MUX_1 the non input bit in the port map? I have been already tried with the keyword "open" but it doesn't work. A small example of my code which doesn't work see below.
Code:
CS1:carry_selector
port map ( a(0) => carry_out_sign(0),
b(0) => carry_out_sign(1),
a(1) => open,
b(1) => open,
a(2) => open,
b(2) => open,
sel_c0 => carry_in(2),
carry_out => mux_in_sign(2)
);