PRPCOEM-ECD Lab Manual-2022-23
PRPCOEM-ECD Lab Manual-2022-23
To develop professionals with strong ethics and human values for the
betterment of society.
Vision
To become a centre of excellence in Electronics & Telecommunication
Engineering to produce quality, self-motivated, creative and ethical engineers.
Mission
To provide basic and advance knowledge to the students of Electronics &
Telecommunication Engineering.
To strive towards efficient industry–institute interaction and academic
excellence.
To inculcate awareness towards societal needs and environmental issues.
Electronic Circuit Design Lab (6ETC07)
Certificate
curriculum.
Dr. R. D. Ghongade
Subject Teacher Head of the Department
Electronic Circuit Design Lab (6ETC07)
Subject & Code: Electronic Circuit Design Lab (6ETC07) Semester: 6th
Name of Faculty:
Name of Student:
Sign of
Title of the Date of Date of Assessment Teacher
SN. Page
Practical / Experiment No. Performance Submission Marks (15) and
Remarks
To design layout diagram
1 for CMOS Inverter on silicon
using Microwind.
To design layout diagram
for two input CMOS NAND
2
logic gate on silicon using
Microwind.
To design layout diagram
3 for two input CMOS NOR
logic gates on silicon using
Microwind.
To design layout diagram
4 for D filp-flop using
Microwind.
To write a Verilog program
for basic logic gates to
5
synthesize and simulate
using Xilinx software tool.
To write Verilog code for
implementation for 2*4
6
decoder circuit using Xilinx
software tool.
To write Verilog code for
implementation for 4:1
7
Multiplexer circuit using
Xilinx software tool.
To write Verilog code for
implementation for D flip-
8
flop circuit using Xilinx
software tool.
Signature of Faculty
Electronic Circuit Design Lab (6ETC07)
LABORATORY INSTRUCTIONS
Students must present a valid ID card before entering the computer lab.
Playing of games on computer in the lab is strictly prohibited.
Before leaving the lab, users must close all programs positively and keep
the desktop blank.
Users are strictly prohibited from modifying or deleting any important files
and install any software or settings in the computer
Based on the prime priority, users may be requested by the lab in-charge,
to leave the workstation any time and the compliance is a must.
Internet facility is only for educational/ study purpose.
Silence must be maintained in the lab at all times.
The lab must be kept clean and tidy at all times.
If any problem arises, please bring the same to the notice of lab in-charge.
Lab timing will be as per the academic time table of different classes
Every user must make an entry while entering in the Computer Lab and
also at the time of exit from the lab.
Students are not allowed to use personal Pen Drives, CDs, DVDs etc., in a
Computer Lab. Only prescribed official Pen Drives, CDs, DVDs etc. will be
used in the Computer Lab to avoid VIRUS in Computers.
Users must turn-off the computer before leaving the computer lab.
In case of theft / destruction of the computers or peripherals, double the
cost of the lost will be charged from the student/user.
Computer Lab Assistants are available to assist with BASIC computer and
software problems. They are not tutors and will not tell you how to
complete your assignments.
Unauthorized copying and/or installing of unauthorized software is not
permitted. This may be a violation of copyright laws.
Electronic Circuit Design Lab (6ETC07)
Outcomes
SN
1. Understand Front & Back end design aspects of simple VLSI Digital circuits
Model digital circuits with Verilog HDL, simulate, synthesize and prototype in
2.
PLDs.
Electronic Circuit Design Lab (6ETC07)
Allocated
Parameters High Medium Low
Marks
Student Student did not
Student
answered only answer any
answered all
few prelab prelab question
the prelab
questions and and not aware
Prelab test questions and
2 partial know about objective
Objective of the
objective of the of the
experiment.
experiment. experiment
2 1 0
Student Student
Student
performed or performed or
performed or
executed executed
executed
experiment, experiment,
experiment,
obtained obtained
obtained results,
In-Lab results, and results, and
5 and drawn
performance drawn drawn
conclusion
conclusion fully conclusion
below the
as per partially as per
expectation.
expectation. expectation.
5 4-3 2-1
Student
Student
partially
answered the Student did not
answered the
Post lab Viva answer the Post
Post lab Viva
voce questions lab Viva voce
voce questions
and fully questions and
Post lab test and partially
3 confirms the not confirms the
confirms the
understanding understanding of
understanding
of the the experiments.
of the
experiments.
experiments.
3 2-1 0
Records
Records Records
submitted by
submitted by submitted by the
the Student
the Student Student found
found
Lab Record found highly highly
5 moderately
satisfactory dissatisfactory
satisfactory
after evaluation. after evaluation.
after evaluation.
5 4-3 2-1
Total Marks 15 Marks (Continuous Assessment)
Electronic Circuit Design Lab (6ETC07)
Allocated
Parameters High Medium Low
Marks
Student not
Students able to Student partially
able to conduct
conduct the able to conduct
given
given the given
experiment
Performance 5 experiment with experiment with
with desired
desired output. desired output.
output.
5-4 3-1 0
Student Student answered
Student did not
answered the the Questions
answer the
Viva Voce 5 Questions moderately
Questions.
satisfactorily. satisfactorily.
5-4 3-1 0
Total marks 10 Marks (Internal Examination)
EXPERIMENT NO. 1
LEARNING OUTCOME:
SOFTWARE REQUIRED:
SN Name of Software Tool Specification Qty Required
1 Microwind 3.8 ---
2 DSCH
THEORY:
The NMOS transistor and the PMOS transistor form a typical complementary
MOS (CMOS) device. When a low voltage (0 V) is applied at the input, the top
transistor (P-type) is conducting (switch closed) while the bottom transistor
behaves like an open circuit. Therefore, the supply voltage (5 V) appears at the
output. Conversely, when a high voltage (5 V) is applied at the input, the bottom
transistor (N-type) is conducting (switch closed) while the top transistor behaves
like an open circuit. Hence, the output voltage is low (0 V).
CIRCUIT DIAGRAM:
PROCEDURE:
SIMULATION MODEL:
MOS LAYOUT:
We use MICROWIND3.1 to draw the MOS layout and simulate its behavior.
Go to the directory in which the software has been copied (By default
MICROWIND3.1). Double-click on the MicroWind3.1 icon. The MICROWIND3.1
display window includes four main windows: the main menu, the layout display
window, the icon menu and the layer palette.
VERILOG CODE:
module cmosInv(in2, out2)
input in2;
output out2;
pmos #(17) pmos(out2,vdd,in2); //1.0u0.12u
nmos #(114) nmos(out2,vss,in2); // 0.48u 0.12u
endmodule
LAYOUT DESIGN:
CONCLUSION:
ASSESSMENT SCHEME:
Pre-Lab In Lab Post Lab Record Total
Test performance Test (5) (15)
(2) (5) (3)
Signature of Faculty
EXPERIMENT NO. 2
AIM: To design layout diagram for two input CMOS NAND logic gate on
silicon using Microwind.
LEARNING OBJECTIVE: -
To Simulate NAND Gate.
LEARNING OUTCOME:
THEORY:
NAND gate is known as universal gate as any function can be implemented with
it. NAND functionality can be implemented by parallel combination of PMOS and
series combination of NMOS transistor. When any one of the inputs is zero, then
the output will be one and when both the inputs are one the output will be low.
CIRCUIT DIAGRAM:
PROCEDURE:
Open the DSCH3.1
Drag the components like pmos, nmos, voltage
source, ground, and LED from the symbol library.
Connect the circuit as in the circuit diagram.
Save the circuit & run the simulation
Open Microwind by double clicking microwind2.
Create new design by Click on File New.
Select model file by Click on File Select Foundry and
select the model file.
Create new text file and type name and save as Verilog file.
Click on Compile Compile Verilog File. Select the
Verilog text file and
Click on Generate.
To Run Simulation Click Simulate Start Simulation.
View the output waveforms.
PROGRAMMING
module cmosNand2(A,B,Nand);
input A,B;
output Nand2;
nmos #(121) nmos(Nand2,w1,A); // 2.0u 0.25u
pmos #(121) pmos(Nand2,vdd,A); // 2.0u 0.25u
pmos #(121) pmos(Nand2,vdd,B); // 2.0u 0.25u
nmos #(107) nmos(w1,vss,B); // 2.0u 0.25u
endmodule
LAYOUT DESIGN:
Truth Table:
CONCLUSION:
ASSESSMENT SCHEME:
Signature of Faculty
EXPERIMENT NO. 3
AIM: To design layout diagram for two input CMOS NOR logic gates on
silicon using Microwind.
LEARNING OBJECTIVE: -
To Simulate NOR Gate.
LEARNING OUTCOME:
THEORY:
NOR gate is known as universal gate as any function can be implemented with it.
NOR functionality can be implemented by parallel combination of NMOS and
series combination of PMOS transistor. When any one of the inputs is one, then
the output will be one and when both the inputs are zero the output will be low.
CIRCUIT DIAGRAM:
PROCEDURE:
Open the DSCH3.1
Drag the components like pmos, nmos, voltage
source, ground, and LED from the symbol library.
Connect the circuit as in the circuit diagram.
Save the circuit & run the simulation
Open Microwind by double clicking microwind.
Create new design by Click on File New.
Select model file by Click on File Select Foundry and
select the model file.
Create new text file and type name and save as Verilog file.
Click on Compile Compile Verilog File. Select the
Verilog text file and click on Generate.
To Run Simulation Click Simulate Start Simulation.
View the output waveforms.
PROGRAMMING:
module nor2Cmos(B,A,Nor2);
input B,A;
output Nor2;
nmos #(121) nmos(Nor2,vss,A); // 1.0u 0.12u
pmos #(121) pmos(Nor2,w4,B); // 2.0u 0.12u
pmos #(107) pmos(w4,vdd,A); // 2.0u 0.12u
nmos #(121) nmos(Nor2,vss,B); // 1.0u 0.12u
endmodule
LAYOUT:
CONCLUSION:
ASSESSMENT SCHEME:
Signature of Faculty
EXPERIMENT NO. 4
AIM: To design layout diagram for D filp-flop using Microwind.
LEARNING OBJECTIVE: -
To Simulate NOR Gate.
LEARNING OUTCOME:
THEORY:
D-FF is a sequential flip flop. It is one bit cell and has input as reset clock
and data input. Reset has highest priority whenever RST=1 then FF is reset
when there is a clock event the data input is saved in D-FF and passed on
to the output. Depending upon clock value these are categorized as: a)
positive edge triggered and b) negative edge triggered. Here we use
positive edge triggered.
CIRCUIT DIAGRAM:
PROCEDURE:
Open the DSCH3.1
Drag the components like pmos, nmos, voltage
source, ground, and LED from the symbol library.
Connect the circuit as in the circuit diagram.
Save the circuit & run the simulation
Open Microwind by double clicking microwind.
Create new design by Click on File New.
Select model file by Click on File Select Foundry and
select the model file.
Create new text file and type name and save as Verilog file.
Click on Compile Compile Verilog File. Select the
Verilog text file and click on Generate.
To Run Simulation Click Simulate Start Simulation.
View the output waveforms.
LAYOUT:
CONCLUSION:
ASSESSMENT SCHEME:
Signature of Faculty
EXPERIMENT NO. 5
AIM: To write a Verilog program for basic logic gates to synthesize and
simulate using Xilinx software tool.
LEARNING OBJECTIVE: -
LEARNING OUTCOME:
THEORY:
AND GATE
NOT GATE:
The Inverter performs a basic logic gate function called Inversion or
Complementation. The purpose of an inverter is to change one logic level to
opposite level. When a high level is applied to an inverter, the low level will
appear at the output and vice versa.
Y = ~a
NAND GATE:
The term NAND is derived from the complement of AND. It implies the AND
junction with an inverted output. The operation of NAND gate is such that the
output is low only when all its inputs are high and when any one of the inputs
is low the output is high.
Y = ~ (a & b)
NOR GATE:
The term NOR is derived from the complement of OR. It implies the OR
junction with an inverted output. The operation of NOR gate is such that the
output is high only when all its inputs are low and when any one of the inputs
is high the output is low.
Y = (a | b)
EX-OR GATE:
The output is high only when the inputs are at opposite level.
Y=a^b
EX-NOR GATE:
The output is high only when the inputs are at same level.
Y = ~ (a ^ b)
PROCEDURE:
1. Start the program.
2. Declare the input and output variables.
3. Declare the output as register data type.
4. Use PROCEDURAL construct statements for Verilog code.
5. Write the functionality of the gates.
6. Verify the truth table using Isim simulator.
PRGRAMMING:
1 Expand “VERILOG”
2 What are the different ways of modeling in Verilog?
3 What are the different tools available for simulation?
4 What is meant by universal gate? List them.
CONCLUSION:
ASSESSMENT SCHEME:
Signature of Faculty
EXPERIMENT NO. 6
AIM: To write Verilog code for implementation for 2*4 decoder circuit
using Xilinx software tool.
LEARNING OBJECTIVE: -
THEORY:
A decoder is a device which does the reverse operation of an encoder,
undoing the encoding so that the original information can be retrieved. The
same method used to encode is usually just reversed in order to decode. A
combinational circuit converts binary information from n input lines to a
maximum of 2n unique output lines.
PROCEDURE:
PRGRAMMING:
module decodertwoistofour(a,y);
input [ 1:0] a;
output [3:0] y;
reg[3:0]y;
always @ (a)
begin
if (a==2'b00)
y=4'b0001;
else if (a==2'b01)
y=4'b0010;
else if (a==2'b10)
y=4'b0100;
else if (a==2'b11)
y=4'b1000;
else
y=4'bzzzz;
end
endmodule
1 What is a decoder?
2 What for enable inputs are used in decoder?
3 What are the applications of decoder?
CONCLUSION:
ASSESSMENT SCHEME:
Signature of Faculty
EXPERIMENT NO. 7
AIM: To write Verilog code for implementation for 4:1 Multiplexer
circuit using Xilinx software tool.
LEARNING OBJECTIVE: -
LEARNING OUTCOME:
Students will able to Verify behavioral and RTL model for 4:1 Mux.
SOFTWARE REQUIRED:
THEORY:
In electronics, a multiplexer (or mux) is a device that selects between
several analog or digital input signals and forwards it to a single output line.
A multiplexer of 2^{n} inputs have n select lines, which are used to select
which input line to send to the output. Multiplexers are mainly used to
increase the amount of data that can be sent over the network within a
certain amount of time and bandwidth. A multiplexer is also called a data
selector. Multiplexers can also be used to implement Boolean functions of
multiple variables.
PROCEDURE:
PROGRAMMING:
CONCLUSION:
ASSESSMENT SCHEME:
Signature of Faculty
EXPERIMENT NO. 8
AIM: To write Verilog code for implementation for D flip-flop circuit
using Xilinx software tool.
LEARNING OBJECTIVE: -
Students will able to Verify behavioral and RTL model for D-FF.
SOFTWARE REQUIRED:
THEORY:
D-FF is a sequential flip flop. It is one bit cell and has input as reset clock and
data input. Reset has highest priority whenever RST=1 then FF is rested
when there is a clock event the data input is saved in D-FF and passed on to
the output. Depending upon clock value these are categorized as: a) positive
edge triggered and b) negative edge triggered. Here we use positive edge
triggered.
PROCEDURE:
PROGRAMMING:
CONCLUSION:
ASSESSMENT SCHEME:
Signature of Faculty