lab 3
.docx
keyboard_arrow_up
School
Valencia College *
*We aren’t endorsed by this school
Course
2112C
Subject
Electrical Engineering
Date
Dec 6, 2023
Type
docx
Pages
10
Uploaded by MajorElectron12680
03/03/2019
Experiment #4
Multiplexers in
Combinational Logic Design
03/03/2019
EEE 3342
Objective:
03/03/2019
The goal of this experiment is to introduce multiplexers in the implementation of
combinational
logic design. In addition, procedural programming in VERILOG will be introduced to the
student.
Apparatus List:
1.
BASYS 3 Board
2. Xilinx
3.
Vivado Tools
4.
Given Function:
F(w,x,y,z)=y'z'w'+y'z+yz'x
Pre-Lab Questions:
1.
Given the Function F (w, x, y, z) generate this function’s truth table. Next, determine
the min-terms (the combination of w, x, y, and z for which
the
output
function
F
is
one).
These combinations determine the input locations of the multiplexer which are
set to one.
The combinations, for which the output is zero, form the input locations of
the multiplexer which are set to zero.
F(w,x,y,z)=y'z'w'+y'z+yz'x
W
X
Y
Z
F(W,X,Y,
Z)
0
0
0
0
1
0
0
0
1
1
0
0
1
0
0
0
0
1
1
0
0
1
0
0
0
0
1
0
1
1
0
1
1
0
1
0
1
1
1
0
1
0
0
0
1
1
0
0
1
1
1
0
1
0
0
1
0
1
1
0
1
1
0
0
0
1
1
0
1
1
1
1
1
0
1
1
1
1
1
0
2.
Draw the logic schematic in your notebook using two 8:1 multiplexers. Consider the
enable input
as
active
high
(Xilinx
has
the
Enable
input
as
active
high
–
E).
03/03/2019
Three
of
the
input variables in the given function F(w,x,y,z) are used as control
inputs to the selection/control 4-2 inputs of each of the 8:1 multiplexers and the fourth
input variable is used to select between the two 8:1 multiplexers using the E input. An
OR gate is used to OR the two 8:1 multiplexer outputs.
3.
Read the rest of this experiment carefully
to
become
familiar
with
it
and
write
down
the Verilog code for the Multiplexer depending on the inputs and outputs.
03/03/2019
Procedures:
1.
Using Xilinx’s Vivado Design Tool and the VERILOG programming language,
design a 16:1 multiplexer.
2.
2. Create VERILOG source file which consists of the code for the multiplexer and
then run the synthesis. Expand the Open Elaborated Design entry under the RTL
Analysis tasks of the Flow Navigator pane and click on Schematic to create the
schematic circuit.
3.
3. After
studying
the
above
VERILOG
programming
examples,
try
to
compile
a
VERILOG programming
module
that
implements
a
16:1
multiplexer
using
procedural
programming. Assign
a
4-bit
bus
S
for
the
select
lines
of
the
multiplexer
and
a
signal
O
for
the
output
(O needs to be
reg type).
4.
4. See Experiment #1&2 on how to design, set the test bench end time and the
simulation end time. Once the simulation is completed, verify if the outputs are in
sync with code.
5.
5. Define a four-bit input BUS S and a single output O. This four-bit bus, S[0],
S[1], S[2] and S[3] should be connected to SW0 (V17), SW1 (V16), SW2(W17),
and SW3(W15) and the O output should be linked to LED0 (LD0) on the BASYS
board by choosing “Package” under schematic. The value of the I/O Std of these
switches should be set to “LVCMOS33”.
6.
6. Generate a .BIT file as explained in Experiment 1 and Implement the design on
the BASYS Board.
By
clicking
on
the
hardware
manager,
and
programming
the
board
with
the implemented design, verify the output on the Board.
-
Figures:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
H.W: Reduce the combinational logic circuit in Figure below to a
minimum form.
arrow_forward
answere fast please
question from DIGITAL LOGIC DESIGN
TOPIC : Designing Combinational Logic
You are designing a water level circuit using 74ALS151 (8 to 1 Multiplexer IC)* When input is 0000 that means tank is empty.* When input is 1111 that means tank is full.* When input is below 5, that means water level is low.* So, make a circuit using 74ALS151 Multiplexer IC that shows a "low water" indicator light(by setting an output L to 1) when the water level drops below level 5.
arrow_forward
Logic Design
courses / EE200SP21 / General / Mid Term Examination Part II (Subjecti
Compute the minimal products of sum and minimal sum of
products expressions for following KMAP. Show your groupings on
KMAP
АВ CD
1
1
1
1
0.
Instructions: You have to solve the answer by hand on paper,
scan/take photo and upload it as a single file.
Local Disk (D:)
Mid Term Examinat.
arrow_forward
Basic Combinational Logic Circuits
2. Write the output expression for logic circuit:
A
B
B
X
arrow_forward
mybmsajmanac
ERSITY
Design
My courses
Logic Design
General
Qua 2 LD/DLD on Tue. 7/12/21-Dr. Zidan
The correct state sequence of the cirtut with initial state Qo1, 01 and Q0
D.
Q
D, a.
LSB
MSB
Clock
Select one
O a1, 2, 5.3, 7,6,4
O b.1,6, 5,7, 2.3,4
O C1,2.7,3, 5,6, 4
O d 1,3,4, 6, 7,3.2
arrow_forward
ehcu.org/pluginfile
100%
10 / 11
locations, count how many times is 0 and how
many times 1 is.
Questions:-
1- Write a program in assembly language to perform the following logic
ci
BL
CL
DL
[5100]-
2- How we can perform the NEG and NOT instructions by using different
instructions.
3- Write the following program by using different instruction or instructions
for each instruction on the
program.
MOV AL , 00
MOV BX , FFFF
XOR CL , FF
NEG BYTE PTR [DI]
AND CX ,
LG
arrow_forward
Design the following combinational logic circuit with a
four-bit input and a three-bit output. The input
represents two unsigned 2-bit numbers: A1 A0 and B1
B0. The output C2 C1.C0 is the result of the integer
binary division A1 A0/B1 B0 rounded down to three
bits. The 3-bit output has a 2-bit unsigned whole part
C2 C1 and a fraction part CO. The weight of the fraction
bit CO is 21. Note the quotient should be rounded
down, i.e. the division 01/11 should give the outputs
00.0 (1/3 rounded down to 0) not 00.1 (1/3 rounded up
to 0.5). A result of infinity should be represented as
11.1. A minimal logic implementation is not required.
(Hint: start by producing a truth table of your design).
arrow_forward
(c)
Figure Q3(c)(i) shows a register and Figure Q3(c)(ii) shows the input waveforms
(CLOCK and Data in) to the circuit.
A1
A9
A10
A2
Function generator
A3
A11
A12
AS
A13
A6
A14
A7
A15
Data in
Bop.7)
ip.r
82p.7)
Logic analyser
U1
U2
U3
U4
UO
6.
1.
6
1
6
INVERTER
3
CLK
3 CLK
oCLK
CLK
5
K
K
5
K
K
4027
Clock
Function generator
Figure Q3(c)(i)
(i)
Determine the type of register as shown in Figure Q3(c)(i).
arrow_forward
Design a combinational circuit with 3-inputs and 1-output. The output is equal to logic-1 when the binary value of the input is less than 3. And the output is logic-0 otherwise.
arrow_forward
Question iii please help......
arrow_forward
Hello I am having trouble with a practice problem for my digital circuits class. I would appreciate if you can help me out. Thanks.
arrow_forward
Design a logic circuit for decoder that accepts 3-bit input and displays alphabet “048” at the seven-
segment as illustrated at Figure 1 (a). The input-output mapping shown in Table 1 (a). Refer Figure
1(b) and Figure 1(c) for seven-segment display format showing arrangements of segments using
common anode connection. Show each steps clearly to produce the expressions and required
design.
[Rekabentuk litar logik untuk penyahkod yang menerima input 3-bit dan paparkan abjad "048" di tujuh-segmen
seperti digambarkan pada Rajah 1(a). Pemetaan masukan-keluaran ditunjukkan dalam Jadual 1(a). Rujuk Rajah
1(b) and Rajah 1(c) untuk format paparan tujuh-segmen yang menunjukkan susunan segmen menngunakan
sambungan 'common anode'. Tunjukkan setiap langkah dengan jelas untuk menghasilkan ungkapan dan reka bentuk
yang dikehendaki.]
Xs
X6
X7
DECODER
Figure 1(a)
[Rajah 1(a)]
a
b
с
d
e
f
g
a
80123456789
Figure 1(c)
[Rajah 1(c)]
g
Figure 1 (b)
[Rajah 1(b)]
b
с
DP
arrow_forward
Write a VHDL code for the following simple logic circuit.
D-
X1
X2
f
X3
arrow_forward
Digital Logic Design
arrow_forward
Draw logic diagram for half adder and full adder circuit using Logisim Software
arrow_forward
Needs Complete solution with 100 % accuracy.
arrow_forward
Hello I am having trouble with a practice problem for my digital circuits class. I would appreciate if you can help me out. Thanks.
arrow_forward
Design a combinational circuit with four input lines that represent a decimal digit in BCD and four output lines that generate the 9's complement of the input digit. Provide a fifth output that detects an error in the input BCD number. This output should be equal to logic 1 when the four inputs have one of the unused combinations of the BCD code. Provide a schematic logic diagram of it. It will surely help me in my review. Thank you so much!
arrow_forward
Design a combinational circuit with the four inputs A,B.C, and D, and three outputs
X, Y, and Z. When the binary input is odd number, the binary output is one lesser
than the input. When the binary input is even number the binary output is one greate
than the input. Implement the function using multiplexers with minimal input and
select line.
arrow_forward
USE DIGITAL LOGIC AND DESIGN
arrow_forward
1digtal
arrow_forward
Please help me, solve this question.
arrow_forward
Designa logic Circuit with Bbits iyp
the output is the Sum ofe & 6 a
arrow_forward
For the input waveforms in Figure , what logic circuit will generate the output
waveform shown? Explain in detail for each.
Inputs B
Output X
Inputs B
Output X
arrow_forward
From the BCD code whose block diagram is given in the figure below, you can find the 7-segment LED display (with common anode) code. Solving combinational logic circuit will be designed. This type of commercially produced decoder is integrated State the features you consider important by researching the circuits. BCD input at the output of the decoder For the 0-9 values of the information information, the following indicator figures will be seen and the values other than these it will be considered arbitrary. Since the 7-segment LED display has a common anode, The logic "0" will be applied to the burned parts. Draw this circuit.
arrow_forward
From the BCD code whose block diagram is given in the figure below, you can find the 7-segment LED display (with common anode) code. Solving combinational logic circuit will be designed. This type of commercially produced decoder is integrated State the features you consider important by researching the circuits. BCD input at the output of the decoder For the 0-9 values of the information information, the following indicator figures will be seen and the values other than these it will be considered arbitrary. Since the 7-segment LED display has a common anode, Logic "0" will be applied to the burned parts. The accuracy of the logic circuit you will design Create the table and find the output expressions by shrinking the table with the Karnaugh diagram method.
arrow_forward
From the BCD code whose block diagram is given in the figure below, you can find the 7-segment LED display (with common anode) code. Solving combinational logic circuit will be designed. This type of commercially produced decoder is integrated State the features you consider important by researching the circuits. BCD input at the output of the decoder For the 0-9 values of the information information, the following display figures will be seen and the values other than these it will be considered arbitrary. Since the 7-segment LED display has a common anode, Logic "0" will be applied in response to the burned parts. The accuracy of the logic circuit you will design Create the table and find the output expressions by shrinking the table with the Karnaugh diagram method.
arrow_forward
I need an expert solution for handwriting, correct and complete please.
arrow_forward
I need the answer as soon as possible
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Related Questions
- H.W: Reduce the combinational logic circuit in Figure below to a minimum form.arrow_forwardanswere fast please question from DIGITAL LOGIC DESIGN TOPIC : Designing Combinational Logic You are designing a water level circuit using 74ALS151 (8 to 1 Multiplexer IC)* When input is 0000 that means tank is empty.* When input is 1111 that means tank is full.* When input is below 5, that means water level is low.* So, make a circuit using 74ALS151 Multiplexer IC that shows a "low water" indicator light(by setting an output L to 1) when the water level drops below level 5.arrow_forwardLogic Design courses / EE200SP21 / General / Mid Term Examination Part II (Subjecti Compute the minimal products of sum and minimal sum of products expressions for following KMAP. Show your groupings on KMAP АВ CD 1 1 1 1 0. Instructions: You have to solve the answer by hand on paper, scan/take photo and upload it as a single file. Local Disk (D:) Mid Term Examinat.arrow_forward
- Basic Combinational Logic Circuits 2. Write the output expression for logic circuit: A B B Xarrow_forwardmybmsajmanac ERSITY Design My courses Logic Design General Qua 2 LD/DLD on Tue. 7/12/21-Dr. Zidan The correct state sequence of the cirtut with initial state Qo1, 01 and Q0 D. Q D, a. LSB MSB Clock Select one O a1, 2, 5.3, 7,6,4 O b.1,6, 5,7, 2.3,4 O C1,2.7,3, 5,6, 4 O d 1,3,4, 6, 7,3.2arrow_forwardehcu.org/pluginfile 100% 10 / 11 locations, count how many times is 0 and how many times 1 is. Questions:- 1- Write a program in assembly language to perform the following logic ci BL CL DL [5100]- 2- How we can perform the NEG and NOT instructions by using different instructions. 3- Write the following program by using different instruction or instructions for each instruction on the program. MOV AL , 00 MOV BX , FFFF XOR CL , FF NEG BYTE PTR [DI] AND CX , LGarrow_forward
- Design the following combinational logic circuit with a four-bit input and a three-bit output. The input represents two unsigned 2-bit numbers: A1 A0 and B1 B0. The output C2 C1.C0 is the result of the integer binary division A1 A0/B1 B0 rounded down to three bits. The 3-bit output has a 2-bit unsigned whole part C2 C1 and a fraction part CO. The weight of the fraction bit CO is 21. Note the quotient should be rounded down, i.e. the division 01/11 should give the outputs 00.0 (1/3 rounded down to 0) not 00.1 (1/3 rounded up to 0.5). A result of infinity should be represented as 11.1. A minimal logic implementation is not required. (Hint: start by producing a truth table of your design).arrow_forward(c) Figure Q3(c)(i) shows a register and Figure Q3(c)(ii) shows the input waveforms (CLOCK and Data in) to the circuit. A1 A9 A10 A2 Function generator A3 A11 A12 AS A13 A6 A14 A7 A15 Data in Bop.7) ip.r 82p.7) Logic analyser U1 U2 U3 U4 UO 6. 1. 6 1 6 INVERTER 3 CLK 3 CLK oCLK CLK 5 K K 5 K K 4027 Clock Function generator Figure Q3(c)(i) (i) Determine the type of register as shown in Figure Q3(c)(i).arrow_forwardDesign a combinational circuit with 3-inputs and 1-output. The output is equal to logic-1 when the binary value of the input is less than 3. And the output is logic-0 otherwise.arrow_forward
- Question iii please help......arrow_forwardHello I am having trouble with a practice problem for my digital circuits class. I would appreciate if you can help me out. Thanks.arrow_forwardDesign a logic circuit for decoder that accepts 3-bit input and displays alphabet “048” at the seven- segment as illustrated at Figure 1 (a). The input-output mapping shown in Table 1 (a). Refer Figure 1(b) and Figure 1(c) for seven-segment display format showing arrangements of segments using common anode connection. Show each steps clearly to produce the expressions and required design. [Rekabentuk litar logik untuk penyahkod yang menerima input 3-bit dan paparkan abjad "048" di tujuh-segmen seperti digambarkan pada Rajah 1(a). Pemetaan masukan-keluaran ditunjukkan dalam Jadual 1(a). Rujuk Rajah 1(b) and Rajah 1(c) untuk format paparan tujuh-segmen yang menunjukkan susunan segmen menngunakan sambungan 'common anode'. Tunjukkan setiap langkah dengan jelas untuk menghasilkan ungkapan dan reka bentuk yang dikehendaki.] Xs X6 X7 DECODER Figure 1(a) [Rajah 1(a)] a b с d e f g a 80123456789 Figure 1(c) [Rajah 1(c)] g Figure 1 (b) [Rajah 1(b)] b с DParrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Delmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage Learning
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning