1) Delay between shortest path and longest path in the clock is called ____.
a. Global skew
b. Local skew
c. Useful skew
d. Slack
2) Cross talk can be avoided by __.
a. Shielding the nets.
b. Decreasing the spacing between the metal layers.
c. Using lower metal layers.
d. Using long nets.
3) Prerouting means routing of ___.
a. PG nets. (Note: Power/Ground nets)
b. Signal nets.
c. IO nets.
d. Clock nets.
4) What is the goal of CTS?
a. Minimum Skew
b. Minimum EM
c. Minimum IR Drop
d. Minimum Slack
5) To achieve better timing ___ cells are placed in the critical path.
a. LVT
b. HVT
c. RVT
d. SVT
6) Leakage power is inversely proportional to __.
a. Threshold Voltage
b. Load Capacitance
c. Supply Voltage
d. Frequency
7) In OCV timing check, for setup time, ___.
a. Max delay is used for launch path and Min delay for capture path.
b. Min delay is used for launch path and Max delay for capture path.
c. Both Max delay is used for launch and capture path.
d. Both Min delay is used for launch and capture path.
8) To avoid cross talk, the shielded net is usually connected to __.
a. VSS
b. VDD
c. Both VDD and VSS
d. Clock
9) If the data is faster than the clock in Reg to Reg path ___ violation may come.
a. Hold
b. Setup
c. Both
d. None
10) Timing sanity check means (with respect to physical design) ___.
a. Checking timing of routed design with net delays.
b. Checking timing of routed design without net delays.
c. Checking timing of placed design with net delays.
d. Checking timing of unplaced design without net delays.
11) Which of the following is having highest priority at final stage (post-routed) of the design ___ ?
a. Hold violation
b. Setup violation
c. Skew
d. None
12) Which of the following is best suited for CTS?
a) CLKBUF
b) BUF
c) INV
d) CLKINV
13) Difference between Clock buff/inverters and normal buff/inverters is __.
a. Clock buff/inverters are having equal rise and fall times with high drive strengths compare to normal buff/inverters
b. Normal buff/inverters are having equal rise and fall times with high drive strengths compare to Clock buff/inverters.
c. Clock buff/inverters are slower than normal buff/inverters
d. Clock buff/inverters are faster than normal buff/inverters
14) What is the effect of high drive strength buffer when added in long net ?
a. Delay on the net decreases
b. Capacitance on the net increases
c. Delay on the net increases
d. Resistance on the net increases.
15) Delay of a cell depends on which factors ?
a. Input transition and Output load
b. Output transition and input load
c. Input transition and Output transition
d. Input load and Output Load.
16) What is routing congestion in the design ?
a. Ratio of required routing tracks to available routing tracks
b. Ratio of available routing tracks to required routing tracks
c. Depends on the routing layers available
d. None of the above
[Answer: a for all questions; Questions are from vlsifaq.blogspot.com]
Friday, August 21, 2009
Interview - VLSI Physical Design Part 1
Question: why do you use alternative routing approach HVH (Horizontal-Vertical-Horizontal) and VHV (Vertical-Horizontal-Vertical) ?
It allows routability of the design and better usage of routing r
esources. For example, HVH means that Metal 1 is routed horizontally, Metal 2 routed vertically, and Metal 3 horizontally. An alternative routing approach (VHV) provides much better results with respect to area, performance, and power consumption trade-offs. It's due to the significantly better pin accessibility, which results in higher utilization. VHV leads to shorter wire lengths and a reduced number of signal vias, which in turn, improves performance and reliability while reducing power. In addition, VHV shows better distribution of power to cells, with better control of IR drop.
[REF] http://www.design-reuse.com/articles/6434/under-the-hood-of-library-ip-by-brani-buric-and-mike-colwell-virage-logic.html
Question: how to get AND, OR, NAND, NOR, XOR, XNOR gate using 2:1 MUX ?

