(Word To PDF Converter - Unregistered) : 1) Top of Form

Download as pdf or txt
Download as pdf or txt
You are on page 1of 83

( Word to PDF Converter - Unregistered )

http://www.Word-to-PDF-Converter.net
1) Top of Form

Getting through interviews is always a challenging task and requires thorough


preparation. It's true that first impressions tend to last. And at job interviews,
it is certainly a strong influence. Here are some things to take care of when
you walk into a company's office.
· Be polite to the person who shows you the waiting area. Ask them how
they're doing. Even a little gesture like this has the potential to work in
your favor.
· Never look (or be) impatient or bored while waiting. Sometimes,
interviewers deliberately keep you waiting to see how you respond.
Behave as if everyone walking past you is your interviewer (one of them
might be). Smile at people.
· Don't talk on your cell phone while waiting for the interviewer.
· Avoid eating or drinking anything while waiting.
· Greet your interviewer with a smile on your face and a firm handshake.
Don't crush his or her hand, though.
· Till the interviewer invites you to sit, remain standing. That's good
etiquette.
· Be sure to have everything you need handy. Having to scramble around
your briefcase looking for something will only make you look
disorganized.

Here is a list of probable questions that may appear in an interview related


to RTL, digital, VLSI and fpga skills.

1) Can a clb configured as ram?


YES.
The memory assignment is a clocked behavioral assignment, Reads from the
memory are asynchronous, And all the address lines are shared by the read and
write statements.

2) What is purpose of a constraint file what is its extension?


The UCF file is an ASCII file specifying constraints on the logical design. You
create this file and enter your constraints in the file with a text editor. You can also
use the Xilinx Constraints Editor to create constraints within a UCF(extention) file.
These constraints affect how the logical design is implemented in the target device.
You can use the file to override constraints specified during design entry.
3) Draw a rough diagram of how clock is routed through out FPGA?
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

4) What is FPGA you are currently using and some of main reasons for
choosing it?

5) How many global buffers are there in your current fpga, what is their
significance?

There are 8 of them in xc3s5000


An external clock source enters the FPGA using a Global Clock Input Buffer
(IBUFG), which directly accesses the global clock network or an Input Buffer
(IBUF). Clock signals within the FPGA drive a global clock net using a Global
Clock Multiplexer Buffer (BUFGMUX). The global clock net connects directly to
the CLKIN input.

6) What is frequency of operation and equivalent gate count of u r project?

7) Tell me some of timing constraints you have used?


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

8) Why is map-timing option used?

Timing-driven packing and placement is recommended to improve design


performance, timing, and packing for highly utilized designs.

9) What are different types of timing verifications?

Dynamic timing:
a. The design is simulated in full timing mode.
b. Not all possibilities tested as it is dependent on the input test vectors.
c. Simulations in full timing mode are slow and require a lot of memory.
d. Best method to check asynchronous interfaces or interfaces between different
timing domains.
Static timing:
a. The delays over all paths are added up.
b. All possibilities, including false paths, verified without the need for test vectors.
c. Much faster than simulations, hours as opposed to days.
d. Not good with asynchronous interfaces or interfaces between different timing
domains.

10) Compare PLL & DLL?

PLL:
PLLs have disadvantages that make their use in high-speed designs problematic,
particularly when both high performance and high reliability are required.
The PLL voltage-controlled oscillator (VCO) is the greatest source of problems.
Variations in temperature, supply voltage, and manufacturing process affect the
stability and operating performance of PLLs.

DLLs, however, are immune to these problems. A DLL in its simplest form inserts
a variable delay line between the external clock and the internal clock. The clock
tree distributes the clock to all registers and then back to the feedback pin of the
DLL.
The control circuit of the DLL adjusts the delays so that the rising edges of the
feedback clock align with the input clock. Once the edges of the clocks are aligned,
the DLL is locked, and both the input buffer delay and the clock skew are reduced
to zero.
Advantages:
· precision
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

· Stability
· power management
· noise sensitivity
· jitter performance.

11) Given two ASICs. One has setup violation and the other has hold
violation. How can they be made to work together without modifying the
design?

Slow the clock down on the one with setup violations..


And add redundant logic in the path where you have hold violations.

12) Suggest some ways to increase clock frequency?

· Check critical path and optimize it.


· Add more timing constraints (over constrain).
· Pipeline the architecture to the max possible extent keeping in mind latency req's.

13) What is the purpose of DRC?

DRC is used to check whether the particular schematic and corresponding layout
(especially the mask sets involved) cater to a pre-defined rule set depending on the
technology used to design. They are parameters set aside by the concerned
semiconductor manufacturer with respect to how the masks should be placed,
connected, routed keeping in mind that variations in the fab process does not affect
normal functionality. It usually denotes the minimum allowable configuration.

14) What is LVs and why do we do that. What is the difference between LVS
and DRC?

The layout must be drawn according to certain strict design rules. DRC helps in
layout of the designs by checking if the layout is abide by those rules.
After the layout is complete we extract the netlist. LVS compares the netlist
extracted from the layout with the schematic to ensure that the layout is an
identical match to the cell schematic.

15) What is DFT?


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

DFT means design for testability. 'Design for Test or Testability' - a methodology
that ensures a design works properly after manufacturing, which later facilitates the
failure analysis and false product/piece detection. Other than the functional logic,
you need to add some DFT logic in your design. This will help you in testing the
chip for manufacturing defects after it come from fab. Scan, MBIST,LBIST,IDDQ
testing etc are all part of this. (this is a hot field and with lots of opportunities)

16) There are two major FPGA companies: Xilinx and Altera. Xilinx tends to
promote its hard processor cores and Altera tends to promote its soft
processor cores. What is the difference between a hard processor core and a
soft processor core?

A hard processor core is a pre-designed block that is embedded onto the device. In
the Xilinx Virtex II-Pro, some of the logic blocks have been removed, and the
space that was used for these logic blocks is used to implement a processor. The
Altera Nios, on the other hand, is a design that can be compiled to the normal
FPGA logic.

17) What is the significance of contamination delay in sequential circuit


timing?
Look at the figure below. tcd is the contamination delay.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

Contamination delay tells you if you meet the hold time of a flip flop. To
understand this better please look at the sequential circuit below.

The contamination delay of the data path in a sequential circuit is critical for the
hold time at the flip flop where it is exiting, in this case R2.
Mathematically, th(R2) <= tcd(R1) + tcd(CL2)
Contamination delay is also called tmin and Propagation delay is also called tmax
in many data sheets.

18) When are DFT and Formal verification used?

DFT:
· manufacturing defects like stuck at "0" or "1".
· Test for set of rules followed during the initial design stage.

Formal verification:
· Verification of the operation of the design, i.e., to see if the design follows spec.
· gate netlist == RTL ?
· using mathematics and statistical analysis to check for equivalence.

19) What is Synthesis?

Synthesis is the stage in the design flow which is concerned with translating your
Verilog code into gates - and that's putting it very simply! First of all, the Verilog
must be written in a particular way for the synthesis tool that you are using. Of
course, a synthesis tool doesn't actually produce gates - it will output a netlist of
the design that you have synthesized that represents the chip which can be
fabricated through an ASIC or FPGA vendor.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

20) We need to sample an input or output something at different rates, but I


need to vary the rate? What's a clean way to do this?

Many, many problems have this sort of variable rate requirement, yet we are
usually constrained with a constant clock frequency. One trick is to implement a
digital NCO (Numerically Controlled Oscillator). An NCO is actually very simple
and, while it is most naturally understood as hardware, it also can be constructed in
software. The NCO, quite simply, is an accumulator where you keep adding a fixed
value on every clock (e.g. at a constant clock frequency). When the NCO "wraps",
you sample your input or do your action. By adjusting the value added to the
accumulator each clock, you finely tune the AVERAGE frequency of that wrap
event. Now - you may have realized that the wrapping event may have lots of jitter
on it. True, but you may use the wrap to increment yet another counter where each
additional Divide-by-2 bit reduces this jitter. The DDS is a related technique. I
have two examples showing both an NCOs and a DDS in my File Archive. This is
tricky to grasp at first, but tremendously powerful once you have it in your bag of
tricks. NCOs also relate to digital PLLs, Timing Recovery, TDMA and other
"variable rate" phenomena

Digital Logic
Q. Give two ways of converting a two input NAND gate to an inverter.
Q. How to calculate depth of FIFO for rate change implementation?
Q. Simplify Boolean Functions F = xyz + x’y + xyz’
=xy(z+z’)+x’y
=xy+x’y
=y(x+x’)
=y
Q. Represent F = x + yz + xy in Sum of Product terms.
Q. Represent F = x + yz + xy in Product of Sum terms
Q. What do you mean by prime Implicants? What are Essential Terms? Why
it is required?
Interview Questions for jobs in FPGA/ASIC
Q. How do you differentiate between coding in C/C++ and at RTL (Register
Transfer Level) ?
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

Hint: In RTL logic is divided into sequential and combinational logic blocks.

Q. How do you differentiate between wires and registers in Verilog ?

Hint: Registers are used to store values and wires are used only for connections. D
Flip-flops in Digital design generally represents registers.

Q. How do you diff between blocking vs. non-blocking statements in Verilog ?


Blocking and nonblocking are two types of procedural assignments that are
used in Verilog coding. Both of these types are used in sequential statements.
Each of these blocking and nonblocking statements has different characteristics
and behaviors.
Blocking statements are represented by the symbol “=”.When a blocking
Statement is used; the statement is executed before the simulator moves
Forward to the next statement. In other words, a blocking statement is truly
Sequential.
Nonblocking statements are represented by the symbol “<=”. When a
nonblocking statement is used, that statement is scheduled and executed
together with the other nonblocking assignments.What this means is that
nonblocking allows several assignments to be scheduled and executed together,
resulting in nonblocking statements that do not have dependence on the order in
which the assignments
Do note that blocking and nonblocking statements refer only to Verilog
Code.VHDL code does not require concept of blocking and nonblocking.
Q. Sensitivity lists declaration in always block for sequential and
combinational logic?

Q. How to implement tri-state logic in verilog?


tri is a net type that is used to declare a net that has more than one
driver driving it
.
module example (inputA, inputB, inputC, outputA);
input inputA, inputB,inputC;
output outputA;
tri temp;
assign temp = inputA & ~inputB;
// Verilog source code
assign temp = inputA| ~inputB;
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

assign outputA = temp& inputC;


endmodule

Net type tri is synthesizable. However, it is not advisable to use net type tri
when writing synthesizable Verilog. If a node is to be driven by multiple
drivers, that node should be driven only by tristate drivers. The example shown
here using net type tri on node temp with multiple assign statements driving it
is not a good coding method in synthesis.

Q. Differentiate between tasks and functions in Verilog?


A task is defined in a module and is invoked when its name is called
in procedural code. A task has access to all the data objects (nets registers, integers,
real’s, etc.), so it does not need to have inputs and outputs, though it can have
inputs, outputs and inouts. Tasks may take more than zero time to complete; they
can have delays, wait statements, and event controls in them. Tasks can be used to
apply stimulus, simulate bus cycles, display contents of memories, and many other
things. Tasks contain a single statement. If you want a task to have more than a
single statement, use a begin-end block or a fork-join block. When a task has input,
output, or inout ports, the port list is not declared the same way as a module.
Instead, the port order is determined by the port declarations.
Functions differ from tasks in three important ways:
1. Functions must return a value.
2. Functions must take zero time.
3. Functions cannot contain delay or event controls.
A function returns a value by assigning a value back to a pseudo-variable
Represented by the function name.
When you declare a function, you must also declare the type and size of the
return Value. If the size of a function is not declared, it defaults to 1 bit. The size of
a Function is declared like any other range declaration, so the number of bits
returned can be from one to one million.

Q. How to implement Half-adder and full-adder in RTL?


The circuit for the addition of a single bit slice is known as a full adder
(FA), and its truth table is shown in Figure (a). The derivation of the equations for
si and ci+1 is shown in Figure (b). From these two equations, we get the circuit for
the full adder, as shown in Figure 4.1(c). Figure 4.1(d) shows the logic symbol for
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

it. The dataflow VHDL code for the full adder is shown in Figure 4.2.

si = xi'yi'ci + xi'yici' + xiyi'ci' + xiyici


