SlideShare a Scribd company logo
1 of 17
Reducing Power And EnergyReducing Power And Energy
Consumption Of NonvolatileConsumption Of Nonvolatile
Microcontroller With TransparentMicrocontroller With Transparent
On-chip Instruction CacheOn-chip Instruction Cache
Presented By: Syeda NasihaPresented By: Syeda Nasiha
USN:3VY14LVS24USN:3VY14LVS24
IntroductionIntroduction
• Necessity to reduce power consumption of
microcontrollers.
• Nonvolatile microcontrollers are widely
used due to their convenience in helping
develop embedded system software.
• Significane of On-chip cache memory
MethodologyMethodology
Base microcontroller
• Our microcontroller is based on the
78K0R, which is used in various industrial
fields. The block diagram is shown as a
part of figure below
• This architecture has a three-stage
pipeline structure (IF stage, ID stage,
MEM stage)
1-Word-Per-Line Instruction Cache
As the first step to introduce the instruction
cache to the base microcontroller, we
designed a 1-word-per line instruction
cache architecture, as shown in figure
above.
• Operation of the instruction cache is
explained considering the figure above.
•
• Since the proposed instruction cache does
not allow for a cache miss penalty,a read
access and a write access to the
instruction cache can occur coincidentally.
• For example, consider the Figure
There are two methods of solving this problem
1. Clock cycle dividing method
2. Intermediate buffer insertion method.
4-Word-Per-Line Instruction Cache
For the second step to integrate the
instruction cache to the base
microcontroller, We implemented a 4-
word-per-line instruction cache by
extending the number of words in the
intermediate buffer, as shown.
• Writing operation of proposed 4-word-
per-line instruction cache architecture.
Associativity
As the third step to integrate the instruction
cache with the base microcontroller, we
increased the associativity from 1 to 2 and 4.
EvaluationEvaluation
Method of evaluation
• The tools used for the logic synthesis and
the placement/routing for generation of
chip design data are shown in table.
Power consumptionPower consumption
In the third step, we evaluated the power
and energy consumption of each
instruction cache system.
• The method of estimating power
consumption is as follows:
1) CPU logic.
2) Data memory.
3) Instruction cache memory.
4) Tag memory.
• Cache hit rate by cache size for evaluation
programs(1-word-per-line)
• cache hit rate by cache size (Evaluation
program EEMBC coremark).
Reducing power supply voltageReducing power supply voltage
• In recent years, research in reducing the power
consumption of logic circuits by lowering the power
supply voltage has been reported.
• The proposed instruction cache can work at a lower
power supply voltage in accordance with the logic
circuits.
• By decreasing the power supply voltage, the power
consumption of the flash memory becomes dominant,
compared to the power consumption during normal
voltage operation.
ConclusionConclusion
• . Unlike traditional cache architecture, we intended to
reduce power and energy consumption rather than
improve processing speed
• The proposed instruction cache reduces energy
consumption by 10% to 52% for a ratio of the power
consumption of the flash memory of 30% to 70%, if
the size of the cache is one-twentieth of the program
size.
• The proposed instruction cache is more effective in
reducing energy consumption by lowering the power
supply voltage
Future workFuture work
Our future work involves devising a architecture
for increasing the hit rate of the instruction
cache, and to evaluate the plurality of a
realistic large-size application. In addition, we
intend to evaluate more precise power
consumption using a prototype chip.
Cache

More Related Content

What's hot

Processor Specification and Architecture
Processor Specification and Architecture Processor Specification and Architecture
Processor Specification and Architecture Uday Singh
 
High Performance Computer Architecture
High Performance Computer ArchitectureHigh Performance Computer Architecture
High Performance Computer ArchitectureSubhasis Dash
 
Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann ArchitectureZahid Rajeel
 

What's hot (6)

Processor Specification and Architecture
Processor Specification and Architecture Processor Specification and Architecture
Processor Specification and Architecture
 
High Performance Computer Architecture
High Performance Computer ArchitectureHigh Performance Computer Architecture
High Performance Computer Architecture
 
1
11
1
 
Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann Architecture
 
Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann Architecture
 
Draw and explain the architecture of general purpose microprocessor
Draw and explain the architecture of general purpose microprocessor Draw and explain the architecture of general purpose microprocessor
Draw and explain the architecture of general purpose microprocessor
 

Similar to Cache

Low Power System on chip based design methodology
Low Power System on chip based design methodologyLow Power System on chip based design methodology
Low Power System on chip based design methodologyAakash Patel
 
