SlideShare a Scribd company logo
1 of 45
Download to read offline
NATIONAL INSTITUTE OF TECHNOLOGY HAMIRPUR
NIT HAMIRPUR
Electronics and Communication Engineering Department
Presented By
Dr. Gargi Khanna
Associate Professor
E&CED Dept. , NIT Hamirpur, HP.
LOW POWER VLSI DESIGN
Logic Level Techniques
What will we learn today?
Gate Reorganization
Signal Gating
Logic Encoding
State machine Encoding
Precomputation Logic
2
3
NIT HAMIRPUR
CHAPTER 5 : Logic
Logic Design
 Logic design was once the primary abstraction level where automatic design
synthesis begins
 The most prevalent theme in logic level power optimization techniques is the
reduction of switching activities
 Switching activities directly contribute to the charging and discharging
capacitance and the short circuit power
 Some switching activities are the result of unspecified or undefined behavior of
a logic system that are not related to its power operation
 Such stray switching activities should be eliminated or reduced if possible
 However, suppressing unnecessary activities usually requires additional
hardware logic that increases the area and consumes power
4
NIT HAMIRPUR
Gate Reorganization
 Gate reorganization is applied to gate level network to produec logicaly
equivalent networks with different qualities for power, area, and delay.
 The complexity of the gate reorganization problem limits manual solution to
small circuits only.
 Gate level reorganization is a central operation of logic synthesis.
 Most gate reorganization tasks are performed by automated software in the
logic synthesis system
5
NIT HAMIRPUR
Local Restructuring
 Gate reorganization is an operation to transform one logic circuit to another that
is functionally equivalent
 Logic restructuring techniques use local restructuring rules to transform one
network to another
 Some basic transformation operators are:
1. Combine several gates into a single gate
2. Decompose a single gate into several gates
3. Duplicate a gate and redistribute its output connections
4. Delete a wire
5. Add a wire
6. Eliminate unconnected gates
6
NIT HAMIRPUR
Local transformation Operators for gate reorganization
Local Restructuring
Fig1. Local transformation operators for gate reorganization
7
NIT HAMIRPUR
Local transformation Operators for gate reorganization
Local Restructuring
Fig2. Local transformation operators for gate reorganization
8
NIT HAMIRPUR
Local Restructuring
 COMBINE operator can be used to hide high frequency nodes inside a cell
so that the node capacitance is not being switched
 DECOMPOSE and DUPLICATE operators help to separate the critical path
from the non critical ones so that the latter can be sized down
 DELETE WIRE operator reduces the circuit size
 ADD WIRE operator helps to provide an intermediate circuit that may
eventually lead to a better one
9
NIT HAMIRPUR
Signal Gating
 Signal gating refers to a class of general techniques to mask unwanted
switching activities from propagating forward, causing unnecessary power
dissipation
 The probabilistic techniques are often used for switching activity analysis
 The simplest method to implement signal gating is to put an AND/OR gate at
the signal path to stop the propagation of the signal when it needs to be
masked
 Another method is to use a latch or flip flop to block the propagation of the
signal
 Sometimes a transmission gate or tristate buffer can be used in place of a latch
if charge leakage is not a concern
 The various logic implementation of signal gating is shown below
10
NIT HAMIRPUR
Signal Gating
 The signals at the bottom of the circuits are control signals used to suppress
the source signal on the left from propagating to the gated signal on the right
 Control signal frequency must be low
Fig3. Various logic signal implementation of signal gating
11
NIT HAMIRPUR
Logic Encoding
 The logic designer of a digital circuit often has the freedom of choosing a
different encoding scheme as long as the functional specification of the circuit
is met
 For e.g. an 8 bit counter can be implemented using the binary counting
sequence or the gray code sequence
 Different encoding implementation often lead to different power, area and delay
tradeoff
 The encoding techniques require the knowledge of signal statistics in order to
make design decisions
Counter
• 000 Do D1 D2 111, 101, 110, 100,000,011,010 001,
• 001
• 010
• 011
• 100
• 101
• 110
• 111
• 000
12
13
NIT HAMIRPUR
Binary versus Gray Code Counting
 Consider two n-bit counters implemented with Binary and Gray code counting
sequences
 The counting sequences of the two counters are shown in Table1
 Toggle activities of Binary versus Gray counter are shown in Table2
Table1 Table2
14
NIT HAMIRPUR
Binary versus Gray Code Counting
 When n is large, the Binary counter has twice as many transitions as the Gray
counter
 Since the power dissipation is related to toggle activities, a Gray counter is
generally more power efficient than a Binary counter
15
NIT HAMIRPUR
Bus Invert Encoding
 Bus invert encoding is a low power encoding technique that is suitable for a set
of parallel synchronous signals e.g.: off-chip busses
 At each clock cycle, the data sender examines the current and next values of
the bus and decides whether sending the true or the compliment signal leads
to fewer toggles
 Since the data signals on the bus may be complemented, an additional polarity
signals is sent to the bus receiver to decode the bus data properly
16
NIT HAMIRPUR
Bus Invert Encoding Example
Example: Eight bit bus
00001100 → 10001101 has Two transitions.
00001100 → 10001101 (DH =2) Polarity Bit =0
10001101 → 01110001
10001101 → 01110001 (DH =6) Polarity Bit =1
Now bits of second pattern are inverted, then instead 01110001 → 10001110 Tx
10001110 will have only TWO transition
17
NIT HAMIRPUR
Bus Invert Encoding
 Encode N-bit string using N+1bits.
 Compute hamming Distance DH
 DH>N/2: Set Polarity Bit=1 ( Invert Next data valve)
