Macro Placement (Guide Lines)
Macro Placement (Guide Lines)
Macro Placement (Guide Lines)
*Standard cell: A standard cell is a group of transistors and interconnects structures that provides a
boolean logic function (e.g. AND, OR, XOR, XNOR, NOT) or a storage function (flipflops or latch).
Hard blockage:
Hard blockage specifies a region where all standard cells and buffers cannot be placed. It prevents the
placement tool from placing standard cells and buffers in this region.
Partial blockage:
The blockage factor for any blockage is 100% by default. So no cells can be placed in that region, but
the flexibility of blockages can be chosen by partial blockages.
Placement blockage:
Placement blockage prevent the placement tool from placing cells at specified regions. Placement
blockages are created at floor planning stage.
*Macros: Macros are intellectual properties that can be directly used in the design. These are need not
to be design. For example memories, processor core, PLL etc.
Routing blockage:
Routing blockages block routing resources on one or more layers. It can be created at any point in the
design.
Halo (keep-out-region):
Halo is the region around the boundary of fixed macro in the design in which no other macro or
standard cells can be placed. Halo allows placement of buffers and inverters in its area.
• 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.
• 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
• 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.
• JTAG CELLS:
• These are used to check the IO connectivity.
v
Latch-up pertains to a failure mechanism wherein a parasitic thyristor (such as a parasitic silicon
controlled rectifier, or SCR) is inadvertently created within a circuit, causing a high amount of current
to continuously flow through it once it is accidentally triggered or turned on. Depending on the circuits
involved, the amount of current flow produced by this mechanism can be large enough to result in
permanent destruction of the device due to electrical overstress (EOS)
NAND is a better gate for design than NOR because at the transistor level the mobility of electrons is
normally three times that of holes compared to NOR and thus the NAND is a faster gate.
Additionally, the gate-leakage in NAND structures is much lower. If you consider t_phl and t_plh
delays you will find that it is more symmetric in case of NAND ( the delay profile), but for NOR, one
delay is much higher than the other(obviously t_plh is higher since the higher resistance p mos's are in
series connection which again increases the resistance).
The minimum amount of noise that can be allowed on the input stage for which the output will not be
effected.
4)Explain sizing of the inverter?
In order to drive the desired load capacitance we have to increase the size (width) of the inverters to get
an optimized performance.
5) How do you size NMOS and PMOS transistors to increase the threshold voltage?
The minimum amount of noise that can be allowed on the input stage for which the output will not be
effected.
delay increases.
9)What are the limitations in increasing the power supply to reduce delay?
The delay can be reduced by increasing the power supply but if we do so the heating effect comes
because of excessive power, to compensate this we have to increase the die size which is not practical.
10)How does Resistance of the metal lines vary with increasing thickness and increasing length?
R = ( *l) / A.
11)For CMOS logic, give the various techniques you know to minimize power consumption?
Power dissipation=CV2f ,from this minimize the load capacitance, dc voltage and the operating
frequency.
12) What is Charge Sharing? Explain the Charge Sharing problem while sampling data from a
Bus?
In the serially connected NMOS logic the input capacitance of each gate shares the charge with the load
capacitance by which the logical levels drastically mismatched than that of the desired once. To
eliminate this load capacitance must be very high compared to the input capacitance of the gates
(approximately 10 times).
13)Why do we gradually increase the size of inverters in buffer design? Why not give the output
of a circuit to one large inverter?
Because it can not drive the output load straight away, so we gradually increase the size to get an
optimized performance.
14)What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you
avoid Latch Up?
Latch-up is a condition in which the parasitic components give rise to the Establishment of low
resistance conducting path between VDD and VSS with Disastrous results.
CV2
In general multiple MOS devices are made on a common substrate. As a result, the substrate voltage of
all devices is normally equal. However while connecting the devices serially this may result in an
increase in source-to-substrate voltage as we proceed vertically along the series chain (Vsb1=0, Vsb2
0).Which results Vth2>Vth1.
17) Why is the substrate in NMOS connected to Ground and in PMOS to VDD?
we try to reverse bias not the channel and the substrate but we try to maintain the drain,source junctions
reverse biased with respect to the substrate so that we dont loose our current into the substrate.
In MOSFET, current flow is either due to electrons(n-channel MOS) or due to holes(p-channel MOS) -
In BJT, we see current due to both the carriers.. electrons and holes. BJT is a current controlled device
and MOSFET is a voltage controlled device.
BJT has higher gain because it has higher transconductance.This is because the current in BJT is
exponentially dependent on input where as in MOSFET it is square law.
20)Why do we gradually increase the size of inverters in buffer design when trying to drive a high
capacitive load? Why not give the output of a circuit to one large inverter?
We cannot use a big inverter to drive a large output capacitance because, who will drive the big
inverter? The signal that has to drive the output cap will now see a larger gate capacitance of the BIG
inverter.So this results in slow raise or fall times .A unit inverter can drive approximately an inverter
thats 4 times bigger in size. So say we need to drive a cap of 64 unit inverter then we try to keep the
sizing like say 1,4,16,64 so that each inverter sees a same ratio of output to input cap. This is the prime
reason behind going for progressive sizing.
21)In CMOS technology, in digital design, why do we design the size of pmos to be higher than
the nmos.What determines the size of pmos wrt nmos. Though this is a simple question try to list
all the reasons possible?
In PMOS the carriers are holes whose mobility is less[ aprrox half ] than the electrons, the carriers in
NMOS. That means PMOS is slower than an NMOS. In CMOS technology, nmos helps in pulling
down the output to ground ann PMOS helps in pulling up the output to Vdd. If the sizes of PMOS and
NMOS are the same, then PMOS takes long time to charge up the output node. If we have a larger
PMOS than there will be more carriers to charge the node quickly and overcome the slow nature of
PMOS . Basically we do all this to get equal rise and fall times for the output node.
In Transmission Gate, PMOS and NMOS aid each other rather competing with each other. That's the
reason why we need not size them like in CMOS. In CMOS design we have NMOS and PMOS
competing which is the reason we try to size them proportional to their mobility.
23)All of us know how an inverter works. What happens when the PMOS and NMOS are
interchanged with one another in an inverter?
I have seen similar Qs in some of the discussions. If the source & drain also connected properly...it acts
as a buffer. But suppose input is logic 1 O/P will be degraded 1 Similarly degraded 0;
24)A good question on Layouts. Give 5 important Design techniques you would follow when
doing a Layout for Digital Circuits?
a)In digital design, decide the height of standard cells you want to layout.It depends upon how big your
transistors will be.Have reasonable width for VDD and GND metal paths.Maintaining uniform Height
for all the cell is very important since this will help you use place route tool easily and also incase you
want to do manual connection of all the blocks it saves on lot of area.
b)Use one metal in one direction only, This does not apply for metal 1. Say you are using metal 2 to do
horizontal connections, then use metal 3 for vertical connections, metal4 for horizontal, metal 5 vertical
etc...
c)Place as many substrate contact as possible in the empty spaces of the layout.
d)Do not use poly over long distances as it has huge resistances unless you have no other choice.
e)Use fingered transistors as and when you feel necessary.
f)Try maintaining symmetry in your design. Try to get the design in BIT Sliced manner.
Metastable state: A un-known state in between the two logical known states.This will happen if the O/P
cap is not allowed to charge/discharge fully to the required logical levels.
One of the cases is: If there is a setup time violation, metastability will occur,To avoid this, a series of
FFs is used (normally 2 or 3) which will remove the intermediate states.
26)Let A and B be two inputs of the NAND gate. Say signal A arrives at the NAND gate later than
signal B. To optimize delay of the two series NMOS inputs A and B which one would you place
near to the output?
The late coming signals are to be placed closer to the output node ie A should go to the nmos that is
closer to the output.