Saturday, March 25, 2017

VERIFICATION'S

PHYSICAL VERIFICATION:
IN PHYSICAL VERIFICATION IT CHECKS:

  1. LVS(LAYOUT VERSUS SCHEMATIC)
  2. DRC(DESIGN RULE CONSTRAINTS CHECK)
  3. ERC(ELECTRICAL RULE CHECK)
LAYOUT VERSUS SCHEMATIC(LVS):

INPUTS ARE (.LVS.V) AND (.GDSII) FILES AND RULE DECK FILES. 

COMPARISION TWO ELECTRICAL CIRCUITS EQUIVALENT WITH RESPECT TO THEIR "CONNECTIVITY" AND "TOTAL TRANSISTOR COUNT".

COMPARISION BETWEEN (.GDSII) FILE AND EXTRCTED NETLIST (.LVS.V) FILE.

FINALLY BOTH ARE CONVERTED INTO A SPICE LEVEL .

LVS CHECKS ARE:

EXTRACT ERRORS :
  • SHORTS
  • OPENS
  • FLOATING NETS.

COMPARE ERRORS:
  • PIN ERRORS
  • PARAMETRIC ERRORS
  • DEVICE MISMATCH
  • NET MISMATCH
  • MALFORMED DEVICES
  • PORTS MISMATCH

DESIGN RULE CONSTARINTS CHECK(DRC):

INPUT IS .GDSII FILE AND RULE DECK FILE.

CHECKS:

  • ACTIVE TO ACTIVE SPACINGS.
  • WELL TO WELL SPACINGS.
  • MINIMUM CHANNEL LENGTH OF THE TRANSISTOR.
  • MINIMMUM METAL WIDTH.
  • METAL TO METAL SPACINGS.
  • ESD(ELECTRO STATIC DISCHARGE).
  • I/O RULES.
  • METAL FILL DENSITY.
ELECTRICAL RULE CHECK(ERC):

INPUT IS  (.GDSII) FILE .

INVOLVES CHECKING A DESIGN FOR ALL ELECTRICAL CONNECTIONS.

CHECKS ARE:
  • WELL AND SUBSTRATE AREAS FOR PROPER CONTACTS AND SPCINGS THERE BY ENSURING CORRECT POWER CONTACTS AND GROUND CONNECTIONS.
  • TO LOCATE FLOATING DEVICES AND FLOATING WELLS.
  • TO LOCATE DEVICE WICH ARE SHORTED.
  • TO LOCATE DEVICES WITH MISSING CONNECTIONS.
  • GATE CONNECTRD DIRECTLY TO SUPPLIES.
  • FLOATING INPUTS.

FORMAL VERIFICATIONS:

IN FORMAL VERIFICATION CHECKS ARE LEC(LOGICAL EQUIVALENCE CHECK).

CHECKING BETWEEN FINALLY EXTRCCTED NETLIST(.V) AND SYNTHESIZED NETLIST(.V).

INPUTS ARE EXTRCCTED NETLIST(.V) AND SYNTHESIZED NETLIST(.V).

HERE CHECKING FOR FUNCTIONALITY CORRECTNESS.


DIFFERENT FILES IN PHYSICAL DESIGN
FILES:

  1. LOGICAL LIBRARIES---------------------------> .lib, .db
  2. PHYSICAL LIBRARIES ------------------------->.lef, .milkyway (OR) .volcano (OR), .plib(OR).enc
  3. TECHNOLOGY FILE ----------------------------> .tf
  4. TLU+ -------------------------------------------------->.tlup
  5. INTER CONNECT TECHNOLOGY FILE ------> .itf
  6. MAPPING FILE ------------------------------------> .map
  7. NETLIST ---------------------------------------------> .v,(OR) .ddc ,(OR) .db, (OR) .EDIF
  8. SDC-----------------------------------------------------> .sdc
  9. PHYSICAL ONLY PAD CELLS PLACEMENT FILE ---------------------> .tdf
  10. SCAN CHAIN FILE -------------------------------> .scandef
  11. TOGGLE RATE FILE------------------------------>.saif, (OR) .vcd
  12. ECO FILE ----------------------------------------->.eco
  13. GDS FILE------------------------------------------>.gds
  14. LOG FILE------------------------------------------>.log
  15. REPORT FILE-------------------------------------->.rep
  16. DESIGN EXCHANGE FORMAT------------------>.def
  17. STANDARD DELAY FORMAT------------------->.sdf
  18. STANDARD PARASITIC EXCHANGE FORMAT---------> .spef


Decap cells

What are Decaps?

  • Decaps are on-chip decoupling capacitors that are attached to the power mesh to decrease noise effects
  • Decaps are most effective when placed closest to the loads