Empirically Derived Abstractions in Uncore Power Modeling for a Server-Class...
Empirically Derived Abstractions in Uncore Power Modeling for a  Server-Class...Empirically Derived Abstractions in Uncore Power Modeling for a  Server-Class...
Empirically Derived Abstractions in Uncore Power Modeling for a Server-Class...Arun Joseph
 
A Seminar Presentation on Compiler Techniques for Energy Reduction in High-P...
A Seminar Presentation onCompiler Techniques for Energy Reduction in High-P...A Seminar Presentation onCompiler Techniques for Energy Reduction in High-P...
A Seminar Presentation on Compiler Techniques for Energy Reduction in High-P...shashank wake
 
SOC Processors Used in SOC
SOC Processors Used in SOCSOC Processors Used in SOC
SOC Processors Used in SOCA B Shinde
 
Different Approaches in Energy Efficient Cache Memory
Different Approaches in Energy Efficient Cache MemoryDifferent Approaches in Energy Efficient Cache Memory
Different Approaches in Energy Efficient Cache MemoryDhritiman Halder
 
ARM® Cortex™ M Energy Optimization - Using Instruction Cache
ARM® Cortex™ M Energy Optimization - Using Instruction CacheARM® Cortex™ M Energy Optimization - Using Instruction Cache
ARM® Cortex™ M Energy Optimization - Using Instruction CacheRaahul Raghavan
 
Ajal mod 1
Ajal mod 1Ajal mod 1
Ajal mod 1AJAL A J
 
Power minimization of systems using Performance Enhancement Guaranteed Caches
Power minimization of systems using Performance Enhancement Guaranteed CachesPower minimization of systems using Performance Enhancement Guaranteed Caches
Power minimization of systems using Performance Enhancement Guaranteed CachesIJTET Journal
 
DESIGNED DYNAMIC SEGMENTED LRU AND MODIFIED MOESI PROTOCOL FOR RING CONNECTED...
DESIGNED DYNAMIC SEGMENTED LRU AND MODIFIED MOESI PROTOCOL FOR RING CONNECTED...DESIGNED DYNAMIC SEGMENTED LRU AND MODIFIED MOESI PROTOCOL FOR RING CONNECTED...
DESIGNED DYNAMIC SEGMENTED LRU AND MODIFIED MOESI PROTOCOL FOR RING CONNECTED...Ilango Jeyasubramanian
 
Computer organization & ARM microcontrollers module 3 PPT
Computer organization & ARM microcontrollers module 3 PPTComputer organization & ARM microcontrollers module 3 PPT
Computer organization & ARM microcontrollers module 3 PPTChetanNaikJECE
 
An application classification guided cache tuning heuristic for
An application classification guided cache tuning heuristic forAn application classification guided cache tuning heuristic for
An application classification guided cache tuning heuristic forKhyati Rajput
 
Modern INTEL Microprocessors' Architecture and Sneak Peak at NVIDIA TEGRA GPU
Modern INTEL Microprocessors' Architecture and Sneak Peak at NVIDIA TEGRA GPUModern INTEL Microprocessors' Architecture and Sneak Peak at NVIDIA TEGRA GPU
Modern INTEL Microprocessors' Architecture and Sneak Peak at NVIDIA TEGRA GPUabhijeetnawal
 
Design of a low power processor for Embedded system applications
Design of a low power processor for Embedded system applicationsDesign of a low power processor for Embedded system applications
Design of a low power processor for Embedded system applicationsROHIT89352
 
Power Optimization with Efficient Test Logic Partitioning for Full Chip Design
Power Optimization with Efficient Test Logic Partitioning for Full Chip DesignPower Optimization with Efficient Test Logic Partitioning for Full Chip Design
Power Optimization with Efficient Test Logic Partitioning for Full Chip DesignPankaj Singh
 
Analysis Of Optimization Techniques For Low Power VLSI Design
Analysis Of Optimization Techniques For Low Power VLSI DesignAnalysis Of Optimization Techniques For Low Power VLSI Design
Analysis Of Optimization Techniques For Low Power VLSI DesignAmy Cernava
 
Dominant block guided optimal cache size estimation to maximize ipc of embedd...
Dominant block guided optimal cache size estimation to maximize ipc of embedd...Dominant block guided optimal cache size estimation to maximize ipc of embedd...
Dominant block guided optimal cache size estimation to maximize ipc of embedd...ijesajournal
 
Dominant block guided optimal cache size estimation to maximize ipc of embedd...
Dominant block guided optimal cache size estimation to maximize ipc of embedd...Dominant block guided optimal cache size estimation to maximize ipc of embedd...
Dominant block guided optimal cache size estimation to maximize ipc of embedd...ijesajournal
 

Similar to Cache (20)