otherwise Polarity bit=0 (Next data value)
Fig4. Architecture of bus invert encoding
18
NIT HAMIRPUR
Bus Invert Encoding
 The maximum number of toggeling bits of the inverted bus is reduced from n to
n/2
 The assertion of the polarity signal tells the receiver to invert the received bus
signals
19
NIT HAMIRPUR
Bus Invert Encoding
 We assume that each bit of the bus has the uniform random probability
distribution and is uncorrelated in time.
 This means that the current value of the bus is independent of its previous
values and all bits are mutually uncorrelated.
 The probability of a k-bit transition on an n-bit regular bus is
𝑃𝑘 =
1
2𝑛
𝑛!
𝑛−𝑘 !𝑘!
The expected number of transitions E [P] of the regular bus is thus
20
NIT HAMIRPUR
Bus Invert Encoding
 In the bus invert scheme, additional one polarity bit to the bus.
 For the (n + I)-bit inverted bus, the number of bit transitions at any given clock cycle is
never more than n/2.
 At each clock cycle, if there is a k-bit transition on the inverted bus, one of the
following two conditions must occur:
1. The polarity bit does not toggle: the probability of this condition is identical to that
of a k-bit transition on a regular bus Pk.
2. The polarity bit toggles: this means that there are k - 1 bit transitions in the
inverted bus, which implies that there are n - k + 1 bit transitions in the corresponding
regular bus. This probability is given by P(n - k + 1)
·
𝑃(𝑛 − 𝑘 + 1) =
1
2𝑛
𝑛!
𝑛−𝑛+𝑘−1 !(𝑛−𝑘+1)! )
=
1
2𝑛
𝑛!
𝑘−1 !(𝑛−𝑘+1)!
=P(k-1)
21
NIT HAMIRPUR
Bus Invert Encoding
 Thus, the probability of a k-bit transition on the (n + I) -bit inverted bus is
The expected number of transitions E [Q] on an inverted bus is thus
22
NIT HAMIRPUR
Bus Invert Encoding
Table3. Efficiency of bus invert encoding under uniform random signal
The design decision to apply bus invert technique is dependent on signal statistics and the overhead associated with
the polarity decision logic, the polarity signal and the invert/pass gates.
23
NIT HAMIRPUR
State Machine Encoding
 A state machine is an abstract computation model that can be readily
implemented using Boolean logic and flip flops
 In logic synthesis environment, a state transition graph is specified by the
designer and the synthesis system will produce a gate level circuit based on
the machines specification
 The state transition graph is a functional description of a machine specifying
the inputs and outputs of the machine under a particular state and its
transition to the next state
Fig5. Hardware architecture
of synchronous machine
24
NIT HAMIRPUR
State Machine Encoding
 The very first step of a state machine synthesis process is to allocate the
state register and assign binary codes to represent the symbolic states. This
process is called the encoding of a state machine
 The encoding of a state machine is one of the most important factors that
determine the quality (area, power, speed etc) of the gate level circuit
 Transition Analysis of State Encoding
 The key parameter to the power efficiency of state encoding is the
expected number of bit transitions E[M] in the state register
 Another parameter is the expected number of transitions of output signals
25
NIT HAMIRPUR
State Machine Encoding
 In general machines with lower E[M] are more power efficient because
Fewer transitions of the state register lead to low power dissipation
Fewer transitions are propagated into the combinational logic of the
machine
 Consider two functionality identical state machines M1 and M2 with
different encoding as shown in below figure
 The binary codes in the state bubbles indicate the state encoding
 The labels at the state transition edges represent the probabilities that
transition will occur at any given clock cycle
 The sum of all edge probabilities equals to unity
26
NIT HAMIRPUR
State Machine Encoding
Fig6. Functionally identical machines with different encoding
27
NIT HAMIRPUR
State Machine Encoding
 The expected number of state bit transitions E[M] is given by the sum of
products of edge probabilities and their associated number of bit flips as
dictated by the encoding
 However, a state encoding with the lowest E[M] may not be the one that
results in the lowest overall power dissipation
 The reason is that the particular encoding may require more gates in the
combinational logic, resulting in more signal transitions and power
 The synthesized area and power dissipation of some randomly encoded state
machines is shown below
28
NIT HAMIRPUR
State Machine Encoding
Fig7. Effect of state encoding on synthesized area and power dissipation
Clock-Gating in Moore FSM
29
30
NIT HAMIRPUR
Precomputation Logic
 Precomputation logic optimization is a method to trade area for power in a
synchronous digital circuit
 The principle of precomputation logic is to identify logical conditions at some
inputs to a combinational logic that is invariant to the output
 Since those input values do not affect the output, the input transitions can be
disabled to reduce switching activities
 One variant of precomputation logic is shown below
 Let R1 and R2 are registers with a common clock feeding a combinational
logic circuit with a known Boolean function f(x)
 Due to the nature of the function f(x), there may be some conditions under
which the output of f(x) is independent of the logic value of R2
31
NIT HAMIRPUR
Fig8. A variant of precomputation logic
Precomputation Logic
32
NIT HAMIRPUR
Precomputation Logic
 Under such conditions, we can disable the register loading of R2 to avoid
causing unnecessary switching activities, thus conserving power
 The Boolean function f(x) is correctly computed because it receives all
