Continue to Site

Welcome to EDAboard.com

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.

How to do 16 to 1 multiplexer using 4 to 1 multiplexer module?

Status
Not open for further replies.

lcs81

Member level 3
Member level 3
Joined
Aug 2, 2005
Messages
57
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,683
any1 have verilog source code that do 16 to 1 multiplexer using 4to1 multiplxer module? thank
 

4 to 1 multiplexer 16to1

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.

rgds
rogger
 

    V

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top