Monday 24 November 2014

finite state machine: FSM

Definition

A machine consisting of a set of states, a start state, an input, and a transition function that maps input and current states to a next state. Machine begins in the start state with an input. It changes to new states depending on the transition function. The transition function depends on current states and inputs. The output of the machine depends on input and/or current state.

There are two types of FSMs which are popularly used in the digital design. They are
  • Moore machine
  • Mealy machine
Moore machine

In Moore machine the output depends only on current state.The advantage of the Moore model is a simplification of the behavior.

Mealy machine

In Mealy machine the output depend on both current state and input.The advantage of the Mealy model is that it may lead to reduction of the number of states.

In both models the next state depends on current state and input. Some times designers use mixed models. States will be encoded for representing a particular state.

Representation of a FSM

A FSM can be represented in two forms:
  • Graph Notation
  • State Transition Table
Graph Notation
  • In this representation every state is a node. A node is represented using a circular shape and the state code is written within the circular shape.
  • The state transitions are represented by an edge with arrow head. The tail of the edge shows current state and arrow points to next state, depending on the input and current state. The state transition condition is written on the edge.
  • The initial/start state is sometime represented by a double lined circular shape, or a different colour shade.
The following image shows the way of graph notation of FSM. The codes 00and 11 are the state codes. 00 is the value of initial/starting/reset state. The machine will start with 00 state. If the machine is reseted then the next state will be 00 state.


State Transition Table

The State Transition Table has the following columns:
  • Current State: Contains current state code
  • Input: Input values of the FSM
  • Next State: Contains the next state code
  • Output: Expected output values
An example of state transition table is shown below.


Mealy FSM

In Mealy machine the output depend on both current state and input.The advantage of the Mealy model is that it may lead to reduction of the number of states.


The block diagram of the Mealy FSM is shown above. The output function depends on input also. The current state function updates the current state register (number of bits depends on state encoding used).


The above FSM shows an example of a Mealy FSM, the text on the arrow lines show (condition)/(output). 'a' is the input and 'x' is the output.

Moore FSM

In Moore machine the output depends only on current state.The advantage of the Moore model is a simplification of the behavior.


The above figure shows the block diagram of a Moore FSM. The output function doesn't depend on input. The current state function updates the current state register.


The above FSM shows an example of a Moore FSM. 'a' is the input. Inside every circle the text is (State code)/(output). Here there is only one output, in state '11' the output is '1'.

In both the FSMs the reset signal will change the contents of current state register to initial/reset state.

State Encoding

In a FSM design each state is represented by a binary code, which are used to identify the state of the machine. These codes are the possible values of the state register. The process of assigning the binary codes to each state is known as state encoding.
The choice of encoding plays a key role in the FSM design. It influences the complexity, size, power consumption, speed of the design. If the encoding is such that the transitions of flip-flops (of state register) are minimized then the power will be saved. The timing of the machine are often affected by the choice of encoding.
The choice of encoding depends on the type of technology used like ASIC, FPGA, CPLD etc. and also the design specifications.

State encoding techniques

The following are the most common state encoding techniques used.
  • Binary encoding
  • One-hot encoding
  • Gray encoding
In the following explanation assume that there are N number of states in the FSM.

Binary encoding

The code of a state is simply a binary number. The number of bits is equal to log2(N) rounded to next natural number. Suppose N = 6, then the number of bits are 3, and the state codes are:
S0 - 000
S1 - 001
S2 - 010
S3 - 011
S4 - 100
S5 - 101

One-hot encoding
In one-hot encoding only one bit of the state vector is asserted for any given state. All other state bits are zero. Thus if there are N states then N state flip-flops are required. As only one bit remains logic high and rest are logic low, it is called as One-hot encoding. If N = 5, then the number of bits (flip-flops) required are 5, and the state codes are:
S0 - 00001
S1 - 00010
S2 - 00100
S3 - 01000
S4 - 10000

To know more about one-hot encoding click here.

Gray encoding
Gray encoding uses the Gray codes, also known as reflected binary codes, to represent states, where two successive codes differ in only one digit. This helps is reducing the number of transition of the flip-flops outputs. The number of bits is equal to log2(N) rounded to next natural number. If N = 4, then 2 flip-flops are required and the state codes are:
S0 - 00
S1 - 01
S2 - 11
S3 - 10

