8-way 16-bit mux

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

8-way 16-bit mux

clocker
Is it possible to implement the 8-way 16-bit mux using some of my newly created 4-way 16 bit mux gates? I would think that should work but I'm mainly having problems with how to handle the selector. As the hdl description shows, sel in the 4-way chip is two bits (as in sel[2]) but the 8-way chip has a three bit selector (as in sel[3]) and I'm not sure how to pass that along correctly. Any help would be appreciated, I'm teaching myself here so I don't have a teacher and/or classmates to point me in the right direction, thanks.
Reply | Threaded
Open this post in threaded view
|

Re: 8-way 16-bit mux

cadet1620
Administrator
clocker wrote
Is it possible to implement the 8-way 16-bit mux using some of my newly created 4-way 16 bit mux gates?
Yes, this is a good approach. The 'sel' signal on the 8-way is a 3-wire bus so you will need to connect only a portion of it to the 2-bit 'sel' of the 4-ways.  Read the Buses section in Appendix A (A.5.3) to learn how to select only a portion of a bus.  Hint: Mux4Way16(sel=sel[something], ...

--Mark
Reply | Threaded
Open this post in threaded view
|

Re: 8-way 16-bit mux

AntonioCS
Thanks for the tip cadet1620 :) I was able to implement the Mux8Way16 chip