= (xi'yi + xiyi')ci' + (xi'yi' + xiyi)ci
= (xi yi)ci' + (xi yi)'ci
= xi yi ci
ci+1 = xi'yici + xiyi'ci + xiyici' + xiyici
= xiyi(ci' + ci) + ci(xi'yi + xiyi')
= xiyi + ci(xi yi).

LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY fa IS PORT (
Ci, Xi, Yi: IN STD_LOGIC;
Ci1, Si: OUT STD_LOGIC);
END fa;
ARCHITECTURE Dataflow OF fa IS
BEGIN
Ci1 <= (Xi AND Yi) OR (Ci AND (Xi XOR Yi));
Si <= Xi XOR Yi XOR Ci;
END Dataflow;

Q. When the latches are inferred in RTL ?

Q. How do you differentiate between ‘==‘ and ‘= = =‘ logic?


Hint : ’===’ are not synthesizable and used in simulations.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

FPGA
Q. How to generate clocks on FPGA? (for virtexII)
The DCM (Digital Clock Manager’s) and global clock multiplexer buffers provide
a complete solution for designing high-speed clocking schemes. Up to 12 DCM
blocks are available. To generate de-skewed internal or external clocks, each DCM
can be used to eliminate clock distribution delay. The DCM also provides 90-,
180-, and 270-degree phase-shifted versions of its output clocks.
Virtex-II devices have 16 global clock MUX buffers, with up to eight clock nets
per quadrant. Each global clock MUX buffer can select one of the two clock inputs
and switch glitch-free from one clock to the other. Each DCM block is able to
drive up to four of the 16 global clock MUX buffers.

Q. Gated clocks in FPGA implementations?


Hint: No gated clocks in FPGA implementations.

Static Timing Analysis


Q. Setup time and hold time in digital circuits.
Setup time: This refers to the time between the availability of a stable data
input to a flip-flop device and the arrival of clock edge.
Hold time: This refers to the time that the data input must continue to be
stable after the arrival of the clock edge.

Q. False path in FPGA’s, Critical path, Negative slack, Jitter vs. clock skew .
SLACK: We requested a frequency of operation of 100.0 MHz for the
design, whereas the synthesis has yielded a faster clock of 147.5 MHz. The
requested and the reported frequencies are 10 ns and 6.781 ns respectively in terms
of time periods. The difference known as the slack time is 3.219 ns. The slack time
must be positive. Otherwise, the device cannot meet the requested frequency of
operation. Negative slack time implies, the device cannot meet 100 MHz
operation.
Skew refers to the rising edge (or the falling edge) of a clock arriving at
different times at register clock inputs in a synchronous sequential circuit that
ideally requires the same arrival time at various registers [7, 8]. Skew results
because of interconnection delays, whether the design is realized using TTL
circuits, processors, FPGAs, or ASICs. The figure shows the system clock, CLK,
distributed to a number of parts of a digital system with the arrival delayed by
small times. All the clock waveforms, CLOCK, CLOCK 1, …., CLOCK N should
be occurring at the same time ideally. Owing to different travel paths, clocks lag
behind the original clock. At low clock speeds, skew causes no problem. At high
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

frequency, close to the maximum clock frequency of operation for a circuit, skew
causes problems since data to be registered arrives late and hence not likely to be
stable. This results in missing the data. This may be minimized if not eliminated by
distributing the clock spread in a radial or star like fashion from the clock source
rather than connecting all the clock inputs of the registers in a cascade. FPGAs and
ASICs have this type of clock distributions, thereby achieving high speeds over
100 MHz. The sequential circuits must meet certain conditions such as hold time
and setup times, which is covered in the next section.
Q. Routing delay, Flop to out delay, Flop to flop delay, Pad to flop delay,
Board delay.

Q. Knowledge of Synthesis and layout constraints.

Behavioral
Q. How will you allocate your time between architecture, coding, and
verification?

Digital design resources :- Clock Domain Crossing Discussion with rtl &
testbench example.

Rate change(asynchronous) FIFO design and fifo depth calculation.

Half-adder & Full-adder circuit discussion with rtl & testbench

VHDL rtl - Synchronous flip-flop, latch, shim to improve timing and counter
example
FPGA interview questions & answers.
What is FPGA ?
A field-programmable gate array is a semiconductor device containing
programmable logic components called "logic blocks", and programmable
interconnects. Logic blocks can be programmed to perform the function of basic
logic gates such as AND, and XOR, or more complex combinational functions
such as decoders or mathematical functions. In most FPGAs, the logic blocks also
include memory elements, which may be simple flip-flops or more complete
blocks of memory. A hierarchy of programmable interconnects allows logic blocks
to be interconnected as needed by the system designer, somewhat like a one-chip
programmable breadboard. Logic blocks and interconnects can be programmed by
the customer or designer, after the FPGA is manufactured, to implement any
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

logical function—hence the name "field-programmable". FPGAs are usually


slower than their application-specific integrated circuit (ASIC) counterparts,
cannot handle as complex a design, and draw more power (for any given
semiconductor process). But their advantages include a shorter time to market,
ability to re-program in the field to fix bugs, and lower non-recurring engineering
costs. Vendors can sell cheaper, less flexible versions of their FPGAs which cannot
be modified after the design is committed. The designs are developed on regular
FPGAs and then migrated into a fixed version that more resembles an ASIC.

What logic is inferred when there are multiple assign statements


targeting the same wire?

It is illegal to specify multiple assign statements to the same wire in a synthesizable


code that will become an output port of the module. The synthesis tools give a
syntax error that a net is being driven by more than one source.
However, it is legal to drive a three-state wire by multiple assign statements.

What do conditional assignments get inferred into?

Conditionals in a continuous assignment are specified through the “?:” operator.


Conditionals get inferred into a multiplexor. For example, the following is the code
for a simple multiplexor

assign wire1 = (sel==1'b1) ? a : b;

What value is inferred when multiple procedural assignments made to the


same reg variable in an always block?

When there are multiple nonblocking assignments made to the same reg variable in
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

a sequential always block, then the last assignment is picked up for logic synthesis.
For example

always @ (posedge clk) begin


out <= in1^in2;
out <= in1 &in2;
out <= in1|in2;

In the example just shown, it is the OR logic that is the last assignment. Hence, the
logic synthesized was indeed the OR gate. Had the last assignment been the “&”
operator, it would have synthesized an AND gate.

1) What is minimum and maximum frequency of dcm in spartan-3 series


fpga?

Spartan series dcm’s have a minimum frequency of 24 MHZ and a maximum of


248

2)Tell me some of constraints you used and their purpose during your design?

There are lot of constraints and will vary for tool to tool ,I am listing some of
Xilinx constraints
a) Translate on and Translate off: the Verilog code between Translate on and
Translate off is ignored for synthesis.
b) CLOCK_SIGNAL: is a synthesis constraint. In the case where a clock signal
goes through combinatorial logic before being connected to the clock input of a
flip-flop, XST cannot identify what input pin or internal net is the real clock signal.
This constraint allows you to define the clock net.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

c) XOR_COLLAPSE: is synthesis constraint. It controls whether cascaded XORs


should be collapsed into a single XOR.
For more constraints detailed description refer to constraint guide.

3) Suppose for a piece of code equivalent gate count is 600 and for another
code equivalent gate count is 50,000 will the size of bitmap change?in other
words will size of bitmap change it gate count change?

The size of bitmap is irrespective of resource utilization, it is always the same,for


Spartan xc3s5000 it is 1.56MB and will never change.

4) What are different types of FPGA programming modes?what are you


currently using ?how to change from one to another?

Before powering on the FPGA, configuration data is stored externally in a PROM


or some other nonvolatile medium either on or off the board. After applying power,
the configuration data is written to the FPGA using any of five different modes:
Master Parallel, Slave Parallel, Master Serial, Slave Serial, and Boundary Scan
(JTAG). The Master and Slave Parallel modes
Mode selecting pins can be set to select the mode, refer data sheet for further
details.

5) Tell me some of features of FPGA you are currently using?

I am taking example of xc3s5000 to answering the question .

Very low cost, high-performance logic solution for


high-volume, consumer-oriented applications
- Densities as high as 74,880 logic cells
- Up to 784 I/O pins
- 622 Mb/s data transfer rate per I/O
- 18 single-ended signal standards
- 6 differential I/O standards including LVDS, RSDS
- Termination by Digitally Controlled Impedance
- Signal swing ranging from 1.14V to 3.45V
- Double Data Rate (DDR) support
• Logic resources
- Abundant logic cells with shift register capability
- Wide multiplexers
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

- Fast look-ahead carry logic


- Dedicated 18 x 18 multipliers
- Up to 1,872 Kbits of total block RAM
- Up to 520 Kbits of total distributed RAM
• Digital Clock Manager (up to four DCMs)
- Clock skew elimination
• Eight global clock lines and abundant routing

6) What is gate count of your project?

Well mine was 3.2 million, I don’t know yours.!

7) Can you list out some of synthesizable and non synthesizable constructs?

not synthesizable->>>>
initial
ignored for synthesis.
delays
ignored for synthesis.
events
not supported.
real
Real data type not supported.
time
Time data type not supported.
force and release
Force and release of data types not supported.
fork join
Use nonblocking assignments to get same effect.
user defined primitives
Only gate level primitives are supported.

synthesizable constructs->>
assign,for loop,Gate Level Primitives,repeat with constant value...

8)Can you explain what struck at zero means?

These stuck-at problems will appear in ASIC. Some times, the nodes will
permanently tie to 1 or 0 because of some fault. To avoid that, we need to provide
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

testability in RTL. If it is permanently 1 it is called stuck-at-1 If it is permanently 0


it is called stuck-at-0.

9) Can you draw general structure of fpga?

10) Difference between FPGA and CPLD?

FPGA:
a)SRAM based technology.
b)Segmented connection between elements.
c)Usually used for complex logic circuits.
d)Must be reprogrammed once the power is off.
e)Costly

CPLD:
a)Flash or EPROM based technology.
b)Continuous connection between elements.
c)Usually used for simpler or moderately complex logic circuits.
d)Need not be reprogrammed once the power is off.
e)Cheaper

11) What are dcm's?why they are used?

Digital clock manager (DCM) is a fully digital control system that


uses feedback to maintain clock signal characteristics with a
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

high degree of precision despite normal variations in operating


temperature and voltage.
That is clock output of DCM is stable over wide range of temperature and voltage ,
and also skew associated with DCM is minimal and all phases of input clock can be
obtained . The output of DCM coming form global buffer can handle more load.

12) FPGA design flow?

Also,Please refer to presentation section synthesis ppt on this site.

13)what is slice,clb,lut?

I am taking example of xc3s500 to answer this question

The Configurable Logic Blocks (CLBs) constitute the main logic resource for
implementing synchronous as well as combinatorial circuits.
CLB are configurable logic blocks and can be configured to combo,ram or rom
depending on coding style
CLB consist of 4 slices and each slice consist of two 4-input LUT (look up table)
F-LUT and G-LUT.

14) Explain the various MOSFET Capacitances & their significance?


The total load capacitance of an MOS gate is sum of:
1.gate capacitance 2.depletion capacitance 3.routing capacitance
15) Factors affecting Power Consumption on a chip?
There are 2 components that establish the amount of power dissipated in a
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

CMOS circuit. There are: 1)static dissipation-due to leakage current.


2)Dynamic dissipation-due to-
a.switching transient current
b. charging and discharging of load capacitances.

16) What happens when the gate oxide is very thin?


17) Give the various techniques you know to minimize power
consumption?
18) If not into production, how far did you follow the design and why
did not you see it into production?
19) Have you studied buses? What types?
20) Differences between functions and Procedures in VHDL?
The declaration of a function or a procedure provides a mechanism for handling
blocks used multiple times in a design. Functions and procedures can be declared in
the declarative part of an entity, in an architecture or in packages. The heading part
contains the parameters: input parameters for functions and input, output and inout
parameters for procedures. These parameters can be unconstrained. This means that
they are not constrained to a given bound. The content is similar to the
combinatorial process content.
Resolution functions are not supported except the one defined in the IEEE
std_logic_1164package.
21) Tell me how BJT works.
22) Give the expression for CMOS switching power dissipation?
23) What is body effect?

24) How does Resistance of the metal lines vary with increasing thickness and
increasing length?
25) What is short Channel effect?
Short channel effect: reducing the channel size so that operation speed of
Mosfet increases and more no of devices can be made in a small area.
it leads to punch through, hot ion effect etc

VLSI
1. Why does the present VLSI circuits use MOSFETs instead of BJTs?

