SlideShare a Scribd company logo
1 of 20
Design of a Low Power Processor for Embedded
System Applications
Kan Pinyotrakool Boonchuay Supmonchai
Department of Electrical Engineering Department of Electrical Engineering
Chulalongkorn University Chulalongkorn University
Bangkok, Thailand Bangkok, Thailand
2020 8th International Electrical Engineering Congress (iEECON) ©2020
IEEE
Abstract
A low power processor for embedded systems is designed and
implemented. The proposed processor can operate on RV32E
instruction set architecture using a modified MIPS micro-
architecture. Clock gating technique and Standby mode are
applied to reduce power consumption.
This Photo by Unknown author is licensed under CC BY.
INTRODUCTION
Embedded systems are ubiquitous. They are
everywhere to control or operate various devices
or equipment to satisfy the need of a user. With
advancing technology, these embedded systems
are now able to communicate among themselves,
thus creating an internet of things or IoT. To prolong
the battery life of the embedded system, the
processor must consume as little power as possible.
Design of a low power processor is therefore
of great importance. This paper presents the design
of a low power processor intended for use in
embedded systems where power, not performance,
is of greater concern.
This Photo by Unknown author is licensed under CC BY-ND.
ARCHITECTURE
• The proposed processor is designed based on
MIPS microarchitecture , capable of operating
on the RV32E base integer instruction set, which
is one of the four RISC-V standard base
instruction set architecture (ISA) . RISC-V is a
standard free and open instruction set
architecture which can be used in research and
education.
• RV32E Instruction Set The RV32E instruction
set is a reduced version of RV32I, intended for
use in embedded systems. To reduce hardware
complexity of the processor, RV32E assumes
only 16 32-bit integer registers as compared to
32 registers in RV32I. RV32E also removes all the
counters that are mandatory in RV32I.
This Photo by Unknown author is licensed under CC BY-SA.
MIPS Micro-Architecture
Micro-architecture is a hardware implementation of a particular ISA. Among all existing micro-
architecture, MIPS micro-architecture is one of the most popular and widely adopted for many
commercial processors, such as ARMv7, ARMv8, R-series, and PICs.
MIPS micro-architecture employs Harvard architecture which separates instruction
memory from data memory. The MIPS micro-architecture operates on each of the instructions in
five phases: fetch, decode, execute, memory access, and register write back.
Cache Memory
Cache memory is crucial to the overall performance of the processor. Cache memory can be unified or
split for instruction and data. Cache mapping techniques include direct mapping, associative mapping,
or set-associative mapping. Performance of the processor depends deeply on the hit/miss ratio of the
mapping technique implemented
PROPOSED DESIGN
Our proposed design of the processor is thus based on a non-
pipelined version of the MIPS micro-architecture in order to
reduce power consumed overall.
Fig. 2 displays the top-level design of the proposed
processor, which consists of the top clock gating unit, the
control unit, and the data path unit.
OPERATION
The processor operates across multiple clock cycles in
three consecutive states as shown in Fig. 4.
In Execute state, the processor performs these following
tasks in order:
This Photo by Unknown author is licensed under CC BY-SA.
1) Decode-- The processor decodes the instruction saved in the instruction
register to extract op code which can be either seven-bit or three-bit long, source
register, destination register, and immediates if specified. Microcode controller
then takes the op code and generates sequence of control signals for the next
three tasks.
2) Arithmetic/Logic Operation ---- The microcode controller
sends the operands, which can be data in registers or
immediates, to the arithmetic/logic unit (ALU) to perform
arithmetic/logic operation according to the op code. There is a
comparator at the entrance of the ALU to compare source
registers for branching instruction.
3) Memory Access --- If the instruction requires a memory access, such as in LOAD or STORE
instructions, the
processor will wait in this state until the operation is finished.
4) Write Back. The result is written back into the destination register specified and the PC is
updated.
Once the Execute state is completed, the processor will enter Standby state if the instruction is
STANDBY
In general, the processor requires six clock cycles for each operation: two for Fetch and Execute,
two for instruction cache hit, and two for data cache hit
B. Clock Gating
Clock gating is employed at the top
level to block off the clock feeding
the processor to further reduce the
overall power consumption. When
the clock is blocked, the output will
be held at the last value. Clock
gating circuit, shown in Fig. 5, is
readily available in the technology
library. Its behavior is described by
the function table in Table 1. Fig. 6
is an example of timing diagram for
the involved signals.
This Photo by Unknown author is licensed under CC BY-SA.
IMPLEMENTATION
The proposed design
is first implemented and
simulated at the Register Transfer
Level (RTL) using Verilog® to checK
its functionality. The design is
then translated, mapped,
and optimized into 180 nm CMOS
technology level using cell design
library for 1.8 V operating supply.
The resulting transistor level
design is validated with the RTL
level design to ensure correct
functionality.
This Photo by Unknown author is licensed under CC BY-SA.
A. Area and Performance
Table 2 is the breakdown of the area taken by each
module and sub-circuit in the processor. From the
table, it can be seen that the register file consumes
the most area on the processor at 56.9%, while the
control unit occupies minimal area at only 1.2%. The
overall area is equivalent to about 7800 gates for the
CMOS technology used.
B. Power
Consumption
The processor consumes current
differently when it is in normal
mode (i.e. Fetch and Execute
states) and sleep mode (i.e.
Standby state). In normal mode,
the processor consumes
approximately 189 µA on average,
compared to only 11.1 µA in sleep
mode. With top clock gating, the
processor will use much less
current when it is slept.
CONCLUSION
A low power processor for embedded
systems is designed and implemented.
The proposed processor can operate on
RV32E instruction set architecture
using a modified MIPS micro-
architecture. Top level clock gating
technique and Standby state are
introduced to reduce overall
power consumption.
For performance, the proposed
processor can operate at a maximum
clock frequency of 32 MHz, with an
average current consumption of 189 µA
in normal mode and 11.1 µA in sleep
mode, or 5.68 µW/MHz
This Photo by Unknown author is licensed under CC BY-SA-NC.
REFERENCES
1] STMicroelectronics, “Ultra-low-power 32-bit MCU Arm®-based Cortex®-
M0+, up to 192KB Flash, 20KB SRAM, 6KB EEPROM, USB, ADC, DACs, AES,”
STM32L082xx datasheet, Sep. 2015 [Revised Sep. 2017].
[2] P. Davide Schiavone et al., "Slow and steady wins the race? A
comparison of ultra-low-power RISC-V cores for Internet-of-Things
applications," 2017 27th International Symposium on Power and Timing
Modeling, Optimization and Simulation (PATMOS), Thessaloniki, 2017, pp.
1-8.
[3] C. Duran et al., “A System-on-Chip Platform for the Internet of Things
featuring a 32-bit RISC-V based Microcontroller”, 2017 IEEE 8th Latin
American Symposium on Circuits & Systems (LASCAS), Bariloche,
Argentina, 2017.
[4] D. K. Dennis et al., “Single cycle RISC-V micro architecture processor
and its FPGA prototype,” 2017 7th International Symposium on Embedded
Computing and System Design (ISED), Durgapur, India, 2017, pp. 1-5.
[5] E. Gür et al.,“FPGA Implementation of 32-bit RISC-V Processor with
Web-Based Assembler-Disassembler”, 2018 International Symposium on
Fundamentals of Electrical Engineering (ISFEE), Bucharest, Romania, 2018.
REFERENCES
6] C. Piguet, “Ultra-Low-Power Processor Design,” in High-Performance
Energy-Efficient Microprocessor Design. New York, NY, USA: Springer,
2006, pp. 1–30.
[7] D. A. Patterson and J. L. Hennessy, Computer organization and
design: the hardware/software interface, 5th ed. Amsterdam: Morgan
Kaufmann, 2014.
[8] A. Waterman and K. Asanovic, “The RISC-V Instruction Set Manual,
Volume I: User-Level ISA, Document Version 2.2”, RISC-V Foundation,
May 2017.
[9] RISC-V, “GNU toolchain for RISC-V, including GCC,”. [Online].
Available: https://github.com/riscv/riscv-gnu-toolchain. [Accessed Nov.
22, 2018].
[10] ARM Limited, “Cortex-M0”. [Online]. Available:
https://developer.arm.com/ip-products/processors/cortex-m/cortexm0.
[Accessed Apr. 27, 2019].
[11] N.H.E.Weste and D.F. Harris, CMOS VLSI Design: A circuits and
designs perspective, 3rd ed., Addison Wesley, 2005, pp.137-138.
THANK
YOU