Designing a FSM is the most common and challenging task for every digital logic designer. One of the key factors for optimizing a FSM design is the choice of state coding, which influences the complexity of the logic functions, the hardware costs of the circuits, timing issues, power usage, etc. There are several options like binary encoding, gray encoding, one-hot encoding, etc. The choice of the designer depends on the factors like technology, design specifications, etc.

Friday 21 November 2014

Wafer related definitions: Wafer sawing

Wafer sawing

 
Wafer sawing is the last back-end operation in which a processing error can convert an entire $50,000 wafer into thousands of pieces of expensive scrap. Proper dicing of wafers requires experience, judgement, and high-performance equipment. Successful sawing requires selecting the correct saw blade from dozens of possibilities and finding the proper combination among dozens of control settings. Wafer thickness and composition, the width of the saw streets, and the desired die size must be considered when selecting sawing parameters. The wrong blade or the wrong combination of parameters can ruin the wafer.

The continuing shrinkage of semiconductor devices toward smaller feature size and higher density is raising the hurdle of sawing. Wafers are designed to hold as many die as possible. Producing a wafer is a fixed cost, so more die per wafer equates to lower cost per die. Each die is separated from its neighbors by narrow “streets,” which are the cut lines for singulating the die. The narrower the streets, the more die – and the more challenging the sawing.

While several new singulation technologies are being developed or in limited use, ordinary silicon wafers, which comprise more than 90% of wafer volume, are sawn with a diamond saw blade. Selecting the proper saw, diamond blade, and mounting tape are three keys to success.
Dicing Saws

Silicon dicing saws offer a wide variety of models with many options. Options include manual or fully automated operation; single-blade or multi-blade cutting; cutting in one direction only or bi-directional; blade mounting on a 2- or 4-in.-diameter hub; cooling water flow from a single jet or from multiple jets; and spindle rotational speeds ranging from 1,000 to 60,000 rpm.
Figure 1 shows an operating saw, showing the rotating saw blade and the spray of cooling water.
Figure 1. Close-up of an operating saw, with cooling water spraying at the top of the rotating blade and the wafer. Photo courtesy of Disco.Click here to enlarge image



Post-saw cleaners, which remove the residual silicon dust, may be a part of the saw or standalone equipment. Automatic blade “dressing,” to maintain the cutting surface, may be included in the saw.

A semiconductor manufacturer may routinely saw large quantities of wafers. Manufacturers have the advantage of a limited family of products and materials, however, so that they can standardize their sawing equipment and processes. As a wafer service provider, every month we must saw wafers with hundreds of different part types from any of 30 wafer manufacturers. We use two types of saws to deal with this variety: semiautomatic and fully automated machines.

The semiautomatic saw dices single wafer orders that have low to moderate sawing complexity. This saw has one cooling jet, a single blade on a 2-in. hub, and a maximum spindle speed of 40,000 rpm. The operator programs the saw and must monitor the sawing, intervening as needed.



In summary, wafer sawing remains both an art and a science. For best results, both high-performance equipment and the proper materials must be combined with expert human judgement and experience.
 
 
 

seal ring

  
1. A wafer edge seal ring structure comprising:
a substrate;
  • a layer of polysilicon formed over said substrate having a circumferential recess thereat between about 1.6 to 2.0 â„« from the edge of said substrate;
  • a first interlevel dielectric layer deposited on said layer of polysilicon having a circumferential recess thereat between about 1.0 to 1.5 mm from the edge of said substrate;
  • a first metal layer deposited on said first interlevel dielectric having a circumferential recess thereat between about 2.5 to 3.1 mm from the edge of said substrate;
  • a second interlevel dielectric deposited on said first metal layer having a circumferential recess thereat between about 2.0 to 2.6 mm from the edge of said substrate;
  • a second metal layer deposited on said second interlevel dielectric layer having a circumferential recess thereat between about 1.5 to 2.0 mm from the edge of said substrate;
  • a third interlevel dielectric deposited on said second metal layer having a circumferential recess thereat between about 3.0 to 3.5 mm from the edge of said substrate;
  • a third metal layer deposited on said third interlevel dielectric layer having a circumferential recess thereat between about 2.5 to 3.1 mm from the edge of said substrate; and
  • a passivation layer deposited on said third metal layer.