Low Power System on chip based design methodology
Low Power System on chip based design methodologyLow Power System on chip based design methodology
Low Power System on chip based design methodology
 
Empirically Derived Abstractions in Uncore Power Modeling for a Server-Class...
Empirically Derived Abstractions in Uncore Power Modeling for a  Server-Class...Empirically Derived Abstractions in Uncore Power Modeling for a  Server-Class...
Empirically Derived Abstractions in Uncore Power Modeling for a Server-Class...
 
A Seminar Presentation on Compiler Techniques for Energy Reduction in High-P...
A Seminar Presentation onCompiler Techniques for Energy Reduction in High-P...A Seminar Presentation onCompiler Techniques for Energy Reduction in High-P...
A Seminar Presentation on Compiler Techniques for Energy Reduction in High-P...
 
module01.ppt
module01.pptmodule01.ppt
module01.ppt
 
SOC Processors Used in SOC
SOC Processors Used in SOCSOC Processors Used in SOC
SOC Processors Used in SOC
 
Different Approaches in Energy Efficient Cache Memory
Different Approaches in Energy Efficient Cache MemoryDifferent Approaches in Energy Efficient Cache Memory
Different Approaches in Energy Efficient Cache Memory
 
ARM® Cortex™ M Energy Optimization - Using Instruction Cache
ARM® Cortex™ M Energy Optimization - Using Instruction CacheARM® Cortex™ M Energy Optimization - Using Instruction Cache
ARM® Cortex™ M Energy Optimization - Using Instruction Cache
 
Ajal mod 1
Ajal mod 1Ajal mod 1
Ajal mod 1
 
Chap2 slides
Chap2 slidesChap2 slides
Chap2 slides
 
Power minimization of systems using Performance Enhancement Guaranteed Caches
Power minimization of systems using Performance Enhancement Guaranteed CachesPower minimization of systems using Performance Enhancement Guaranteed Caches
Power minimization of systems using Performance Enhancement Guaranteed Caches
 
DESIGNED DYNAMIC SEGMENTED LRU AND MODIFIED MOESI PROTOCOL FOR RING CONNECTED...
DESIGNED DYNAMIC SEGMENTED LRU AND MODIFIED MOESI PROTOCOL FOR RING CONNECTED...DESIGNED DYNAMIC SEGMENTED LRU AND MODIFIED MOESI PROTOCOL FOR RING CONNECTED...
DESIGNED DYNAMIC SEGMENTED LRU AND MODIFIED MOESI PROTOCOL FOR RING CONNECTED...
 
Computer organization & ARM microcontrollers module 3 PPT
Computer organization & ARM microcontrollers module 3 PPTComputer organization & ARM microcontrollers module 3 PPT
Computer organization & ARM microcontrollers module 3 PPT
 
An application classification guided cache tuning heuristic for
An application classification guided cache tuning heuristic forAn application classification guided cache tuning heuristic for
An application classification guided cache tuning heuristic for
 
Modern INTEL Microprocessors' Architecture and Sneak Peak at NVIDIA TEGRA GPU
Modern INTEL Microprocessors' Architecture and Sneak Peak at NVIDIA TEGRA GPUModern INTEL Microprocessors' Architecture and Sneak Peak at NVIDIA TEGRA GPU
Modern INTEL Microprocessors' Architecture and Sneak Peak at NVIDIA TEGRA GPU
 
Design of a low power processor for Embedded system applications
Design of a low power processor for Embedded system applicationsDesign of a low power processor for Embedded system applications
Design of a low power processor for Embedded system applications
 
Power Optimization with Efficient Test Logic Partitioning for Full Chip Design
Power Optimization with Efficient Test Logic Partitioning for Full Chip DesignPower Optimization with Efficient Test Logic Partitioning for Full Chip Design
Power Optimization with Efficient Test Logic Partitioning for Full Chip Design
 
Tossim
Tossim Tossim
Tossim
 
Analysis Of Optimization Techniques For Low Power VLSI Design
Analysis Of Optimization Techniques For Low Power VLSI DesignAnalysis Of Optimization Techniques For Low Power VLSI Design
Analysis Of Optimization Techniques For Low Power VLSI Design
 
Dominant block guided optimal cache size estimation to maximize ipc of embedd...
Dominant block guided optimal cache size estimation to maximize ipc of embedd...Dominant block guided optimal cache size estimation to maximize ipc of embedd...
Dominant block guided optimal cache size estimation to maximize ipc of embedd...
 
Dominant block guided optimal cache size estimation to maximize ipc of embedd...
Dominant block guided optimal cache size estimation to maximize ipc of embedd...Dominant block guided optimal cache size estimation to maximize ipc of embedd...
Dominant block guided optimal cache size estimation to maximize ipc of embedd...
 