More Related Content

What's hot

Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)Moe Moe Myint
 
Fpga(field programmable gate array)
Fpga(field programmable gate array) Fpga(field programmable gate array)
Fpga(field programmable gate array) Iffat Anjum
 
Introduction to arm architecture
Introduction to arm architectureIntroduction to arm architecture
Introduction to arm architectureZakaria Gomaa
 
Chapter 3 Charateristics and Quality Attributes of Embedded System
Chapter 3 Charateristics and Quality Attributes of Embedded SystemChapter 3 Charateristics and Quality Attributes of Embedded System
Chapter 3 Charateristics and Quality Attributes of Embedded SystemMoe Moe Myint
 
SOC System Design Approach
SOC System Design ApproachSOC System Design Approach
SOC System Design ApproachA B Shinde
 
BCS302- Digital Design and computer organization -VTU-2022 scheme-Expectation...
BCS302- Digital Design and computer organization -VTU-2022 scheme-Expectation...BCS302- Digital Design and computer organization -VTU-2022 scheme-Expectation...
BCS302- Digital Design and computer organization -VTU-2022 scheme-Expectation...ciyamala kushbu
 
Microcontroller Based Heart Beat and Temperature Monitoring System using Fing...
Microcontroller Based Heart Beat and Temperature Monitoring System using Fing...Microcontroller Based Heart Beat and Temperature Monitoring System using Fing...
Microcontroller Based Heart Beat and Temperature Monitoring System using Fing...xpressafridi
 