Compared to BJTs, MOSFETs can be made very small as they occupy very
small silicon area on IC chip and are relatively simple in terms of
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

manufacturing. Moreover digital and memory ICs can be implemented with


circuits that use only MOSFETs i.e. no resistors, diodes, etc.

2. What are the various regions of operation of MOSFET? How are those
regions used?

MOSFET has three regions of operation: the cut-off region, the triode region,
and the saturation region.
The cut-off region and the triode region are used to operate as switch. The
saturation region is used to operate as amplifier.

3. What is threshold voltage?

The value of voltage between Gate and Source i.e. VGS at which a sufficient
number of mobile electrons accumulate in the channel region to form a
conducting channel is called threshold voltage (Vt is positive for NMOS and
negative for PMOS).

4. What does it mean "the channel is pinched off"?

For a MOSFET when VGS is greater than Vt, a channel is induced. As we


increase VDS current starts flowing from Drain to Source (triode region).
When we further increase VDS, till the voltage between gate and channel at
the drain end to become Vt, i.e. VGS - VDS = Vt, the channel depth at Drain
end decreases almost to zero, and the channel is said to be pinched off. This is
where a MOSFET enters saturation region.

5. Explain the three regions of operation of a MOSFET.

Cut-off region: When VGS < Vt, no channel is induced and the MOSFET will
be in cut-off region. No current flows.
Triode region: When VGS ≥ Vt, a channel will be induced and current starts
flowing if VDS > 0. MOSFET will be in triode region as long as VDS < VGS -
Vt.
Saturation region: When VGS ≥ Vt, and VDS ≥ VGS - Vt, the channel will be
in saturation mode, where the current value saturates. There will be little or
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

no effect on MOSFET when VDS is further increased.

6. What is channel-length modulation?

In practice, when VDS is further increased beyond saturation point, it does


has some effect on the characteristics of the MOSFET. When VDS is
increased the channel pinch-off point starts moving away from the Drain and
towards the Source. Due to which the effective channel length decreases, and
this phenomenon is called as Channel Length Modulation.

7. Explain depletion region.

When a positive voltage is applied across Gate, it causes the free holes
(positive charge) to be repelled from the region of substrate under the Gate
(the channel region). When these holes are pushed down the substrate they
leave behind a carrier-depletion region.

8. What is body effect?

Usually, in an integrated circuit there will be several MOSFETs and in order


to maintain cut-off condition for all MOSFETs the body substrate is
connected to the most negative power supply (in case of PMOS most positive
power supply). Which causes a reverse bias voltage between source and body
that effects the transistor operation, by widening the depletion region. The
widened depletion region will result in the reduction of channel depth. To
restore the channel depth to its normal depth the VGS has to be increased.
This is effectively seen as change in the threshold voltage - Vt. This effect,
which is caused by applying some voltage to body is known as body effect.

9. Give various factors on which threshold voltage depends.

As discussed in the above question, the Vt depends on the voltage connected to


the Body terminal. It also depends on the temperature, the magnitude of Vt
decreases by about 2mV for every 1oC rise in temperature.

10. Give the Cross-sectional diagram of the CMOS.


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

Digital Design Interview Questions


1. How do you convert a XOR gate into a buffer and a inverter (Use only one
XOR gate for each)?

2. Implement an 2-input AND gate using a 2x1 mux.

3. What is a multiplexer?

A multiplexer is a combinational circuit which selects one of many input


signals and directs to the only output.

4. What is a ring counter?

A ring counter is a type of counter composed of a circular shift register. The


output of the last shift register is fed to the input of the first register. For
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

example, in a 4-register counter, with initial register values of 1100, the


repeating pattern is: 1100, 0110, 0011, 1001, 1100, so on.

5. Compare and Contrast Synchronous and Asynchronous reset.

Synchronous reset logic will synthesize to smaller flip-flops, particularly if the


reset is gated with the logic generating the d-input. But in such a case, the
combinational logic gate count grows, so the overall gate count savings may
not be that significant. The clock works as a filter for small reset glitches;
however, if these glitches occur near the active clock edge, the Flip-flop could
go metastable. In some designs, the reset must be generated by a set of
internal conditions. A synchronous reset is recommended for these types of
designs because it will filter the logic equation glitches between clock.
Problem with synchronous resets is that the synthesis tool cannot easily
distinguish the reset signal from any other data signal. Synchronous resets
may need a pulse stretcher to guarantee a reset pulse width wide enough to
ensure reset is present during an active edge of the clock, if you have a gated
clock to save power, the clock may be disabled coincident with the assertion of
reset. Only an asynchronous reset will work in this situation, as the reset
might be removed prior to the resumption of the clock. Designs that are
pushing the limit for data path timing, can not afford to have added gates and
additional net delays in the data path due to logic inserted to handle
synchronous resets.

Asynchronous reset: The major problem with asynchronous resets is the reset
release, also called reset removal. Using an asynchronous reset, the designer is
guaranteed not to have the reset added to the data path. Another advantage
favoring asynchronous resets is that the circuit can be reset with or without a
clock present. Ensure that the release of the reset can occur within one clock
period else if the release of the reset occurred on or near a clock edge then
flip-flops may go into metastable state.

6. What is a Johnson counter?

Johnson counter connects the complement of the output of the last shift
register to its input and circulates a stream of ones followed by zeros around
the ring. For example, in a 4-register counter, the repeating pattern is: 0000,
1000, 1100, 1110, 1111, 0111, 0011, 0001, so on.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

7. An assembly line has 3 fail safe sensors and one emergency shutdown
switch.The line should keep moving unless any of the following conditions
arise:
(1) If the emergency switch is pressed
(2) If the senor1 and sensor2 are activated at the same time.
(3) If sensor 2 and sensor3 are activated at the same time.
(4) If all the sensors are activated at the same time
Suppose a combinational circuit for above case is to be implemented only with
NAND Gates. How many minimum number of 2 input NAND gates are
required?

Solve it out!

8. In a 4-bit Johnson counter How many unused states are present?

4-bit Johnson counter: 0000, 1000, 1100, 1110, 1111, 0111, 0011, 0001, 0000.
8 unused states are present.

9. Design a 3 input NAND gate using minimum number of 2 input NAND


gates.

10. How can you convert a JK flip-flop to a D flip-flop?

Connect the inverted J input to K input.

11. What are the differences between a flip-flop and a latch?


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

Flip-flops are edge-sensitive devices where as latches are level sensitive


devices.
Flip-flops are immune to glitches where are latches are sensitive to glitches.
Latches require less number of gates (and hence less power) than flip-flops.
Latches are faster than flip-flops.

12. What is the difference between Mealy and Moore FSM?

Mealy FSM uses only input actions, i.e. output depends on input and state.
The use of a Mealy FSM leads often to a reduction of the number of states.
Moore FSM uses only entry actions, i.e. output depends only on the state. The
advantage of the Moore model is a simplification of the behavior.

13. What are various types of state encoding techniques? Explain them.

One-Hot encoding: Each state is represented by a bit flip-flop). If there are


four states then it requires four bits (four flip-flops) to represent the current
state. The valid state values are 1000, 0100, 0010, and 0001. If the value is
0100, then it means second state is the current state.

One-Cold encoding: Same as one-hot encoding except that '0' is the valid
value. If there are four states then it requires four bits (four flip-flops) to
represent the current state. The valid state values are 0111, 1011, 1101, and
1110.

Binary encoding: Each state is represented by a binary code. A FSM having '2
power N' states requires only N flip-flops.

Gray encoding: Each state is represented by a Gray code. A FSM having '2
power N' states requires only N flip-flops.

14. Define Clock Skew , Negative Clock Skew, Positive Clock Skew.

Clock skew is a phenomenon in synchronous circuits in which the clock signal


(sent from the clock circuit) arrives at different components at different times.
This can be caused by many different things, such as wire-interconnect length,
temperature variations, variation in intermediate devices, capacitive coupling,
material imperfections, and differences in input capacitance on the clock
inputs of devices using the clock.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

There are two types of clock skew: negative skew and positive skew. Positive
skew occurs when the clock reaches the receiving register later than it reaches
the register sending data to the receiving register. Negative skew is the
opposite: the receiving register gets the clock earlier than the sending register.

15. Give the transistor level circuit of a CMOS NAND gate.

16. Design a 4-bit comparator circuit.

17. Design a Transmission Gate based XOR. Now, how do you convert it to
XNOR (without inverting the output)?

18. Define Metastability.

If there are setup and hold time violations in any sequential circuit, it enters a
state where its output is unpredictable, this state is known as metastable state
or quasi stable state, at the end of metastable state, the flip-flop settles down
to either logic high or logic low. This whole process is known as metastability.

19. Compare and contrast between 1's complement and 2's complement
notation.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

The only advantage of 1's complement is that it can be calculated easily, just
by changing 0's into 1's and 1's into 0's. The 2's complement is calculated in
two ways, (i) add 1 to the 1's complement of the number, and (ii) leave all the
leading 0s in the least significant positions and keep first 1 unchanged, and
then change 0's into 1's and 1's into 0's.

The advantages of 2's complement over 1's complement are:


(i) For subtraction with complements, 2's complement requires only one
addition operation, where as for 1's complement requires two addition
operations if there is an end carry.
(ii) 1's complement has two arithmetic zeros, all 0's and all 1's.

20. Give the transistor level circuit of CMOS, nMOS, pMOS, and TTL
inverter gate.

21. What are set up time and hold time constraints?

Set up time is the amount of time before the clock edge that the input signal
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

needs to be stable to guarantee it is accepted properly on the clock edge.


Hold time is the amount of time after the clock edge that same input signal has
to be held before changing it to make sure it is sensed properly at the clock
edge.
Whenever there are setup and hold time violations in any flip-flop, it enters a
state where its output is unpredictable, which is known as as metastable state
or quasi stable state. At the end of metastable state, the flip-flop settles down
to either logic high or logic low. This whole process is known as metastability.

22. Give a circuit to divide frequency of clock cycle by two.

23. Design a divide-by-3 sequential circuit with 50% duty circle.

24. Explain different types of adder circuits.

25. Give two ways of converting a two input NAND gate to an inverter.

26. Draw a Transmission Gate-based D-Latch.

27. Design a FSM which detects the sequence 10101 from a serial line without
overlapping.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

28. Design a FSM which detects the sequence 10101 from a serial line with
overlapping.

29. Give the design of 8x1 multiplexer using 2x1 multiplexers.

30. Design a counter which counts from 1 to 10 ( Resets to 1, after 10 ).

31. Design 2 input AND, OR, and EXOR gates using 2 input NAND gate.

32. Design a circuit which doubles the frequency of a given input clock signal.

33. Implement a D-latch using 2x1 multiplexer(s).


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

34. Give the excitation table of a JK flip-flop.

35. Give the Binary, Hexadecimal, BCD, and Excess-3 code for decimal 14.

14:
Binary: 1110
Hexadecimal: E
BCD: 0001 0100
Excess-3: 10001

36. What is race condition?

37. Give 1's and 2's complement of 19.

19: 10011
1's complement: 01100
2's complement: 01101

38. Design a 3:6 decoder.

39. If A*B=C and C*A=B then, what is the Boolean operator * ?

* is Exclusive-OR.

40. Design a 3 bit Gray Counter.


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

41. Expand the following: PLA, PAL, CPLD, FPGA.


PLA-programmable logic array
PAL-programmable array logic
CPLD-complex programmable logic device
FPGA-field programmable gate array.
PLA - Programmable Logic Array
PAL - Programmable Array Logic
CPLD - Complex Programmable Logic Device
FPGA - Field-Programmable Gate Array

42. Implement the functions: X = A'BC + ABC + A'B'C' and Y = ABC + AB'C
using a PLA.

43. What are PLA and PAL? Give the differences between them.

Programmable Logic Array is a programmable device used to implement


combinational logic circuits. The PLA has a set of programmable AND planes,
which link to a set of programmable OR planes, which can then be
conditionally complemented to produce an output.
PAL is programmable array logic, like PLA, it also has a wide, programmable
AND plane. Unlike a PLA, the OR plane is fixed, limiting the number of terms
that can be ORed together.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

Due to fixed OR plane PAL allows extra space, which is used for other basic
logic devices, such as multiplexers, exclusive-ORs, and latches. Most
importantly, clocked elements, typically flip-flops, could be included in PALs.
PALs are also extremely fast.

44. What is LUT?

LUT - Look-Up Table. An n-bit look-up table can be implemented with a


