Question: A two-to-one multiplexer has two data inputs, a and b, and one select input s. The multiplexer has a single output c. If s =
A two-to-one multiplexer has two data inputs, a and b, and one select input s. The multiplexer has a single output c. If s = '0', c is equal to a. If s = '1', c is equal to b. (a) Write an entity declaration, named mux, for the multiplexer. Use only the data type std_logic. (b) Write an architecture for mux, named if_bod, that uses a process statement containing an if statement to describe the architecture. (c) Write an architecture for mux, named case_bod, that uses a process statement containing a case statement to describe the architecture.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