Introduction to Embedded Systems and Microcontrollers
Introduction to Embedded Systems and MicrocontrollersIntroduction to Embedded Systems and Microcontrollers
Introduction to Embedded Systems and MicrocontrollersIslam Samir
 
Introduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsIntroduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsAbdullah Alfadhly
 
Arm cortex-m4 programmer model
Arm cortex-m4 programmer modelArm cortex-m4 programmer model
Arm cortex-m4 programmer modelMohammed Gomaa
 
Stm32 f103c8t6
Stm32 f103c8t6Stm32 f103c8t6
Stm32 f103c8t6whatry1995
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESDr.YNM
 
Classification of embedded systems
Classification of embedded systemsClassification of embedded systems
Classification of embedded systemsVikas Dongre
 

What's hot (20)

Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)
 
Fpga(field programmable gate array)
Fpga(field programmable gate array) Fpga(field programmable gate array)
Fpga(field programmable gate array)
 
Introduction to arm architecture
Introduction to arm architectureIntroduction to arm architecture
Introduction to arm architecture
 
Chapter 3 Charateristics and Quality Attributes of Embedded System
Chapter 3 Charateristics and Quality Attributes of Embedded SystemChapter 3 Charateristics and Quality Attributes of Embedded System
Chapter 3 Charateristics and Quality Attributes of Embedded System
 
ARM CORTEX M3 PPT
ARM CORTEX M3 PPTARM CORTEX M3 PPT
ARM CORTEX M3 PPT
 
Dual port ram
Dual port ramDual port ram
Dual port ram
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Xilinx 4000 series
Xilinx 4000 seriesXilinx 4000 series
Xilinx 4000 series
 