multiplexer whose select lines are the inputs of the LUT and whose inputs are
constants. An n-bit LUT can encode any n-input Boolean function by
modeling such functions as truth tables. This is an efficient way of encoding
Boolean logic functions, and LUTs with 4-6 bits of input are in fact the key
component of modern FPGAs.

45. What is the significance of FPGAs in modern day electronics?


(Applications of FPGA.)

· ASIC prototyping: Due to high cost of ASIC chips, the logic of the
application is first verified by dumping HDL code in a FPGA. This
helps for faster and cheaper testing. Once the logic is verified then they
are made into ASICs.
· Very useful in applications that can make use of the massive parallelism
offered by their architecture. Example: code breaking, in particular
brute-force attack, of cryptographic algorithms.
· FPGAs are sued for computational kernels such as FFT or Convolution
instead of a microprocessor.
· Applications include digital signal processing, software-defined radio,
aerospace and defense systems, medical imaging, computer vision,
speech recognition, cryptography, bio-informatics, computer hardware
emulation and a growing range of other areas.

46. What are the differences between CPLD and FPGA.

47. Compare and contrast FPGA and ASIC digital designing.

Click here.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

48. Give True or False.


(a) CPLD consumes less power per gate when compared to FPGA.
(b) CPLD has more complexity than FPGA
(c) FPGA design is slower than corresponding ASIC design.
(d) FPGA can be used to verify the design before making a ASIC.
(e) PALs have programmable OR plane.
(f) FPGA designs are cheaper than corresponding ASIC, irrespective of design
complexity.

(a) False
(b) False
(c) True
(d) True
(e) False
(f) False

49. Arrange the following in the increasing order of their complexity:


FPGA,PLA,CPLD,PAL.

Increasing order of complexity: PLA, PAL, CPLD, FPGA.

50. Give the FPGA digital design cycle.


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

51. What is DeMorgan's theorem?

For N variables, DeMorgan’s theorems are expressed in the following


formulas:
(ABC..N)' = A' + B' + C' + ... + N' -- The complement of the product is
equivalent to the sum of the complements.
(A + B + C + ... + N)' = A'B'C'...N' -- The complement of the sum is equivalent
to the product of the complements.
This relationship so induced is called DeMorgan's duality.

52. F'(A, B, C, D) = C'D + ABC' + ABCD + D. Express F in Product of Sum


form.

Complementing both sides and applying DeMorgan's Theorem:


F(A, B, C, D) = (C + D')(A' + B' + C)(A' + B' + C' + D')(D')

53. How many squares/cells will be present in the k-map of F(A, B, C)?

F(A, B, C) has three variables/inputs.


Therefore, number of squares/cells in k-map of F = 2(Number of variables) =
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

23 = 8.

54. Simplify F(A, B, C, D) = S ( 0, 1, 4, 5, 7, 8, 9, 12, 13)

The four variable k-map of the given expression is:

The grouping is also shown in the diagram. Hence we get,


F(A, B, C, D) = C' + A'BD

55. Simplify F(A, B, C) = S (0, 2, 4, 5, 6) into Product of Sums.

The three variable k-map of the given expression is:

The 0's are grouped to get the F'.


F' = A'C + BC

Complementing both sides and using DeMorgan's theorem we get F,