required values from R1
 To generate the load disable signal to R2, a precomputation Boolean function
g(x) is required to detect the condition at which f(x) is independent of R2
 g(x) depends on the input signals of R1 only because the load disable
condition is independent t of R2, otherwise f(x) will depend on the inputs of R2
when the load disable signal is active
 Assuming uncorrelated input bits with uniform random probabilities where
every bit has an equal probability of 0 or 1
33
NIT HAMIRPUR
Precomputation Logic
 There is 50% probability that An Å Bn = 1 and the register R2 is disabled in
50% of the clock cycles
 Therefore, with only one additional 2 input XOR gate, we have reduced the
signal switching activities of the 2n-2 least significant bits at R2 to half of its
original expected switching frequency
Fig9. Binary comparator function using precomputation logic
34
NIT HAMIRPUR
Precomputation Logic
 Also, when the load disable signal is asserted, the combinational logic of the
comparator has fewer switching activities because the outputs of R2 are not
switched
 The extra power required to compute An Å Bn is negligible compared to the
power saving even for moderate size of n
35
NIT HAMIRPUR
Precomputation Logic
 Prior knowledge of the input signal statistics to apply the
precomputation logic technique.
 In comparator design, if the probability of AnBn is close to
zero, the precomputation logic circuit may be inferior, in
power and area, compared to direct implementation.
 Experimental results [5.16] have shown up to 75% power
reduction with an average of 3% area overhead and 1 to 5
additional gate-delay in the worst-case delay path.
36
NIT HAMIRPUR
Precomputation Condition
 Given f(X), R I and R2, there is a systematic method to derive a precomputation
function g(X).
Let f(p1, p2, p3, p4, ... , pm, x1, x2, x3, ... , xn) be the Boolean function
Where
p1...pm the precomputed inputs corresponding to RI
x1,...xn are the gated inputs corresponding to R2.
Let fxi be the Boolean function obtained by substituting Xi = 1
37
NIT HAMIRPUR
Precomputation Logic
38
NIT HAMIRPUR
Precomputation Logic
39
NIT HAMIRPUR
Alternate Precomputation Logic
 The precomputation scheme based on Shannon's decomposition is states that
a Boolean function f(x1,…,xn) can be decomposed with respect to the variable
xi as follows:
 The equation allows us to use xi as the load disablesignal
40
NIT HAMIRPUR
Precomputation Logic
 When xi= 0 (xi= 1)the inputs to the logic block fxi can be disabled
 The multiplexer selects the output of the combinational logic block that is
active
 This means that only one combinational logic block is activated at any clock
cycle
 Power saving is saving is achieved if each of the two decomposed logic
blocks consumes less power than a direct implementation
 However, the precomputation architecture consumes more area and delay in
general
 The latch based precomputation architecture is shown below
41
NIT HAMIRPUR
Precomputation Logic
Fig10. A precomputation architecture based on Shannon's decomposition
 This architecture is also called guarded evaluation because some inputs to
the logic block C2 are isolated when the signals are not required, to avoid
unnecessary transition
42
NIT HAMIRPUR
Precomputation Logic
Fig11. A latch-based precomputation architecture
 Transmission gates may be used in place of the latches if the charge storage
and noise immunity conditions permit
43
NIT HAMIRPUR
Design issues in Precomputation Logic Techniques
 The basic design steps with precomputation logic are as follows:
1. Select precomputation architecture
2. Determine the precomputed inputs R1 and gated inputs R2 given the
function f(x)
3. With R1 and R2 selected, find a precomputation logic function g(x)
4. Note that g(x) is not unique and the choice greatly affects the power efficiency.
The function g(x) may also fail to exist for poor choices of R1 and R2
5. Evaluate the probability of precomputation condition and the potential power
savings. Make sure that the final circuit is not overwhelmed by the additional
logic circuitry and power consumption required to compute g(x)
44
NIT HAMIRPUR
Design issues in Precomputation Logic Techniques
 After R1, R2 and g(x) are determined, the precomputation logic can be
synthesized using a logic synthesis tool
 Precomputation by definition is creating redundant logic
 The logic circuit that performs precomputation generally pose difficulties in testing
45
NIT HAMIRPUR
Your Limitations-----
Its only your Imagination
Thank You !

More Related Content

What's hot

Latch and flip flop
Latch and flip flopLatch and flip flop
Latch and flip flopGargiKhanna1
 
Fpga architectures and applications
Fpga architectures and applicationsFpga architectures and applications
Fpga architectures and applicationsSudhanshu Janwadkar
 
Special technique in Low Power VLSI design
Special technique in Low Power VLSI designSpecial technique in Low Power VLSI design
Special technique in Low Power VLSI designshrutishreya14
 
Power dissipation cmos
Power dissipation cmosPower dissipation cmos
Power dissipation cmosRajesh Tiwary
 
Pic 18 microcontroller
Pic 18 microcontrollerPic 18 microcontroller
Pic 18 microcontrollerAshish Ranjan
 
UNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGNUNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGNDr.YNM
 
Digital Communication: Information Theory
Digital Communication: Information TheoryDigital Communication: Information Theory
Digital Communication: Information TheoryDr. Sanjay M. Gulhane
 
Fsm sequence detector
Fsm sequence detector Fsm sequence detector
Fsm sequence detector lpvasam
 
Logic synthesis using Verilog HDL
Logic synthesis using Verilog HDLLogic synthesis using Verilog HDL
Logic synthesis using Verilog HDLanand hd
 
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSUNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSDr.YNM
 
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devicesISMT College
 