SOC System Design Approach
SOC System Design ApproachSOC System Design Approach
SOC System Design Approach
 
SOC design
SOC design SOC design
SOC design
 
BCS302- Digital Design and computer organization -VTU-2022 scheme-Expectation...
BCS302- Digital Design and computer organization -VTU-2022 scheme-Expectation...BCS302- Digital Design and computer organization -VTU-2022 scheme-Expectation...
BCS302- Digital Design and computer organization -VTU-2022 scheme-Expectation...
 
Microcontroller Based Heart Beat and Temperature Monitoring System using Fing...
Microcontroller Based Heart Beat and Temperature Monitoring System using Fing...Microcontroller Based Heart Beat and Temperature Monitoring System using Fing...
Microcontroller Based Heart Beat and Temperature Monitoring System using Fing...
 
Embedded c
Embedded cEmbedded c
Embedded c
 
Introduction to Embedded Systems and Microcontrollers
Introduction to Embedded Systems and MicrocontrollersIntroduction to Embedded Systems and Microcontrollers
Introduction to Embedded Systems and Microcontrollers
 
Introduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsIntroduction to IoT Architectures and Protocols
Introduction to IoT Architectures and Protocols
 
Arm cortex-m4 programmer model
Arm cortex-m4 programmer modelArm cortex-m4 programmer model
Arm cortex-m4 programmer model
 
Ec8791 lpc2148
Ec8791 lpc2148Ec8791 lpc2148
Ec8791 lpc2148
 
Stm32 f103c8t6
Stm32 f103c8t6Stm32 f103c8t6
Stm32 f103c8t6
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTES
 
Classification of embedded systems
Classification of embedded systemsClassification of embedded systems
Classification of embedded systems
 

Similar to Design of a low power processor for Embedded system applications

A REVIEW ON ANALYSIS OF 32-BIT AND 64-BIT RISC PROCESSORS
A REVIEW ON ANALYSIS OF 32-BIT AND 64-BIT RISC PROCESSORSA REVIEW ON ANALYSIS OF 32-BIT AND 64-BIT RISC PROCESSORS
A REVIEW ON ANALYSIS OF 32-BIT AND 64-BIT RISC PROCESSORSIRJET Journal
 
Microcontroller pic 16f877 architecture and basics
Microcontroller pic 16f877 architecture and basicsMicrocontroller pic 16f877 architecture and basics
Microcontroller pic 16f877 architecture and basicsNilesh Bhaskarrao Bahadure
 
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...IRJET Journal
 
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIMAn Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIMjournalBEEI
 
Casp report
Casp reportCasp report
Casp reportqudhuqdh
 
A PIC compatible RISC CPU core Implementation for FPGA based Configurable SOC...
A PIC compatible RISC CPU core Implementation for FPGA based Configurable SOC...A PIC compatible RISC CPU core Implementation for FPGA based Configurable SOC...
A PIC compatible RISC CPU core Implementation for FPGA based Configurable SOC...IDES Editor
 
16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)Susam Pal
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD Editor
 
IRJET- Design of Low Power 32- Bit RISC Processor using Verilog HDL
IRJET-  	  Design of Low Power 32- Bit RISC Processor using Verilog HDLIRJET-  	  Design of Low Power 32- Bit RISC Processor using Verilog HDL
IRJET- Design of Low Power 32- Bit RISC Processor using Verilog HDLIRJET Journal
 
Design and development of a 5-stage Pipelined RISC processor based on MIPS
Design and development of a 5-stage Pipelined RISC processor based on MIPSDesign and development of a 5-stage Pipelined RISC processor based on MIPS
Design and development of a 5-stage Pipelined RISC processor based on MIPSIRJET Journal
 
Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...IAEME Publication
 
Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...IAEME Publication
 