F = (A + C')(B' + C')

56. The simplified expression obtained by using k-map method is unique. True
or False. Explain your .

False. The simplest form obtained is not necessarily unique as grouping can be
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

made in different ways.

57. Give the characteristic tables of RS, JK, D and T flip-flops.

RS flip-flop.
S R Q(t+1)
0 0 Q(t)
01 0
10 1
11 ?

JK flip-flop
J K Q(t+1)
0 0 Q(t)
01 0
10 1
1 1 Q'(t)

D flip-flop
D Q(t+1)
0 0
1 1

T flip-flop
T Q(t+1)
0 Q(t)
1 Q'(t)

58. Give excitation tables of RS, JK, D and T flip-flops.

RS flip-flop.
Q(t) Q(t+1) S R
0 0 0 X
0 1 1 0
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

1 0 0 1
1 1 X0

JK flip-flop
Q(t) Q(t+1) J K
0 0 0 X
0 1 1 X
1 0 X1
1 1 X0

D flip-flop
Q(t) Q(t+1) D
0 0 0
0 1 1
1 0 0
1 1 1

T flip-flop
Q(t) Q(t+1) T
0 0 0
0 1 1
1 0 1
1 1 0

59. Design a BCD counter with JK flip-flops

60. Design a counter with the following binary sequence 0, 1, 9, 3, 2, 8, 4 and


repeat. Use T flip-flops.

Digital Design Interview Questions - 6


1. What is DeMorgan's theorem?

For N variables, DeMorgan’s theorems are expressed in the following


formulas:
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

(ABC..N)' = A' + B' + C' + ... + N' -- The complement of the product is
equivalent to the sum of the complements.
(A + B + C + ... + N)' = A'B'C'...N' -- The complement of the sum is equivalent
to the product of the complements.
This relationship so induced is called DeMorgan's duality.

2. F'(A, B, C, D) = C'D + ABC' + ABCD + D. Express F in Product of Sum


form.

Complementing both sides and applying DeMorgan's Theorem:


F(A, B, C, D) = (C + D')(A' + B' + C)(A' + B' + C' + D')(D')

3. How many squares/cells will be present in the k-map of F(A, B, C)?

F(A, B, C) has three variables/inputs.


Therefore, number of squares/cells in k-map of F = 2(Number of variables) =
23 = 8.

4. Simplify F(A, B, C, D) = Σ ( 0, 1, 4, 5, 7, 8, 9, 12, 13)

The four variable k-map of the given expression is:

The grouping is also shown in the diagram. Hence we get,


F(A, B, C, D) = C' + A'BD

5. Simplify F(A, B, C) = Σ (0, 2, 4, 5, 6) into Product of Sums.

The three variable k-map of the given expression is:


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

The 0's are grouped to get the F'.


F' = A'C + BC

Complementing both sides and using DeMorgan's theorem we get F,


F = (A + C')(B' + C')

6. The simplified expression obtained by using k-map method is unique. True


or False. Explain your .

False. The simplest form obtained is not necessarily unique as grouping can be
made in different ways.

7. Give the characteristic tables of RS, JK, D and T flip-flops.

S R Q(t+1)
0 0 Q(t)
01 0
10 1
11 ?

JK flip-flop
J K Q(t+1)
0 0 Q(t)
01 0
10 1
1 1 Q'(t)

D flip-flop
D Q(t+1)
0 0
1 1
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

T flip-flop
T Q(t+1)
0 Q(t)
1 Q'(t)

8. Give excitation tables of RS, JK, D and T flip-flops.

Q(t) Q(t+1) S R
0 0 0 X
0 1 1 0
1 0 0 1
1 1 X0

JK flip-flop
Q(t) Q(t+1) J K
0 0 0 X
0 1 1 X
1 0 X1
1 1 X0

D flip-flop
Q(t) Q(t+1) D
0 0 0
0 1 1
1 0 0
1 1 1

T flip-flop
Q(t) Q(t+1) T
0 0 0
0 1 1
1 0 1
1 1 0
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

9. Design a BCD counter with JK flip-flops

10. Design a counter with the following binary sequence 0, 1, 9, 3, 2, 8, 4 and


repeat. Use T flip-flops.

Microprocessor Interview Questions - 5


1. Why are program counter and stack pointer 16-bit registers?

Program Counter (PC) and Stack Pointer (SP) are basically used to hold
16-bit memory addresses.PC stores the 16-bit memory address of the next
instruction to be fetched. SP stores address of stack's starting block.

2. What happens during DMA transfer?

During DMA transfers DMA controller takes control of the data transfer, and
the processor will carry out other tasks.

3. Define ISR.

An interrupt handler, also known as an interrupt service routine (ISR), is a


callback subroutine in an operating system or device driver whose execution is
triggered by the reception of an interrupt. Whenever there is an interrupt the
processor jumps to ISR and executes it.

4. Define PSW.

The Program Status Word (PSW) is a register which contains information


about the current program status used by the operating system and the
underlying hardware. The PSW includes the instruction address, condition
code, and other fields. In general, the PSW is used to control instruction
sequencing and to hold and indicate the status of the system in relation to the
program currently being executed. The active or controlling PSW is called the
current PSW. By storing the current PSW during an interruption, the status
of the CPU can be preserved for subsequent inspection. By loading a new
PSW or part of a PSW, the state of the CPU can be initialized or changed.

5. What are the execution modes available in x86 processors?


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

* Real mode (16-bit)


* Protected mode (16-bit and 32-bit)
* Virtual 8086 mode (16-bit)
* Unreal mode (32-bit)
* System Management Mode (16-bit)
* Long mode (64-bit)

6. What is meant real mode?

Real mode is an execution/operating mode of 80286 and later x86-compatible


CPUs. Real mode is characterized by a 20 bit segmented memory address
space, where a maximum of 1 MB of memory can be addressed, direct
software access to BIOS routines and peripheral hardware, and no concept of
memory protection or multitasking at the hardware level. All x86 CPUs in the
80286 series and later start in real mode at power-on (earlier CPUs had only
one operational mode, which is equivalent to real mode in later chips).

7. What is protected mode?

Protected mode allows system software to utilize features such as virtual


memory, paging, safe multi-tasking, and other features designed to increase
an operating system's control over application software.
When a processor that supports x86 protected mode is powered on, it begins
executing instructions in real mode, in order to maintain backwards
compatibility with earlier x86 processors. Protected mode may only be entered
after the system software sets up several descriptor tables and enables the
Protection Enable (PE) bit in the Control Register 0.

8. What is virtual 8086 mode?

Virtual real mode or VM86, allows the execution of real mode applications
that are incapable of running directly in protected mode. It uses a
segmentation scheme identical to that of real mode, and also uses 21-bit
addressing - resulting in linear addressing - so it is subject to paging.

9. What is unreal mode?

Unreal mode, also known as big real mode, huge real mode, or flat real mode,
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

is a variant of real mode. one or more data segment registers will be loaded
with 32-bit addresses and limits.

10. What is the difference between ISR and a function call?

ISR has no return value, where as a function call has the return value.
VLSI Interview Questions - 6
1. Why is NAND gate preferred over NOR gate for fabrication?

NAND is a better gate for design than NOR because at the transistor level the
mobility of electrons of NAND is normally three times that of holes compared
to NOR and thus the NAND is a faster gate. 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 PMOSs are in series connection which again increases the
resistance).

2. Which transistor has higher gain: BJT or MOSFET and why?

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.

3. Why PMOS and NMOS are sized equally in a transmission gates?

In transmission gate, PMOS and NMOS aid each other rather than competing
with each other. So they are sized similarly.

4. What is SCR?

A silicon-controlled rectifier (or semiconductor-controlled rectifier) is a


4-layer solid state device that controls current flow.
An SCR is a type of rectifier, controlled by a logic gate signal. It is a
4-layered, 3-terminal device. A p-type layer acts as an anode and an n-type
layer as a cathode; the p-type layer closer to the n-type(cathode) acts as a gate.

5. In CMOS digital design, why is the size of PMOS is generally higher than
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

that of the NMOS?

In PMOS the carriers are holes whose mobility is less than the electrons, the
carriers in NMOS. That means PMOS is slower than NMOS. In CMOS
technology, NMOS helps in pulling down the output to ground and 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. All this is done to get equal rise and fall
times for the output node.

6. What is slack?

The slack is the time delay difference from the expected delay to the actual
delay in a particular path. Slack can be positive or negative.

7. What is latch up?

A latchup is the inadvertent creation of a low-impedance path between the


power supply rails of an electronic component, triggering a parasitic
structure(The parasitic structure is usually equivalent to a thyristor or SCR),
which then acts as a short circuit, disrupting proper functioning of the part.
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 over stress - EOS.

8. Why is the size of inverters in buffer design gradually increased? Why not
give the output of a circuit to one large inverter?

Because circuit can not drive the high output load straight away, so the load is
gradually increased, by gradually increasing the size of inverters to get an
optimized performance.

9. What is Charge Sharing? Explain the Charge Sharing problem while


sampling data from a Bus?

The charge sharing problem occurs when the charge which is stored at the
output node in the phase is shared among the output or junction capacitances
of transistors which are in the evaluation phase. Charge sharing may degrade
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

the output voltage level or even cause erroneous output value.


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 gate,
which is generally 10 times.

10. What happens to delay if load capacitance is increased?

Delay increases.
Microprocessor Interview Questions - 4
1. What is the size of flag register of 8086 processor?

16-bit.

2. How many pin IC 8086 is?

40 pin dual in-line package.

3. What is the Maximum clock frequency of 8086?

5 Mhz is the Maximum clock frequency of 8086.

4. What is meant by instruction cycle?

An instruction cycle also known as fetch-and-execute cycle and


fetch-decode-execute cycle, is the time period during which a computer reads
and processes a machine language instruction from its memory.

5. What is Von Neumann architecture?

The Von Neumann architecture is a computer design model that uses a


processing unit and a single separate storage structure to hold both
instructions and data. The instruction/data is read from storage and executed
by the processing unit. It is also known as "stored-program computer".

6. What is the main difference between 8086 and 8085?


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

8086 is 16-bit microprocessor, where as 8085 is a 8-bit microprocessor.

7. What does EAX mean?

With the advent of the 32-bit 80386 processor, the 16-bit general-purpose
registers, base registers, index registers, instruction pointer, and FLAGS
register, but not the segment registers, were expanded to 32 bits. This is
represented by prefixing an "E" (for Extended) to the register opcodes, thus
the expanded AX became EAX.(Similarly BX became EBX, SI became ESI
and so on).

8. What type of instructions are available in instruction set of 8086?

· Data Instructions
· Arithmetic Instructions
· Logic Instructions
· Control Instructions
· Other - setting/clearing flag bits, stack operations, software interrupts,
etc.

9. How is Stack Pointer affected when a PUSH and POP operations are
performed?

When PUSH operation is performed the SP value is decreased by 2. When


POP operation is performed the SP value is increased by 2.

10. What are SIM and RIM instructions?

SIM - Set Interrupt Mask, is used to mask the hardware interrupts. RIM -
Read Interrupt Mask, is used to check whether the interrupt is Masked or not.
Microprocessor Interview Questions - 3
1. How many bits processor is 8086?

16-bit processor.

2. What are the sizes of data bus and address bus in 8086?
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

16-bit data bus, and 20-bit address bus.

3. What is the maximum addressable memory of 8086?

1MByte, because 20-bit address bus.

4. How are 32-bit addresses stored in 8086?

32-bit addresses are stored in "SEGMENT:OFFSET" format. SEGMENT


and OFFSET are 16-bit values.
ADDRESS = (SEGMENT* 16) + OFFSET

5. What are the 16-bit registers that are available in 8086?

The following are the 16-bit registers that are available in 8086.

8 general purpose registers:


AX - Accumulator Register
Bx - Base Register
CX - Count Register
DX - Data Register
SP - Stack Pointer
BP - Base Pointer
SI - Source Index
DI - Destination Index

4 segment registers:
CS - Code Segment
DS - Data Segment
SS - Stack Segment
ES - Extra Segment

Others:
IP - Instruction Pointer
Flag register

6. What are the different types of address modes available in 8086?

Implied - the data value/data address is implicitly associated with the


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

instruction.
Register - references the data in a register or in a register pair.
Immediate - the data is provided in the instruction.
Direct - the instruction operand specifies the memory address where data is
located.
Register indirect - instruction specifies a register containing an address, where
data is located. This addressing mode works with SI, DI, BX and BP registers.
Based - 8-bit or 16-bit instruction operand is added to the contents of a base
register (BX or BP), the resulting value is a pointer to location where data
resides.
Indexed - 8-bit or 16-bit instruction operand is added to the contents of an
index register (SI or DI), the resulting value is a pointer to location where data
resides.
Based Indexed - the contents of a base register (BX or BP) is added to the
contents of an index register (SI or DI), the resulting value is a pointer to
location where data resides.
Based Indexed with Offset - 8-bit or 16-bit instruction operand is added to the
contents of a base register (BX or BP) and index register (SI or DI), the
resulting value is a pointer to location where data resides.

7. How many flags are available in flag register? What are they?

9 flags are available, they are:


Overflow Flag
Direction Flag
Interrupt-enable Flag
Trace/Trap Flag
Sign Flag
Zero Flag
Auxiliary carry Flag
Parity Flag
Carry Flag

8. Explain the functioning of IP (instruction pointer).

IP always points to next instruction to be executed. Offset address is relative


to CS (which points at the segment containing the current program). The next
instruction address is obtained using IP.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

9. What are the various types of interrupts present in 8086?

INTR - maskable hardware interrupt


NMI - non-maskable interrupt
Software interrupts

10. How many segments are present in 8086? What are they?

4 segments are available in 8086. They are:


Code segment
Data segment
Extra segment
Stack segment
Digital Design Interview Questions - 5
1. Expand the following: PLA, PAL, CPLD, FPGA.

PLA - Programmable Logic Array


PAL - Programmable Array Logic
CPLD - Complex Programmable Logic Device
FPGA - Field-Programmable Gate Array

2. Implement the functions: X = A'BC + ABC + A'B'C' and Y = ABC + AB'C


using a PLA.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

3. What are PLA and PAL? Give the differences between them.

Programmable Logic Array is a programmable device used to implement


combinational logic circuits. The PLA has a set of programmable AND planes,
which link to a set of programmable OR planes, which can then be
conditionally complemented to produce an output.
PAL is programmable array logic, like PLA, it also has a wide,
programmable AND plane. Unlike a PLA, the OR plane is fixed, limiting the
number of terms that can be ORed together.
Due to fixed OR plane PAL allows extra space, which is used for other
basic logic devices, such as multiplexers, exclusive-ORs, and latches. Most
importantly, clocked elements, typically flip-flops, could be included in PALs.
PALs are also extremely fast.

4. What is LUT?

LUT - Look-Up Table. An n-bit look-up table can be implemented with a


multiplexer whose select lines are the inputs of the LUT and whose inputs are
constants. An n-bit LUT can encode any n-input Boolean function by
modeling such functions as truth tables. This is an efficient way of encoding
Boolean logic functions, and LUTs with 4-6 bits of input are in fact the key
component of modern FPGAs.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

5. What is the significance of FPGAs in modern day electronics? (Applications


of FPGA.)

· ASIC prototyping: Due to high cost of ASIC chips, the logic of the
application is first verified by dumping HDL code in a FPGA. This
helps for faster and cheaper testing. Once the logic is verified then they
are made into ASICs.
· Very useful in applications that can make use of the massive parallelism
offered by their architecture. Example: code breaking, in particular
brute-force attack, of cryptographic algorithms.
· FPGAs are sued for computational kernels such as FFT or Convolution
instead of a microprocessor.
· Applications include digital signal processing, software-defined radio,
aerospace and defense systems, medical imaging, computer vision,
speech recognition, cryptography, bio-informatics, computer hardware
emulation and a growing range of other areas.

6. What are the differences between CPLD and FPGA.

7. Compare and contrast FPGA and ASIC digital designing.

Click here.

8. Give True or False.


(a) CPLD consumes less power per gate when compared to FPGA.
(b) CPLD has more complexity than FPGA
(c) FPGA design is slower than corresponding ASIC design.
(d) FPGA can be used to verify the design before making a ASIC.
(e) PALs have programmable OR plane.
(f) FPGA designs are cheaper than corresponding ASIC, irrespective of design
complexity.

(a) False
(b) False
(c) True
(d) True
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

(e) False
(f) False

9. Arrange the following in the increasing order of their complexity:


FPGA,PLA,CPLD,PAL.

Increasing order of complexity: PLA, PAL, CPLD, FPGA.

10. Give the FPGA digital design cycle.

Digital Design Interview Questions - 4


1. Design 2 input AND, OR, and EXOR gates using 2 input NAND gate.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

2. Design a circuit which doubles the frequency of a given input clock signal.

3. Implement a D-latch using 2x1 multiplexer(s).

4. Give the excitation table of a JK flip-flop.

5. Give the Binary, Hexadecimal, BCD, and Excess-3 code for decimal 14.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

14:
Binary: 1110
Hexadecimal: E
BCD: 0001 0100
Excess-3: 10001

6. What is race condition?

7. Give 1's and 2's complement of 19.

19: 10011
1's complement: 01100
2's complement: 01101

8. Design a 3:6 decoder.

9. If A*B=C and C*A=B then, what is the Boolean operator * ?

* is Exclusive-OR.

10. Design a 3 bit Gray Counter.

Verilog Interview Questions - 3


1. How are blocking and non-blocking statements executed?

In a blocking statement, the RHS will be evaluated and the LHS will be then
updated, without interruption from any other Verilog statement. A blocking
statement "blocks" trailing statements.
In a non-blocking statement, RHS will be evaluated at the beginning of the
time step. Then the LHS will be updated at the end of the time step.

2. How do you model a synchronous and asynchronous reset in Verilog?

Synchronous reset:
always @(posedge clk)
begin
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

--
if(reset)
--
end

Asynchronous reset:
always @(posedge clk or posedge reset)
begin
--
if(reset)
--
end
The logic is very simple: In asynchronous reset, the always block will invoked
at positive edge of the reset signal, irrespective of clock's value.

3. What happens if there is connecting wires width mismatch?

For example there are two signals rhs[7:0], and lhs[15:0]. If we do rhs = lhs.
Then it is equivalent to rhs = lhs[7:0]. Assignment starts from LSBs of the
signals, and ends at the MSB of smaller width signal.

4. What are different options that can be used with $display statement in
Verilog?

%b or %B - Binary.
%c or %C - ASCII character.
%d or %D - Decimal.
%h or %H - Hexadecimal.
%m or %M - Hierarchical name.
%o or %O - Octal.
%s or %S - String.
%t or %T - Time.
%v or %V - Net signal strength.

5. Give the precedence order of the operators in Verilog.

You can find it here

6. Should we include all the inputs of a combinational circuit in the sensitivity


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

list? Give reason.

Yes, in a combinational circuit all the inputs should be included in the


sensitivity list other wise it will result in a synthesis error.

7. Give 10 commonly used Verilog keywords.

always, and, assign, begin, case, default, else, end, module, endmodule, reg,
net, etc.
Click here for the complete list.

8. Is it possible to optimize a Verilog code such that we can achieve low power
design?

Yes. Try to optimize the code such that the data transitions are reduced. Try
to make as small as possible, because less number of transistors means less
amount of power dissipation. Try to reduce the clock switching of the
filp-flops.

9. How does the following code work?


wire [3:0] a;
always @(*)
begin
case (1'b1)
a[0]: $display("Its a[0]");
a[1]: $display("Its a[1]");
a[2]: $display("Its a[2]");
a[3]: $display("Its a[3]");
default: $display("Its default")
endcase
end

The case checks a[0] to a[3], if any one of the is 1'b1, then the first appearing
1'b1 will be executed. suppose a[0] = 0, a[1] = 1, a[2] = 1, and a[3] = 0,then Its
a[1] will be displayed. If all are zeros then Its default, will be displayed.

10. Which is updated first: signal or variable?


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

Signal.
VLSI Interview Questions - 5
This sections contains interview questions related to LOW POWER VLSI
DESIGN.

1. What are the important aspects of VLSI optimization?

Power, Area, and Speed.

2. What are the sources of power dissipation?

+ Dynamic power consumption, due to logic transitions causing logic gates to


charge/discharge load capacitance.
+ Short-circuit current, this occurs when p-tree and n-tree shorted (for a
while) during logic transition.
+ Leakage current, this is a very important source of power dissipation in
nano technology, it increases with decrease in lambda value. It is caused due
to diode leakages around transistors and n-wells.

3. What is the need for power reduction?

Low power increases noise immunity, increases batter life, decreases cooling
and packaging costs.

4. Give some low power design techniques.

Voltage scaling, transistor resizing, pipelining and parallelism, power


management modes like standby modes, etc.

5. Give a disadvantage of voltage scaling technique for power reduction.

When voltage is scaled, designers tend to decrease threshold voltage to


maintain good noise margins. But decreasing threshold voltages increases
leakage currents exponentially.

6. Give an expression for switching power dissipation.

Pswitching = (1/2)CVdd2/f
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

Where
Pswitching = Switching power.
C = Load capacitance.
Vdd = Supply voltage.
f = Operating frequency.

7. Will glitches in a logic circuit cause power wastage?

Yes, because they cause unexpected transitions in logic gates.

8. What is the major source of power wastage in SRAM?

To read/write a word data, activates a word line for a row which causes all the
columns in the row to be active even though we need only a word data. This
consumes a lot power.

9. What is the major problem associated with caches w.r.t low power design?
Give techniques to overcome it.

Cache is a very important part of the integrated chips, they occupy most of
the space and hence contain lot of transistors. More transistors means more
leakage current. That is the major problem associated with caches w.r.t. low
power design. The following techniques are used to overcome it: Vdd-Gating,
Cache decay, Drowsy caches, etc.

10. Does software play any role in low power design?

Yes, one can redesign a software to reduce power consumptions. For example
modify the process algorithm which uses less number of computations.
Digital Design Interview Questions - 1
1. How do you convert a XOR gate into a buffer and a inverter (Use only one
XOR gate for each)?
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

2. Implement an 2-input AND gate using a 2x1 mux.

3. What is a multiplexer?

A multiplexer is a combinational circuit which selects one of many input


signals and directs to the only output.

4. What is a ring counter?

A ring counter is a type of counter composed of a circular shift register. The


output of the last shift register is fed to the input of the first register. For
example, in a 4-register counter, with initial register values of 1100, the
repeating pattern is: 1100, 0110, 0011, 1001, 1100, so on.

5. Compare and Contrast Synchronous and Asynchronous reset.

Synchronous reset logic will synthesize to smaller flip-flops, particularly if the


reset is gated with the logic generating the d-input. But in such a case, the
combinational logic gate count grows, so the overall gate count savings may
not be that significant. The clock works as a filter for small reset glitches;
however, if these glitches occur near the active clock edge, the Flip-flop could
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

go metastable. In some designs, the reset must be generated by a set of


internal conditions. A synchronous reset is recommended for these types of
designs because it will filter the logic equation glitches between clock.
Problem with synchronous resets is that the synthesis tool cannot easily
distinguish the reset signal from any other data signal. Synchronous resets
may need a pulse stretcher to guarantee a reset pulse width wide enough to
ensure reset is present during an active edge of the clock, if you have a gated
clock to save power, the clock may be disabled coincident with the assertion of
reset. Only an asynchronous reset will work in this situation, as the reset
might be removed prior to the resumption of the clock. Designs that are
pushing the limit for data path timing, can not afford to have added gates and
additional net delays in the data path due to logic inserted to handle
synchronous resets.

Asynchronous reset: The major problem with asynchronous resets is the reset
release, also called reset removal. Using an asynchronous reset, the designer is
guaranteed not to have the reset added to the data path. Another advantage
favoring asynchronous resets is that the circuit can be reset with or without a
clock present. Ensure that the release of the reset can occur within one clock
period else if the release of the reset occurred on or near a clock edge then
flip-flops may go into metastable state.

6. What is a Johnson counter?

Johnson counter connects the complement of the output of the last shift
register to its input and circulates a stream of ones followed by zeros around
the ring. For example, in a 4-register counter, the repeating pattern is: 0000,
1000, 1100, 1110, 1111, 0111, 0011, 0001, so on.

7. An assembly line has 3 fail safe sensors and one emergency shutdown
switch.The line should keep moving unless any of the following conditions
arise:
(1) If the emergency switch is pressed
(2) If the senor1 and sensor2 are activated at the same time.
(3) If sensor 2 and sensor3 are activated at the same time.
(4) If all the sensors are activated at the same time
Suppose a combinational circuit for above case is to be implemented only with
NAND Gates. How many minimum number of 2 input NAND gates are
required?
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

Solve it out!

8. In a 4-bit Johnson counter How many unused states are present?

4-bit Johnson counter: 0000, 1000, 1100, 1110, 1111, 0111, 0011, 0001, 0000.
8 unused states are present.

9. Design a 3 input NAND gate using minimum number of 2 input NAND


gates.

10. How can you convert a JK flip-flop to a D flip-flop?

Connect the inverted J input to K input.

VLSI Interview Questions - 4


1. Why is the number of gate inputs to CMOS gates (e.g. NAND or NOR
gates)usually limited to four?

To limit the height of the stack. The higher the stack the slower the gate will
be. In NAND and NOR gates the number of gates present in the stack is
usually same as the number of inputs plus one. So inputs are limited to four.

2. What are static and dynamic power dissipation w.r.t to CMOS gate?
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

3. Draw Vds-Ids curve for a MOSFET. Now, show how this curve changes (a)
with increasing Vgs (b) considering Channel Length Modulation.

4. Which is fastest among the following technologies: CMOS, BiCMOS, TTL,


ECL?

5. What is a transmission gate, and what is its typical use in VLSI?

6. Draw the cross section of nMOS or pMOS.

7. What should be done to the size of a pMOS transistor inorder to increase its
threshold voltage?

8. Explain the various MOSFET Capacitances and their significance.

9. On what factors does the resistance of metal depend on?

R = (p.l)/A
Where
R = Resistance of the metal.
p = Resistivity of the metal.
A = is the cross sectional area.
l = length of the metal.
With increase in length or decrease in cross sectional area resistance of the
metal wire increases. Resistivity(p) is the material property which depends on
temperature. In general, resistivity of metals increases with temperature.

10. Draw the layout a CMOS NAND gate.

VLSI Interview Questions - 3


1. Explain the voltage transfer characteristics of a CMOS Inverter.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

2. What should be done to the size of a nMOS transistor in order to increase


its threshold voltage?

3. What are the advantages of CMOS technology?

4. Give the expression for CMOS switching power dissipation.

Pswitching = (1/2)CVdd2/f
Where
Pswitching = Switching power.
C = Load capacitance.
Vdd = Supply voltage.
f = Operating frequency.

5. Why is static power dissipation very low in CMOS technology when


compared to others?

6. What is velocity saturation? What are its effects?

In semiconductors, when a strong enough electric field is applied, the carrier


velocity in the semiconductor reaches a maximum value. When this happens,
the semiconductor is said to be in a state of velocity saturation. As the applied
electric field increases from that point, the carrier velocity no longer
increases.
In sub-micron technology velocity saturation is an important design
characteristic. Velocity saturation greatly affects the voltage transfer
characteristics of a circuit. If a semiconductor device enters velocity
saturation, an increase in voltage applied to the device will not cause a linear
increase in current as would be expected by Ohm's law. Instead, the current
may only increase by a small amount, or not at all.

7. Why are pMOS transistor networks generally used to produce high signals,
while nMOS networks are used to product low signals?
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

This is because threshold voltage effect. A nMOS device cannot drive a full 1
or high and pMOS cant drive full '0' or low. The maximum voltage level in
nMOS and minimum voltage level in pMOS are limited by threshold voltage.
Both nMOS and pMOS do not give rail to rail swing.

8. Expand: DTL, RTL, ECL, TTL, CMOS, BiCMOS.

DTL: Diode-Transistor Logic.


RTL: Resistor-Transistor Logic.
ECL: Emitter Coupled Logic.
TTL: Transistor-Transistor Logic.
CMOS: Complementary Metal Oxide Semiconductor.
BiCMOS: Bipolar Complementary Metal Oxide Semiconductor.

9. On IC schematics, transistors are usually labeled with two, or sometimes


one number(s). What do each of those numbers mean?

The two numbers are the width and the length of the channel drawn in the
layout. If only one number is present then it is the width of the channel,
combined with a default length of the channel.

10. How do you calculate the delay in a CMOS circuit?

VLSI Interview Questions - 2


1. Explain the various MOSFET capacitance and give their significance.

2. What is the fundamental difference between a MOSFET and BJT ?

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.

3. What is meant by scaling in VLSI design? Describe various effects of


scaling.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

4. What is early effect?

5. Compare and contrast analog and digital design.

6. What are various types of the number notations? Explain them.

7. Why are most interrupts active low?

If you consider the transistor level of a module, active low means the capacitor
in the output terminal gets charged or discharged based on low to high and
high to low transition, respectively. when it goes from high to low it depends
on the pull down resistor that pulls it down and it is relatively easy for the
output capacitance to discharge rather than charging. Hence designers prefer
active low interrupt signals.

8. Which is better: synchronous reset or asynchronous reset signal?

Click here to learn more about synchronous reset and asynchronous reset.

Synchronous reset logic will synthesize to smaller flip-flops, particularly if the


reset is gated with the logic generating the d-input. But in such a case, the
combinational logic gate count grows, so the overall gate count savings may
not be that significant. The clock works as a filter for small reset glitches;
however, if these glitches occur near the active clock edge, the Flip-flop could
go metastable. In some designs, the reset must be generated by a set of
internal conditions. A synchronous reset is recommended for these types of
designs because it will filter the logic equation glitches between clock.
Problem with synchronous resets is that the synthesis tool cannot easily
distinguish the reset signal from any other data signal. Synchronous resets
may need a pulse stretcher to guarantee a reset pulse width wide enough to
ensure reset is present during an active edge of the clock, if you have a gated
clock to save power, the clock may be disabled coincident with the assertion of
reset. Only an asynchronous reset will work in this situation, as the reset
might be removed prior to the resumption of the clock. Designs that are
pushing the limit for data path timing, can not afford to have added gates and
additional net delays in the data path due to logic inserted to handle
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

synchronous resets.

Asynchronous reset: The major problem with asynchronous resets is the reset
release, also called reset removal. Using an asynchronous reset, the designer is
guaranteed not to have the reset added to the data path. Another advantage
favoring asynchronous resets is that the circuit can be reset with or without a
clock present. Ensure that the release of the reset can occur within one clock
period else if the release of the reset occurred on or near a clock edge then
flip-flops may go into metastable state.

9. What is meant by 90nm technology?

10. Compare enhancement and depletion mode devices.

Digital Design Interview Questions - 2


1. What are the differences between a flip-flop and a latch?

Flip-flops are edge-sensitive devices where as latches are level sensitive


devices.
Flip-flops are immune to glitches where are latches are sensitive to glitches.
Latches require less number of gates (and hence less power) than flip-flops.
Latches are faster than flip-flops.

2. What is the difference between Mealy and Moore FSM?

Mealy FSM uses only input actions, i.e. output depends on input and state.
The use of a Mealy FSM leads often to a reduction of the number of states.
Moore FSM uses only entry actions, i.e. output depends only on the state. The
advantage of the Moore model is a simplification of the behavior.

3. What are various types of state encoding techniques? Explain them.

One-Hot encoding: Each state is represented by a bit flip-flop). If there are


four states then it requires four bits (four flip-flops) to represent the current
state. The valid state values are 1000, 0100, 0010, and 0001. If the value is
0100, then it means second state is the current state.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

One-Cold encoding: Same as one-hot encoding except that '0' is the valid
value. If there are four states then it requires four bits (four flip-flops) to
represent the current state. The valid state values are 0111, 1011, 1101, and
1110.

Binary encoding: Each state is represented by a binary code. A FSM having '2
power N' states requires only N flip-flops.

Gray encoding: Each state is represented by a Gray code. A FSM having '2
power N' states requires only N flip-flops.

4. Define Clock Skew , Negative Clock Skew, Positive Clock Skew.

Clock skew is a phenomenon in synchronous circuits in which the clock signal


(sent from the clock circuit) arrives at different components at different times.
This can be caused by many different things, such as wire-interconnect length,
temperature variations, variation in intermediate devices, capacitive coupling,
material imperfections, and differences in input capacitance on the clock
inputs of devices using the clock.
There are two types of clock skew: negative skew and positive skew. Positive
skew occurs when the clock reaches the receiving register later than it reaches
the register sending data to the receiving register. Negative skew is the
opposite: the receiving register gets the clock earlier than the sending register.

5. Give the transistor level circuit of a CMOS NAND gate.


( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

6. Design a 4-bit comparator circuit.

7. Design a Transmission Gate based XOR. Now, how do you convert it to


XNOR (without inverting the output)?

8. Define Metastability.

If there are setup and hold time violations in any sequential circuit, it enters a
state where its output is unpredictable, this state is known as metastable state
or quasi stable state, at the end of metastable state, the flip-flop settles down
to either logic high or logic low. This whole process is known as metastability.

9. Compare and contrast between 1's complement and 2's complement


notation.

The only advantage of 1's complement is that it can be calculated easily, just
by changing 0's into 1's and 1's into 0's. The 2's complement is calculated in
two ways, (i) add 1 to the 1's complement of the number, and (ii) leave all the
leading 0s in the least significant positions and keep first 1 unchanged, and
then change 0's into 1's and 1's into 0's.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

The advantages of 2's complement over 1's complement are:


(i) For subtraction with complements, 2's complement requires only one
addition operation, where as for 1's complement requires two addition
operations if there is an end carry.
(ii) 1's complement has two arithmetic zeros, all 0's and all 1's.
10. Give the transistor level circuit of CMOS, nMOS, pMOS, and TTL
inverter gate.

VLSI and DIGITAL Questions


1) Explain why & how a MOSFET works
The metal oxide semiconductor field-effect transistor (MOSFET, MOS-FET,
or MOS FET) is a device used for amplifying or switching electronic signals, its
unidirectional device like, formed by four terminals GATE,SOURCE,DRAIN
AND SUSTRATE. GATE is the control signal, depends upon voltage applied at
gate terminal MOSFET work on three regions saturation, cutoff and active region.
active region is used for amplification, cut-off and saturation region used for
switching operation, mostly digital ckt design.
when a suitable polarity potential is applied at gate a conducting channel will
form. This conducting channel can be used for switching or amplification
2) Draw Vds-Ids curve for a MOSFET. Now, show how this curve changes (a)
with increasing Vgs (b) with increasing transistor width (c) considering
Channel Length Modulation
3) Explain the various MOSFET Capacitances & their significance
4) Draw a CMOS Inverter. Explain its transfer characteristics
5) Explain sizing of the inverter
6) How do you size NMOS and PMOS transistors to increase the threshold
voltage?
7) What is Noise Margin? Explain the procedure to determine Noise Margin
8) Give the expression for CMOS switching power dissipation
9) What is Body Effect?
10) Describe the various effects of scaling
11) Give the expression for calculating Delay in CMOS circuit
12) What happens to delay if you increase load capacitance?
13) What happens to delay if we include a resistance at the output of a
CMOS circuit?
14) What are the limitations in increasing the power supply to reduce
delay?
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

