Vlsi Report
Vlsi Report
Bachelor of Technology
in
Electrical and Electronics Engineering
by
N.Ganesh (Y21EE054)
CERTIFICATE
Engineering isa record of bonafide work carried out by him/her under my supervision.
Date:
Abstract
The VLSI design project encompasses the creation of integrated circuits at the very
large scale iintegration level.It involves the development of custom digital and analog
circuits,layout design,and optimization techniques.
VLSI technology has revolutionized the electronics industry, enabling the develop-
ment of powerful, compact, and energy-efficient electronic devices, from microproces-
sors and memory chips to application-specific integrated circuits (ASICs).
1 Introduction to VLSI 1
1.1 An overview of VLSI . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.1 Evolution: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.2 VLSI design flow: . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.3 Evolution of microprocessors : . . . . . . . . . . . . . . . . . . 3
1.1.4 scope in VLSI: . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.5 Introduction to verilog: . . . . . . . . . . . . . . . . . . . . . . 4
2 HDL concepts 6
2.1 Structure of verilog: . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1.1 coding styles in verilog: . . . . . . . . . . . . . . . . . . . . . . 7
2.1.2 dataflow modelling: . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1.3 gate level modelling: . . . . . . . . . . . . . . . . . . . . . . . 8
2.1.4 behavioural modelling: . . . . . . . . . . . . . . . . . . . . . . 9
2.1.5 Data types in verilog: . . . . . . . . . . . . . . . . . . . . . . . 9
2.1.6 Operators in verilog: . . . . . . . . . . . . . . . . . . . . . . . 10
2.2 Testbench: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.2.1 Writing a test bench: . . . . . . . . . . . . . . . . . . . . . . . 12
3 Combinational circuits 14
3.1 combinational circuit design: . . . . . . . . . . . . . . . . . . . . . . . 15
3.1.1 Design procedure: . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.1.2 Half adder: . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4 Sequential circuits 17
4.1 Flipflops: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1.1 D flipflop: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1.2 SR flipflop: . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.1.3 JK flipflop: . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.2 Counters: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
ii
BTech (Electrical and Electronics Engineering) Report
5 Conclusion 23
5.1 References: .................................................................................................... 24
VLSI is an acronym that stands for Very-Large Scale Integration.This term refers to the
many fields of electrical and computer engineering that deal with the analysis and design
of very dense electronic integrated circuits. VLSI contains more than a millions and even
billions of devices on a piEEE of silicon(a chip) which is typically about 1 centimeter on
a scale.
1.1.1 Evolution:
• Design Idea
• Behavioral Design
• Datapath Design
• Logic Design
• Physical Design
• Manufacturing
• Chip/Board
The field of Very Large-Scale Integration (VLSI) offers a wide range of career oppor-
tunities and has a promising future due to its critical role in the advancement of electronics
and technology. Here’s an overview of the scope in VLSI:
• Design and Verification:Digital VLSI Design: VLSI design engineers work on cre-
ating complex digital circuits, including microprocessors, memory chips, and custom
digital logic.
• Analog VLSI Design: Analog design engineers focus on the design of analog and
mixed-signal circuits, such as amplifiers, data converters, and sensor interfaces.
• Verification Engineers: These professionals ensure that VLSI designs are function-
ally correct by developing and running simulations, formal verification, and hardware
testing.
• Physical Design:Physical Design Engineers: These experts are responsible for the
layout, place-and-route, and physical implementation of VLSI designs to ensure man-
ufacturability and performance.
• FPGA Design: Field-Programmable Gate Arrays (FPGAs) are widely used for rapid
prototyping and digital design. FPGA design engineers create and optimize FP-
GAbased solutions.
Verilog was developed to simplify the process and make the HDL more robust and
flexible. Today, Verilog is the most popular HDL used and practiced throughout the semi-
conductor industry.
HDL was developed to enhance the design process by allowing engineers to describe
the desired hardware’s functionality and let automation tools convert that behavior into
actual hardware elements like combinational gates and sequential logic. Verilog is like any
other hardware description language. It permits the designers to design the designs in either
Bottom-up or Top-down methodology.
Coding style in Verilog refers to a set of conventions, guidelines, and best practices that
dictate how Verilog code should be structured and written. A consistent and well-defined
coding style is essential in Verilog design to ensure code readability, maintainability, and
reliability. It also helps to facilitate collaboration among multiple designers and makes it
easier to spot errors and design flaws. Here’s an introduction to coding styles in Verilog
There are three types of coding styles:
1. Dataflow modelling
3. Behavioural modelling
• Gate-level modeling represents the digital system using primitive logic gates (AND,
OR, NOT, etc.) and their interconnections. It provides a very detailed, low-level
description of the hardware implementation.
Behavioral modeling in digital design and hardware description languages like Verilog
or VHDL focuses on describing the functionality and behavior of a digital system or com-
ponent without specifying the low-level implementation details. It provides an abstract and
high-level representation of how a digital system should function. Behavioral models de-
scribe the relationship between inputs and outputs and can be used for system-level design
and high-level simulation.
Examples include: reg: Represents a vector of bits typically used for register storage.
wire: Represents a vector of bits used for signal interconnections. integer: Represents
signed integer values. real: Represents real numbers.
on their functionality. Here are some of the most commonly used operators in Verilog:
Arithmetic Operators:
Relational Operators:
• (Greater Than): Checks if the left operand is greater than the right operand.
• (Less Than): Checks if the left operand is less than the right operand.
• (Greater Than or Equal): Checks if the left operand is greater than or equal to the
right operand.
• (Less Than or Equal): Checks if the left operand is less than or equal to the right
operand.
Logical Operators:
Bitwise Operators:
• (Bitwise AND): Performs a bitwise AND operation on each bit of two operands.
• (Shift Left): Shifts the bits of the left operand to the left by the number of positions
specified by the right operand.
• (Shift Right): Shifts the bits of the left operand to the right by the number of positions
specified by the right operand.
Concatenation Operator:
Conditional Operator:
• (XOR Reduction) : Performs a bit wise XOR operation on all bits in a vector.
• ¿¿¿ (Arithmetic Right Shift): Shifts the bits of the left operand to the right, filling
with the sign bit.
• ¡¡¡ (Logical Left Shift): Shifts the bits of the left operand to the left, filling with zeros.
• These are some of the most commonly used operators in Verilog and System Verilog.
They are essential for performing various operations in digital design and hardware
description.
2.2 Testbench:
This affirms that in combinational circuits the output at any moment depends only on
the present input. This implies that the combinational circuit does not employ any
memory, which further states that the previous state of input does not have any effect
on the present state of the circuit. A combinational circuit can hold an “n” number
of inputs and “m” number of outputs. Through this article on Adders, learn about the
full adder, half adder, Binary Parallel Adders, Carry Look Ahead Adder, BCD Adder,
Simply, a circuit in which different types of logic gates are combined is recognized
as a combinational logic circuit. There are different types of combinational logic
circuits, such as Adder, Subtractor, Decoder, Encoder, Multiplexer, De-multiplexer,
and more. In this article we will cover adders, starting with half adders
The design of combinational circuits involves the creation of logic circuits that pro-
duce outputs solely based on the current inputs, without any consideration of previous
inputs or internal memory elements. Here is a general procedure for designing com-
binational circuits:
– Problem Statement: Clearly define the problem that the combinational circuit is
intended to solve. Identify the inputs and outputs of the circuit and understand
the desired logic or functionality.
– Truth Table:Create a truth table that lists all possible input combinations and
the corresponding desired outputs. The truth table serves as a blueprint for the
circuit’s behavior.
– Karnaugh Maps (K-Maps): If the circuit has a moderate number of inputs and
outputs, simplify the logic using Karnaugh Maps. K-Maps help minimize the
number of gates required and simplify the design.
– Boolean Algebra:If the circuit is complex and K-Maps become unwieldy, apply
Boolean algebra rules to simplify the logic equations. This step is especially
useful for large combinational circuits.
– Gate Selection:Choose the appropriate logic gates (AND, OR, NOT, XOR, etc.)
to implement the simplified expressions. Select the gate types that will result in
A Half-adder is an arithmetic circuit that needs two binary inputs and two binary
outputs to perform the addition of two single bits.
The input variable determines the augend and addend bits whereas the output variable
generates the sum and carry. The Half-Adder is a basic building block for adding two
numbers(two inputs) and produce out(two outputs). We can understand more about
the function of a half-adder with the block diagram, Logical circuit, and truth table
of a halfadder as shown below:
4.1 Flipflops:
is a bistable multivibrator, which means it has two stable states and can be used to
store one bit of information. Flip-flops are essential for creating registers, memory
elements, and sequential circuits in digital design. There are several types of flip-
flops, including the most commonly used D flip-flop, JK flip-flop, SR flip-flop, and T
flip-flop.
flip-flops are the basic building blocks for creating sequential circuits, registers, coun-
ters, and memory elements in digital design. The choice of which flip-flop to use
depends on the specific requirements of the circuit and the design goals, such as edge
triggering, synchronous or asynchronous operation, and the type of control inputs
needed. Flip-flops are essential components in the development of digital systems
and play a crucial role in storing and processing information in digital circuits.
4.1.1 D flipflop:
The D flip-flop, or data flip-flop, has two inputs: a data input (D) and a clock input
(CLK). It also has one output (Q) and an optional inverted output (or Q’/’Q).
– The D flip-flop stores the value of the data input (D) at the rising or falling edge
of the clock signal, depending on whether it’s a positive-edge (rising-edge) or
negative-edge (falling-edge) triggered D flip-flop.
– D flip-flops are widely used for data storage and synchronization in sequential
circuits.
4.1.2 SR flipflop:
– The SR flip-flop has two inputs: S (set) and R (reset), along with a clock input
(CLK) and the Q and outputs.
4.1.3 JK flipflop:
– • The T flip-flop has one input, T (toggle), along with a clock input (CLK) and
the Q and outputs.
– The T flip-flop toggles its output state (changes from 0 to 1 or from 1 to 0) when
the clock input transitions (rising or falling edge) while T is high (1).
These flip-flops are the basic building blocks for creating sequential circuits,
registers, counters, and memory elements in digital design. The choice of which
flip-flop to use depends on the specific requirements of the circuit and the design
goals, such as edge triggering, synchronous or asynchronous operation, and
the type of control inputs needed. Flipflops are essential components in the
development of digital systems and play a crucial role in storing and processing
information in digital circuits.
4.2 Counters:
Synchronous and asynchronous counters are two common types of digital counters
used in digital electronics and digital design. They differ in terms of how they are
clocked and how they operate.
A synchronous counter is a counter where all flip-flops are clocked at the same time.
The flip-flops are triggered by the same clock signal. This means that all the flip-flops
in the counter change state simultaneously in response to each clock pulse. Syn-
chronous counters are often designed using D flip-flops or JK flip-flops. Advantages
of synchronous counters:
An asynchronous counter, on the other hand, does not have all flip-flops triggered
by the same clock signal. Each flip-flop in the counter is clocked individually, and
the clock signals for each flip-flop are often derived from the output of the
Configurable Logic Blocks (CLBs):CLBs are the building blocks of an FPGA and
make up the majority of its real estate. They consist of look-up tables (LUTs), mul-
tiplexers, and flip-flops. The LUTs are used to implement combinatorial logic func-
tions. Flip-flops are used for sequential logic, allowing the storage of intermediate
and final results.
highly complex and compact integrated circuits that power a wide range of electronic
devices, from smartphones to supercomputers. This field has evolved significantly
over the years, with the continuous miniaturization of transistors and the integration
of more functionality onto a single chip. VLSI design is at the forefront of techno-
logical innovation, driving the development of smaller, more powerful, and energy-
efficient electronic devices. As the field continues to evolve, designers will face both
exciting opportunities and substantial challenges in pushing the boundaries of what is
possible in the world of integrated circuits. The ever-growing demand for faster and
more capable electronic systems ensures that VLSI design will remain a dynamic and
essential field in the world of technology.