Q4) De-Multiplexer
A demultiplexer is a device that forwards one single input signal to one of several analog or digital output lines. A multiplexer of 2n outputs has n select lines, which are used to select which output line are used to relay to the input signal.
Please design the entity as well as the test bench for a 1-to-4 multiplexer. For this multiplexer, please use the following to refer to the inputs/outputs of the circuit: I0 as data input; S1 and S0 as selection inputs; and O0, O1, O2 and O3 as data outputs.
Your entity design is:
Your test bench design is:
In your test bench design, please enable each one of the 4 outputs at one time. For example enable the input signal In (low for 50ns, and then high for 50ns) to go through O0 first. Then, let this same input signal In (low for 50ns, and then high for 50ns) to go through O1, O2, and O3 correspondingly.
The result waveforms are:
Please select the signals to be simulated in the following order: S1, S0, In, O3, O2, O1, O0.
--VHDL Code
library ieee;
use ieee.std_logic_1164.all;
entity demultiplexer is
port ( IO : in
std_logic;
S1, S0 : in
std_logic;
O0, O1, O2, O3 : out
std_logic
);
end demultiplexer;
architecture arch of demultiplexer is
begin
O0 <= IO and (not S1) and (not S0);
O1 <= IO and (not S1) and S0;
O2 <= IO and S1 and (not S0);
O3 <= IO and S1 and S0;
end arch;
---------------------------------------------------------------------------------------------------------------------------------------------------------
--Testbench
library IEEE;
use IEEE.Std_logic_1164.all;
entity demultiplexer_tb is
end;
architecture bench of demultiplexer_tb is
component demultiplexer
port ( IO : in
std_logic;
S1, S0 : in
std_logic;
O0, O1, O2, O3 : out
std_logic
);
end component;
signal IO: std_logic;
signal S1, S0: std_logic;
signal O0, O1, O2, O3: std_logic ;
begin
uut: demultiplexer port map ( IO => IO,
S1 => S1,
S0 => S0,
O0 => O0,
O1 => O1,
O2 => O2,
O3 => O3 );
INPUT_IO: process
begin
IO <= '0';
wait for 50 ns;
IO <= '1';
wait for 50 ns;
end process;
SELECT_INPUT: process
begin
S1 <= '0';
S0 <= '0';
wait for 100 ns;
S1 <= '0';
S0 <= '1';
wait for 100 ns;
S1 <= '1';
S0 <= '0';
wait for 100 ns;
S1 <= '1';
S0 <= '1';
wait for 100 ns;
end process;
end;
--------------------------------------------------------------------------------------------------------------------------------------------------------
--Simulated on ModelSim

Q4) De-Multiplexer A demultiplexer is a device that forwards one single input signal to one of...
Q5) A combinational circuit with internal signals and signal propagation delays Shown below is a combination circuit that takes 5 inputs (LO L1, L2, L3, and Comp), and generates 4 outputs (L4, L5, L6, し7) Please design the entity as well as the test bench for this combinational circuit. In your design, please set up internal signals Al, B, A2, B2, A3, B3, A4, B4, A5, B5, A6, B6, A7 and B7 Your entity design is Your test bench design...
Task 1: One implementation of a multiplexer uses a decoder. Using Logic Circuit,create a new schematic, import one of the decoders created in a previous lab and create a logic dircuit that implements the truth table below Task 2: Create a logic circuit that can display two 4-bit digits on two 7-segment displays using a single 7- segment display decoder and 4 multiplexers. To do this you will use four switches to enter the first number, and a second set...
Introduction Sequential logie circuits are circuits whose outputs depend not only on the present value of their input signals but also on the sequence of past inputs, the input history. Most sequential circuits we design are synchronous, or clocked. They use a rising or falling edge of a clock, or a level of an enable signal, to control their state or storage of data. For this project, you are required to design, implement, and test a PWM Generator, as well...
Anyone want to be a class hero? Our entire class is stuck and
the professor isn't responsding (and its due soon). We can't figure
out how to connect our four outputs of the multiplexers to a single
four input decoder in a way that causes the two seven segment
displays to alternate (see instructions). I understand the idea is
that we set the clock to a very high frequency so it looks like
they are both on when they are...
Requirement Write pseudocode and translate it to ONE C-program for each the following problems. In your pseudocode and C-program, use only what you have learned in this class so far. (Menu) Design a menu for question 2 and 3. So far, you use one program to solve all lab questions. But some of you may feel awkward when you want to demo/test only one lab question. To overcome that, your program should show a menu so that the users of...
Can someone please show me a circuit diagram so i can see how to
construct this on a bread board i am id 6 yhanks in advance
EEET-2251: Course & Projoct Guide 2018 EEET-2251: Cousc &Projoct Guide 2018 affic Light Controller A single switch must set your HC74 based state machine to the initial state (the U state This lab will get you to design a simple controller for a pedestrian crossing based on synchronous digital logic. You will master...