Design the 4-to-1 MUX two ways Write a Verilog module called mux4to1 to implement 4-to-1 multiplexer using
Fantastic news! We've Found the answer you've been seeking!
Question:
Design the 4-to-1 MUX two ways
- Write a Verilog module called mux4to1 to implement 4-to-1 multiplexer using functional descriptions and if-else blocks.
- Write another Verilog module called mux4to1structure to implement the same 4-to-1 multiplexer using structural description and the Verilog build-in logic gates.
- Design and write a test bench to apply the same inputs to both the mux4to1 and mux4to1structure modules. Name the output of the mux4to1 module f_mux4to1 and the output of mux4to1structure module f_mux4to1structure.
- Simulate the circuit using ISim and analyze the resulting waveform.
- Take full screenshots of all Verilog source codes and the resulting simulation waveform to be included in the lab report. Compare the outputs (f_mux4to1 and f_mux4to1structure.) according to all the input combinations and include your analysis in the lab report.
Related Book For
Digital Systems Design Using Verilog
ISBN: 978-1285051079
1st edition
Authors: Charles Roth, Lizy K. John, Byeong Kil Lee
Posted Date: