Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
hi,
well i could give u the logic its up to you to write the code...
say A3 A2 A1 A0 are your select lines with A3 being the msb and A0 the lsb.
say d0-d15 are your inputs.
so use 4 4X1 multiplexers at the input . such that the u have d0-d3 connected to the input of the mux1, d4-d7 as i/p to the mux2, d8-d11 i/p to mux3, d12-d15 as i/ps to mux4. now connect the o/p of each of these 4 muxes to the i/p's of a a fifth mux, mux5.
so in all u have 5 4X1 muxes. and two levels of muxes.
now connect the select lines as follows.
connect A3 and A2 as the select lines for mux5.
connect the A1 A0 to the select lines of mux1,mux2,mux3,mux4.
this in effect will give u a 16X1 mux using 5 4X1 muxes.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.