2. The structure of claim 1, wherein said substrate is silicon.
3. The structure of claim 1, wherein said substrate contains semiconductor devices.
4. The structure of claim 1, wherein said first interlevel dielectric layer is BPTEOS.
5. The structure of claim 4, wherein said first BPTEOS layer has a thickness between about 9,000 to 10,000 â„«.
6. The structure of claim 1, wherein said first metal layer is aluminum-copper.
7. The structure of claim 6, wherein said first metal layer has a thickness between about 5,000 to 5,600 â„«.
8. The structure of claim 1, wherein said second interlevel dielectric layer is a sandwich dielectric structure.
9. The structure of claim 8, wherein said sandwich dielectric structure has a thickness between about 8,000 to 10,000 â„«.
10. The structure of claim 1, wherein said second metal layer is aluminum-copper.
11. The structure of claim 10, wherein said second metal layer has a thickness between about 5,000 to 6,000 â„«.
12. The structure of claim 1, wherein said third interlevel dielectric layer is SOG.
13. The structure of claim 12, wherein said third SOG layer has a thickness between about 8,000 to 10,000 â„«.
14. The structure of claim 1, wherein said third metal layer is aluminum-copper.
15. The structure of claim 14, wherein said third metal layer has a thickness between about 8,000 to 8,200 â„«.
16. The structure of claim 1, wherein said passivation layer is a photosensitive polyimide.
17. The structure of claim 16, wherein said polyimide has a thickness about 3.0 micrometers.

Wednesday 12 November 2014

Copper Piller

Cu-Piller 


Copper pillar bump(CPB) technology is to produce a bump on the surface of Flip chip package which has the electric and heat conductivity and the resistance to electrical migration. It’s different from the traditional solder bump. Each heat dissipation copper pillar is the same as the micro-solid heat pump. The heat dissipation bumping can integrate to a part of the standard flip chip package and is connected with the electric bumping (uses on power supply、grounding and signal). The technique provides the new heat dissipation function of the electronic component which can also integrate with transistor, resistor and capacitor to the circuit design.
This technique will extend the traditional solder bumping application and provides flip chip package component to initially cooling function. Its electric generate ability has copper pillar used the recycle energy. Before this technique, the solder bumping can only provide the mechanical heat dissipation function.
 

Features 

Good Heat dissipation
lower electrical resistance/inductivity
lower thermal resistance
better resistance to electrical migration
Offer the more fine pitch
Comply with RoHS specification - Cu post + SnAg cap
 

Application: 

High pin logic IC
Memory & Mobile Apparatus
LED Sub-mount
Automotive Electronic Component
Bio-Medical devices
 

Process Flow:





Tuesday 14 October 2014

Flip-chip and wire bonding

In the world of high-speed/high-performance package design, the primary packaging solution is flip chip in package (FCiP) technology. It is widely understood that flip chips offer a variety of benefits compared to traditional wire-bond packaging, including superior thermal and electrical performance, the highest I/O capability, substrate flexibility for varying performance requirements, well-established process equipment expertise, proven construction, and reduced form factors. Despite these benefits, flip chips have not been a cost-effective packaging solution.





The costs associated with flip chips stem from wafer fabrication vendors, substrate vendors, and assembly/packaging subcontractors. The increased costs are realized at every step of the process from repassivation and redistribution (RDL) at wafer fabrication, to the high-performance multilayer organic build-up substrates provided by the substrate vendor. With the added costs of assembly, the flip chip package becomes a cost-prohibitive option.

Recently, packaging and assembly houses have taken great steps toward providing cost-effective solutions by offering flip chip packaging options on a standard leadframe (FCSOL), quad flat pack no leads (QFN), and standard bis-maleimide triazine (BT) resin substrates. While there may still be costs upfront in the wafer fabrication process, assembly houses are using proven technologies and innovative processes to provide customers with better solutions.

It is the cost-effective, proven technologies and innovative processes that continue to interest customers and drive designers to maximize package performance. Designers must understand key electrical and thermal performance package challenges, and work to minimize the negative impacts. By maximizing the strengths of the technology, using standard package material sets, robust manufacturing, and assembly processes, the die-up, wire-bonded, plastic overmolded, BT laminate package technology is a viable solution for high-speed design applications.