What's hot (20)

Latch and flip flop
Latch and flip flopLatch and flip flop
Latch and flip flop
 
Fpga architectures and applications
Fpga architectures and applicationsFpga architectures and applications
Fpga architectures and applications
 
Special technique in Low Power VLSI design
Special technique in Low Power VLSI designSpecial technique in Low Power VLSI design
Special technique in Low Power VLSI design
 
Power dissipation cmos
Power dissipation cmosPower dissipation cmos
Power dissipation cmos
 
Altera flex
Altera flexAltera flex
Altera flex
 
SRAM
SRAMSRAM
SRAM
 
Pic 18 microcontroller
Pic 18 microcontrollerPic 18 microcontroller
Pic 18 microcontroller
 
UNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGNUNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGN
 
Energy & Power Signals |Solved Problems|
Energy & Power Signals |Solved Problems|Energy & Power Signals |Solved Problems|
Energy & Power Signals |Solved Problems|
 
Digital Communication: Information Theory
Digital Communication: Information TheoryDigital Communication: Information Theory
Digital Communication: Information Theory
 
Fsm sequence detector
Fsm sequence detector Fsm sequence detector
Fsm sequence detector
 
Xilinx 4000 series
Xilinx 4000 seriesXilinx 4000 series
Xilinx 4000 series
 
Logic synthesis using Verilog HDL
Logic synthesis using Verilog HDLLogic synthesis using Verilog HDL
Logic synthesis using Verilog HDL
 
MULTI Threshold
MULTI ThresholdMULTI Threshold
MULTI Threshold
 
Vlsi design flow
Vlsi design flowVlsi design flow
Vlsi design flow
 
1st Semester M Tech CMOS VLSI Design (Dec-2013) Question Papers
1st Semester M Tech CMOS VLSI Design (Dec-2013) Question Papers1st Semester M Tech CMOS VLSI Design (Dec-2013) Question Papers
1st Semester M Tech CMOS VLSI Design (Dec-2013) Question Papers
 
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSUNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
 
Multipliers in VLSI
Multipliers in VLSIMultipliers in VLSI
Multipliers in VLSI
 
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devices
 
PAL And PLA ROM
PAL And PLA ROMPAL And PLA ROM
PAL And PLA ROM
 

Similar to NIT HAMIRPUR Low Power VLSI Design Logic Level Techniques

Development of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterDevelopment of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterIJPEDS-IAES
 
Codec Scheme for Power Optimization in VLSI Interconnects
Codec Scheme for Power Optimization in VLSI InterconnectsCodec Scheme for Power Optimization in VLSI Interconnects
Codec Scheme for Power Optimization in VLSI InterconnectsIJEEE
 
Arithmetic Operations in Multi-Valued Logic
Arithmetic Operations in Multi-Valued Logic   Arithmetic Operations in Multi-Valued Logic
Arithmetic Operations in Multi-Valued Logic VLSICS Design
 
Design of Counter Using SRAM
Design of Counter Using SRAMDesign of Counter Using SRAM
Design of Counter Using SRAMIOSRJECE
 
Ieee project reversible logic gates by_amit
Ieee project reversible logic gates  by_amitIeee project reversible logic gates  by_amit
Ieee project reversible logic gates by_amitAmith Bhonsle
 
Ieee project reversible logic gates by_amit
Ieee project reversible logic gates  by_amitIeee project reversible logic gates  by_amit
Ieee project reversible logic gates by_amitAmith Bhonsle
 
Arithmetic Operations in Multi-Valued Logic
Arithmetic Operations in Multi-Valued LogicArithmetic Operations in Multi-Valued Logic
Arithmetic Operations in Multi-Valued LogicVLSICS Design
 
2 marks DPCO.pdf
2 marks DPCO.pdf2 marks DPCO.pdf
2 marks DPCO.pdfVhhvf
 
Design of an ADC using High Precision Comparator with Time Domain Offset Canc...
Design of an ADC using High Precision Comparator with Time Domain Offset Canc...Design of an ADC using High Precision Comparator with Time Domain Offset Canc...
Design of an ADC using High Precision Comparator with Time Domain Offset Canc...IJTET Journal
 
High Speed Low-Power Viterbi Decoder Using Trellis Code Modulation
High Speed Low-Power Viterbi Decoder Using Trellis Code ModulationHigh Speed Low-Power Viterbi Decoder Using Trellis Code Modulation
High Speed Low-Power Viterbi Decoder Using Trellis Code ModulationMangaiK4
 
High Speed Low-Power Viterbi Decoder Using Trellis Code Modulation
High Speed Low-Power Viterbi Decoder Using Trellis Code ModulationHigh Speed Low-Power Viterbi Decoder Using Trellis Code Modulation
High Speed Low-Power Viterbi Decoder Using Trellis Code ModulationMangaiK4
 
Unit-4_Bus_Encoding_Part_1.ppt
Unit-4_Bus_Encoding_Part_1.pptUnit-4_Bus_Encoding_Part_1.ppt
Unit-4_Bus_Encoding_Part_1.pptRavi Selvaraj
 
A review on glitch reduction techniques
A review on glitch reduction techniquesA review on glitch reduction techniques
A review on glitch reduction techniqueseSAT Publishing House
 
A review on glitch reduction techniques
A review on glitch reduction techniquesA review on glitch reduction techniques
A review on glitch reduction techniqueseSAT Journals
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI) International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI) inventionjournals
 
