There\'s a store owner who has 8 aisles numbered 0-7. Each aisle has a light abo
ID: 1922093 • Letter: T
Question
There's a store owner who has 8 aisles numbered 0-7. Each aisle has a light above it to indicate if that aisle has a sale. Only one light can be on at a time. The store owner has a switch that can be set from 0-7 and has a 3-bit output representing the switch position in binary. A second switch can be set up or down and has a single bit output that is 1 when the switch is up and 0 when down to indicate that no aisles have a sale. Design a circuit using decoders and muxes.From what I read, I was thinking of using an 3-bit 8 to 1 mux to a 3 to 8 decoder. The only reason I'm hesitant because I'm not sure how the output of the mux goes to the decoder. Does that sound feasible? If not, what would work better?
Note: I also have to implement this on an FPGA.
Explanation / Answer
Yes that is correct, dont forget about the switch that will turn off all the aisles. You might put switches on each output of the decoder that makes the output all zeroes. I dont think you can just make the 3 bit mux output all zeroes because that will correspond to aisle 0 having a sale.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.