IRJET- Multiple Load Controller for Industry using ARM Cortex
IRJET-  	  Multiple Load Controller for Industry using ARM CortexIRJET-  	  Multiple Load Controller for Industry using ARM Cortex
IRJET- Multiple Load Controller for Industry using ARM CortexIRJET Journal
 
Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...
Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...
Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...Cemal Ardil
 

Similar to Design of a low power processor for Embedded system applications (20)

A REVIEW ON ANALYSIS OF 32-BIT AND 64-BIT RISC PROCESSORS
A REVIEW ON ANALYSIS OF 32-BIT AND 64-BIT RISC PROCESSORSA REVIEW ON ANALYSIS OF 32-BIT AND 64-BIT RISC PROCESSORS
A REVIEW ON ANALYSIS OF 32-BIT AND 64-BIT RISC PROCESSORS
 
Microcontroller pic 16f877 architecture and basics
Microcontroller pic 16f877 architecture and basicsMicrocontroller pic 16f877 architecture and basics
Microcontroller pic 16f877 architecture and basics
 
Hg3612911294
Hg3612911294Hg3612911294
Hg3612911294
 
Ijetr042175
Ijetr042175Ijetr042175
Ijetr042175
 
IJCRT2006062.pdf
IJCRT2006062.pdfIJCRT2006062.pdf
IJCRT2006062.pdf
 
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...
 
Training report on embedded sys_AVR
Training report on embedded sys_AVRTraining report on embedded sys_AVR
Training report on embedded sys_AVR
 
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIMAn Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
 
Casp report
Casp reportCasp report
Casp report
 
A PIC compatible RISC CPU core Implementation for FPGA based Configurable SOC...
A PIC compatible RISC CPU core Implementation for FPGA based Configurable SOC...A PIC compatible RISC CPU core Implementation for FPGA based Configurable SOC...
A PIC compatible RISC CPU core Implementation for FPGA based Configurable SOC...
 
16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
IRJET- Design of Low Power 32- Bit RISC Processor using Verilog HDL
IRJET-  	  Design of Low Power 32- Bit RISC Processor using Verilog HDLIRJET-  	  Design of Low Power 32- Bit RISC Processor using Verilog HDL
IRJET- Design of Low Power 32- Bit RISC Processor using Verilog HDL
 
chameleon chip
chameleon chipchameleon chip
chameleon chip
 
D031201021027
D031201021027D031201021027
D031201021027
 
Design and development of a 5-stage Pipelined RISC processor based on MIPS
Design and development of a 5-stage Pipelined RISC processor based on MIPSDesign and development of a 5-stage Pipelined RISC processor based on MIPS
Design and development of a 5-stage Pipelined RISC processor based on MIPS
 
Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...
 
Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...Designing of telecommand system using system on chip soc for spacecraft contr...
Designing of telecommand system using system on chip soc for spacecraft contr...
 
IRJET- Multiple Load Controller for Industry using ARM Cortex
IRJET-  	  Multiple Load Controller for Industry using ARM CortexIRJET-  	  Multiple Load Controller for Industry using ARM Cortex
IRJET- Multiple Load Controller for Industry using ARM Cortex
 
Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...
Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...
Design development-and-implementation-of-a temperature-sensor-using-zigbee-co...
 

Recently uploaded

Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Ramkumar k
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...jabtakhaidam7
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 

Recently uploaded (20)

Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 