Why need Decap cells:

  • Modern designs are very sensitive to noise due to the presence of a larger number of potential noise generators that eat into the noise margins built into a design. The power grid, which provides the Vdd and ground signals throughout the chips, is one of the most important sources of noise, since supply voltage variations can lead not only to problems related to spurious transitions in some cases, particularly when dynamic logic is used, but also to delay variations
  • Signal integrity is emerging as a limiting factor in the nano regime VLSI chip designs as technology scales. This is especially true on global networks like power/ground networks where noise margins have been reduced greatly in VLSI designs due to decreasing supply voltages. For dynamic voltage fluctuations on a P/G network, adding decap is regarded as the most efficient way to reduce such noises.

Instantaneous Voltage Drop (IVD) is a part of the landscape in Deep Sub-Micron (DSM) design. IVD is a droop in rail voltage prompted by large amounts of simultaneous switching in a circuit. Problems with IVD are especially common to high speed memories, which have potentially thousands of cells switching at a time.
A design with enough rail-to-rail capacitance becomes resistant to the effects of IVD, as the capacitance acts as a charge reserve supplying local current sinks briefly for the time of the event.
As such, it has become common in the past decade to add dcaps to the areas of an IC that otherwise have no cells, or add dcaps directly to problem areas such as high speed memories.
However, DCAPs normally come with a quite serious down-side. They are leaky devices. Too many DCAPs in a design can push leakage beyond the thermal runaway point, or at least beyond the customer's expectations.
For these reasons, DCAP insertion is a subject that requires more than casual attention of the layout designer.

DIFFERENT TYPE OF CELLS