15) How does Resistance of the metal lines vary with increasing thickness
and increasing length?
16) You have three adjacent parallel metal lines. Two out of phase signals
pass through the outer two metal lines. Draw the waveforms in the center
metal line due to interference. Now, draw the signals if the signals in outer
metal lines are in phase with each other
17) What happens if we increase the number of contacts or via from one
metal layer to the next?
18) Draw a transistor level two input NAND gate. Explain its sizing (a)
considering Vth (b) for equal rise and fall times
19) Let A & 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 & B, which one would you place near the output?
20) Draw the stick diagram of a NOR gate. Optimize it
21) For CMOS logic, give the various techniques you know to minimize
power consumption
22) What is Charge Sharing? Explain the Charge Sharing problem while
sampling data from a Bus
23) Why do we gradually increase the size of inverters in buffer design?
Why not give the output of a circuit to one large inverter?
24) In the design of a large inverter, why do we prefer to connect small
transistors in parallel (thus increasing effective width) rather than lay out
one transistor with large width?
25) Given a layout, draw its transistor level circuit. (I was given a 3 input
AND gate and a 2 input Multiplexer. You can expect any simple 2 or 3
input gates)
26) Give the logic expression for an AOI gate. Draw its transistor level
equivalent. Draw its stick diagram
27) Why don’t we use just one NMOS or PMOS transistor as a transmission
gate?
28) For a NMOS transistor acting as a pass transistor, say the gate is
connected to VDD, give the output for a square pulse input going from 0 to
VDD
29) Draw a 6-T SRAM Cell and explain the Read and Write operations
30) Draw the Differential Sense Amplifier and explain its working. Any idea
how to size this circuit? (Consider Channel Length Modulation)
31) What happens if we use an Inverter instead of the Differential Sense
Amplifier?
32) Draw the SRAM Write Circuitry
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

