Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
BALLARI.
DEPARTMENT OF ELECTRONICS & COMMUNICATION
ENGINEERING
Project Associates
Name of student USN
3. HARICHARAN M S 3BR13EC039
Mr.PREMCHAND
Transform spice-T-Spice
T-SPICE
v3 VDD GND 5
module nand2(in1,in2,out);
input in1,in2;
output out;
supply1 vdd;
supply0 gnd;
pmos (out,vdd,in1),(out,vdd,in2);
nmos (out,a,in1),(a,gnd,in2);
endmodule
TEST BENCH :
module nand2_tb;
// Inputs
reg in1;
reg in2;
// Outputs
wire out;
// Instantiate the Unit Under Test (UUT)
nand2 uut (
.in1(in1),
.in2(in2),
.out(out)
);
initial begin
// Initialize Inputs
in1 = 0;
in2 = 0
// Wait 10 ns for global reset to finish
#10
in1 = 0;
in2 = 1;
// Wait 10 ns for global reset to finish
#10;
in1 = 1;
in2 = 0;
// Wait 10 ns for global reset to finish
#10;
in1 = 1;
in2 = 1;
// Wait 10 ns for global reset to finish
#10;
// Add stimulus here
end
endmodule
T-SPICE
V3 VDD GND 5
module nor_2(in1,in2,out);
input in1,in2;
output out;
wire o;
supply1 a;
supply0 b;
pmos(out,o,in1),(o,a,in2);
nmos(out,b,in1),(out,b,in2);
endmodule
TEST BENCH :
module nor_2_tb;
// Inputs
reg in1;
reg in2;
// Outputs
wire out;
// Instantiate the Unit Under Test (UUT
nor_2 uut (
.in1(in1),
.in2(in2),
.out(out));
initial begin
// Initialize Inputs
in1 = 0;
in2 = 0;
// Wait 10 ns for global reset to finish
#10;
in1 = 0;
in2 = 1;
#10;
in1 = 1;
in2 = 0;
#10;
in1 = 1;
in2 = 1;
#10;
// Add stimulus here
end
endmodule
T-SPICE
V3 VDD GND 5
TEST BENCH:
module inv_tb;
reg in;
wire out;
// Instantiate the Unit Under Test (UUT)
inv uut (
.in(in),
.out(out) );
initial begin
// Initialize Inputs
in = 0;
// Wait 10 ns for global reset to finish
#10;
in = 1;
#10;
in = 0;
#10;
in = 1;
#10
// Add stimulus here
end
endmodule
WAVEFORMS OF SIMULATED INVERTER IN XILINX:
APPLICATIONS
NAND Gate:
1.Burglar alarm:-
1. Cell Phone
2. Computing
3. LCD TV
4. Industrial Controllers
INVERTER:
1. Pulsed Operation
2. To build the fastest full digital-Swing oscillator
3. As switch
CONCLUTION