DESIGN OF REVERSIBLE MULTIPLIERS FOR LINEAR FILTERING APPLICATIONS IN DSP
DESIGN OF REVERSIBLE MULTIPLIERS FOR LINEAR FILTERING APPLICATIONS IN DSPDESIGN OF REVERSIBLE MULTIPLIERS FOR LINEAR FILTERING APPLICATIONS IN DSP
DESIGN OF REVERSIBLE MULTIPLIERS FOR LINEAR FILTERING APPLICATIONS IN DSPVLSICS Design
 
A NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTER
A NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTERA NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTER
A NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTERVLSICS Design
 
Glitch Analysis and Reduction in Combinational Circuits
Glitch Analysis and Reduction in Combinational CircuitsGlitch Analysis and Reduction in Combinational Circuits
Glitch Analysis and Reduction in Combinational Circuitscsandit
 
GLITCH ANALYSIS AND REDUCTION IN COMBINATIONAL CIRCUITS
GLITCH ANALYSIS AND REDUCTION IN COMBINATIONAL CIRCUITS GLITCH ANALYSIS AND REDUCTION IN COMBINATIONAL CIRCUITS
GLITCH ANALYSIS AND REDUCTION IN COMBINATIONAL CIRCUITS cscpconf
 

Similar to NIT HAMIRPUR Low Power VLSI Design Logic Level Techniques (20)

Development of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterDevelopment of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck Converter
 
Codec Scheme for Power Optimization in VLSI Interconnects
Codec Scheme for Power Optimization in VLSI InterconnectsCodec Scheme for Power Optimization in VLSI Interconnects
Codec Scheme for Power Optimization in VLSI Interconnects
 
Arithmetic Operations in Multi-Valued Logic
Arithmetic Operations in Multi-Valued Logic   Arithmetic Operations in Multi-Valued Logic
Arithmetic Operations in Multi-Valued Logic
 
Design of Counter Using SRAM
Design of Counter Using SRAMDesign of Counter Using SRAM
Design of Counter Using SRAM
 
Ieee project reversible logic gates by_amit
Ieee project reversible logic gates  by_amitIeee project reversible logic gates  by_amit
Ieee project reversible logic gates by_amit
 
Ieee project reversible logic gates by_amit
Ieee project reversible logic gates  by_amitIeee project reversible logic gates  by_amit
Ieee project reversible logic gates by_amit
 
Arithmetic Operations in Multi-Valued Logic
Arithmetic Operations in Multi-Valued LogicArithmetic Operations in Multi-Valued Logic
Arithmetic Operations in Multi-Valued Logic
 
2 marks DPCO.pdf
2 marks DPCO.pdf2 marks DPCO.pdf
2 marks DPCO.pdf
 
Design of an ADC using High Precision Comparator with Time Domain Offset Canc...
Design of an ADC using High Precision Comparator with Time Domain Offset Canc...Design of an ADC using High Precision Comparator with Time Domain Offset Canc...
Design of an ADC using High Precision Comparator with Time Domain Offset Canc...
 
High Speed Low-Power Viterbi Decoder Using Trellis Code Modulation
High Speed Low-Power Viterbi Decoder Using Trellis Code ModulationHigh Speed Low-Power Viterbi Decoder Using Trellis Code Modulation
High Speed Low-Power Viterbi Decoder Using Trellis Code Modulation
 
High Speed Low-Power Viterbi Decoder Using Trellis Code Modulation
High Speed Low-Power Viterbi Decoder Using Trellis Code ModulationHigh Speed Low-Power Viterbi Decoder Using Trellis Code Modulation
High Speed Low-Power Viterbi Decoder Using Trellis Code Modulation
 
Unit-4_Bus_Encoding_Part_1.ppt
Unit-4_Bus_Encoding_Part_1.pptUnit-4_Bus_Encoding_Part_1.ppt
Unit-4_Bus_Encoding_Part_1.ppt
 
A review on glitch reduction techniques
A review on glitch reduction techniquesA review on glitch reduction techniques
A review on glitch reduction techniques
 
A review on glitch reduction techniques
A review on glitch reduction techniquesA review on glitch reduction techniques
A review on glitch reduction techniques
 
H010335563
H010335563H010335563
H010335563
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI) International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
DESIGN OF REVERSIBLE MULTIPLIERS FOR LINEAR FILTERING APPLICATIONS IN DSP
DESIGN OF REVERSIBLE MULTIPLIERS FOR LINEAR FILTERING APPLICATIONS IN DSPDESIGN OF REVERSIBLE MULTIPLIERS FOR LINEAR FILTERING APPLICATIONS IN DSP
DESIGN OF REVERSIBLE MULTIPLIERS FOR LINEAR FILTERING APPLICATIONS IN DSP
 
A NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTER
A NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTERA NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTER
A NEW APPROACH TO DESIGN LOW POWER CMOS FLASH A/D CONVERTER
 
Glitch Analysis and Reduction in Combinational Circuits
Glitch Analysis and Reduction in Combinational CircuitsGlitch Analysis and Reduction in Combinational Circuits
Glitch Analysis and Reduction in Combinational Circuits
 
GLITCH ANALYSIS AND REDUCTION IN COMBINATIONAL CIRCUITS
GLITCH ANALYSIS AND REDUCTION IN COMBINATIONAL CIRCUITS GLITCH ANALYSIS AND REDUCTION IN COMBINATIONAL CIRCUITS
GLITCH ANALYSIS AND REDUCTION IN COMBINATIONAL CIRCUITS
 