33) Approximately, what were the sizes of your transistors in the SRAM
cell? How did you arrive at those sizes?
34) How does the size of PMOS Pull Up transistors (for bit & bit- lines)
affect SRAM’s performance?
35) What’s the critical path in a SRAM?
36) Draw the timing diagram for a SRAM Read. What happens if we delay
the enabling of Clock signal?
37) Give a big picture of the entire SRAM Layout showing your placements
of SRAM Cells, Row Decoders, Column Decoders, Read Circuit, Write
Circuit and Buffers
38) In a SRAM layout, which metal layers would you prefer for Word Lines
and Bit Lines? Why?
39) How can you model a SRAM at RTL Level?
40) What’s the difference between Testing & Verification?
41) For an AND-OR implementation of a two input Mux, how do you test
for Stuck-At-0 and Stuck-At-1 faults at the internal nodes? (You can
expect a circuit with some redundant logic)
42) What is Latch Up? Explain Latch Up with cross section of a CMOS
Inverter. How do you avoid Latch Up?

vlsi interview questions-12


1. Simplify the following Boolean functions by means of three-variable
K-maps. You must show the maps!
(a) F(X,Y,Z) = Σ m(1, 3, 6, 7)
(b) F(X,Y,Z) = Σ m(3, 5, 6, 7)
(c) F(A,B,C) = Σ m(0, 1, 2, 4, 6)
(d) F(A,B,C) = Σ m(0, 3, 4, 5, 7)
2. Simplify the following Boolean functions using K-maps. You must show the
maps!
(a) X’Z’ + YZ’ + XYZ
(b) A’B + B’C + A’B’C’
(c) A’B’ + AC’ + B’C + A’BC’
3. Simplify the following Boolean functions by means of four-variable
K-maps. You must show the maps!
(a) F(A,B,C,D) = Σ m(1, 5, 9, 12, 13, 15)
(b) F(W,X,Y,Z) = Σ m(1, 3, 9, 11, 12, 13, 14, 15)
(c) F(A,B,C,D) = Σ m(0, 2, 4, 5, 6, 7, 8, 10, 13, 15)
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

4. Simplify the following Boolean functions, including the don’t care


conditions. You must show the maps!
(a) F(A,B,C,D) = Σ m(0, 6, 8, 13, 14) + Σ d(2, 4, 10)
(b) F(A,B,C,D) = Σ m(1, 3, 5, 7, 9, 15) + Σ d(4, 6, 12, 13)
5. Draw the two-level NAND logic diagram for each of the following
expressions (convert to SOP first):
(a) W(X + Y + Z) + XYZ
(b) (A’B + CD’)E + BD’(A + B)
6. Implement the following function using only EXCLUSIVE-OR, AND, and
NOT gates:
(AB + A’B’)(CD’ + C’D) // Hint: Look for XOR, XNOR expressions
7. Using the verilog AND, OR and NOT primitives, write a complete verilog
module for the expression
F7 = X’Z’ + YZ’ + XYZ
which will require three AND instances, two NOT instances, and one OR
instance as well as the declaration of some intermediate wires. It may be easier
to sketch the SOP first, to visualize the interconnections.
8. Using only the verilog NAND and NOT primitives, write a complete verilog
module for the expression
F8 = A’B + B’C + A’B’C’
which will require four NAND instances and three NOT instances, as well as
the declaration of declaration of some intermediate wires.
VLSI

1)Explain why & how a MOSFET works

Ans: MOSFET is a metal oxide semiconductor Field effect transistor, its


unidirectional device like, formed by four terminals GATE,SOURCE,DRAIN
AND SUSTRATE. GATE is the control signal, depends upon voltage applied at
gate terminal MOSFET work on three regions saturation, cutoff and active region.
active region is used for amplification, cut-off and saturation region used for
switching operation, mostly digital ckt design
MOSFET
Two power MOSFETs in the surface-mount package D2PAK. Operating as
switches, each of these components can sustain a blocking voltage of 120 volts in
the OFF state, and can conduct a continuous current of 30 amperes in the ON state,
dissipating up to about 100 watts and controlling a load of over 2000 watts. A
matchstick is pictured for scale.
A cross section through an nMOSFET when the gate voltage VGS is below the
threshold for making a conductive channel; there is little or no conduction between
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

the terminals source and drain; the switch is off. When the gate is more positive, it
attracts electrons, inducing an n-type conductive channel in the substrate below the
oxide, which allows electrons to flow between the n-doped terminals; the switch is
on.
Simulation result for formation of inversion channel (electron density) and
attainment of threshold voltage (IV) in a nanowire MOSFET. Note that the
threshold voltage for this device lies around 0.45V.

The metal oxide semiconductor field-effect transistor (MOSFET, MOS-FET, or


MOS FET) is a device used for amplifying or switching electronic signals. The
basic principle of the device was first proposed by Julius Edgar Lilienfeld in 1925.
In MOSFETs, a voltage on the oxide-insulated gate electrode can induce a
conducting channel between the two other contacts called source and drain. The
channel can be of n-type or p-type (see article on semiconductor devices), and is
accordingly called an NMOSFET or a PMOSFET (also commonly nMOS, pMOS).
It is by far the most common transistor in both digital and analog circuits, though
the bipolar junction transistor was at one time much more common.

The 'metal' in the name is now often a misnomer because the previously metal gate
material is now often a layer of polysilicon (polycrystalline silicon). Aluminium
had been the gate material until the mid 1970s, when polysilicon became dominant,
due to its capability to form self-aligned gates. Metallic gates are regaining
popularity, since it is difficult to increase the speed of operation of transistors
without metal gates.

IGFET is a related term meaning insulated-gate field-effect transistor, and is


almost synonymous with MOSFET, though it can refer to FETs with a gate
insulator that is not oxide. Another synonym is MISFET for metal insulator
semiconductor FET.
Composition
Photomicrograph of two metal-gate MOSFETs in a test pattern. Probe pads for two
gates and three source/drain nodes are labeled.

Usually the semiconductor of choice is silicon, but some chip manufacturers, most
notably IBM, recently started using a compound (mixture) of silicon and
germanium (SiGe) in MOSFET channels. Unfortunately, many semiconductors
with better electrical properties than silicon, such as gallium arsenide, do not form
good semiconductor-to-insulator interfaces, thus are not suitable for MOSFETs.
Research continues on creating insulators with acceptable electrical characteristics
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

on other semiconductor material.

In order to overcome power consumption increase due to gate current leakage,


high-κ dielectric replaces silicon dioxide for the gate insulator, while metal gates
return by replacing polysilicon (see Intel announcement[1]).

The gate is separated from the channel by a thin insulating layer, traditionally of
silicon dioxide and later of silicon oxynitride. Some companies have started to
introduce a high-κ dielectric + metal gate combination in the 45 nanometer node.

When a voltage is applied between the gate and body terminals, the electric field
generated penetrates through the oxide and creates an alleged "inversion layer" or
"channel" at the semiconductor-insulator interface. The inversion channel is of the
same type, P-type or N-type, as the source and drain, thus it provides a channel
through which current can pass. Varying the voltage between the gate and body
modulates the conductivity of this layer and allows to control the current flow
between drain and source.
Circuit symbols

A variety of symbols are used for the MOSFET. The basic design is generally a
line for the channel with the source and drain leaving it at right angles and then
bending back at right angles into the same direction as the channel. Sometimes
three line segments are used for enhancement mode and a solid line for depletion
mode. Another line is drawn parallel to the channel for the gate.

The bulk connection, if shown, is shown connected to the back of the channel with
an arrow indicating PMOS or NMOS. Arrows always point from P to N, so an
NMOS (N-channel in P-well or P-substrate) has the arrow pointing in (from the
bulk to the channel). If the bulk is connected to the source (as is generally the case
with discrete devices) it is sometimes angled to meet up with the source leaving the
transistor. If the bulk is not shown (as is often the case in IC design as they are
generally common bulk) an inversion symbol is sometimes used to indicate PMOS,
alternatively an arrow on the source may be used in the same way as for bipolar
transistors (out for NMOS, in for PMOS).

Comparison of enhancement-mode and depletion-mode MOSFET symbols, along


with JFET symbols (drawn with source and drain ordered such that higher voltages
appear higher on the page than lower voltages):
JFET P-Channel Labelled.svg IGFET P-Ch Enh Labelled.svg IGFET P-Ch Enh
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

Labelled simplified.svg Mosfet P-Ch Sedra.svg IGFET P-Ch Dep Labelled.svg


P-channel
JFET N-Channel Labelled.svg IGFET N-Ch Enh Labelled.svg IGFET N-Ch Enh
Labelled simplified.svg Mosfet N-Ch Sedra.svg IGFET N-Ch Dep Labelled.svg
N-channel
JFET MOSFET enh MOSFET enh (no bulk) MOSFET dep