Question: what is metastability ?
When there are setup and hold time violation in any flip-flop, it enters a state where its output is unpredictable, either '1' or '0'. When a flip-flop is in metastable state, its output oscillate between '1' and '0'. How long it takes to settle down depends on the technology of the flip-flop.
Cases in which metastability occurs?
The most common way to tolerate metastability is to add one or more successive synchronizing flip-flops to the synchronizer. This approach allows for an entire clock period for metastable events in the first synchronizing flip-flop to resolve themselves. It simply reduce the probability and increase the latency in the synchronous logic's observation of input change.
[REF] http://www.asic-world.com/tidbits/metastablity.html
Question: in a system with insufficient hold time, will slowing down the clock frequency help?
No. Making data path slower can help hold time but it may result in setup violation.
Question: in a system with insufficient setup time, will slowing down the clock frequency help?
Yes. Making data path faster can also help setup time but it may result in hold violation.
Question: why power stripes routed in the top metal layers?
The resistivity of top metal layers are less and hence less IR drop (voltage drop) is seen in power distribution network. If power stripes are routed in lower metal layers this will use a good amount of lower routing resources and therefore it can create routing congestion.
[The questions above are coming from vlsifaq.blogspot.com]
It allows routability of the design and better usage of routing r
esources. For example, HVH means that Metal 1 is routed horizontally, Metal 2 routed vertically, and Metal 3 horizontally. An alternative routing approach (VHV) provides much better results with respect to area, performance, and power consumption trade-offs. It's due to the significantly better pin accessibility, which results in higher utilization. VHV leads to shorter wire lengths and a reduced number of signal vias, which in turn, improves performance and reliability while reducing power. In addition, VHV shows better distribution of power to cells, with better control of IR drop.[REF] http://www.design-reuse.com/articles/6434/under-the-hood-of-library-ip-by-brani-buric-and-mike-colwell-virage-logic.html
Question: how to get AND, OR, NAND, NOR, XOR, XNOR gate using 2:1 MUX ?