More from GargiKhanna1

Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter DesignGargiKhanna1
 
Multiplexers and Demultiplexers
Multiplexers and DemultiplexersMultiplexers and Demultiplexers
Multiplexers and DemultiplexersGargiKhanna1
 
Combinational Logic Circuit
Combinational Logic CircuitCombinational Logic Circuit
Combinational Logic CircuitGargiKhanna1
 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codesGargiKhanna1
 
Boolean Function SOP & POS
Boolean Function SOP &  POSBoolean Function SOP &  POS
Boolean Function SOP & POSGargiKhanna1
 

More from GargiKhanna1 (12)

MOS logic family
MOS logic familyMOS logic family
MOS logic family
 
Digital Counter Design
 Digital Counter Design Digital Counter Design
Digital Counter Design
 
Multiplexers and Demultiplexers
Multiplexers and DemultiplexersMultiplexers and Demultiplexers
Multiplexers and Demultiplexers
 
Combinational Logic Circuit
Combinational Logic CircuitCombinational Logic Circuit
Combinational Logic Circuit
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codes
 
Number system
Number system Number system
Number system
 
Boolean Function SOP & POS
Boolean Function SOP &  POSBoolean Function SOP &  POS
Boolean Function SOP & POS
 
Logic gate
Logic gateLogic gate
Logic gate
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Binary codes
Binary codesBinary codes
Binary codes
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 

Recently uploaded

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 

Recently uploaded (20)

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 