For the symbols in which the bulk, or body, terminal is shown, it is here shown
internally connected to the source. This is a typical configuration, but by no means
the only important configuration. In general, the MOSFET is a four-terminal
device, and in integrated circuits many of the MOSFETs share a body connection,
not necessarily connected to the source terminals of all the transistors.
MOSFET operation
Example application of an N-Channel MOSFET. When the switch is pushed the
LED lights up.[2]
Metal oxide semiconductor structure on P-type silicon
Metal oxide semiconductor structure

A traditional metal oxide semiconductor (MOS) structure is obtained by growing a


layer of silicon dioxide (SiO2) on top of a silicon substrate and depositing a layer
of metal or polycrystalline silicon (the latter is commonly used). As the silicon
dioxide is a dielectric material, its structure is equivalent to a planar capacitor, with
one of the electrodes replaced by a semiconductor.

When a voltage is applied across a MOS structure, it modifies the distribution of


charges in the semiconductor. If we consider a P-type semiconductor (with NA the
density of acceptors, p the density of holes; p = NA in neutral bulk), a positive
voltage, VGB, from gate to body (see figure) creates a depletion layer by forcing
the positively charged holes away from the gate-insulator/semiconductor interface,
leaving exposed a carrier-free region of immobile, negatively charged acceptor
ions (see doping (semiconductor)). If VGB is high enough, a high concentration of
negative charge carriers forms in an inversion layer located in a thin layer next to
the interface between the semiconductor and the insulator. Unlike the MOSFET,
where the inversion layer electrons are supplied rapidly from the source/drain
electrodes, in the MOS capacitor they are produced much more slowly by thermal
generation through carrier generation and recombination centers in the depletion
region. Conventionally, the gate voltage at which the volume density of electrons
in the inversion layer is the same as the volume density of holes in the body is
called the threshold voltage.
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

This structure with P-type body is the basis of the N-type MOSFET, which
requires the addition of an N-type source and drain regions.
MOSFET structure and channel formation
Cross section of an NMOS without channel formed: OFF state
Cross section of an NMOS with channel formed: ON state

A metal oxide semiconductor field-effect transistor (MOSFET) is based on the


modulation of charge concentration by a MOS capacitance between a body
electrode and a gate electrode located above the body and insulated from all other
device regions by a gate dielectric layer which in the case of a MOSFET is an
oxide, such as silicon dioxide. If dielectrics other than an oxide such as silicon
dioxide (often referred to as oxide) are employed the device may be referred to as a
metal insulator semiconductor FET (MISFET). Compared to the MOS capacitor,
the MOSFET includes two additional terminals (source and drain), each connected
to individual highly doped regions that are separated by the body region. These
regions can be either p or n type, but they must both be of the same type, and of
opposite type to the body region. The source and drain (unlike the body) are highly
doped as signified by a '+' sign after the type of doping.
If the MOSFET is an n-channel or nMOS FET, then the source
and drain are 'n+' regions and the body is a 'p' region. As described above, with
sufficient gate voltage, above a threshold voltage value, electrons from the source
(and possibly[citation needed] also the drain) enter the inversion layer or n-channel
at the interface between the p region and the oxide. This conducting channel
extends between the source and the drain, and current is conducted through it when
a voltage is applied between source and drain.
For gate voltages below the threshold value, the channel is lightly
populated, and only a very small subthreshold leakage current can flow between
the source and the drain.
If the MOSFET is a p-channel or pMOS FET, then the source and
drain are 'p+' regions and the body is a 'n' region. When a negative gate-source
voltage (positive source-gate) is applied, it creates a p-channel at the surface of the
n region, analogous to the n-channel case, but with opposite polarities of charges
and voltages. When a voltage less negative than the threshold value (a negative
voltage for p-channel) is applied between gate and source, the channel disappears
and only a very small subthreshold current can flow between the source and the
drain.

The source is so named because it is the source of the charge carriers (electrons for
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

n-channel, holes for p-channel) that flow through the channel; similarly, the drain
is where the charge carriers leave the channel.
The device may comprise a Silicon On Insulator (SOI) device in
which a Buried OXide (BOX) is formed below a thin semiconductor layer. If the
channel region between the gate dielectric and a Buried OXide (BOX) region is
very thin, the very thin channel region is referred to as an Ultra Thin Channel
(UTC) region with the source and drain regions formed on either side thereof in
and/or above the thin semiconductor layer. Alternatively, the device may comprise
a SEMiconductor On Insulator (SEMOI) device in which other semiconductors
than silicon are employed. Many alternative semicondutor materials may be
employed.
When the source and drain regions are formed above the channel in whole
or in part, they are referred to as Raised Source/Drain (RSD) regions.
2) In the design of a large inverter, why do we prefer to connect small
transistors in parallel (thus increasing effective width) rather than lay out one
transistor with large width?

while drawing the layout of cell we will have limitation of height of std
cell. As we go for bigger (hih drine strenth) inverters ,its very dificult to draw the
layout with given std cell hight.then we go for parallel connection of small
transistors.

if we design inverter with lage width gate capasitance increases , thus input
capacitance of inverter increases.
if we use parellel connection of small transistors ,all gate capasitances will be in
parellel then resultant capasitance decreases.
There are two reasons
1. Small transistors share active areas, so total diffusion capacitance seen is less
2. Signal EM violation are bound to occur with single large transisor, with small
transistors there parallel paths
3) For an AND-OR implementation of a two input Mux, how do you test for
Stuck-At-0 and Stuck-At-1 faults at the internal nodes?

4) Describe the working of a MOSFET.


5) What is the sizing of an inverter?
6) What are the different capacitances in a MOSFET. What is their
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

significance?
7) Draw the circuit design of a CMOS Inverter. Describe the transfer
characteristics of a CMOS Inverter.
8) What do you know about the Vds-Ids curve. Explain the variation of this
curve (a) with increase in vgs (b) with increase in transistor width. What do
you know about the channel length modulation?
9) Why do we use small transistors in parallel in case of a big inverter.
10) Explain the method of sizing NMOS and PMOS transistors. How can we
increase their threshold voltage?
11) What do you understand by Noise margin?
12) How can you find the noise margin?
13) What do you understand by the CMOS switching power dissipation?
14) What is meant by Body effect?
Usually, in an integrated circuit there will be several MOSFETs and in order
to maintain cut-off condition for all MOSFETs the body substrate is connected to
the most negative power supply (in case of PMOS most positive power supply).
Which causes a reverse bias voltage between source and body that effects the
transistor operation, by widening the depletion region. The widened depletion
region will result in the reduction of channel depth. To restore the channel depth to
its normal depth the VGS has to be increased. This is effectively seen as change in
the threshold voltage - Vt. This effect, which is caused by applying some voltage to
body is known as body effect.

15)What is scaling?
16)How can you calculate the delay in case of CMOS Circuit?
17)How is delay affected if we increase the load capacitance?
18)How is the delay affected in case we put a resistance at the cmos circuit
output?
19)What precautions do we have to take while increasing the power supply to
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

reduce the delay?


20)How does the resistance of metal lines change with increase in length and
thickness?
21)Explain the working and diagram of a transistor level 2 input nand gate.
Exlain the sizing and characteristics for equal rise and fall time.
22)Let X & Y be two inputs of the NAND gate. If signal X arrives at the Nand
gate after the signal Y. To optimize delay, of the two series NMOS inputs X &
Y, which one of these should be placed near the output?
23)How can we reduce the power consumption for a CMOS logic?
24)What do you mean by charge sharing? Why do we experience this problem
during sampling data from a bus.
25)Incase of inverters, why don’t we increase the size in buffer design?
26)WHy can’t we provide the output of one circuit to a large inverter?
27) A layout is provided. You have to draw the transistor level circuit.
Example: 3 input And Gate and 2 input multiplexer are provided)
28) Prepare the transistor level equivalent of a AOI gate. Explain with a stick
diagram.
29) Why can’t an NMOS transistor serve the purpose of a transmission gate?
30) Describe the read and write operations of a 6-T SRAM cell.
31) In a NMOS transistor, what will be the o/p for a square pulse input from 0
to VDD if the gate is joined to VDD.
32) Can we use an inverter in place of a Differential Sense Amplifier?
33) Can we use channel length modulation to size the circuit of a differential
sense amplifier?
34) Describe the SRAM write circuitry.
35) How can you select the size of the transistros in the SRAM Cell.
36) What is the relation between the size of PMOS pull up transistors and the
resulting performace of SRAM?
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

37) Explain the critical path of a SRAM.


38) What do you understand by Latch Up?
39) How can you avoid Latch up in CMOS Inverter?
40)Explain the difference between Testing and Verification?
41) Can a SRAM be modelled at RTL Level?
42) Which metal layers are used for bit lines and word lines in case of SRAM
layout? Why do we use these metal layers?
43) Explain and draw the timing diagram of a SRAM Read.
44) What are the affects of a delay in the clock signal enable?
45) Can be asked to draw an draw / analyse an entire SRAM Layout
consisting of Cells, Row and Column decoders and R/W Circuits, Buffers, etc.
46) Circuit Problem: Test the stuck at 0 and stuck at 1 problems at the
internal nodes for an AND-OR implementation of a two input Mux
47) Why do we gradually increase the size of inverters in buffer design? Why
not give the output of a circuit to one large inverter?

48) Give the logic expression for an AOI gate. Draw its transistor level
equivalent. Draw its stick diagram.

49) In the design of a large inverter, why do we prefer to connect small


transistors in parallel (thus increasing effective width) rather than lay out one
transistor with large width?

50) Given a layout, draw its transistor level circuit. (I was given a 3 input
AND gate and a 2 input Multiplexer. You can expect any simple 2 or 3 input
gates)

51)Why don’t we use just one NMOS or PMOS transistor as a transmission


gate?
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

52)For a NMOS transistor acting as a pass transistor, say the gate is


connected to VDD, give the output for a square pulse input going from 0 to
VDD

53)Draw a 6-T SRAM Cell and explain the Read and Write operations

54)Draw the Differential Sense Amplifier and explain its working. Any idea
how to size this circuit? (Consider Channel Length Modulation)

55)What happens if we use an Inverter instead of the Differential Sense


Amplifier?

56) Draw the SRAM Write Circuitry

57) Approximately, what were the sizes of your transistors in the SRAM cell?
How did you arrive at those sizes?

58) What is Latch Up? Explain Latch Up with cross section of a CMOS
Inverter. How do you avoid Latch Up?

59) How does the size of PMOS Pull Up transistors (for bit & bit- lines) affect
SRAM’s performance?

60) What’s the critical path in a SRAM?

61) Draw the timing diagram for a SRAM Read. What happens if we delay
the enabling of Clock signal?

62)Give a big picture of the entire SRAM Layout showing your placements of
SRAM Cells, Row Decoders, Column Decoders, Read Circuit, Write Circuit
and Buffers

63)In a SRAM layout, which metal layers would you prefer for Word Lines
and Bit Lines? Why?
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net

64) How can you model a SRAM at RTL Level?

65) What’s the difference between Testing & Verification?

* Explain the working of a MOSFET.

* Design an inverter with equal


rise and fall time (given electron
mobility = 2.5 times hole
mobility).

* Draw the DC characteristics


curve of an Inverter and show the
effect of change in Aspect ratio
on the curve.

* Design 2-input NAND and NOR


gates with equal rise and fall
time (given electron mobility =
2.5 times hole mobility).

* Draw layout of 2-input NAND and


NOR gates.

* What is body-effect?

* Why NAND is preferred over NOR.


(Hint: read sizing concepts).

* What are the limitations in


increasing the voltage to reduce
delay? (Hint: Power Dissipation).

* Why the size of VIA and contact


is fixed? (Hint:Contact Spiking
limits the size.)

* How do you draw a layout of CMOS


circuit with unusual size, e.g.
20000/0.18 um. (Hint: Fingering
concept).

* What is charge sharing?

* Give CMOS implementation of


boolean function F = AB+C.
* What happens if we flip NMOS and
( Word to PDF Converter - Unregistered )
http://www.Word-to-PDF-Converter.net
PMOS from the inverter, does it
acts as a buffer?
* What is the difference between
Testing & Verification?
* What is the basic difference
between a latch and a flip-flop?
* What is Latch Up? Explain Latch
Up with cross section of a CMOS
Inverter. How do you avoid Latch
Up?
* If you increase the output load,
would gate delay increase or
decrease? why?
* How skew is goint to effect your
setup and hold? Will it help the
setup?
* If skew is more, how it is going
to effect your design?
*How we will decide the path as a
false path? Can you tell by taking
mux as an example?
* Why do we fix hold violations
only after Clock Tree Synthesis?
*