Design a 4:1 mux in verilog, Computer Engineering

Design a 4:1 mux in Verilog



Multiple styles of coding. e.g.

Using if-else statements

if(sel_1 == 0 && sel_0 == 0) output = I0;

else if(sel_1 == 0 && sel_0 == 1) output = I1;

else if(sel_1 == 1 && sel_0 == 0) output = I2;

else if(sel_1 == 1 && sel_0 == 1) output = I3;

Using case statement

case ({sel_1, sel_0})

00 : output = I0;

01 : output = I1;

10 : output = I2;

11 : output = I3;

default : output = I0;




Posted Date: 9/17/2013 12:55:01 AM | Location : United States

Related Discussions:- Design a 4:1 mux in verilog, Assignment Help, Ask Question on Design a 4:1 mux in verilog, Get Answer, Expert's Help, Design a 4:1 mux in verilog Discussions

Write discussion on Design a 4:1 mux in verilog
Your posts are moderated
Related Questions
(a) What is Grid computing? (b) What are the key distinctions between conventional distributed computing and Grid computing? (b) Describe how five features of Grid Computi

Q. Illustration of equivalent EXE program? An illustration of equivalent EXE program for COM program is: ; ABSTRACT this program adds 2 8-bit numbers in the memory locations

What are the uses of Router? Router: A router is used to transfer or route data among two or more similar networks. This determines the next network point to that a data

Rigging is use for if we need to give animation for any object or character then we apply to character or object internal bone setting(like our bones).that is known as rigging. Whe

In a single stage network: (A)  There is no redundancy (B)  There is redundancy (C)  Alternative cross points are available (D)  Alt

Explain the Significance of Binary Data Controlled devices generally contain registers that are made up of binary digits (bits). The following illustration shows how these regi

This is the set of tools and facilities that you work with as the MATLAB user or programmer. It contains facilities for managing the variables in your workspace and importing and e

Direct inward dialling is used as a feature in? Direct inward dialling is utilized as a feature in EPABX.

Q. Explain about Server synchronization? Server synchronization: It updates atom by server process of requesting process. In this method an atom acts as a unique update server.

Q. Show the Classification of Printers? Printers can be classified on following bases: a) Impact: Impact printers print by impact of hammers on ribbon (for example Dot-Matri