Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using VHDL code, implement a 2-to-1 multiplexer. A 2^n -to-1MUX has 2^n inputs with n selectors. the 2-to-1 multiplexer outputs the input signal A when

image text in transcribedUsing VHDL code, implement a 2-to-1 multiplexer. A 2^n -to-1MUX has 2^n inputs with n selectors. the 2-to-1 multiplexer outputs the input signal A when the selector signal S is equal to 0 otherwise it outputs the input signal B. You need to implement 2 styles, one behavioral and one structural. The structural model uses only NOT, OR and AND gates. It realizes its Boolean function which only uses NOT, OR and AND gates. Use the following:

Library IEEE;

use IEEE.STD_LOGIC_ 1164.ALL;

use IEEE.NUMERCI_STD.ALL;

entity MUX_structural is

Port(A : in std_logic;

B : in std_logic;

S : in std_logic;

Z : out std_logic);

end MUX_structural;

In the behavioral description, describe the behavior of your target circuit and the synthesis tool creates a gate-level layout of your design. Use a single VHDL select assignment only. Use the following.

Library IEEE;

use IEEE.STD_LOGIC_ 1164.ALL;

use IEEE.NUMERCI_STD.ALL;

entity MUX_behavioral is

Port(A : in std_logic;

B : in std_logic;

S : in std_logic;

Z : out std_logic);

end MUX_behavioral;

Once completed, Write a testbench code and Show representative simulation plots of the 2-to-1 MUX circuits for all the possible input values.

So AGO -Z B H1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions