Sunteți pe pagina 1din 19

CAD OF ELECTRONICS LAB

LAB CONDUCT
AND
INSTRUCTIONS MANNUAL

SYLLABUS W.E.F. : 2016-17


SUBJECT CODE : NEC-653
YEAR : THIRD
SEMESTER :V

DEPARTMENT OF ELECTRONICS &


COMMUNICATION ENGINEERING
BBD NATIONAL INSTITUTE OF TECHNOLOGY AND MANAGEMENT,
LUCKNOW-226028
TABLE OF CONTENTS
Exp. No Description Pages

Transient analysis and simulation of BJT inverter.

(a)Transient Analysis of BJT inverter using step input.

(b)DC Analysis (VTC) of BJT inverter with and without


1 1-3
parameters.

Transient analysis and simulation of NMOS inverter.

(a)Transient Analysis of NMOS inverter using step input.

(b)Transient Analysis of NMOS inverter using pulse input.


2 (c)DC Analysis (VTC) of NMOS inverter with and without 4-6
parameters.

Transient analysis and simulation of CMOS NOR gate.


3 7-8

Transient analysis and simulation of NAND gate.


4 9-10

Transient analysis and simulation of BJT inverter.


5 11-12

Design of 4:1 MUX using “with” statement.


6 13-14

7 Design of 4:1 MUX using “when” statement. 15-16


Design of 4:1 MUX using “case” statement.
8 17-18

9 Design of D flip-flop with “rest using VHDL”. 19-20


Design of full adder using half adders using for structural
10 modeling. 21-22

Design of 4-bit ripple carry adder using full adder as a


component for structural modeling.
11 23-24

Experiment-1

Object- Transient analysis and simulation of BJT inverter.

Software used-Orcad Family Release9.2.

Theory-

The voltage transfer characteristic of a BJT inverter is consisting of threeregions,the cut off when
Vi is low, the active where the characteristic has a slope and the saturation region where the
collector current is the maximum and the output voltage is low equal to VCEsat.

1. Cut-off region.

2. Forward Active region.

3. Saturation region.

BJT Inverter can be best expressed by its voltage transfer characteristic (VTC) or DC transfer
characteristic. That relates the output voltage to the input one.

If:

1. Vi=Vol, Vo=Vcc: (VTC) or DC Transfer Characteristic The transistor is OFF.

2. Vi=Vil: The transistor begins to turn on.


3. Vi<Vil<Vih The transistor is in forward active region and operates as amplifier.

4. Vi=Voh The transistor will be deep is saturation,Vo=Vce(sat).

(11)

(a)Transient Analysis of BJT inverter using step input.

Circuit Diagram:

5.000V V1
R2 5Vdc
1k
Q1 Rbreak
R1
0
V
V1 = 0v V2 Rbreak
V2 = 5v 40238
V
TD = 0 1k
TR = 0 0
TF = 0
PW = 50ns 0
PER = 100ns

NETLIST DESCRIPTION:

Q_Q1 N000031 N000030 0 Q40238

V_V2 N000431 0

+PULSE 0v 5v 0 0 0 50ns 100ns


R_R1 N000431 N000030 R break 1k

R_R2 N00231 N000031 Rbreak 1k

V_V1 N00231 0 5Vdc

Output Wave Form


Experiment-4

Object :-Transient analysis and simulation of NMOS inverter.

Software Used:-Oracad Family Release 9.2.

Theory :-

Single Transistor, pulls Signal Low

Inverter Operation:

 Plus signal input turns transistor on.


 Ground is connected to output.
 A 0 input opens transistor and output is pulled high by resistor.
 Resistor dissipates heat.
 Asymmetric rise/fall times.

INPUT OUTPUT
A NOT A
0 1
1 0

(9)
(a) Transient Analysis of NMOS inverter using step input.

M1 5. 000V V1
5Vdc
M2N 6755

4. 513V 0

M2
V
V1 = 0v V2
V2 = 5v M2N 6755 V
TD = 0
TR = 0 0
TF = 0
PW = 50ns 0
PER = 100ns

Netlist Description:

M_M1 N00111 N00111 N00203

R_R1 N00203 M2N6755

V_V2 N000291 0

+PULSE 0v 5v 0 0 0 50ns 100ns

M_M2 N00111 N000291 0 0 M2N6755

V_V1 N00203 0 5Vdc

Output Waveform

(b)Transient Analysis of NMOS inverter using pulse input


(c)DC Analysis (VTC) of NMOS inverter with and without parameters.
Experiment-1

Object: Transient analysis and simulation of CMOS inveter

Software Used: Orcad Family Release 9.2.

Theory: CMOS inverters are the some of the most widely used and adaptable MOSFET
inverters used in chip design. They operate with very little power loss and at relatively high
speed,

A CMOS inverter contains a PMOS and a NMOS transiter connected at the drain and gate
terminals, a supply voltage VDD at the PMOS source terminal, and a ground connected at the
NMOS source terminal, where Vin is connected to the date terminals and V OUT is connected to
the drain terninals.

The circuit below is the simplest CMOS logic gate

 When a low voltage (0 volt) 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(5V) appears at the output.
 Conversly when high voltage(5V) is applied at the input, the bottom transistor (N-Type)
is conducting (switch close) while the top transistor behaves like an open circuit.
 Hence output voltage is low(0V)
 The function of this gate can be summrized by the following table.

Input OutPut
High Low
Low High

 The ouput is the opposite of the input- this gate inverts the inputs.
 Notice that always one of the transistors will be an open circuit and no current flows from
the supply voltage to ground.

(1)
Transistor Switch Model

The switch model of of the mosfet transistor is defined as follows.

MOSFET Condition MOSFET State of MOSFET


NMOS Vgs < Vtn OFF
NMOS Vgs > Vtn ON
PMOS Vgs < Vtn OFF
PMOS Vgs > Vtn ON

When Vin is low, the NMOS is “off”, while the PMOS stays on “ON”: Instantly charging
Vout to logic high. When Vin is high , the NMOS is “on” and the PMOS is “ON”: draining
the volatage at Vout to logic low.

Procedure-

1.Open the blank project in orcade family release 9.2.


2.Include library;-ANALOG,BIPOLAR,PWRMOS,SOURCE,TRANSISTOR
3.Draw the circuit.
4.Go to Pspice and open new simulation profille
5.Perform transient analysis.
6.Create net list and then go to run.
7.Then we obtain final waveform.

(a)Transient Analysis of CMOS inverter using pulse input.


Net List Description

M_M1 N000032 N00112 0 0 M2N6755

M_M2 N000032 N00112 N00165 N00165 IRF9520

V_V1 N00165 0 5Vdc

V_V2 N00112 0 +PULSE 0v 5v 0 0 0 50ns 100ns

(2)

M2 5.000V V1
5Vdc
IRF9520

V1 = 0v 0VM1
V2
V2 = 5v 0
V V
TD = 0
TR = 0 M2N6755
TF = 0
PW = 50ns 0 0
PER = 100ns

OUTPUT Waveform

(3)
(a) Analysis of CMOS inverter using step input.
(b) (b)Transient Analysis of CMOS inverter using step input with parameters.
(c) (b)Transient Analysis of CMOS inverter using step input with parameters.
(d) (b)Transient Analysis of CMOS inverter using step input with parameters.
Experiment-3

Object:-Transient and simulation analysis of CMOS NOR gate.

Software Used: Orcad Family Realease 9.2

Theory:-

 The circuit below has two inputs and one ouput .


 Whenever at least one of the inputs is high ,the corresponding N-type transistor will be
closed the P-type transistor will be open.
 Consequently, the output voltage will be low .
 Conversely ,if both inputs are low ,then both P-type transistors at the top willl be closed
circuits and the N-type transistors will be open.
 Hence ,the output voltage is high.
 The function of this gate can be summarised by the following table:

V1 V2 OUTPUT
Low Low High
Low High Low
High Low Low
High High Low

 If logical 1’s are asssociated with high voltages then the function of this gate is
called NOR for negated OR.
 Again, there is never a conducting path from the supply voltage to ground.

Circuit Diagram

(7)
M3 5.000V V1
M4 5Vdc
IRF9241
IRF9241
0V
0
M2
V1 = 0v V2
V2 = 5v V M2N6755
5.000V
TD = 0 M1 1.734uV
TR = 0 V
TF = 0 V
V3
PW = 50ns 0 M2N6755
PER = 100ns 0V TD = 0
TF = 0
0 0PW = 50ns
PER = 100ns
V1 = 5v
TR = 0
V2 = 0v

NETLIST DESCRIPTION:
M_M1 N00413 N00536 0 0 M2N6755
M_M2 N00413 N00570 0 0 M2N6755
M_M3 N000552 N00536 N00626 N00626 IRF9241
M_M4 N00413 N00570 N000552 N000552 IRF9241
V_V1 N00626 0 5Vdc
V_V2 N00536 0
+PULSE 0v 5v 0 0 0 50ns 100ns
V_V3 N00570 0
+PULSE 5v 0v 0 0 0 50ns 100ns
Output Waveform
Experiment-2

Object-Transient and simulation analysis of NAND gate.

Software used: Orcad Family Release 9.2.

Theory-

 The circuit below has two inputs and one output.


 Whenever at least one of the inputs is low ,the corresponding P –type transistor will be
conducting while the N-type transistor will be closed.
 Consequently ,the output voltage will be high .Conversely ,if both inputs are high ,then
both P-type transistors at the top will be open circuits and both N-type transistors will be
conducting.
 Hence, the output voltage is low.
 The function of this gate can be summarised by the following table:

V1 V2 Output
Low Low High
Low High High
High Low High
High High Low

 If logical 1’s are associated with high voltages then the function of this gate is called
NAND for negated AND.
 Again ,there is never conducting path from the supply voltage to ground.
(4)

Circuit Diagram

M4
5.000V
IRF9520 IRF9520
M3 V1
5Vdc

V1 = 0v V2 M1 5.000V 5.000V
V2 = 5v 0
V M2
V
TD = 0 0V
TR = 0 M2N6755 M2N6755V V3
TF = 0
PW = 50ns 0 TD = 0
PER = 100ns TF = 0
0PW = 50ns
PER = 100ns
0 V1 = 5v
TR = 0
V2 = 0v

NETLIST DESCRIPTION:

M_M1 N00222 N00328 N000030 N000030 M2N6755


M_M2 N000030 N00362 0 0 M2N6755
V_V3 N00362 0
+PULSE 5v 0v 0 0 0 50ns 100ns
M_M3 N00222 N00328 N00191 N00191 IRF9520
M_M4 N00222 N00362 N00191 N00191 IRF9520
V_V1 N00191 0 5Vdc
V_V2 N00328 0
+PULSE 0v 5v 0 0 0 50ns 100ns

(5)
Output Waveform

S-ar putea să vă placă și