SVS COLLEGE OF ENGINEERING COIMBATORE-642 109 DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
OBSERVATION NOTE BOOK
EC6612 VLSI DESIGN LABORATORY VI SEM ECE ‘B’ SEC
Name
……………………………………………………………………..
Roll No
……………………………………………………………………..
Year/Sem
……………………………………………………………………..
Branch
……………………………………………………………………..
Subject
……………………………………………………………………..
SVS COLLEGE OF ENGINEERING COIMBATORE-642 109 DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
EC6612 VLSI DESIGN LABORATORY VI SEM ECE ‘B’ SEC
Prepared by, Mr. K. Manoharan, Assistant Professor, ECE Department. SVS College of Engineering.
Academic Year: 2015-2016
INDEX EX.NO
NAME OF THE EXPERIMENTS
PAGE NO
1.
DESIGN ENTRY AND SIMULATION OF COMBINATIONAL LOGIC CIRCUITS
7
2.
DESIGN ENTRY AND SIMULATION OF SEQUENTIAL CIRCUITS
13
3.
DESIGN ENTRY AND SIMULATION OF STATE MACHINE USING STATECAD
17
4.
SYNTHESIS OF COMBINATIONAL AND SEQUENTIAL CIRCUIT
23
5.
PLACE & ROOT AND POST PLACE & ROOT SIMULATION
27
6.
HARDWARE FUSING AND TESTING
33
7.
DIFFERENTIAL AMPLIFIER
41
8.
CMOS INVERTER LAYOUT AND PARASITIC EXTRACTION
45
9.
DIFFERENTIAL AMPLIFIER LAYOUT GENERATION
53
10.
STANDARD CELL BASED DESIGN
57
11.
PLACEMENT AND ROUTING, POWER AND CLOCK ROUTING AND POST PLACEMENT AND ROUTING SIMULATION
61
12.
STATIC TIMING ANALYSIS
67
OBSERVATION NOTE BOOK CONTENTS S. No
Date
Experiments
Page No
Marks
Signature of Staff
Exp. No. : 1
DESIGN ENTRY AND SIMULATION OF COMBINATIONAL COMBINATIONAL LOGIC CIRCUITS
Date:
AIM: To write a Verilog code for the basic logic gates, 8 bit adder and 4bit multiplier and simulate it using Xilinx project navigator. APPARATUS REQUIRED: S.No
Name of the equipment/ software
Quantity
1.
PC with Windows
1
2.
Xilinx Project navigator
1
PROCEDURE: 1. Start the Xilinx ISE by using Start Program files Xilinx ISE project navigator 2. Click File New Project 3. Enter the Project Name and select the location then click next 4. Select the Device and other category categor y and click next twice and finish. 5. Click on the symbol of FPGA device and then right click click on new source. 6. Select the Verilog Module and give the file name click next and define ports click next and finish. 7. Writing the Verilog Code in Verilog Editor. 8. Run the Check syntax Process window synthesize double click check syntax. If any errors found then remove the errors with proper syntax & coding. 9. Click on the symbol of FPGA device and then right click click on new source. 10. Select the Test Bench Waveform and give the file f ile name select entity click next and finish. 11. Select the desired parameters for f or simulating your design. In this case combinational circuit and simulation time click finish. 12. Assign all input signal using just click on graph and save file. 13. From the source process process window. Click Behavioral simulation from drop-down menu 14. Select the test bench file (.tbw) and click process button double click the Simulation Behavioral Model 15. Verify your design in wave window by seeing behavior of output signal with respect to input signal. CODING: BASIC LOGIC GATES: module gates(a,b,c,d,e,f,g,h,i); input a,b; output c,d,e,f,g,h,i; and(c,a,b); or(d,a,b); nor(e,a,b); nand(f,a,b);
4X 4 MULTIPLIER
LOGIC DIAGRAM
not(i,a); endmodule 8 BIT ADDER module adder(s,cout,a,b,cin); output[7:0]s; output cout; input[7:0]a,b; input cin; wire c1,c2,c3,c4,c5,c6,c7; fulladd fa0(s[0],c1,a[0],b[0],cin); fulladd fa1(s[1],c2,a[1],b[1],c1); fulladd fa2(s[2],c3,a[2],b[2],c2); fulladd fa3(s[3],c4,a[3],b[3],c3); fulladd fa4(s[4],c5,a[4],b[4],c4); fulladd fa5(s[5],c6,a[5],b[5],c5); fulladd fa6(s[6],c7,a[6],b[6],c6); fulladd fa7(s[7],cout,a[7],b[7],c7); endmodule
module fulladd(s,cout,a,b,cin); output s,cout; input a,b,cin; xor (s,a,b,cin); assign cout = ((a & b )|(b& cin)|( a & cin)) ; endmodule 4 BIT MULTIPLIER module multi(m,a,b); input [3:0]a; input [3:0]b; output [7:0]m; wire [15:0]p; wire [12:1]s; wire [12:1]c; and(p[0],a[0],b[0]); and(p[1],a[1],b[0]); and(p[2],a[0],b[1]); and(p[3],a[2],b[0]); and(p[4],a[1],b[1]); and(p[5],a[0],b[2]); and(p[6],a[3],b[0]); and(p[7],a[2],b[1]); and(p[8],a[1],b[2]); and(p[9],a[0],b[3]); and(p[10],a[3],b[1]); and(p[11],a[2],b[2]); and(p[12],a[1],b[3]); and(p[13],a[3],b[2]); and(p[14],a[2],b[3]);
OUTPUT LOGIC GATES
8 BIT ADDER
half ha2(s[2],c[2],p[4],p[3]); half ha3(s[3],c[3],p[7],p[6]); full fa4(s[4],c[4],p[11],p[10],c[3]); full fa5(s[5],c[5],p[14],p[13],c[4]); full fa6(s[6],c[6],p[5],s[2],c[1]); full fa7(s[7],c[7],p[8],s[3],c[2]); full fa8(s[8],c[8],p[12],s[4],c[7]); full fa9(s[9],c[9],p[9],s[7],c[6]); half ha10(s[10],c[10],s[8],c[9]); full fa11(s[11],c[11],s[5],c[8],c[10]); full fa12(s[12],c[12],p[15],s[5],c[11]); buf(m[0],p[0]); buf(m[1],s[1]); buf(m[2],s[6]); buf(m[3],s[9]); buf(m[4],s[10]); buf(m[5],s[11]); buf(m[6],s[12]); buf(m[7],c[12]); endmodule module half(s,co,x,y); input x,y; output s,co; xor (s,x,y); and (co,x,y); endmodule module full(s,co,x,y,ci); input x,y,ci; output s,co; wire s1,d1,d2; half ha_1(s1,d1,x,y); half ha_2(s,d2,s1,ci); or or_gate(co,d2,d1); endmodule
RESULT: Thus the Verilog code for the basic logic gates, 8 bit adder and 4bit multiplier are simulated
Exp. No. : 2
DESIGN ENTRY AND SIMULATION OF SEQUENTIAL CIRCUITS
Date:
AIM: To write a Verilog code for counter and state machine and simulate it using Xilinx project navigator. APPARATUS REQUIRED: S.No
Name of the equipment/ software
Quantity
1.
PC with Windows
1
2.
Xilinx Project navigator
1
PROCEDURE:
1. Start the Xilinx ISE by using Start Program files Xilinx ISE project navigator 2. Click File New Project 3. Enter the Project Name and select the location then click next 4. Select the Device and other category categor y and click next twice and finish. 5. Click on the symbol of FPGA device and then right click click on new source. 6. Select the Verilog Module and give the file name click next and define ports click next and finish. 7. Writing the Verilog Code in Verilog Editor. 8. Run the Check syntax Process window synthesize double click check syntax. If any errors found then remove the errors with proper syntax & coding. 9. Click on the symbol of FPGA device and then right click click on new source. 10. Select the Test Bench Waveform and give the file f ile name select entity click next and finish. 11. Select the desired parameters for f or simulating your design. 12. Assign all input signal using just click on graph and save file. 13. From the source process process window. Click Behavioral simulation from drop-down menu 14. Select the test bench file (.tbw) and click process button double click the Simulation Behavioral Model 15. Verify your design in wave window by seeing behavior of output signal with respect to input signal.
CODING: COUNTER module counter (clk, clr, q); input clk, clr; output [3:0] q; reg [3:0] tmp; always @(posedge clk or posedge clr) begin
COUNTER OUTPUT WAVEFORM
TRAFFIC LIGHT CONTROLLER
Three lights only (RED, GREEN, YELLOW) The lights glow cyclically at a fixed time. The circuit will be driven by a clock of appropriate frequency
if (clr) tmp <= 4’b0000; else tmp <= tmp + 1’b1; end assign q = tmp; endmodule State machines (Traffic Light Controller) module traffic_light (clk, light); input clk; output [0:2] light; reg [0:2] light; parameter S0=0, S1=1, S2=2; parameter RED=3’b100, GREEN=3’b010, GREEN=3’b010, YELLOW=3’b001; reg [0:1] state; always @ (posedge clk) case (state) S0: begin // S0 means RED light <= YELLOW; state <= S1; end S1: begin // S1 means YELLOW light <= GREEN; state <= S2; end S2: begin // S2 means GREEN light <= RED; state <= S0; end default: begin light <= RED; state <= S0; end endcase endmodule
RESULT: Thus the Verilog code for the counter and state machine a re simulated using Xilinx project navigator.
STATE DIAGRAM
Exp. No. : 3
DESIGN ENTRY AND SIMULATION OF STATE MACHINE USING STATECAD
Date:
AIM: To design a sequence detector state machine to detect the sequence ‘1111’ and simulate it using stateCAD in Xilinx project navigator. APPARATUS REQUIRED: S.No
Name of the equipment/ software
Quantity
1.
PC with Windows
1
2.
Xilinx Project navigator
1
PROCEDURE:
1. Start the Xilinx ISE by using Start Program files Xilinx ISE Accessories StateCAD 2. Click Draw State Machine 3. Select Geometric, enter no of states and click next 4. Select synchronous and click next 5. Tick loop back and next and click finish. 6. Edit each state name and input, output values. 7. Save the file click File Save 8. Options configurations Select Verilog click ok 9. Click Generate HDL open the file in the path and take a copy. 10. Click Optimize Next 11. Select FPGA Next 12. Select Speed Next 13. Select Guarantee coverage Next 14. Select enable buffering and tick Optimize port IO and retain unassigned outputs. 15. Select Verilog Next 16. Select Xilinx XST Next 17. Click Generate HDL. 18. Now 18. Now compare the verilog code of before and after optimization. 19. Simulate the design by click state bench 20. Double click the inputs to change the logic value. 21. Click cycle to simulate the design.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 17
OUTPUT
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 18
CODING module mano(CLK,inx,RESET,y);
input CLK; input inx,RESET; output y; reg y,next_y; reg S1,next_S1,S2,next_S2,S3,next_S3,S4,next_S4,SO,next_SO; always @(posedge CLK) begin if ( RESET ) S1 = 0; else S1 = next_S1; end always @(posedge CLK) begin if ( RESET ) S2 = 0; else S2 = next_S2; end always @(posedge CLK) begin if ( RESET ) S3 = 0; else S3 = next_S3; end always @(posedge CLK) begin if ( RESET ) S4 = 0; else S4 = next_S4; end always @(posedge CLK) begin if ( RESET ) SO = 1; else SO = next_SO; end always @(posedge CLK) begin if ( RESET ) y = 0; else y = next_y; end always @ (inx or RESET or S1 or S2 or S3 or S4 or SO) begin
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 19
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 20
if ( ~RESET & inx & SO ) next_S1=1; else next_S1=0; if ( ~RESET & inx & S1 ) next_S2=1; else next_S2=0; if ( ~RESET & inx & S2 ) next_S3=1; else next_S3=0; if ( ~RESET & inx & S3 | ~RESET & inx & S4 ) next_S4=1; else next_S4=0; if ( ~inx & S1 | ~inx & S 2 | ~inx & S3 | ~inx & S4 | ~inx & SO | RESET ) next_SO=1; else next_SO=0;
if ( ~RESET & inx & S3 | ~RESET & inx & S4 ) next_y=1; else next_y=0; end endmodule
RESULT: Thus the sequence detector state machine to detect the sequence ‘1111’ is simulated using stateCAD in Xilinx project navigator.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 21
ADDER RTL SCHEMATIC DIAGRAM
ADDER TECHNOLOGY SCHEMATIC DIAGRAM
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 22
Exp. No. : 4
SYNTHESIS OF COMBINATIONAL AND SEQUENTIAL CIRCUIT
Date:
AIM: To study and analyze about synthesis option available in Xilinx project navigator. APPARATUS REQUIRED: S.No
Name of the equipment/ software
Quantity
1.
PC with Windows
1
2.
Xilinx Project navigator
1
PROCEDURE:
Start the Xilinx ISE by using Start Program files Xilinx ISE project navigator Click File New Project Enter the Project Name and select the location then click next Select the Device and other category and click next twice and finish. Click on the symbol of FPGA device and then right click click on new source. Select the Verilog Module and give the file name click next and define ports click next and finish. 7. Writing the Verilog Code in Verilog Editor. 8. Run the Check syntax Process window synthesize double click check syntax. If any errors found then remove the errors with proper syntax & coding. 1. 2. 3. 4. 5. 6.
9. Synthesis your design, from the source window select, Synthesis from the window Now double click the 10. After the HDL synthesis phase of the synthesis process, you can display a schematic representation of your synthesized source file. This schematic shows a representation of the pre-optimized pre-optimized design in terms terms of generic symbols, such as adders, adders, multipliers, multipliers, counters, counters, AND gates, and OR gates double click View RTL Schematic 11. Double click the schematic to internal view 12. Double click outside the schematic to move one-level back 13. This schematic shows a representation of the design in terms of logic elements optimized to the target device. For example, in terms of LUTs(Look Up Table), carry logic, I/O buffers, and other technology-specific components Double click View Technology Schematic 14. Double click the schematic to inner view 15. Double click the LUT to inner view. This is Gate Level view of LUT, if you want see Truth Table and K-Map for your design just click the respective tabs. 16. Click Generate post synthesis simulation model and view its report.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 23
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 24
CODING: 8 BIT ADDER module adder(s,cout,a,b,cin); output[7:0]s; output cout; input[7:0]a,b; input cin; wire c1,c2,c3,c4,c5,c6,c7; fulladd fa0(s[0],c1,a[0],b[0],cin); fulladd fa1(s[1],c2,a[1],b[1],c1); fulladd fa2(s[2],c3,a[2],b[2],c2); fulladd fa3(s[3],c4,a[3],b[3],c3); fulladd fa4(s[4],c5,a[4],b[4],c4); fulladd fa5(s[5],c6,a[5],b[5],c5); fulladd fa6(s[6],c7,a[6],b[6],c6); fulladd fa7(s[7],cout,a[7],b[7],c7); endmodule
module fulladd(s,cout,a,b,cin); output s,cout; input a,b,cin; xor (s,a,b,cin); assign cout = ((a & b )|(b& cin)|( a & cin)) ; endmodule COUNTER module counter (clk, clr, q); input clk, clr; output [3:0] q; reg [3:0] tmp; always @(posedge clk or posedge clr) begin if (clr) tmp <= 4’b0000; else tmp <= tmp + 1’b1; end assign q = tmp; endmodule
RESULT: Thus the synthesis of given circuit is studied using Xilinx project navigator.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 25
DESIGN SUMMARY
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 26
Exp. No. : 5 PLACE & ROOT AND POST PLACE & ROOT SIMULATION Date: AIM: To study about Place and Root and Post Place and Root using Implementation option available in Xilinx project navigator. APPARATUS REQUIRED: S.No
Name of the equipment/ software
Quantity
1.
PC with Windows
1
2.
Xilinx Project navigator
1
THEORY:
Back annotation is the translation of a routed or fitted design to a timing simulation netlist. To define the behavior of the FPGA, a hardware description language (HDL) or a schematic design methods are used. Common HDLs are VHDL and Verilog. Then, using an electronic design automation (EDA) tool, a technology-mapped net list is generated. The net list can then be fitted to the actual FPGA architecture using a process called placeand-route, and-route, usually performed by the FPGA vendor’s proprietary place -and-route software. The user will validate the map, place and route results via timing analysis, simulation, and other verification methodologies. Once the design and validation process is complete, the binary file generated generated is used to (re)configure (re)configure the FPGA. FPGA. In an attempt to reduce the complexity of designing in HDLs, which have been compared to the equivalent of assembly In a typical design flow, an FPGA application developer will simulate the design at multiple stages throughout the design process. Initially the RTL description in VHDL or Verilog is simulated by creating test benches to simulate the system and observe results. Then, after the synthesis engine has mapped the design to a net list, the net list is translated to a gate level description where simulation is repeated to confirm the synthesis proceeded without errors. Finally the design is laid out in the FPGA at which point propagation delays can be added and the simulation run again with these values back-annotated back-annotated onto the net list. Place & Route, the process of optimization of logic cells for effective utilization of FPGA area and the speed of operation, is used to modify and infer the following: 1) Re-assignment of Pins 2) Re-location of Slices 3) Run time minimization
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 27
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 28
PROCEDURE:
Start the Xilinx ISE by using Start Program files Xilinx ISE project navigator Click File New Project Enter the Project Name and select the location then click next Select the Device and other category and click next twice and finish. Click on the symbol of FPGA device and then right click click on new source. Select the Verilog Module and give the file name click next and define ports click next and finish. 7. Writing the Verilog Code in Verilog Editor. 8. Run the Check syntax Process window synthesize double click check syntax. If any errors found then remove the errors with proper syntax & coding. 9. Synthesis your design, from the source window select, synthesis/implementation from the window Now double click the Synthesis -XST 10. After Synthesis you assign the Pin Value for your design so, double click the Assign Package Pins 11. Enter the Pin value for your input and output signals. if you want see your Pin assignment in FPGA zoom in Architecture View or Package View 12. You see the Pins in FPGA. Save file as XST Default click ok and close the window 13. Design Implementation begins with the mapping or fitting of a logical design file to a specific device and is complete when the physical design is successfully routed and a bit stream is generated. Double Click Implementation Design. 14. After finishing the Implementation, you can view the Implementation report. 15. After implementation you see Design Summary, you get the all details about your design. If you want edit the place and route double click View/Edit placed design 16. You see where your IOs are placed in FPGA. And zoom to view how Pins are placed in FPGA. You can see where your pins are placed 17. Just double click View/Edit Routed Design to view interconnection wires and blocks 18. Click the pin to see where its placed in FPGA. And Zoom particular areato see Place and Routing. 19. If you want to change the place of the design, click and trace to another slice. See, You changed place and route of the design 20. Double click Back annotated Pin Location. Once back annotation is completed, constraint file is generated. 1. 2. 3. 4. 5. 6.
CODING: 8 BIT ADDER module adder(s,cout,a,b,cin); output[7:0]s; output cout; input[7:0]a,b; input cin; wire c1,c2,c3,c4,c5,c6,c7; fulladd fa0(s[0],c1,a[0],b[0],cin); fulladd fa1(s[1],c2,a[1],b[1],c1); fulladd fa2(s[2],c3,a[2],b[2],c2); fulladd fa3(s[3],c4,a[3],b[3],c3); fulladd fa4(s[4],c5,a[4],b[4],c4); fulladd fa5(s[5],c6,a[5],b[5],c5);
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 29
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 30
fulladd fa6(s[6],c7,a[6],b[6],c6); fulladd fa7(s[7],cout,a[7],b[7],c7); endmodule module fulladd(s,cout,a,b,cin); output s,cout; input a,b,cin; xor (s,a,b,cin); assign cout = ((a & b )|(b& cin)|( a & cin)) ; endmodule COUNTER
module counter (clk, clr, q); input clk, clr; output [3:0] q; reg [3:0] tmp; always @(posedge clk or posedge clr) begin if (clr) tmp <= 4’b0000; else tmp <= tmp + 1’b1; end assign q = tmp; endmodule
RESULT: Thus the Place and Root and Post Place and Root using Implementation option available in Xilinx project navigator were studied.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 31
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 32
Exp. No. : 6 HARDWARE FUSING AND TESTING Date: AIM: To study about Hardware fusing and testing of given circuit using Xilinx project navigator. APPARATUS REQUIRED: S.No
Name of the equipment/ software
Quantity
1.
PC with Windows
1
2.
Xilinx Project navigator
1
PROCEDURE:
Start the Xilinx ISE by using Start Program files Xilinx ISE project navigator Click File New Project Enter the Project Name and select the location then click next Select the Device and other category and click next twice and finish. Click on the symbol of FPGA device and then right click click on new source. Select the Verilog Module and give the file name click next and define ports click next and finish. 7. Writing the Verilog Code in Verilog Editor. 8. Run the Check syntax Process window Synthesize double click check syntax. If any errors found then remove the errors with proper syntax & coding. 9. Synthesis your design, from the source window select, synthesis/implementation from the window Now double click the Synthesis -XST. 10. After Synthesis, Click on the symbol of FPGA de vice and Right click and select New select New Source, Select Implementation Constraints File and type file name and click next. 11. Type the Net list and click save. 12. Implement the design by double clicking Implement design in the process window. 13. Then double click Generate Programming File, Double click Configure Target Device and click OK. 14. Double click Create PROM File in the ISE iMPACT window, Select Storage Target Device as Xilinx Flash PROM and click forward. 15. Add storage Device as xcf01s [2 M] and click forward, Type Output File Name and Location and click OK. 16. Select the corresponding .bit file and click Open, Click No to Add Another Device and Click OK. 17. Double click Generate File. 18. Double click Boundary Scan and Right click on the window and select Initialize Chain, Now Select the corresponding .mcs file and click open. 19. Click OK in the Device Programming Properties window, Download the Program on to the kit by Right clicking on the device icon and select program. 20. Verify the output in the target device. 1. 2. 3. 4. 5. 6.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 33
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 34
CODING: 8 BIT ADDER module adder(s,cout,a,b,cin); output[7:0]s; output cout; input[7:0]a,b; input cin; wire c1,c2,c3,c4,c5,c6,c7; fulladd fa0(s[0],c1,a[0],b[0],cin); fulladd fa1(s[1],c2,a[1],b[1],c1); fulladd fa2(s[2],c3,a[2],b[2],c2); fulladd fa3(s[3],c4,a[3],b[3],c3); fulladd fa4(s[4],c5,a[4],b[4],c4); fulladd fa5(s[5],c6,a[5],b[5],c5); fulladd fa6(s[6],c7,a[6],b[6],c6); fulladd fa7(s[7],cout,a[7],b[7],c7); endmodule
module fulladd(s,cout,a,b,cin); output s,cout; input a,b,cin; xor (s,a,b,cin); assign cout = ((a & b )|(b& cin)|( a & cin)) ; endmodule
4 BIT MULTIPLIER module multi(m,a,b); input [3:0]a; input [3:0]b; output [7:0]m; wire [15:0]p; wire [12:1]s; wire [12:1]c; and(p[0],a[0],b[0]); and(p[1],a[1],b[0]); and(p[2],a[0],b[1]); and(p[3],a[2],b[0]); and(p[4],a[1],b[1]); and(p[5],a[0],b[2]); and(p[6],a[3],b[0]); and(p[7],a[2],b[1]); and(p[8],a[1],b[2]); and(p[9],a[0],b[3]); and(p[10],a[3],b[1]); and(p[11],a[2],b[2]); and(p[12],a[1],b[3]); and(p[13],a[3],b[2]);
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 35
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 36
and(p[14],a[2],b[3]); and(p[15],a[3],b[3]); half ha1(s[1],c[1],p[1],p[2]); half ha2(s[2],c[2],p[4],p[3]); half ha3(s[3],c[3],p[7],p[6]); full fa4(s[4],c[4],p[11],p[10],c[3]); full fa5(s[5],c[5],p[14],p[13],c[4]); full fa6(s[6],c[6],p[5],s[2],c[1]) fa6(s[6],c[6],p[5],s[2],c[1]);; full fa7(s[7],c[7],p[8],s[3],c[2]) fa7(s[7],c[7],p[8],s[3],c[2]);; full fa8(s[8],c[8],p[12],s[4],c[7]); full fa9(s[9],c[9],p[9],s[7],c[6]) fa9(s[9],c[9],p[9],s[7],c[6]);; half ha10(s[10],c[10],s[8],c[9]); full fa11(s[11],c[11],s[5],c[8],c[10]); full fa12(s[12],c[12],p[15],s[5],c[11]); buf(m[0],p[0]); buf(m[1],s[1]); buf(m[2],s[6]); buf(m[3],s[9]); buf(m[4],s[10]); buf(m[5],s[11]); buf(m[6],s[12]); buf(m[7],c[12]); endmodule module half(s,co,x,y); input x,y; output s,co; xor (s,x,y); and (co,x,y); endmodule module full(s,co,x,y,ci); input x,y,ci; output s,co; wire s1,d1,d2; half ha_1(s1,d1,x,y); half ha_2(s,d2,s1,ci); or or_gate(co,d2,d1); endmodule
COUNTER
module counter (clk, clr, q); input clk, clr; output [3:0] q; reg [3:0] tmp; always @(posedge clk or posedge clr) begin if (clr)
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 37
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 38
tmp <= 4’b0000; else tmp <= tmp + 1’b1; end assign q = tmp; endmodule
RESULT: Thus the Hardware fusing and testing of given circuit using Xilinx project navigator were studied.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 39
DIFFERENTIAL AMPLIFIER
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 40
Exp. No. : 7 DIFFERENTIAL AMPLIFIER Date: AIM: To design and simulate the simple five transistor differential amplifier circuit and measure the parameters using Tanner EDA tools. APPARATUS REQUIRED: S.No
Name of the equipment/ software
Quantity
1.
PC with Windows
1
2.
Tanner EDA Tools
1
PROCEDURE:
1. Open a schematic editor by using Start S tart Program files Tanner EDA Tanner EDA Tools S-Edit. 2. Create new design by Click file New New Design. 3. Enter the design name and select the path to save the design. 4. Create new cell view Cell new view Select the parameters and give ok. 5. Click add available in library window and select the library file. 6. Select devices in the library drag required PMOS and NMOS components from the symbol browser and design five transistor differential amplifier circuit. 7. Common mode Inputs are applied to the circuit. 8. To open T spice window click Tools T- Spice. 9. Insert technology file and required comments using insert comment option in TSpice. 10. Run the simulation by clicking simulation Run simulation. 11. Output waveform is viewed in the waveform viewer (W-edit) now verify the result. 12. Input and output voltages are measured and tabulated for common mode.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 41
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 42
13. Step 7 to step 12 is repeated for the differential mode. 14. Now 14. Now calculate the gain, ICMR, and CMRR.
RESULT: Thus the simple five transistor differential amplifier was simulated and gain, ICMR, and CMRR are calculated using Tanner EDA tools.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 43
SCHEMATIC DIAGRAM
OUTPUT WAVEFORM
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 44
Exp. No. : 8 CMOS INVERTER LAYOUT AND PARASITIC EXTRACTION Date: AIM: To design a CMOS layout and extract the parasitic capacitance and resistance using Cadence EDA tools.
APPARATUS REQUIRED: S.No
Name of the equipment/ software
Quantity
1.
PC with Windows
1
2.
Cadence EDA Tools
1
PROCEDURE: STEP 1: Create a library and build a schematic of an Inverter
Execute Tools
Library
Manager in the CIW (Command Interpreter Window) to open
Library Manager.
In the Library Manager, execute File New Library. The new library form appears.
In the “New Library” form, type “MyDesignLib” “M yDesignLib” in the Name section.
In the field of Directory section, verify that the path to the library is set to
~/
Database/cadence_analog_labs_615 and click OK.
A “Technology File for New library” form appears, select option “Attach “Attach to an existing technology library” and click OK.
A “Attach library to Technology Library” form appears, select option “gpdk180” from the cyclic field and click OK
After creating a new library we can verify it from the “Library Manager”
If we right click on the “MyDesignLib” and select properties, we can find that “gpdk180” library is attached as techLib to “MyDesignLib”.
STEP 2: Adding Components to schematic
In the Inverter schematic window, click the Instance fixed menu icon
to display
the Add Instance form.
Click on the Browse button. This opens up a Library browser from which we can select components and the symbol view.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 45
LAY OUT DIAGRAM
PARASITIC EXTRACTION
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 46
Move the cursor to the Schematic window and left click to place a component.
Add the pins and wires to the Schematic as per the logic diagram and save the design.
STEP 3: Set up for transient analysis and run simulations on the Inverter Test design
In the Simulation window (ADE), execute Analysis Choose Analysis or click the o
Choose Analysis icon.
In the Analysis section select Tran. o
Set the stop time as 200n.
o
Click at the moderate and enabled buttons enabled buttons at the bottom, and then click Apply.
In the Analysis section, select dc to set up for DC Analysis o
In the DC Analysis section, turn on Save DC Operating Point.
o
Turn on the Component Parameter.
o
Click the Select Component, Select input signal vpulse source in the test schematic window.
o
Select DC Voltage in the “Select Component Parameter” window and click OK . In the analysis form, enter start and stop voltages as 0 to 1.8 respectively.
Selecting Signals for Plotting o
Execute Outputs To be plotted Select on Schematic in the simulation window.
o
Follow the prompt at the bottom of the schematic window, Click on output net Vout, input net Vin of the Inverter _Test. Press Esc with the cursor in the schematic after selecting it
Run the Simulation o
When simulation finishes, the Transient, DC plots automatically will be popped up along with log file.
o
Click on the Split Current Strip icon to separate the wave plots.
STEP 4: Creating Layout View of Inverter
From the Inverter schematic window menu execute Launch Layout XL. XL. A “Startup Option” form appears. Select Create New option and click OK. A “New File” form appears, check the Library (MyDesignLib ), Cell name (Inverter) and View name (layout). Click OK from the “New File” Window. LSW (Layer Select Window) and a blank layout window appear along with schematic window.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 47
EXTRACTED RESISTANCE AND CAPACITANCE
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 48
STEP 5: Adding Components to Layout
Execute Connectivity
Generate All
from Source or click the icon
in the “Layout
Editor window”, Generate Layout form appears. Click OK which imports the schematic components in to the Layout window automatically.
Re arrange the components with in PR Boundary.
Stretch the PR Boundary to our requirement by executing Editstretch. Press Esc after stretching. We can also use this feature to stretch Wire and routing elements.
To move the components, execute EditMove or click the Move icon and then click on the component which is to be moved. Press Esc after moving.
To know the distance between different components, or to measure the area consumed by the design, execute Tools Create Ruler. Press Esc after measurements.
STEP 6: Make the interconnection and Creating Contacts/Vias. Finally save the design. STEP 7: Physical Verification i) Running a DRC
Select Assura
Run
DRC from layout window. The DRC form appears. The Library
and Cell name are taken from the current design window, but rule file may be missing. Select the Technology as gpdk180. This automatically loads the rule file.
Click OK to OK to start DRC.
When DRC finishes, a dialog box appears to view DRC results. Click Yes to view the results of this run.
If there any DRC error exists in the design, View Layer Window (VLW) and Error Layer Window (ELW) appears. Also the errors highlight in the design itself.
Correct all the DRC errors and Re run the DRC. If there are no errors in the layout then a dialog box appears with No DRC errors found written in it, click on close to terminate the DRC run.
ii) Running LVS (Compare the schematic net list and the layout net list)
Select Assura
Run LVS from the layout window. The “Run Assura LVS” form
appears. It will automatically load both the schematic and layout view of the cell.
Click OK to run LVS.
Once the LVS is completed, click yes in the window to see the results of this run.
If the schematic and layout do not matches, LVS Debug window appears.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 49
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 50
In the LVS Debug window, find the details of mismatches and correct all those mismatches and Re run the LVS till the schematic is matched with layout.
If the schematic and layout matches completely, close the window to terminate the LVS run.
iii) Running Assura RCX
Extract the RC values from the layout and perform analog circuit simulation on the designs extracted with RCX. Before using RCX to extract parasitic devices for simulation, the layout should match with schematic completely to ensure that all parasites will be backannoted to the correct schematic nets.
From the layout window execute Assura Run RCX.
Change the following in the “Assura parasitic extraction run form”. Sel ect Output type under Setup tab as Extracted View.
In the Extraction tab of the form, choose Extraction type, Cap Coupling Mode and specify the Reference node for extraction.
In the Filtering tab of the form, Enter Power Nets as Vdd, Vss Enter Ground Nets as Gnd
Click OK in the Assura parasitic extraction form when done. The RCX progress form appears, in the progress form click Watch log file to see the output log file.
When RCX completes, a dialog box appears which informs that Assura RCX run Completed successfully. Click on close to terminate the RCX run.
Double click on av_extracted option under View field. The av_extraced view of design will pop up.
Press shift-f to view values of the extracted resistance and capacitance in the av_extracted view.
RESULT: Thus the CMOS layout was drawn and the parasitic capacitance and resistance are extracted using Cadence EDA tools.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 51
CIRCUIT DIAGRAM
Sample: nmos nmos1(d,s,g);
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 52
Exp. No. : 9 LAYOUT GENERATION
Date: AIM: To design layout diagram for five transistor differential amplifier and extract the parasitic capacitance of the circuit diagram using Microwind tools. APPARATUS REQUIRED: S.No
Name of the equipment/ software
Quantity
1.
PC with Windows
1
2.
Microwind
1
PROCEDURE:
1. Open microwind by double clicking microwind2. 2. Create new design by Click on File New. 3. Select model file by Click on File Select Foundry and select the model file. 4. Create new text file and type the five transistor differential amplifier net list and save as verilog file. 5. Click on Compile Compile Verilog File. Select the verilog text file and click on Generate. 6. To Run Simulation Click Simulate Start Simulation. 7. View the output waveforms. 8. To extract the parasitic capacitance of the circuit diagram click simulate Simulation parameters select Mos model and click extract. CODING module example( Vbias,Vin1,Vin2,Out);
input Vbias,Vin1,Vin2; output Out; pmos pmos1(n1,vdd,n1); pmos pmos2(Out,vdd,n1); nmos nmos1(n1,n2,Vin1); nmos nmos2(Out,n2,Vin2);
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 53
LAYOUT DIAGRAM
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 54
nmos nmos3(n2,vss,Vbias); endmodule
RESULT: Thus the layout diagram for five transistor differential amplifier was designed and the parasitic capacitances of the circuit diagram were extracted using Microwind tools.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 55
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 56
Exp. No. : 10 STANDARD CELL BASED DESIGN Date: AIM: To design and simulate the traffic light controller using Standard tools.
cells
using Tanner EDA
APPARATUS REQUIRED: S.No
Name of the equipment/ software
Quantity
1.
PC with Windows
1
2.
Tanner EDA Tools
1
PROCEDURE: S- Edit
1. Open a schematic editor by using Start S tart Program files Tanner EDA Tanner EDA Tools S-Edit. 2. Create new design by Click file New New Design. 3. Enter the design name and select the path to save the design. 4. Create new cell view Cell new view Select the parameters and give ok. 5. Click add available in library window and select the library file. 6. Select devices in the library drag required PMOS and NMOS components from the symbol browser and design the D flip flop, NAND gate and NOR gate. 7. Create the symbol for D flip flop, NAND gate an d NOR gate. 8. Using D flip flop, NAND gate and NOR gate design the traffic light controller. 9. Create traffic light controller core and Pad the required req uired input and outputs. 10. Simulate the design by opening T spice window click Tools T- Spice. 11. Insert technology file and required comments using insert comment option in TSpice.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 57
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 58
12. Run the simulation by clicking simulation Run simulation. 13. Output waveform is viewed in the waveform viewer (W-edit) now v erify the result. 14. Export the schematic as in TPR format.
L Edit 1. Launch L-Edit. Use File New to create your de design sign file (layout file).
2. Choose Tools SPR Setup. In the SPR Setup dialog specify the names of the standard cell library file and the net list file. 3. Choose Tools SPR Place and Route. Select the appropriate option singly or in any combination. Depending on your standard cell design, uncheck or check the Global input signal routing option. 4. Click the Run button. Depending on your selected options, SPR will generate up to three new cells: a core cell, a pad frame cell, and/or a chip cell 5. Verify the design using L-Edit DRC. 6. Extract the net list and simulate the design using T -spice and identify the critical paths, average power consumption. 7.
Save the design in GDSII format and send it to your vendor for fabrication.
RESULT: Thus the traffic light controller using Standard cells is designed and simulated, using Tanner EDA tools.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 59
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 60
Exp. No. : 11
PLACEMENT AND ROUTING, POWER AND CLOCK ROUTING, AND POST PLACEMENT AND ROUTING SIMULATION
Date:
AIM: To change the placement and routing, power and clock routing, and post placement and routing parameters and simulate the design using Tann er EDA tools. APPARATUS REQUIRED: S.No
Name of the equipment/ software
Quantity
1.
PC with Windows
1
2.
Tanner EDA Tools
1
PROCEDURE: S- EDIT
1. Open a schematic editor by using Start S tart Program files Tanner EDA Tanner EDA Tools S-Edit. 2. Create new design by Click file New New Design. 3. Enter the design name and select the path to save the design. 4. Create new cell view Cell new view Select the parameters and give ok. 5. Click add available in library window and select the library file. 6. Select devices in the library drag required PMOS and NMOS components from the symbol browser and design the D flip flop, NAND gate and NOR gate. 7. Create the symbol for D flip flop, NAND gate an d NOR gate. 8. Using D flip flop, NAND gate and NOR gate design the given circuit. 9. Create core and Pad the required input and outputs. 10. Simulate the design by opening T spice window click Tools T- Spice. 11. Insert technology file and required comments using insert comment option in TSpice.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 61
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 62
12. Run the simulation by clicking simulation Run simulation. 13. Output waveform is viewed in the waveform viewer (W-edit) now v erify the result. 14. Export the schematic as in TPR format. L EDIT
1. Launch L-Edit. Use File New to create your de design sign file (layout file). 2. Choose Tools SPR Setup. In the SPR Setup dialog specify the names of the standard cell library file and the net list file. 3. Choose Tools SPR Place and Route. Select the appropriate option singly or in any combination. Depending on your standard cell design, uncheck or check the Global input signal routing option. 4. Click the Run button. Depending on your selected options, SPR will generate up to three new cells: a core cell, a pad frame cell, and/or a chip cell 5. Verify the design using L-Edit DRC. 6. Save the design in GDSII format and send it to your vendor for fabrication.
PLACEMENT AND ROUTING
1. Launch L-Edit. Use File New to create your de design sign file (layout file). 2. Choose Tools SPR Setup. In the SPR Setup dialog specify the names of the standard cell library file and the net list file. 3. Choose Tools SPR Setup, click core setup change the layers parameter and design rule parameters. 4. Choose Tools SPR Setup, click pad route setup change the layers parameter and design rule parameters. 5. Choose Tools SPR Place and Route. Select the appropriate option singly or in any combination. 6. Click the Run button. Depending on your selected options, SPR will generate up to three new cells: a core cell, a pad frame cell, and/or a chip cell
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 63
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 64
7. Verify the design using L-Edit DRC. 8. Save the design in GDSII format and send it to your vendor for fabrication.
POWER AND CLOCK ROUTING
1. Launch L-Edit. Use File New to create your de design sign file (layout file). 2. Choose Tools SPR Setup. In the SPR Setup dialog specify the names of the standard cell library file and the net list file. 3. Choose Tools SPR Setup, click core setup change the power parameter. 4. Choose Tools SPR Place and Route. Select the appropriate option singly or in any combination. 5. Click the Run button. Depending on your selected options, SPR will generate up to three new cells: a core cell, a pad frame cell, and/or a chip cell 6. Verify the design using L-Edit DRC. 7. Save the design in GDSII format and send it to your vendor for fabrication.
POST PLACEMENT AND ROUTING
1. After simulation change the following parameters and re simulate the design. 2. Choose Tools SPR Setup, click core setup change the layers parameter and design rule parameters. 3. Choose Tools SPR Setup, click pad route setup change the layers parameter and design rule parameters. 4. Verify the design using L-Edit DRC.
RESULT:
Thus the placement and routing, power and clock routing, and post placement and routing parameters are changed and simulate using Tanner EDA tools.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 65
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 66
Exp. No. : 12 STATIC TIMING ANALYSIS Date: AIM: To design the given circuit and perform static timing analysis using Tanner EDA tools. APPARATUS REQUIRED: S.No
Name of the equipment/ software
Quantity
1.
PC with Windows
1
2.
Tanner EDA Tools
1
PROCEDURE: S- Edit
1. Open a schematic editor by using Start S tart Program files Tanner EDA Tanner EDA Tools S-Edit. 2. Create new design by Click file New New Design. 3. Enter the design name and select the path to save the design. 4. Create new cell view Cell new view Select the parameters and give ok. 5. Click add available in library window and select the library file. 6. Select devices in the library drag required PMOS and NMOS components from the symbol browser and design the D flip flop, NAND gate and NOR gate. 7. Create the symbol for D flip flop, NAND gate and NOR gate. 8. Using D flip flop, NAND gate and NOR gate design the traffic light controller. 9. Create traffic light controller core and Pad the required req uired input and outputs. 10. Simulate the design by opening T spice window click Tools T- Spice. 11. Insert technology file and required comments using insert comment option in TSpice.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 67
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 68
12. Run the simulation by clicking simulation Run simulation. 13. Output waveform is viewed in the waveform viewer (W-edit) now v erify the result. 14. Export the schematic as in TPR format.
L Edit 1. Launch L-Edit. Use File New to create your de design sign file (layout file).
2. Choose Tools SPR Setup. In the SPR Setup dialog specify the names of the standard cell library file and the net list file. 3. Choose Tools SPR Place and Route. Select the appropriate option singly or in any combination. Depending on your standard cell design, uncheck or check the Global input signal routing option. 4. Click the Run button. Depending on your selected options, SPR will generate up to three new cells: a core cell, a pad frame cell, and/or a chip cell 5. Verify the design using L-Edit DRC. 6. Extract the net list and simulate the design using T -spice and measure the static time delay between input and output signals. 7.
Save the design in GDSII format and send it to your vendor for fabrication.
RESULT:
Thus the given circuit is designed and static timing analysis was performed using Tanner EDA tools.
SVS COLLEGE OF ENGINEERING / ECE /EC 6612 661 2 – VLSI VLSI DESIGN DESIGN LAB LAB - K. Manoh Manohara aran n
P a g e | 69