DIFFERENT TYPE OF CELLS:

  • STDCELLS:
    • Nothing But Base cells(Gates,flops).


  • TAP CELLS:
    • Avoids Latch up Problem(Placing these cells with a particular  distance).
    • Cells are physical-only cells that have power and ground pins and dont have signal pins.
    • Tap cells are well-tied cells that bias the silicon infrastructure of n-wells or p-wells. 
    • They are traditionally used so that Vdd or Gnd are connected to substrate or n-well respectively.
    • This is to Help TIE Vdd and Gnd which results in lesser drift and prevention from latchup.
    • Required by some technology libraries to limit resistance between Power or Ground connections to well of the substrate.


    • TIE CELLS :
      • It is used for preventing Damage of cells; Tie High cell(Gate One input is connected to Vdd, another input is connected to signal net);Tie low cells Gate one input is connected to Vss, another input is connected to signal .
      • Tie - high and Tie - low cells are used to connect the gate of the transistor to either Power and Ground.
      • In lower technology nodes, if the gate is connected to Power or Ground. The transistor might be turned "ON/OFF" due to Power or Ground Bounce.
      • These cells are part of the std cell library.
      • The cells which require Vdd(Typically constant signals tied to 1) conncet to tie high cells.
      • The cells which require Vss/Vdd (Typically constant signals tied to 0) connect to tie low cells. 

    • END CAP CELLS:
      • To Know the end of the row,and At the edges endcap cells are placed to avoid the cells damages at the  end of the row to avoid wrong laser wavelength for correct manufacturing.
      • You can add Endcap cells at both Ends of a cell row.
      • Endcap cells surrounding the core area features which serve as second poly to cells
      • placed at the edge of row.
      • The library cells do not have cell connectivity as they are only connected to Power and Ground rail,
      • Thus ensure that gaps do not occure between "WELL" and "IMPLANT LAYER" and to prevent the DRC violations by satisfying "WELL TIE - OFF" requirements for core rows we use End cap cells.
      • Usually adding the "Well Extension" for DRC correct designs.
      • End caps are a "POLY EXTENSION" to avoid drain source SHORT

    • DECAP CELLS:
      • Charge Sharing;To avoid the Dynamic IR drop ,charge stores in the cells and release the charge to Nets.
      • Decoupling capacitor cells , or Decap cells, are cells that have a capacitor placed.
      • Between the Power rail and Ground rail to Over come Dynamic voltage drop.
      • Dynamic IR Drop happens at the active edge of the clock at which a High currents is drawn from the Power Grid for a small Duration.
      • If the Power is far from a flop the chances are there that flop can go into Metastable State.
      • To overcome decaps are added , when current requirements is High this Decaps discharges and provide boost to the power grid.

    • FILLER CELLS:
      • Filler cells are used to connect the gaps between the cells after placement.
      • Filler cells are ussed to establish thecontinuity of the N-Wells and the IMPLANT LAYERS on the standard cells rows, some of the cells also don't have the Bulk Connection (Substrate connection) Because of their small size (thin cells).
      • In those cases, the abutment of cells through inserting filler cells can connect those substrates of small cells to the Power/Ground nets.
      • i.e. those tin cells can use the Bulk connection of the other cells(this is one of the reason why you get stand alone LVS check failed on some cells)

    • ICG CELLS:
      • Clock gating cells ,to avoid Dynamic power Dissipation.
      • Register banks disabled during some clock cycles.
      • During idle modes, the clocks can be gated-offs to save Dynamic power dissipation on flipflops.
      • Proper circuit is essential to achive a gated clock state to prevent false glithes on the clock paths

    • POWER GATING CELLS:
        • In Power gating to avoid static power Dissipation.
      • Power Gating Cells:
        • Power switches
        • Level Shifters
        • Retention registers
        • Isolation cells
        • Power controler

    • PAD CELLS:
      • To Interface with outside Devices;Input to of Power,Clock,Pins are connected to pad cells and outside  also.

    • CORNER CELLS:
      • Corner Pads are used for Well Continity.
      • To lift the chip.

    • MACRO CELLS:
      • Memories.
      • The memory cells are called Macros.
      • To store information using sequntial elements takes up lot of area.
      • A single flipflop could take up 15 to 20 transistors to store one bit store the data efficiently and also do not occupy much space on the chip comparatively by using macros.

    • SPARE CELLS:
      • Used at the ECO.
      • Spare cells are standard cells  in a design that are not used by the netlist.
      • Placing the spare cells in your design provides a margin for correcting logical error that might be detected later in the design flow, or for adjusting the speed of your design.
      • Spare cells are used by the fix ECO command during ECO process.

    • PAD FILLER CELLS:
      • Used for Well Continity, Placed in between Pads.

    • JTAG CELLS:
      • These are used to check the IO connectivity.

    Monday, June 3, 2013

    Sunday, May 26, 2013

    ASIC DESIGN FLOW




      





















    ASIC DESIGN FLOW
    Introduction
          Integrated Circuits are made from Silicon wafer, with each holding of hundreds of die. The first silicon chip or integrated circuit consisting of many transistors fabricated on the same piece of silicon, was made at Fairchild in 1959.More recent developments have been towards miniaturization-packing more and more active components or gates on to a single chip of silicon. The level of device complexity is usually referred to as a scale of integration. The evolution from scale integration (SSI), through large-scale integration (LSI), to very large scale integration (VLSI) has already occurred, and the scale is running out of adjectives. The scale of integration is based on the number of logic elements that constitute a device. An ASIC is an Application Specific Integrated Circuit. An Integrated Circuit designed is called an ASIC if We design the ASIC for the specific application.

    Examples of ASIC chip design for a satellite, chip design for car.

    The following paragraphs will describe the types of ASIC''s
    1. Full Custom ASIC
    2. Standard Cell ASIC
    3. Gate Array ASIC

    Full Custom ASIC


            For this type of ASIC, All mask layers are customized in a full custom ASIC. It only makes sense to design a full custom IC if there are no libraries available, the full custom design highest performance and lowest part cost ( small die size ) with the
    disadvantages of increased design time, complexity, the designer designs all or some of the logic cells, layout for that one chip. The designer does not used predefined gates in the design.

    Standard Cell ASIC

           The designer uses predesigned logic cells such as AND gate, NOR gate, etc.
    These gates are called Standard Cells. The advantage of Standard Cell ASIC’s is that the designers save time, money and reduce the risk by using a predesigned and pre-tested Standard Cell Library. Also each Standard Cell can be optimized individually. The Standard Cell Libraries is designed using the Full Custom Methodology, but you can use these already designed libraries in the design. This design style gives a designer the same flexibility as the Full Custom design, but reduces the risk.

    Standard Cell ASIC Gate Array ASIC
           In this type of ASIC, the transistors are predefined in the silicon wafer. The predefined pattern of transistors on the gate array is called a base array and the smallest element in the base array is called a base cell. The base cell layout is same for each logic cell, only the interconnect between the cells and inside the cells is customized.

    Thefollowing are the types of gate arrays:
    a. Channeled Gate Array
    b. Channelless Gate Array
    C. Structured Gate Array

           ASIC stands for Application Specific Integrated Circuit. A chip that is custom
    designed for a specific application rather than a general-purpose chip such as a
    microprocessor.

    ASIC design flow is associated with the following:
    a. Layout/Design
    b. Characterization
    c. CAD Modelling

        Standard cell libraries are associated with various functionalities like not, nor, nand, and, or etc. However, the libraries associated with the so called “PPA” goals:

    P => Performance
    P => Power
    A => Area


    Size. 
       Integrated circuits are much smaller both transistors and wires are shrunk to
    micrometer sizes, compared to the millimeter or centimeter scales of discrete components. Small size leads to advantages in speed and power consumption, since
    smaller components have smaller parasitic resistances, capacitances, and inductances.

    Speed.
         Signals can be switched between logic 0 and logic 1 much quicker within a chip
    than they can between chips. Communication within a chip can occur hundreds of times faster than communication between chips on a printed circuit board. The high speed of circuits on-chip is due to their small size—smaller components and wires have smaller parasitic capacitances to slow down the signal.

    Power consumption.
          Logic operations within a chip also take much less power. Once again, lower power consumption is largely due to the small size of circuits on the chip smaller parasitic capacitances and resistances require less power to drive them.

    Lower power consumption.
          Replacing a handful of standard parts with a single chip reduces total power consumption. Reducing power consumption has a ripple effect on the rest of the system: a smaller, cheaper power supply can be used; since less power consumption means less heat, a fan may no longer be necessary; a simpler cabinet with less shielding for electromagnetic shielding may be feasible.

    Reduced cost.
         Reducing the number of components, the power supply requirements, cabinet costs, and so on, will inevitably reduce system cost. The ripple effect of integration is such that the cost of a system built from custom ICs can be less, even though the individual ICs cost more than the standard parts they replace. Understanding why integrated circuit technology has such profound influence on the design of digital
    systems requires understanding both the technology of IC manufacturing and the
    economics of ICs and digital systems. Any developed cell should meet the above required parameters to be successfully implemented in a chip.

    Before we actually put the layout, we first design the circuit to come up with the
    schematic diagram. This is basically associated with designing the width of the transistor to meet the various specifications in the form of delay, input capacitance,  rise time, fall time, slew etc keeping in mind the fixed value of load. Once we are ready with the schematic, the next important task is to put the layout for the designed schematic. In digital field, we put the layout with reference to the available tracks such as single height, double height etc. However, the height of the track is fixed, i.e., Y direction remains constant while we extend the layout in the X direction, horizontally. Once the layouting is done, it is checked against Design Rule Checks (DRC) to see if there are any errors.

    Foot core/Tap cells
          form an integral part of the layout aspect. It is basically associated with the bulk connections of the device. It is mandatory to include foot core in the layout without which the DRC remains unclean. It is always present in the -ve quadrant while the layout is expected to be present in the +ve quadrant as a general convention. This is followed by the conversion of the layout into Geometrical Data Stream(gds) format file. The gds file is basically a binary stream of the data that contains the encrypted version of the layout. This is to make the data compatible with the subsequent stage of ASIC flow namely characterisation. It is a database file format which is the de facto industry standard for data exchange of integrated circuit or IC layout artwork.
        
         It is a binary file format representing planar geometric shapes, text labels, and other information about the layout in hierarchical form. The data can be used to reconstruct all or part of the artwork to be used in sharing layouts, transferring artwork between different tools, or creating photo masks. There is another file format which contains basically the same kind of information as that of gds file. This file is called laff file. It stands for LISP Archival File Format. This is the readable format of the gds file. This contains the parametric values like Cin, resistance, source area, drain area etc in the form of the rectangle. gds/laff files are fed to one of the extraction tool which give us the netlist. Netlist is used for characterisation whose o/p is .lib file. The obtained netlist is however, used in LVS check of the lay out.
    Another important aspect of the laff file is that it helps us to obtain lef file.


    A LEF file contains the following information:
      1. Pin information
      2. Metal Connections
      3. Vdd,Vss information
      4 Routability and connectivity.

           This file basically is used by the top level people to build and enhance the model.

    Characterization:-
         It  is associated with calculating the various parameters like Cin, delay, power, set up and hold time values against the specified values to check for the precision in the lay out.

    CAD modeling :- 
          It   is done to check the functionality of the cell. It makes use of
    VERILOG coding language to test the functionality. The output file is saved in .v file
    format. This process is done parallely to lay outing.

    Various different kinds of checks are made during the checks :


    LVS check :-
         Layout Versus Schematic check: Here, we see if all the specifications mentioned in the schematic of the circuit like width, length etc matches with the layout or not.

    DRC check:-
         This is the check to meet the various criteria of the tool we are using.

    EM/Electromigration check:-
         This is to check the flow of the current flowing in the metal to predict the life of the chip.


    COMPAT check:-
         This is basically the boundary DRC. 

    SPIVER check:-
         This gives the functionality between verilog and schematic. This makes use of the built in truth table to test the obtained output against the expected output.

    SV_SPICE :-
         It checks the functionality of the cell. It checks only the transistor connections without giving the RC values information.

    Verification checks

    DRC : Design rule check. Design rule are strict guideline for drawing layout Minimum width Minimum spacing Minimum extension Min...