Question: what is metastability ?
When there are setup and hold time violation in any flip-flop, it enters a state where its output is unpredictable, either '1' or '0'. When a flip-flop is in metastable state, its output oscillate between '1' and '0'. How long it takes to settle down depends on the technology of the flip-flop.
Cases in which metastability occurs?
- When the input signal is an asynchronous signal.
- When the clock skew/slew is too much (rise and fall time are more than the tolerable values)
- When interfacing two domains operating at two different frequencies or at the same frequency but with different phase.
- When the combinational delay is such that flip-flop data input changes in the critical window (setup + hold window)
The most common way to tolerate metastability is to add one or more successive synchronizing flip-flops to the synchronizer. This approach allows for an entire clock period for metastable events in the first synchronizing flip-flop to resolve themselves. It simply reduce the probability and increase the latency in the synchronous logic's observation of input change.
[REF] http://www.asic-world.com/tidbits/metastablity.html
Question: in a system with insufficient hold time, will slowing down the clock frequency help?
No. Making data path slower can help hold time but it may result in setup violation.
Question: in a system with insufficient setup time, will slowing down the clock frequency help?
Yes. Making data path faster can also help setup time but it may result in hold violation.
Question: why power stripes routed in the top metal layers?
The resistivity of top metal layers are less and hence less IR drop (voltage drop) is seen in power distribution network. If power stripes are routed in lower metal layers this will use a good amount of lower routing resources and therefore it can create routing congestion.
[The questions above are coming from vlsifaq.blogspot.com]
Sunday, March 29, 2009
VLSI CAD Open Source Software
VLSI CAD:
VLSI CAD Bookshelf 2
OpenAccess:
si2.org; openedatools; openAccess wiki; DFM Dictionary
OpenAccess 2.2 C++ API Documentation;
Logic Synthesis and Vefication:
MVSIS; ABC;
FPGA:
VPR
Placement:
Dragon; NTUplacer; Feng Shui;
Routing:
A Fairly Good Router; MaizeRouter; BoxRouter; Labyrinth;
Misc:
EasyGL
Applets:
Animation of VLSI CAD algorithms
SAT Solving:
MiniSAT ; Boolean Satisfiability Research Group at Princeton
Open Source Project:
gEDA; Open Circuit Design;
VLSI CAD Bookshelf 2
OpenAccess:
si2.org; openedatools; openAccess wiki; DFM Dictionary
OpenAccess 2.2 C++ API Documentation;
Logic Synthesis and Vefication:
MVSIS; ABC;
FPGA:
VPR
Placement:
Dragon; NTUplacer; Feng Shui;
Routing:
A Fairly Good Router; MaizeRouter; BoxRouter; Labyrinth;
Misc:
EasyGL
Applets:
Animation of VLSI CAD algorithms
SAT Solving:
MiniSAT ; Boolean Satisfiability Research Group at Princeton
Open Source Project:
gEDA; Open Circuit Design;
EDA Contest
ISPD: ISPD Contest ; ISPD 2006
IWLS: IWLS Programming Challenge
ICCAD: SIGDA's CADathlon ; CADathlon03
IWLS: IWLS Programming Challenge
ICCAD: SIGDA's CADathlon ; CADathlon03
Monday, March 23, 2009
Wednesday, March 18, 2009
HDL
Verilog - Wiki
Tutorial:
Verilog Tutorial from www.asic-world.com
Verilog Tutorial - electornics.com
Reference:
On-line Verilog-1995 Quick Reference Guide
Sutherland HDL
Academic Courses:
MIT 6.111 Introductory Digital Systems Laboratory
Berkeley EECS150 Components and Design Techniques for Digital Systems
Tips & Guides:
A Verilog Designer Guide - doulos
Verilog Tools:
Verilog Tools - asic-world
Icarus Verilog: Icarus Verilog; The Icarus Verilog Wiki
Tutorial:
Verilog Tutorial from www.asic-world.com
Verilog Tutorial - electornics.com
Reference:
On-line Verilog-1995 Quick Reference Guide
Sutherland HDL
Academic Courses:
MIT 6.111 Introductory Digital Systems Laboratory
Berkeley EECS150 Components and Design Techniques for Digital Systems
Tips & Guides:
A Verilog Designer Guide - doulos
Verilog Tools:
Verilog Tools - asic-world
Icarus Verilog: Icarus Verilog; The Icarus Verilog Wiki
Tuesday, March 17, 2009
Wednesday, March 4, 2009
Tuesday, March 3, 2009
Saturday, February 28, 2009
C++ -- Standard Template Library
Vector:
1. In addition to operator [], vector defines the member function at() that checks the index. If the index is invalid, it will throw an object of class std::out_of_range. Code: 09Feb/feb28_1.cpp.
2. The assign() function will reinitialize vector. e.g., vec.assign(v0.begin(), v0.end()) or vec.assign(5,"Me")
Allocators:
1. In addition to operator [], vector defines the member function at() that checks the index. If the index is invalid, it will throw an object of class std::out_of_range. Code: 09Feb/feb28_1.cpp.
2. The assign() function will reinitialize vector. e.g., vec.assign(v0.begin(), v0.end()) or vec.assign(5,"Me")
Allocators:
Memory Management
Memory Management:
The Memory Management Reference
Memory management in various languages at The Memory Management Reference
Garbage Collection:
Garbage collection - Wiki
C++ Memory Management Innovation: GC allocator - from codeproject
A Garbage collector for C and C++
Garbage Collection in C++ - from Stackflow
Garbage Collection in C programs - Linux Journal
Automatic Garbage Collection in Java and C++
A Simple Garbage Collector for C++
C++ Standard Library Allocator:
C++ Standard Allocator, An Introduction and Implementation
A C++ Standard Allocator for the Standard Template Library
The Standard Librarian: What Are Allocators Good For?
User-Defined Allocator - For Nicolai M.Josuttis
Articles:
Memory management archive collection from open directory projects
Freestore management on C++ FAQ Lite
Unix and C/C++ Runtime Memory Management For Programmers
Inside Memory Management
LinuxMM: a wiki for documenting how memory works and for coordination new memory management development projects.
The Memory Management Reference
Memory management in various languages at The Memory Management Reference
Garbage Collection:
Garbage collection - Wiki
C++ Memory Management Innovation: GC allocator - from codeproject
A Garbage collector for C and C++
Garbage Collection in C++ - from Stackflow
Garbage Collection in C programs - Linux Journal
Automatic Garbage Collection in Java and C++
A Simple Garbage Collector for C++
C++ Standard Library Allocator:
C++ Standard Allocator, An Introduction and Implementation
A C++ Standard Allocator for the Standard Template Library
The Standard Librarian: What Are Allocators Good For?
User-Defined Allocator - For Nicolai M.Josuttis
Articles:
Memory management archive collection from open directory projects
Freestore management on C++ FAQ Lite
Unix and C/C++ Runtime Memory Management For Programmers
Inside Memory Management
LinuxMM: a wiki for documenting how memory works and for coordination new memory management development projects.
Friday, February 27, 2009
C++ Memory Management
C++ Memory Management - From Fear to Triumph
1. Alternatives have automated memory management. Python has reference-counted model, and Java has sophisticated garbage collector.
2. Memory errors come in two basic types: the dangling reference and the memory leak.
3. The hidden memory allocation inside classes is a side effect, we need consider available alternatives.
[1] Allow the user to supply her own buffer (e.g., as a parameter to the constructor)
[2] Use a member object instead of a pointer to a dynamically allocated object.
[3] Strictly local objects that are used only for the duration of a method call should be declared as automatic variables.
[4] Use an allocator object to get the memory, and allow the user to specify his owner allocator.
4. Techniques for C++ Memory Management
5. Return value optimization.
SimpleString return_by_value() {
// Constructing the return value helps to eliminate the temporary objects associated with return-by-value
return SimpleString("ReturnValueOptimization");
}
From: http://www.linuxdevcenter.com/pub/a/linux/2003/05/08/cpp_mm-1.html?page=1
Difference between malloc/free and new/delete
[1] malloc() allocates a bunch of bytes while 'new' does the allocation as well as the responsibility of calling the constructor.
[2] malloc() returns 'NULL' on failure while 'new' throws an exception object of type 'std::bad_alloc'.
[3] 'free()' on 'NULL' pointers is not safe while 'delete' is.
1. Alternatives have automated memory management. Python has reference-counted model, and Java has sophisticated garbage collector.
2. Memory errors come in two basic types: the dangling reference and the memory leak.
3. The hidden memory allocation inside classes is a side effect, we need consider available alternatives.
[1] Allow the user to supply her own buffer (e.g., as a parameter to the constructor)
[2] Use a member object instead of a pointer to a dynamically allocated object.
[3] Strictly local objects that are used only for the duration of a method call should be declared as automatic variables.
[4] Use an allocator object to get the memory, and allow the user to specify his owner allocator.
4. Techniques for C++ Memory Management
5. Return value optimization.
SimpleString return_by_value() {
// Constructing the return value helps to eliminate the temporary objects associated with return-by-value
return SimpleString("ReturnValueOptimization");
}
From: http://www.linuxdevcenter.com/pub/a/linux/2003/05/08/cpp_mm-1.html?page=1
Difference between malloc/free and new/delete
[1] malloc() allocates a bunch of bytes while 'new' does the allocation as well as the responsibility of calling the constructor.
[2] malloc() returns 'NULL' on failure while 'new' throws an exception object of type 'std::bad_alloc'.
[3] 'free()' on 'NULL' pointers is not safe while 'delete' is.
GCC - Compiling a C++ program
C++ compilation options:
-Wall and -W: When compiling with g++, the options -Wall and -w include extra warnings specific to C++ (the warnings relate to member functions and virtual classes).
-fno-default-inline: disables the default inlining of member functions defined in the bodies of C++ classes. Select this option if you prefer to control inlining yourself, or want to set a breakpoint on member functions that would otherwise be inlined.
-Wold-style-cast: highlights any uses of C-style casts in C++ programs.
Templates:
[1] The executables created by g++ using the C++ standard library will be linked to the shared library 'libstdc++', which is supplied as part of the default GCC installation. There are several versions of this library -- if you distribute executables using the C++ standard library you need to ensure that the recipient has a compatible version of 'libstdc++', or link your program statically using the command-line option -static.
[2] The recommended way to use templates with g++ is to follow the inclusion compilation model, where template definitions are placed in header files. This is the method used by the C++ standard library supplied with GCC itself. If a template function is used several times in a program it will be stored in more than one objet file. The GNU Linker ensures that only one copy is placed in the final executable.
[3] Explicite template instantiation: template functions are no longer compiled at the point where they are used, as a result of the -fno-implicit-templates option.
Goto: http://www.network-theory.co.uk/docs/gccintro/gccintro_53.html
-Wall and -W: When compiling with g++, the options -Wall and -w include extra warnings specific to C++ (the warnings relate to member functions and virtual classes).
-fno-default-inline: disables the default inlining of member functions defined in the bodies of C++ classes. Select this option if you prefer to control inlining yourself, or want to set a breakpoint on member functions that would otherwise be inlined.
-Wold-style-cast: highlights any uses of C-style casts in C++ programs.
Templates:
[1] The executables created by g++ using the C++ standard library will be linked to the shared library 'libstdc++', which is supplied as part of the default GCC installation. There are several versions of this library -- if you distribute executables using the C++ standard library you need to ensure that the recipient has a compatible version of 'libstdc++', or link your program statically using the command-line option -static.
[2] The recommended way to use templates with g++ is to follow the inclusion compilation model, where template definitions are placed in header files. This is the method used by the C++ standard library supplied with GCC itself. If a template function is used several times in a program it will be stored in more than one objet file. The GNU Linker ensures that only one copy is placed in the final executable.
[3] Explicite template instantiation: template functions are no longer compiled at the point where they are used, as a result of the -fno-implicit-templates option.
Goto: http://www.network-theory.co.uk/docs/gccintro/gccintro_53.html
Monday, February 23, 2009
Subscribe to:
Posts (Atom)