Design of a low power processor for Embedded system applications

  • 1. Design of a Low Power Processor for Embedded System Applications Kan Pinyotrakool Boonchuay Supmonchai Department of Electrical Engineering Department of Electrical Engineering Chulalongkorn University Chulalongkorn University Bangkok, Thailand Bangkok, Thailand 2020 8th International Electrical Engineering Congress (iEECON) ©2020 IEEE
  • 2.
  • 3. Abstract A low power processor for embedded systems is designed and implemented. The proposed processor can operate on RV32E instruction set architecture using a modified MIPS micro- architecture. Clock gating technique and Standby mode are applied to reduce power consumption. This Photo by Unknown author is licensed under CC BY.
  • 4. INTRODUCTION Embedded systems are ubiquitous. They are everywhere to control or operate various devices or equipment to satisfy the need of a user. With advancing technology, these embedded systems are now able to communicate among themselves, thus creating an internet of things or IoT. To prolong the battery life of the embedded system, the processor must consume as little power as possible. Design of a low power processor is therefore of great importance. This paper presents the design of a low power processor intended for use in embedded systems where power, not performance, is of greater concern. This Photo by Unknown author is licensed under CC BY-ND.
  • 5. ARCHITECTURE • The proposed processor is designed based on MIPS microarchitecture , capable of operating on the RV32E base integer instruction set, which is one of the four RISC-V standard base instruction set architecture (ISA) . RISC-V is a standard free and open instruction set architecture which can be used in research and education. • RV32E Instruction Set The RV32E instruction set is a reduced version of RV32I, intended for use in embedded systems. To reduce hardware complexity of the processor, RV32E assumes only 16 32-bit integer registers as compared to 32 registers in RV32I. RV32E also removes all the counters that are mandatory in RV32I. This Photo by Unknown author is licensed under CC BY-SA.
  • 6. MIPS Micro-Architecture Micro-architecture is a hardware implementation of a particular ISA. Among all existing micro- architecture, MIPS micro-architecture is one of the most popular and widely adopted for many commercial processors, such as ARMv7, ARMv8, R-series, and PICs. MIPS micro-architecture employs Harvard architecture which separates instruction memory from data memory. The MIPS micro-architecture operates on each of the instructions in five phases: fetch, decode, execute, memory access, and register write back. Cache Memory Cache memory is crucial to the overall performance of the processor. Cache memory can be unified or split for instruction and data. Cache mapping techniques include direct mapping, associative mapping, or set-associative mapping. Performance of the processor depends deeply on the hit/miss ratio of the mapping technique implemented
  • 7. PROPOSED DESIGN Our proposed design of the processor is thus based on a non- pipelined version of the MIPS micro-architecture in order to reduce power consumed overall. Fig. 2 displays the top-level design of the proposed processor, which consists of the top clock gating unit, the control unit, and the data path unit.
  • 8.
  • 9. OPERATION The processor operates across multiple clock cycles in three consecutive states as shown in Fig. 4. In Execute state, the processor performs these following tasks in order: This Photo by Unknown author is licensed under CC BY-SA.
  • 10. 1) Decode-- The processor decodes the instruction saved in the instruction register to extract op code which can be either seven-bit or three-bit long, source register, destination register, and immediates if specified. Microcode controller then takes the op code and generates sequence of control signals for the next three tasks. 2) Arithmetic/Logic Operation ---- The microcode controller sends the operands, which can be data in registers or immediates, to the arithmetic/logic unit (ALU) to perform arithmetic/logic operation according to the op code. There is a comparator at the entrance of the ALU to compare source registers for branching instruction.
  • 11. 3) Memory Access --- If the instruction requires a memory access, such as in LOAD or STORE instructions, the processor will wait in this state until the operation is finished. 4) Write Back. The result is written back into the destination register specified and the PC is updated. Once the Execute state is completed, the processor will enter Standby state if the instruction is STANDBY In general, the processor requires six clock cycles for each operation: two for Fetch and Execute, two for instruction cache hit, and two for data cache hit
  • 12. B. Clock Gating Clock gating is employed at the top level to block off the clock feeding the processor to further reduce the overall power consumption. When the clock is blocked, the output will be held at the last value. Clock gating circuit, shown in Fig. 5, is readily available in the technology library. Its behavior is described by the function table in Table 1. Fig. 6 is an example of timing diagram for the involved signals. This Photo by Unknown author is licensed under CC BY-SA.
  • 13.
  • 14. IMPLEMENTATION The proposed design is first implemented and simulated at the Register Transfer Level (RTL) using Verilog® to checK its functionality. The design is then translated, mapped, and optimized into 180 nm CMOS technology level using cell design library for 1.8 V operating supply. The resulting transistor level design is validated with the RTL level design to ensure correct functionality. This Photo by Unknown author is licensed under CC BY-SA.
  • 15. A. Area and Performance Table 2 is the breakdown of the area taken by each module and sub-circuit in the processor. From the table, it can be seen that the register file consumes the most area on the processor at 56.9%, while the control unit occupies minimal area at only 1.2%. The overall area is equivalent to about 7800 gates for the CMOS technology used.
  • 16. B. Power Consumption The processor consumes current differently when it is in normal mode (i.e. Fetch and Execute states) and sleep mode (i.e. Standby state). In normal mode, the processor consumes approximately 189 µA on average, compared to only 11.1 µA in sleep mode. With top clock gating, the processor will use much less current when it is slept.
  • 17. CONCLUSION A low power processor for embedded systems is designed and implemented. The proposed processor can operate on RV32E instruction set architecture using a modified MIPS micro- architecture. Top level clock gating technique and Standby state are introduced to reduce overall power consumption. For performance, the proposed processor can operate at a maximum clock frequency of 32 MHz, with an average current consumption of 189 µA in normal mode and 11.1 µA in sleep mode, or 5.68 µW/MHz This Photo by Unknown author is licensed under CC BY-SA-NC.
  • 18. REFERENCES 1] STMicroelectronics, “Ultra-low-power 32-bit MCU Arm®-based Cortex®- M0+, up to 192KB Flash, 20KB SRAM, 6KB EEPROM, USB, ADC, DACs, AES,” STM32L082xx datasheet, Sep. 2015 [Revised Sep. 2017]. [2] P. Davide Schiavone et al., "Slow and steady wins the race? A comparison of ultra-low-power RISC-V cores for Internet-of-Things applications," 2017 27th International Symposium on Power and Timing Modeling, Optimization and Simulation (PATMOS), Thessaloniki, 2017, pp. 1-8. [3] C. Duran et al., “A System-on-Chip Platform for the Internet of Things featuring a 32-bit RISC-V based Microcontroller”, 2017 IEEE 8th Latin American Symposium on Circuits & Systems (LASCAS), Bariloche, Argentina, 2017. [4] D. K. Dennis et al., “Single cycle RISC-V micro architecture processor and its FPGA prototype,” 2017 7th International Symposium on Embedded Computing and System Design (ISED), Durgapur, India, 2017, pp. 1-5. [5] E. Gür et al.,“FPGA Implementation of 32-bit RISC-V Processor with Web-Based Assembler-Disassembler”, 2018 International Symposium on Fundamentals of Electrical Engineering (ISFEE), Bucharest, Romania, 2018.
  • 19. REFERENCES 6] C. Piguet, “Ultra-Low-Power Processor Design,” in High-Performance Energy-Efficient Microprocessor Design. New York, NY, USA: Springer, 2006, pp. 1–30. [7] D. A. Patterson and J. L. Hennessy, Computer organization and design: the hardware/software interface, 5th ed. Amsterdam: Morgan Kaufmann, 2014. [8] A. Waterman and K. Asanovic, “The RISC-V Instruction Set Manual, Volume I: User-Level ISA, Document Version 2.2”, RISC-V Foundation, May 2017. [9] RISC-V, “GNU toolchain for RISC-V, including GCC,”. [Online]. Available: https://github.com/riscv/riscv-gnu-toolchain. [Accessed Nov. 22, 2018]. [10] ARM Limited, “Cortex-M0”. [Online]. Available: https://developer.arm.com/ip-products/processors/cortex-m/cortexm0. [Accessed Apr. 27, 2019]. [11] N.H.E.Weste and D.F. Harris, CMOS VLSI Design: A circuits and designs perspective, 3rd ed., Addison Wesley, 2005, pp.137-138.