Flip-chip assembly and wire bonding are the principal methods for interconnecting ICs. While each offers strong advantages in certain types of applications, packaging is continuing to evolve into a segmented marketplace, with several factors dictating the most appropriate means of interconnection.
 
  1. Cost, performance and form factor have become the key drivers in selecting between wire bonding and flip-chip bonding as the "preferred" IC interconnecting method.
  2. Applications such as cellular telecommunications and wearable portable consumer electronics often require the use of flip-chip packaging for its small form factor and, in some cases, high speed.
  3. In other cases, typically with I/Os in the range of 100-600, the existing infrastructure, flexibility and materials/substrate costs of wire bonding provide dominant advantages.
  4. Further segmentation is provided by the emergence of several intermediate hybrid interconnect alternatives, such as stud/ball bumping1, gold and aluminum ribbon wedge bonding, under-bump metalization (UBM) that can be both bumped and wire bonded, wafer-level packages (WLP) with and without underfill, Direct-Chip Attach (DCA) or CSP packaging. Wire-bonded CSPs take advantage of the existing infrastructure to produce packages with near-chip-size form factors2.
These alternatives currently are less widely used and will not be addressed in detail in this article


TECHNOLOGY CHOICES

 
INTERCONNECT
PERFORMANCE
FORM FACTOR
WIRE BOND
SIGNAL PROPAGATION
PACKAGING DENSITY
FLIP-CHIP
SIMULTANEOUS SWITCHING
PRODUCT
WAFER CSP
NOISE (SSN)
 
 
 
 
STUD BUMP
PARASITICS
 
 
POWER AND GROUND DISTRIBUTION
RELIABILITY
 

PROCESS ADVANTEGES

WIRE BOND
  1. FLEXIBILITY
  2. INFRASTRUCTURE
  3. COST
  4. RELIABILITY
FLIP-CHIP
  1. DEVICE SPEED
  2. POWER AND GROUND DISTRIBUTION
  3. I/O DENSITY WITH AREA ARRAY
  4. PACKAGE SIZE /FORM FACTOR
  5. LOW STRESS OVER ACTIVE AREA
  6. RELIABILIT


ASSEMBLY PROCESS COMPARISON ON ORGANIC SUBSTRATE

WIREBOND
  1. WAFER
  2. DICE
  3. DIE ATTACH
  4. CURE
  5. WIRE BONDING
  6. ENCAPSULATE
  7. BALL ATTACH
  8. MARK
  9. SYSTEM TEST
FLIP-CHIP
  1. WAFER
  2. WAFER BUMPING
  3. DICE
  4. PICK AND PLACE PLUS FLUX
  5. REFLOW
  6. UNDERFILL ENCAPSULATION
  7. BALL ATTACH
  8. MARK
  9. SYSTEM TEST




Advantages

In general, the flexibility, infrastructure and cost of wire bonding are its major advantages. Package size is smaller, and device speed is normally higher for flip-chip. System speeds with wire-bonded packages designed for high signal-propagation rates (e.g., RDRAM, BOC), however, remain competitive4. Flip-chip devices often have many more bumps than equivalent wire-bonded devices have bond pads.

Because the bumping cost/wafer is fixed (independent of how many bumps there are per wafer), there are electrical advantages to designing in additional bumps. As chip voltages drop and current requirements increase, it is advantageous to distribute power and ground directly to the core of the devices, with area array solder bumps to minimize voltage drop.

These low-inductance power and ground paths also minimize SSN (simultaneous switching noise) and ground bounce. On especially sensitive signal paths, additional power and ground bumps can be used to surround the sensitive I/O bump, shielding the bump from noise induced by neighboring circuitry.



The Differences

The two processes are substantially different from an automation perspective. Wire bonding is best characterized as a single-point-unit operation. Each bond is individually produced.

Die on their carrier or substrate are moved through a wire bonder. The machine's pattern recognition system identifies the die, transforms and corrects the taught locations for each bond, and individually moves to each location to produce an interconnection.

Flip-chip is a wafer-scale operation. Bumps are formed on an entire wafer, and the wafer is diced; individual die are picked, fluxed and placed on the substrate.

The flux must be tacky enough to hold the die in place for handling through reflow. The solder is reflowed above its melting point to form the interconnection. Underfill and encapsulation processes complete the assembly. At all times, the process handles entire wafers, die or substrates. It is never a single-point 