NIT HAMIRPUR Low Power VLSI Design Logic Level Techniques

  • 1. NATIONAL INSTITUTE OF TECHNOLOGY HAMIRPUR NIT HAMIRPUR Electronics and Communication Engineering Department Presented By Dr. Gargi Khanna Associate Professor E&CED Dept. , NIT Hamirpur, HP. LOW POWER VLSI DESIGN Logic Level Techniques
  • 2. What will we learn today? Gate Reorganization Signal Gating Logic Encoding State machine Encoding Precomputation Logic 2
  • 3. 3 NIT HAMIRPUR CHAPTER 5 : Logic Logic Design  Logic design was once the primary abstraction level where automatic design synthesis begins  The most prevalent theme in logic level power optimization techniques is the reduction of switching activities  Switching activities directly contribute to the charging and discharging capacitance and the short circuit power  Some switching activities are the result of unspecified or undefined behavior of a logic system that are not related to its power operation  Such stray switching activities should be eliminated or reduced if possible  However, suppressing unnecessary activities usually requires additional hardware logic that increases the area and consumes power
  • 4. 4 NIT HAMIRPUR Gate Reorganization  Gate reorganization is applied to gate level network to produec logicaly equivalent networks with different qualities for power, area, and delay.  The complexity of the gate reorganization problem limits manual solution to small circuits only.  Gate level reorganization is a central operation of logic synthesis.  Most gate reorganization tasks are performed by automated software in the logic synthesis system
  • 5. 5 NIT HAMIRPUR Local Restructuring  Gate reorganization is an operation to transform one logic circuit to another that is functionally equivalent  Logic restructuring techniques use local restructuring rules to transform one network to another  Some basic transformation operators are: 1. Combine several gates into a single gate 2. Decompose a single gate into several gates 3. Duplicate a gate and redistribute its output connections 4. Delete a wire 5. Add a wire 6. Eliminate unconnected gates
  • 6. 6 NIT HAMIRPUR Local transformation Operators for gate reorganization Local Restructuring Fig1. Local transformation operators for gate reorganization
  • 7. 7 NIT HAMIRPUR Local transformation Operators for gate reorganization Local Restructuring Fig2. Local transformation operators for gate reorganization
  • 8. 8 NIT HAMIRPUR Local Restructuring  COMBINE operator can be used to hide high frequency nodes inside a cell so that the node capacitance is not being switched  DECOMPOSE and DUPLICATE operators help to separate the critical path from the non critical ones so that the latter can be sized down  DELETE WIRE operator reduces the circuit size  ADD WIRE operator helps to provide an intermediate circuit that may eventually lead to a better one
  • 9. 9 NIT HAMIRPUR Signal Gating  Signal gating refers to a class of general techniques to mask unwanted switching activities from propagating forward, causing unnecessary power dissipation  The probabilistic techniques are often used for switching activity analysis  The simplest method to implement signal gating is to put an AND/OR gate at the signal path to stop the propagation of the signal when it needs to be masked  Another method is to use a latch or flip flop to block the propagation of the signal  Sometimes a transmission gate or tristate buffer can be used in place of a latch if charge leakage is not a concern  The various logic implementation of signal gating is shown below
  • 10. 10 NIT HAMIRPUR Signal Gating  The signals at the bottom of the circuits are control signals used to suppress the source signal on the left from propagating to the gated signal on the right  Control signal frequency must be low Fig3. Various logic signal implementation of signal gating
  • 11. 11 NIT HAMIRPUR Logic Encoding  The logic designer of a digital circuit often has the freedom of choosing a different encoding scheme as long as the functional specification of the circuit is met  For e.g. an 8 bit counter can be implemented using the binary counting sequence or the gray code sequence  Different encoding implementation often lead to different power, area and delay tradeoff  The encoding techniques require the knowledge of signal statistics in order to make design decisions
  • 12. Counter • 000 Do D1 D2 111, 101, 110, 100,000,011,010 001, • 001 • 010 • 011 • 100 • 101 • 110 • 111 • 000 12
  • 13. 13 NIT HAMIRPUR Binary versus Gray Code Counting  Consider two n-bit counters implemented with Binary and Gray code counting sequences  The counting sequences of the two counters are shown in Table1  Toggle activities of Binary versus Gray counter are shown in Table2 Table1 Table2
  • 14. 14 NIT HAMIRPUR Binary versus Gray Code Counting  When n is large, the Binary counter has twice as many transitions as the Gray counter  Since the power dissipation is related to toggle activities, a Gray counter is generally more power efficient than a Binary counter
  • 15. 15 NIT HAMIRPUR Bus Invert Encoding  Bus invert encoding is a low power encoding technique that is suitable for a set of parallel synchronous signals e.g.: off-chip busses  At each clock cycle, the data sender examines the current and next values of the bus and decides whether sending the true or the compliment signal leads to fewer toggles  Since the data signals on the bus may be complemented, an additional polarity signals is sent to the bus receiver to decode the bus data properly
  • 16. 16 NIT HAMIRPUR Bus Invert Encoding Example Example: Eight bit bus 00001100 → 10001101 has Two transitions. 00001100 → 10001101 (DH =2) Polarity Bit =0 10001101 → 01110001 10001101 → 01110001 (DH =6) Polarity Bit =1 Now bits of second pattern are inverted, then instead 01110001 → 10001110 Tx 10001110 will have only TWO transition
  • 17. 17 NIT HAMIRPUR Bus Invert Encoding  Encode N-bit string using N+1bits.  Compute hamming Distance DH  DH>N/2: Set Polarity Bit=1 ( Invert Next data valve) otherwise Polarity bit=0 (Next data value) Fig4. Architecture of bus invert encoding
  • 18. 18 NIT HAMIRPUR Bus Invert Encoding  The maximum number of toggeling bits of the inverted bus is reduced from n to n/2  The assertion of the polarity signal tells the receiver to invert the received bus signals
  • 19. 19 NIT HAMIRPUR Bus Invert Encoding  We assume that each bit of the bus has the uniform random probability distribution and is uncorrelated in time.  This means that the current value of the bus is independent of its previous values and all bits are mutually uncorrelated.  The probability of a k-bit transition on an n-bit regular bus is 𝑃𝑘 = 1 2𝑛 𝑛! 𝑛−𝑘 !𝑘! The expected number of transitions E [P] of the regular bus is thus
  • 20. 20 NIT HAMIRPUR Bus Invert Encoding  In the bus invert scheme, additional one polarity bit to the bus.  For the (n + I)-bit inverted bus, the number of bit transitions at any given clock cycle is never more than n/2.  At each clock cycle, if there is a k-bit transition on the inverted bus, one of the following two conditions must occur: 1. The polarity bit does not toggle: the probability of this condition is identical to that of a k-bit transition on a regular bus Pk. 2. The polarity bit toggles: this means that there are k - 1 bit transitions in the inverted bus, which implies that there are n - k + 1 bit transitions in the corresponding regular bus. This probability is given by P(n - k + 1) · 𝑃(𝑛 − 𝑘 + 1) = 1 2𝑛 𝑛! 𝑛−𝑛+𝑘−1 !(𝑛−𝑘+1)! ) = 1 2𝑛 𝑛! 𝑘−1 !(𝑛−𝑘+1)! =P(k-1)
  • 21. 21 NIT HAMIRPUR Bus Invert Encoding  Thus, the probability of a k-bit transition on the (n + I) -bit inverted bus is The expected number of transitions E [Q] on an inverted bus is thus
  • 22. 22 NIT HAMIRPUR Bus Invert Encoding Table3. Efficiency of bus invert encoding under uniform random signal The design decision to apply bus invert technique is dependent on signal statistics and the overhead associated with the polarity decision logic, the polarity signal and the invert/pass gates.
  • 23. 23 NIT HAMIRPUR State Machine Encoding  A state machine is an abstract computation model that can be readily implemented using Boolean logic and flip flops  In logic synthesis environment, a state transition graph is specified by the designer and the synthesis system will produce a gate level circuit based on the machines specification  The state transition graph is a functional description of a machine specifying the inputs and outputs of the machine under a particular state and its transition to the next state Fig5. Hardware architecture of synchronous machine
  • 24. 24 NIT HAMIRPUR State Machine Encoding  The very first step of a state machine synthesis process is to allocate the state register and assign binary codes to represent the symbolic states. This process is called the encoding of a state machine  The encoding of a state machine is one of the most important factors that determine the quality (area, power, speed etc) of the gate level circuit  Transition Analysis of State Encoding  The key parameter to the power efficiency of state encoding is the expected number of bit transitions E[M] in the state register  Another parameter is the expected number of transitions of output signals
  • 25. 25 NIT HAMIRPUR State Machine Encoding  In general machines with lower E[M] are more power efficient because Fewer transitions of the state register lead to low power dissipation Fewer transitions are propagated into the combinational logic of the machine  Consider two functionality identical state machines M1 and M2 with different encoding as shown in below figure  The binary codes in the state bubbles indicate the state encoding  The labels at the state transition edges represent the probabilities that transition will occur at any given clock cycle  The sum of all edge probabilities equals to unity
  • 26. 26 NIT HAMIRPUR State Machine Encoding Fig6. Functionally identical machines with different encoding
  • 27. 27 NIT HAMIRPUR State Machine Encoding  The expected number of state bit transitions E[M] is given by the sum of products of edge probabilities and their associated number of bit flips as dictated by the encoding  However, a state encoding with the lowest E[M] may not be the one that results in the lowest overall power dissipation  The reason is that the particular encoding may require more gates in the combinational logic, resulting in more signal transitions and power  The synthesized area and power dissipation of some randomly encoded state machines is shown below
  • 28. 28 NIT HAMIRPUR State Machine Encoding Fig7. Effect of state encoding on synthesized area and power dissipation
  • 30. 30 NIT HAMIRPUR Precomputation Logic  Precomputation logic optimization is a method to trade area for power in a synchronous digital circuit  The principle of precomputation logic is to identify logical conditions at some inputs to a combinational logic that is invariant to the output  Since those input values do not affect the output, the input transitions can be disabled to reduce switching activities  One variant of precomputation logic is shown below  Let R1 and R2 are registers with a common clock feeding a combinational logic circuit with a known Boolean function f(x)  Due to the nature of the function f(x), there may be some conditions under which the output of f(x) is independent of the logic value of R2
  • 31. 31 NIT HAMIRPUR Fig8. A variant of precomputation logic Precomputation Logic
  • 32. 32 NIT HAMIRPUR Precomputation Logic  Under such conditions, we can disable the register loading of R2 to avoid causing unnecessary switching activities, thus conserving power  The Boolean function f(x) is correctly computed because it receives all required values from R1  To generate the load disable signal to R2, a precomputation Boolean function g(x) is required to detect the condition at which f(x) is independent of R2  g(x) depends on the input signals of R1 only because the load disable condition is independent t of R2, otherwise f(x) will depend on the inputs of R2 when the load disable signal is active  Assuming uncorrelated input bits with uniform random probabilities where every bit has an equal probability of 0 or 1
  • 33. 33 NIT HAMIRPUR Precomputation Logic  There is 50% probability that An Å Bn = 1 and the register R2 is disabled in 50% of the clock cycles  Therefore, with only one additional 2 input XOR gate, we have reduced the signal switching activities of the 2n-2 least significant bits at R2 to half of its original expected switching frequency Fig9. Binary comparator function using precomputation logic
  • 34. 34 NIT HAMIRPUR Precomputation Logic  Also, when the load disable signal is asserted, the combinational logic of the comparator has fewer switching activities because the outputs of R2 are not switched  The extra power required to compute An Å Bn is negligible compared to the power saving even for moderate size of n
  • 35. 35 NIT HAMIRPUR Precomputation Logic  Prior knowledge of the input signal statistics to apply the precomputation logic technique.  In comparator design, if the probability of AnBn is close to zero, the precomputation logic circuit may be inferior, in power and area, compared to direct implementation.  Experimental results [5.16] have shown up to 75% power reduction with an average of 3% area overhead and 1 to 5 additional gate-delay in the worst-case delay path.
  • 36. 36 NIT HAMIRPUR Precomputation Condition  Given f(X), R I and R2, there is a systematic method to derive a precomputation function g(X). Let f(p1, p2, p3, p4, ... , pm, x1, x2, x3, ... , xn) be the Boolean function Where p1...pm the precomputed inputs corresponding to RI x1,...xn are the gated inputs corresponding to R2. Let fxi be the Boolean function obtained by substituting Xi = 1
  • 39. 39 NIT HAMIRPUR Alternate Precomputation Logic  The precomputation scheme based on Shannon's decomposition is states that a Boolean function f(x1,…,xn) can be decomposed with respect to the variable xi as follows:  The equation allows us to use xi as the load disablesignal
  • 40. 40 NIT HAMIRPUR Precomputation Logic  When xi= 0 (xi= 1)the inputs to the logic block fxi can be disabled  The multiplexer selects the output of the combinational logic block that is active  This means that only one combinational logic block is activated at any clock cycle  Power saving is saving is achieved if each of the two decomposed logic blocks consumes less power than a direct implementation  However, the precomputation architecture consumes more area and delay in general  The latch based precomputation architecture is shown below
  • 41. 41 NIT HAMIRPUR Precomputation Logic Fig10. A precomputation architecture based on Shannon's decomposition  This architecture is also called guarded evaluation because some inputs to the logic block C2 are isolated when the signals are not required, to avoid unnecessary transition
  • 42. 42 NIT HAMIRPUR Precomputation Logic Fig11. A latch-based precomputation architecture  Transmission gates may be used in place of the latches if the charge storage and noise immunity conditions permit
  • 43. 43 NIT HAMIRPUR Design issues in Precomputation Logic Techniques  The basic design steps with precomputation logic are as follows: 1. Select precomputation architecture 2. Determine the precomputed inputs R1 and gated inputs R2 given the function f(x) 3. With R1 and R2 selected, find a precomputation logic function g(x) 4. Note that g(x) is not unique and the choice greatly affects the power efficiency. The function g(x) may also fail to exist for poor choices of R1 and R2 5. Evaluate the probability of precomputation condition and the potential power savings. Make sure that the final circuit is not overwhelmed by the additional logic circuitry and power consumption required to compute g(x)
  • 44. 44 NIT HAMIRPUR Design issues in Precomputation Logic Techniques  After R1, R2 and g(x) are determined, the precomputation logic can be synthesized using a logic synthesis tool  Precomputation by definition is creating redundant logic  The logic circuit that performs precomputation generally pose difficulties in testing
  • 45. 45 NIT HAMIRPUR Your Limitations----- Its only your Imagination Thank You !