More from Syeda Nasiha

Automatic_Plant_Watering_System_using_Arduino_UNO_.pptx
Automatic_Plant_Watering_System_using_Arduino_UNO_.pptxAutomatic_Plant_Watering_System_using_Arduino_UNO_.pptx
Automatic_Plant_Watering_System_using_Arduino_UNO_.pptxSyeda Nasiha
 
Internship PPT.ppsx
Internship PPT.ppsxInternship PPT.ppsx
Internship PPT.ppsxSyeda Nasiha
 

More from Syeda Nasiha (6)

Automatic_Plant_Watering_System_using_Arduino_UNO_.pptx
Automatic_Plant_Watering_System_using_Arduino_UNO_.pptxAutomatic_Plant_Watering_System_using_Arduino_UNO_.pptx
Automatic_Plant_Watering_System_using_Arduino_UNO_.pptx
 
Internship PPT.ppsx
Internship PPT.ppsxInternship PPT.ppsx
Internship PPT.ppsx
 
Arm7 architecture
Arm7 architectureArm7 architecture
Arm7 architecture
 
Nems2
Nems2Nems2
Nems2
 
Nems2
Nems2Nems2
Nems2
 
3 vy14lvs24
3 vy14lvs243 vy14lvs24
3 vy14lvs24
 

Cache

  • 1. Reducing Power And EnergyReducing Power And Energy Consumption Of NonvolatileConsumption Of Nonvolatile Microcontroller With TransparentMicrocontroller With Transparent On-chip Instruction CacheOn-chip Instruction Cache Presented By: Syeda NasihaPresented By: Syeda Nasiha USN:3VY14LVS24USN:3VY14LVS24
  • 2. IntroductionIntroduction • Necessity to reduce power consumption of microcontrollers. • Nonvolatile microcontrollers are widely used due to their convenience in helping develop embedded system software. • Significane of On-chip cache memory
  • 3. MethodologyMethodology Base microcontroller • Our microcontroller is based on the 78K0R, which is used in various industrial fields. The block diagram is shown as a part of figure below • This architecture has a three-stage pipeline structure (IF stage, ID stage, MEM stage)
  • 4. 1-Word-Per-Line Instruction Cache As the first step to introduce the instruction cache to the base microcontroller, we designed a 1-word-per line instruction cache architecture, as shown in figure above. • Operation of the instruction cache is explained considering the figure above. •
  • 5. • Since the proposed instruction cache does not allow for a cache miss penalty,a read access and a write access to the instruction cache can occur coincidentally. • For example, consider the Figure
  • 6. There are two methods of solving this problem 1. Clock cycle dividing method 2. Intermediate buffer insertion method.
  • 7. 4-Word-Per-Line Instruction Cache For the second step to integrate the instruction cache to the base microcontroller, We implemented a 4- word-per-line instruction cache by extending the number of words in the intermediate buffer, as shown.
  • 8. • Writing operation of proposed 4-word- per-line instruction cache architecture. Associativity As the third step to integrate the instruction cache with the base microcontroller, we increased the associativity from 1 to 2 and 4.
  • 10. • The tools used for the logic synthesis and the placement/routing for generation of chip design data are shown in table.
  • 11. Power consumptionPower consumption In the third step, we evaluated the power and energy consumption of each instruction cache system.
  • 12. • The method of estimating power consumption is as follows: 1) CPU logic. 2) Data memory. 3) Instruction cache memory. 4) Tag memory.
  • 13. • Cache hit rate by cache size for evaluation programs(1-word-per-line) • cache hit rate by cache size (Evaluation program EEMBC coremark).
  • 14. Reducing power supply voltageReducing power supply voltage • In recent years, research in reducing the power consumption of logic circuits by lowering the power supply voltage has been reported. • The proposed instruction cache can work at a lower power supply voltage in accordance with the logic circuits. • By decreasing the power supply voltage, the power consumption of the flash memory becomes dominant, compared to the power consumption during normal voltage operation.
  • 15. ConclusionConclusion • . Unlike traditional cache architecture, we intended to reduce power and energy consumption rather than improve processing speed • The proposed instruction cache reduces energy consumption by 10% to 52% for a ratio of the power consumption of the flash memory of 30% to 70%, if the size of the cache is one-twentieth of the program size. • The proposed instruction cache is more effective in reducing energy consumption by lowering the power supply voltage
  • 16. Future workFuture work Our future work involves devising a architecture for increasing the hit rate of the instruction cache, and to evaluate the plurality of a realistic large-size application. In addition, we intend to evaluate more precise power consumption using a prototype chip.