Thursday 9 October 2014

cadence help command



To access the product documentation in HTML and PDF, type 'cdnshelp'
at the system prompt.
For a list of available commands, type 'help'.
To view a man page for a command, type 'man '.
To view a man page for an error message, type 'man '.
For a list of all possible object types, type 'get_attribute -help'.
For a list of all available attributes by object type, type
'get_attribute * -help'.
For a list of all attributes for every object type, type
'get_attribute * * -help'
To list only writable attributes, substitute 'get_attribute' with
'set_attribute'.
To get a template script to run RTL Compiler, use the 'write_template'
command.
To get a template script to run Conformal based on the current RTL
Compiler session, use the 'write_do_lec' command.

Obsolete attributes in the current tool version.
To learn more, type 'get_attribute -help

Clock Uncertainty

You can model the expected uncertainty (skew) for a prelayout design with setup or hold and rise or fall uncertainty values.
  1. PrimeTime subtracts a setup uncertainty value from the data required time when it checks setup time (maximum paths).
  2. PrimeTime adds a hold uncertainty value to the data required time when it checks the hold time (minimum paths).
 
If you specify a single uncertainty value, PrimeTime uses it for both setup checks and hold checks.
 
You can specify the uncertainty or skew characteristics of clocks by using the set_clock_uncertainty command. The command specifies the amount of time variation in successive edges of a clock or between edges of different clocks. It captures the actual or predicted clock uncertainty.  
 
You can specify simple clock uncertainty or interclock uncertainty. Simple uncertainty is the variation in the generation of successive edges of a clock with respect to the exact, nominal times. You specify one or more objects, which can be clocks, ports, or pins. The uncertainty value applies to all capturing latches clocked by the specified clock or whose clock pins are in the fanout of the specified ports or pins.
 
Interclock uncertainty is more specific and flexible, supporting different uncertainties between  clock domains. It is the variation in skew between edges of different clocks.
You specify a “from” clock using the -from, -rise_from, or -fall_from option and a “to” clock the -to, -rise_to, or -fall_to option. The interclock uncertainty value applies to paths that start at the “from” clock and end at the “to” clock. Interclock uncertainty is relevant when the source and destination registers are clocked by different clocks.
You can define uncertainty similarly between two clock pins driven from the same clock, or you can define it as an interclock uncertainty between two registers with different clocks, as shown in Figure
 
 Example of Interclock Uncertainty
 
  
When performing a setup or hold check, PrimeTime adjusts the timing check according to the worst possible difference in clock edge times. For example, for a setup check, it subtracts the  uncertainty value from the data required time, thus requiring the data to arrive sooner by that amount, to account for a late launch and an early capture with the worst clock skew. 
 
When a path has both simple clock uncertainty and interclock uncertainty, the interclock uncertainty value is used, for example  
pt_shell> set_clock_uncertainty 5 [get_clocks CLKA]
 
pt_shell> set_clock_uncertainty 2 -from [get_clocks CLKB] \
 
-to [get_clocks CLKA]
 
When the path is from CLKB to CLKA, the interclock uncertainty value 2 is used.
 
The following commands specify interclock uncertainty for all possible interactions of clock
 
domains. If you have paths from CLKA to CLKB, and CLKB to CLKA, you must specify the
 
uncertainty for both directions, even if the value is the same. For example,
 
pt_shell> set_clock_uncertainty 2 -from [get_clocks CLKA] \
 
-to [get_clocks CLKB]
 
pt_shell> set_clock_uncertainty 2 -from [get_clocks CLKB] \
 
-to [get_clocks CLKA]
 
To set simple clock uncertainty (setup and hold) for all paths leading to endpoints clocked by  
U1/FF*/CP, enter
 
pt_shell> set_clock_uncertainty 0.45 [get_pins U1/FF*/CP]
 
To set a simple setup uncertainty of 0.21 and a hold uncertainty of 0.33 for all paths leading to endpoints clocked by CLK1, enter
 
pt_shell> set_clock_uncertainty -setup 0.21 [get_clocks CLK1]
 
pt_shell> set_clock_uncertainty -hold 0.33 [get_clocks CLK1]
 
To remove clock uncertainty information from clocks, ports, pins, or cells, or between specified clocks, use the remove_clock_uncertainty command removes uncertainty.