SlideShare a Scribd company logo
P. Rajeepriyanka Int. Journal of Engineering Research and Applications www.ijera.com 
ISSN : 2248-9622, Vol. 4, Issue 8( Version 2), August 2014, pp.09-13 
www.ijera.com 9 | P a g e 
Achieving Reduced Area and Power with Multi Bit Flip-Flop When Implemented In UART with Status Register P.Rajeepriyanka1, S R Sastry Kalavakolanu2 1(Department of E.C.E, Andhra Loyola Institute of Engineering and Technology, Vijayawada, India) 2(Assistant Professor, Department of E.C.E, Andhra Loyola Institute of Engineering and Technology, Vijayawada, India) ABSTRACT A UART (Universal Asynchronous Receiver and Transmitter) is a device allowing the reception and transmission of information, in a serial and asynchronous way. This project focuses on the implementation of UART with status register using multi bit flip-flop and comparing it with UART with status register using single bit flip-flops. During the reception of data, status register indicates parity error, framing error, overrun error and break error. The multi bit flip-flop is indicated in this status register. In modern very large scale integrated circuits, Power reduction and area reduction has become a vital design goal for sophisticated design applications. So in this project the power consumed and area occupied by both multi-bit flip-flop and single bit flip is compared. The underlying idea behind multi-bit flip-flop method is to eliminate total inverter number by sharing the inverters in the flip-flops. Based on the elimination feature of redundant inverters in merging single bit flip-flops into multi bit flip-flops, gives reduction of wired length and this result in reduction of power consumption and area. Keywords- Clock buffer, Clock network, Multi bit flip-flop, status Register, Single bit flip-flop. 
I. INTRODUCTION 
Universal Asynchronous Receiver Transmitter (UART) is a kind of serial communication protocol. UARTs are used for asynchronous serial data communication by converting data from parallel to serial at transmitter with some extra overhead bits using shift register and vice versa at receiver. Optimizations in VLSI have been done on three factors: Area, Power and Timing (Speed). The implementation of multi-bit flip-flop is an effective method for clock power consumption reduction. By replacing Flip-Flops with multi-bit Flip-Flops power consumption can be reduced. By using single clock pulse the Multi-bit Flip-flop (MBFF) is designed so that the same functionality like two or more single-bit Flip-flop (SBFF) can be achieved. So in this project multi bit flip- flop is implemented in status register of UART. The timing performance of MBFF can be analyzed by simulating in Xilinx. As a result the Clock network such as clock buffer and gate delay can be reduced. So the total area used for designing and power consumption is also reduced. 
II. UART CONCEPT 
UART is a Universal Asynchronous Receiver- Transmitter, which is used to communicate between two devices. Most computers and microcontrollers include one or more serial data ports utilize to communicate with other serial I/O devices, such as keyboards and serial printers. Serial ports are also used to communicate between two computers using a UART in each computer and a crossover cable, which connects the transmitter of one UART to the receiver of the other, and vice versa. Serial communication uses a transmitter to send data, one bit at a time, over a single communication line to a receiver. You can use this method when data transfer rates are low or you must transfer data over long distances. Serial communication is popular because most computers have one or more serial ports, so no extra hardware is needed other than a cable to connect the instrument to the computer or two computers together. A UART provides the means to send information using a minimum number of wires. The data is sent bit serially, without a clock signal. The main function of a UART is the conversion of parallel-to-serial when transmitting and serial to- parallel when receiving. The fact that a clock signal is not sent with the data complicates the design of a UART. The two systems (transmitter and receiver) contain separate and unsynchronized local clocks. The proposed design of UART, shown in Fig. 2, has LCR, Transmitter and Receiver as its functional units. All these blocks are explained in brief as course of rest of this section. 2.1 Line Control Register (LCR) 
The line control register (LCR) is a byte register. It is used for precise specification of frame format and desired baud rate. The parity bits, stop bits, baud 
RESEARCH ARTICLE OPEN ACCESS
P. Rajeepriyanka Int. Journal of Engineering Research and Applications www.ijera.com 
ISSN : 2248-9622, Vol. 4, Issue 8( Version 2), August 2014, pp.09-13 
www.ijera.com 10 | P a g e 
rate selection and word length can be changed by writing the appropriate bits in LCR. 
Figure 1: LCR format 2.2 UART Transmitter The transmitter section accepts parallel data, makes the frame of the data and transmits the data in serial form on the Transmitter Output (TXOUT) terminal. Data is loaded from the inputs TXIN0- TXIN7 into the Transmitter FIFO by applying logic high on the WR (Write) input. If words less than 8 bits are used, only the least significant bits are transmitted. FIFO is 16-byte register. When FIFO contains some data, it will send the signal to Transmitter Hold Register (THR), which is an 8-bit register. At a same time, if THR is empty it will send the signal to FIFO, which indicates that THR is ready to receive data from FIFO. If Transmitter Shift Register (TSR) is empty it will send the signal to THR and it indicates that TSR is ready to receive data from THR. TSR is a 12-bit register in which framing process occurs. In frame start bit, stop bit and parity bit will be added. Now data is transmitted from TSR to TXOUT serially. 
figure 2: UART Architecture 2.3 UART Receiver 
The transmitted data from the TXOUT pin is available on the RXIN pin. The received data is applied to the sampling logic block. The receiver timing and control is used for synchronization of clock signal between transmitter and receiver. Initially the logic line is high whenever it goes low sampling and logic block will take 4 samples of that bit and if all four are same it indicates the start of a frame. After that remaining bits are sampled in the same way and all the bits are send to Receiver Shift Register (RSR) one by one where the entire frame is stored. RSR is a 12 bit shift register. Now if the Receiver Hold Register (RHR) is empty it sends signal to RSR so that only the data bits from RSR goes to RHR which is an 8 bit register. The remaining bits in the RSR are used by the error logic block. Now if receiver FIFO is empty it send the signal to RHR so that the data bits goes to FIFO. When RD signal is asserted the data is available in parallel form on the RXOUT0-RXOUT7pins. The error logic block handles 4 types of errors: Parity error, Frame error, Overrun error, break error. If the received parity does not match with the parity
P. Rajeepriyanka Int. Journal of Engineering Research and Applications www.ijera.com 
ISSN : 2248-9622, Vol. 4, Issue 8( Version 2), August 2014, pp.09-13 
www.ijera.com 11 | P a g e 
generated from data bits PL bit will be set which indicates that parity error occurred. If receiver fails to detect correct stop bit or when 4 samples do not match frame error occurs and SL bit is set. If the receiver FIFO is full and other data arrives at the RHR overrun error occurs and OL bit is set. If the RXIN pin is held low for long time than the frame time then there is a break in received data and break error occurs and BL bit is set. 2.4 The UART Standard Data Format Serial data are contained within frames of 8 data bits, as well as coded information bits. Between successive transmissions, the transmission line is held high. A transmission is initialized by a leading low start bit. Next to the leading low start bit comes 8 bits of data information, beginning with the LSB and afterwards represented at increasing significance order up to the MSB. Next to the 8 data bits comes the parity bit, representing the parity result of the 8 data bits. The parity bit can be encoded true based on even parity or odd parity mode. Next to the parity bit comes a trailing high stop bit indicating the end of a data frame. 
Figure 3: UART data format 
III. MULTI BIT FLIP- FLOP CONCEPT 
In this section, we will introduce multi-bit flip- flop concept. The proposed method for multi bit flip flop is merging of clock pulse. Before that, we will review single-bit flip-flop. Figure 3 shows an example of single-bit flip-flop. A single-bit flip-flop has two latches (Master latch and slave latch). The latches need “Clk” and “Clk’ ” signal to perform operations, such as Fig.4 shows. 
Figure 4: Single-Bit Flip-Flop 
In order to have better delay from Clk-> Q, we will regenerate “Clk” from “Clk’”. Hence we will have two inverters in the clock path. Fig.5 shows an example of merging two 1-bit flip-flops into one 2-bit flip-flop. Each 1-bit flip-flop contains two inverters, master-latch and slave-latch. 
Figure 5: An example of merging two 1-bit flip-flops into one 2-bit flip-flop. Due to the manufacturing rules, inverters in flip- flops tend to be oversized. As the process technology advances into smaller geometry nodes like 65nm and beyond, the minimum size of clock drivers can drive more than one flip-flop. Merging single-bit flip-flops into one multi-bit flip-flop can avoid duplicate inverters, and lower the total clock dynamic power consumption. 
IV. EXPERIMENTAL RESULTS 
By implementing the multi bit flip-flop in UART with status register, it is simulated in Xilinx. The total power consumed by clock in it is 0.00263W whereas the power consumed by UART with status register using single bit flip-flop is 0.00318W. Atleast 20% of power is reduced when it is compared with normal UART with status register. The simulation results for power is shown in Fig.6 and Fig.8 In synthesis report, UART with status register using single bit flip-flop uses four clock buffers whereas in UART with status register using multi bit flip-flop, we can see only two clock buffers are used. This indicates that the area is reduced. The Synthesis report for both single bit and multi bit flip-flop is shown in Fig.7 and Fig 9.
P. Rajeepriyanka Int. Journal of Engineering Research and Applications www.ijera.com 
ISSN : 2248-9622, Vol. 4, Issue 8( Version 2), August 2014, pp.09-13 
www.ijera.com 12 | P a g e 
Figure 6: power report using single bit flip-flop 
Figure 7: synthesis report for single bit flip-flop 
Figure 8: Power report using multi bit flip-flop 
Figure 9: Synthesis report for multi bit flip-flop 
The number of clocks used and power consumed by using single bit flip-flop and multi bit flip-flop is indicated in graphical representation. Those graphs are shown in Fig.10 and Fig.11 
Figure 10: clock buffers 
Figure 11: power consumed 
V. CONCLUSION 
In present VLSI design area is one of the important issues to be addressed. The proposed method is implemented in Xilinx. Experimental results are targeted to number of clock buffer usage and power used by clock buffer. Thus this proposed method is more suitable for reduction of hardware.
P. Rajeepriyanka Int. Journal of Engineering Research and Applications www.ijera.com 
ISSN : 2248-9622, Vol. 4, Issue 8( Version 2), August 2014, pp.09-13 
www.ijera.com 13 | P a g e 
REFERENCES [1] Zhi-Wei Chen and Jin-Tai Yan, Routability- Driven Flip-Flop Merging Process for Clock Power Reduction, Computer Design (ICCD) IEEE International Conference, 2010 [2] Ya-Ting Shyuet. Al., Effective and Efficient Approach for Power Reduction by Using Muti-Bit Flip-Flops, IEEE transactions on very large scale integration systems, 2012 [3] Jin-Tai Yan and Zhi-Wei Chen, Construction of Constrained Multi-Bit Flip- Flops for Clock Power Reduction, Green Circuits and Systems (ICGCS) International Conference, 2010 [4] Chih-Cheng Hsu, Yao-Tsung Chang and Mark Po-Hung Lin, Crosstalk-Aware Power Optimization with Multi-Bit Flip-Flops, 17th Asia and South Pacific Design Automation Conference, 2012 [5] Himanshu Patel; Sanjay Trivedi; R. Neelkanthan; V. R. Gujraty; , "A Robust UART Architecture Based on Recursive Running Sum Filter for Better Noise Performance," VLSI Design, 2007. Held jointly with 6th International Conference on Embedded Systems., 20th International Conference on , vol., no., pp.819-823, Jan. 2007. [6] Fang Yi-yuan; Chen Xue-jun; , "Design and Simulation of UART Serial Communication Module Based on VHDL," Intelligent Systems and Applications (ISA), 2011 3rd International Workshop on , vol.,no., pp.1-4, 28-29 May 2011 [7] Idris, M.Y.I.; Yaacob, M.;, "A VHDL implementation of BIST technique in UART design," TENCON 2003. Conference on Convergent Technologies for Asia-Pacific Region , vol.4, no., pp. 1450- 1454 Vol.4, 15-17 Oct. 2003. [8] Chun-zhi, He; Yin-shui, Xia; Lun-yao, Wang; , "A universal asynchronous receiver transmitter design," Electronics, Communications and Control (ICECC), 2011 International Conference on , vol., no., pp.691-694, 9-11 Sept. 2011

More Related Content

What's hot

UART(universal asynchronous receiver transmitter ) PPT
UART(universal asynchronous receiver transmitter ) PPTUART(universal asynchronous receiver transmitter ) PPT
UART(universal asynchronous receiver transmitter ) PPT
Sai_praneeth
 
8051 serial communication
8051 serial communication8051 serial communication
8051 serial communication
asteriskbimal
 
Seminar on serial communication
Seminar on serial communicationSeminar on serial communication
Seminar on serial communication
Samarth Patel
 
Mridul_Verma_Intern_Tech_Adityaa_UART
Mridul_Verma_Intern_Tech_Adityaa_UARTMridul_Verma_Intern_Tech_Adityaa_UART
Mridul_Verma_Intern_Tech_Adityaa_UART
Mridul Verma
 

What's hot (20)

Inter intergrated circuits-communication protocol
Inter intergrated circuits-communication protocolInter intergrated circuits-communication protocol
Inter intergrated circuits-communication protocol
 
UART(universal asynchronous receiver transmitter ) PPT
UART(universal asynchronous receiver transmitter ) PPTUART(universal asynchronous receiver transmitter ) PPT
UART(universal asynchronous receiver transmitter ) PPT
 
Master synchronous serial port (mssp)
Master synchronous serial port (mssp)Master synchronous serial port (mssp)
Master synchronous serial port (mssp)
 
8051 serial communication
8051 serial communication8051 serial communication
8051 serial communication
 
8051 serial communication-UART
8051 serial communication-UART8051 serial communication-UART
8051 serial communication-UART
 
Seminar on serial communication
Seminar on serial communicationSeminar on serial communication
Seminar on serial communication
 
Uart
UartUart
Uart
 
Universal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
Universal synchronous asynchronous receiver transmitter(usart) and AtoD CoverterUniversal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
Universal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
 
Serial Communication Part-16
Serial Communication Part-16Serial Communication Part-16
Serial Communication Part-16
 
USART - 8251 / usart-8251A Pallav Shukla
USART - 8251 / usart-8251A Pallav ShuklaUSART - 8251 / usart-8251A Pallav Shukla
USART - 8251 / usart-8251A Pallav Shukla
 
Instruction.pdf
Instruction.pdfInstruction.pdf
Instruction.pdf
 
Serial communication of microcontroller 8051
Serial communication of microcontroller 8051Serial communication of microcontroller 8051
Serial communication of microcontroller 8051
 
UART
UARTUART
UART
 
Mridul_Verma_Intern_Tech_Adityaa_UART
Mridul_Verma_Intern_Tech_Adityaa_UARTMridul_Verma_Intern_Tech_Adityaa_UART
Mridul_Verma_Intern_Tech_Adityaa_UART
 
28. 8251 programmable communication interface
28. 8251 programmable communication interface28. 8251 programmable communication interface
28. 8251 programmable communication interface
 
UART
UARTUART
UART
 
Digital 9 16
Digital 9 16Digital 9 16
Digital 9 16
 
Serial peripheral Interface - Embedded System Protocol
Serial peripheral Interface - Embedded System ProtocolSerial peripheral Interface - Embedded System Protocol
Serial peripheral Interface - Embedded System Protocol
 
SPI Bus Protocol
SPI Bus ProtocolSPI Bus Protocol
SPI Bus Protocol
 
Implementation of Universal Asynchronous Receiver and Transmitter
Implementation of Universal Asynchronous Receiver and TransmitterImplementation of Universal Asynchronous Receiver and Transmitter
Implementation of Universal Asynchronous Receiver and Transmitter
 

Viewers also liked

Effect of voltage on multiple particles and collisions in a single Phase Gas ...
Effect of voltage on multiple particles and collisions in a single Phase Gas ...Effect of voltage on multiple particles and collisions in a single Phase Gas ...
Effect of voltage on multiple particles and collisions in a single Phase Gas ...
IJERA Editor
 

Viewers also liked (20)

Power reduction through merged flip flops
Power reduction through merged flip flopsPower reduction through merged flip flops
Power reduction through merged flip flops
 
Secure by design
Secure by designSecure by design
Secure by design
 
J44094650
J44094650J44094650
J44094650
 
Ar044280284
Ar044280284Ar044280284
Ar044280284
 
T0440899104
T0440899104T0440899104
T0440899104
 
Design Optimization and Development in Air Pollution Control Device
Design Optimization and Development in Air Pollution Control DeviceDesign Optimization and Development in Air Pollution Control Device
Design Optimization and Development in Air Pollution Control Device
 
Moocs Impact in Higher Education Institution: A Pilot Study In Indian Context
Moocs Impact in Higher Education Institution: A Pilot Study In Indian ContextMoocs Impact in Higher Education Institution: A Pilot Study In Indian Context
Moocs Impact in Higher Education Institution: A Pilot Study In Indian Context
 
Aa4502172179
Aa4502172179Aa4502172179
Aa4502172179
 
K45025664
K45025664K45025664
K45025664
 
A42020106
A42020106A42020106
A42020106
 
J42046469
J42046469J42046469
J42046469
 
Cl4201593597
Cl4201593597Cl4201593597
Cl4201593597
 
Review on Identify Kin Relationship Technique in Image
Review on Identify Kin Relationship Technique in ImageReview on Identify Kin Relationship Technique in Image
Review on Identify Kin Relationship Technique in Image
 
Ae04507184189
Ae04507184189Ae04507184189
Ae04507184189
 
Df4301619624
Df4301619624Df4301619624
Df4301619624
 
Be4301314318
Be4301314318Be4301314318
Be4301314318
 
The Minimum Total Heating Lander By The Maximum Principle Pontryagin
The Minimum Total Heating Lander By The Maximum Principle PontryaginThe Minimum Total Heating Lander By The Maximum Principle Pontryagin
The Minimum Total Heating Lander By The Maximum Principle Pontryagin
 
Effect of voltage on multiple particles and collisions in a single Phase Gas ...
Effect of voltage on multiple particles and collisions in a single Phase Gas ...Effect of voltage on multiple particles and collisions in a single Phase Gas ...
Effect of voltage on multiple particles and collisions in a single Phase Gas ...
 
Maintenance cost reduction of a hydraulic excavator through oil analysis
Maintenance cost reduction of a hydraulic excavator through oil analysisMaintenance cost reduction of a hydraulic excavator through oil analysis
Maintenance cost reduction of a hydraulic excavator through oil analysis
 
G045053740
G045053740G045053740
G045053740
 

Similar to Achieving Reduced Area and Power with Multi Bit Flip-Flop When Implemented In UART with Status Register

Similar to Achieving Reduced Area and Power with Multi Bit Flip-Flop When Implemented In UART with Status Register (20)

Synthesis & FPGA Implementation of UART IP Soft Core
Synthesis & FPGA Implementation of UART IP Soft CoreSynthesis & FPGA Implementation of UART IP Soft Core
Synthesis & FPGA Implementation of UART IP Soft Core
 
Serial Communication Uart soc
Serial Communication  Uart socSerial Communication  Uart soc
Serial Communication Uart soc
 
Universal Serial Communication Interface
Universal Serial Communication InterfaceUniversal Serial Communication Interface
Universal Serial Communication Interface
 
NAVEEN UART BATCH 43
NAVEEN UART BATCH 43NAVEEN UART BATCH 43
NAVEEN UART BATCH 43
 
Universal asynchronous receiver_transmitter_uart_rs232
Universal asynchronous receiver_transmitter_uart_rs232Universal asynchronous receiver_transmitter_uart_rs232
Universal asynchronous receiver_transmitter_uart_rs232
 
Design and implementation of uart on soc
Design and implementation of uart on socDesign and implementation of uart on soc
Design and implementation of uart on soc
 
Vlsi implementation ofdm
Vlsi implementation ofdmVlsi implementation ofdm
Vlsi implementation ofdm
 
Universal Asynchronous Receive and transmit IP core
Universal Asynchronous Receive and transmit IP coreUniversal Asynchronous Receive and transmit IP core
Universal Asynchronous Receive and transmit IP core
 
UART project report by Tarun Khaneja ( 09034406598 )
UART project report by Tarun Khaneja ( 09034406598 )UART project report by Tarun Khaneja ( 09034406598 )
UART project report by Tarun Khaneja ( 09034406598 )
 
Tutorial
TutorialTutorial
Tutorial
 
serial-200505101453.pdf
serial-200505101453.pdfserial-200505101453.pdf
serial-200505101453.pdf
 
Internal Architecture of Junction Based Router
Internal Architecture of Junction Based RouterInternal Architecture of Junction Based Router
Internal Architecture of Junction Based Router
 
Internal Architecture of Junction Based Router
Internal Architecture of Junction Based Router Internal Architecture of Junction Based Router
Internal Architecture of Junction Based Router
 
Internal Architecture of Junction Based Router
Internal Architecture of Junction Based RouterInternal Architecture of Junction Based Router
Internal Architecture of Junction Based Router
 
Internal Architecture of Junction Based Router
Internal Architecture of Junction Based RouterInternal Architecture of Junction Based Router
Internal Architecture of Junction Based Router
 
IRJET- Design of Virtual Channel Less Five Port Network
IRJET- Design of Virtual Channel Less Five Port NetworkIRJET- Design of Virtual Channel Less Five Port Network
IRJET- Design of Virtual Channel Less Five Port Network
 
VERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIP
VERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIPVERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIP
VERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIP
 
Router 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationRouter 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and Verification
 
Serial IO for 8051
Serial IO for 8051Serial IO for 8051
Serial IO for 8051
 
Implementation of UART with BIST Technique Using Low Power LFSR
Implementation of UART with BIST Technique Using Low Power LFSRImplementation of UART with BIST Technique Using Low Power LFSR
Implementation of UART with BIST Technique Using Low Power LFSR
 

Recently uploaded

Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
Kamal Acharya
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
Atif Razi
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 

Recently uploaded (20)

fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projection
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 
fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answer
 
Toll tax management system project report..pdf
Toll tax management system project report..pdfToll tax management system project report..pdf
Toll tax management system project report..pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docxThe Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 

Achieving Reduced Area and Power with Multi Bit Flip-Flop When Implemented In UART with Status Register

  • 1. P. Rajeepriyanka Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 8( Version 2), August 2014, pp.09-13 www.ijera.com 9 | P a g e Achieving Reduced Area and Power with Multi Bit Flip-Flop When Implemented In UART with Status Register P.Rajeepriyanka1, S R Sastry Kalavakolanu2 1(Department of E.C.E, Andhra Loyola Institute of Engineering and Technology, Vijayawada, India) 2(Assistant Professor, Department of E.C.E, Andhra Loyola Institute of Engineering and Technology, Vijayawada, India) ABSTRACT A UART (Universal Asynchronous Receiver and Transmitter) is a device allowing the reception and transmission of information, in a serial and asynchronous way. This project focuses on the implementation of UART with status register using multi bit flip-flop and comparing it with UART with status register using single bit flip-flops. During the reception of data, status register indicates parity error, framing error, overrun error and break error. The multi bit flip-flop is indicated in this status register. In modern very large scale integrated circuits, Power reduction and area reduction has become a vital design goal for sophisticated design applications. So in this project the power consumed and area occupied by both multi-bit flip-flop and single bit flip is compared. The underlying idea behind multi-bit flip-flop method is to eliminate total inverter number by sharing the inverters in the flip-flops. Based on the elimination feature of redundant inverters in merging single bit flip-flops into multi bit flip-flops, gives reduction of wired length and this result in reduction of power consumption and area. Keywords- Clock buffer, Clock network, Multi bit flip-flop, status Register, Single bit flip-flop. I. INTRODUCTION Universal Asynchronous Receiver Transmitter (UART) is a kind of serial communication protocol. UARTs are used for asynchronous serial data communication by converting data from parallel to serial at transmitter with some extra overhead bits using shift register and vice versa at receiver. Optimizations in VLSI have been done on three factors: Area, Power and Timing (Speed). The implementation of multi-bit flip-flop is an effective method for clock power consumption reduction. By replacing Flip-Flops with multi-bit Flip-Flops power consumption can be reduced. By using single clock pulse the Multi-bit Flip-flop (MBFF) is designed so that the same functionality like two or more single-bit Flip-flop (SBFF) can be achieved. So in this project multi bit flip- flop is implemented in status register of UART. The timing performance of MBFF can be analyzed by simulating in Xilinx. As a result the Clock network such as clock buffer and gate delay can be reduced. So the total area used for designing and power consumption is also reduced. II. UART CONCEPT UART is a Universal Asynchronous Receiver- Transmitter, which is used to communicate between two devices. Most computers and microcontrollers include one or more serial data ports utilize to communicate with other serial I/O devices, such as keyboards and serial printers. Serial ports are also used to communicate between two computers using a UART in each computer and a crossover cable, which connects the transmitter of one UART to the receiver of the other, and vice versa. Serial communication uses a transmitter to send data, one bit at a time, over a single communication line to a receiver. You can use this method when data transfer rates are low or you must transfer data over long distances. Serial communication is popular because most computers have one or more serial ports, so no extra hardware is needed other than a cable to connect the instrument to the computer or two computers together. A UART provides the means to send information using a minimum number of wires. The data is sent bit serially, without a clock signal. The main function of a UART is the conversion of parallel-to-serial when transmitting and serial to- parallel when receiving. The fact that a clock signal is not sent with the data complicates the design of a UART. The two systems (transmitter and receiver) contain separate and unsynchronized local clocks. The proposed design of UART, shown in Fig. 2, has LCR, Transmitter and Receiver as its functional units. All these blocks are explained in brief as course of rest of this section. 2.1 Line Control Register (LCR) The line control register (LCR) is a byte register. It is used for precise specification of frame format and desired baud rate. The parity bits, stop bits, baud RESEARCH ARTICLE OPEN ACCESS
  • 2. P. Rajeepriyanka Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 8( Version 2), August 2014, pp.09-13 www.ijera.com 10 | P a g e rate selection and word length can be changed by writing the appropriate bits in LCR. Figure 1: LCR format 2.2 UART Transmitter The transmitter section accepts parallel data, makes the frame of the data and transmits the data in serial form on the Transmitter Output (TXOUT) terminal. Data is loaded from the inputs TXIN0- TXIN7 into the Transmitter FIFO by applying logic high on the WR (Write) input. If words less than 8 bits are used, only the least significant bits are transmitted. FIFO is 16-byte register. When FIFO contains some data, it will send the signal to Transmitter Hold Register (THR), which is an 8-bit register. At a same time, if THR is empty it will send the signal to FIFO, which indicates that THR is ready to receive data from FIFO. If Transmitter Shift Register (TSR) is empty it will send the signal to THR and it indicates that TSR is ready to receive data from THR. TSR is a 12-bit register in which framing process occurs. In frame start bit, stop bit and parity bit will be added. Now data is transmitted from TSR to TXOUT serially. figure 2: UART Architecture 2.3 UART Receiver The transmitted data from the TXOUT pin is available on the RXIN pin. The received data is applied to the sampling logic block. The receiver timing and control is used for synchronization of clock signal between transmitter and receiver. Initially the logic line is high whenever it goes low sampling and logic block will take 4 samples of that bit and if all four are same it indicates the start of a frame. After that remaining bits are sampled in the same way and all the bits are send to Receiver Shift Register (RSR) one by one where the entire frame is stored. RSR is a 12 bit shift register. Now if the Receiver Hold Register (RHR) is empty it sends signal to RSR so that only the data bits from RSR goes to RHR which is an 8 bit register. The remaining bits in the RSR are used by the error logic block. Now if receiver FIFO is empty it send the signal to RHR so that the data bits goes to FIFO. When RD signal is asserted the data is available in parallel form on the RXOUT0-RXOUT7pins. The error logic block handles 4 types of errors: Parity error, Frame error, Overrun error, break error. If the received parity does not match with the parity
  • 3. P. Rajeepriyanka Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 8( Version 2), August 2014, pp.09-13 www.ijera.com 11 | P a g e generated from data bits PL bit will be set which indicates that parity error occurred. If receiver fails to detect correct stop bit or when 4 samples do not match frame error occurs and SL bit is set. If the receiver FIFO is full and other data arrives at the RHR overrun error occurs and OL bit is set. If the RXIN pin is held low for long time than the frame time then there is a break in received data and break error occurs and BL bit is set. 2.4 The UART Standard Data Format Serial data are contained within frames of 8 data bits, as well as coded information bits. Between successive transmissions, the transmission line is held high. A transmission is initialized by a leading low start bit. Next to the leading low start bit comes 8 bits of data information, beginning with the LSB and afterwards represented at increasing significance order up to the MSB. Next to the 8 data bits comes the parity bit, representing the parity result of the 8 data bits. The parity bit can be encoded true based on even parity or odd parity mode. Next to the parity bit comes a trailing high stop bit indicating the end of a data frame. Figure 3: UART data format III. MULTI BIT FLIP- FLOP CONCEPT In this section, we will introduce multi-bit flip- flop concept. The proposed method for multi bit flip flop is merging of clock pulse. Before that, we will review single-bit flip-flop. Figure 3 shows an example of single-bit flip-flop. A single-bit flip-flop has two latches (Master latch and slave latch). The latches need “Clk” and “Clk’ ” signal to perform operations, such as Fig.4 shows. Figure 4: Single-Bit Flip-Flop In order to have better delay from Clk-> Q, we will regenerate “Clk” from “Clk’”. Hence we will have two inverters in the clock path. Fig.5 shows an example of merging two 1-bit flip-flops into one 2-bit flip-flop. Each 1-bit flip-flop contains two inverters, master-latch and slave-latch. Figure 5: An example of merging two 1-bit flip-flops into one 2-bit flip-flop. Due to the manufacturing rules, inverters in flip- flops tend to be oversized. As the process technology advances into smaller geometry nodes like 65nm and beyond, the minimum size of clock drivers can drive more than one flip-flop. Merging single-bit flip-flops into one multi-bit flip-flop can avoid duplicate inverters, and lower the total clock dynamic power consumption. IV. EXPERIMENTAL RESULTS By implementing the multi bit flip-flop in UART with status register, it is simulated in Xilinx. The total power consumed by clock in it is 0.00263W whereas the power consumed by UART with status register using single bit flip-flop is 0.00318W. Atleast 20% of power is reduced when it is compared with normal UART with status register. The simulation results for power is shown in Fig.6 and Fig.8 In synthesis report, UART with status register using single bit flip-flop uses four clock buffers whereas in UART with status register using multi bit flip-flop, we can see only two clock buffers are used. This indicates that the area is reduced. The Synthesis report for both single bit and multi bit flip-flop is shown in Fig.7 and Fig 9.
  • 4. P. Rajeepriyanka Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 8( Version 2), August 2014, pp.09-13 www.ijera.com 12 | P a g e Figure 6: power report using single bit flip-flop Figure 7: synthesis report for single bit flip-flop Figure 8: Power report using multi bit flip-flop Figure 9: Synthesis report for multi bit flip-flop The number of clocks used and power consumed by using single bit flip-flop and multi bit flip-flop is indicated in graphical representation. Those graphs are shown in Fig.10 and Fig.11 Figure 10: clock buffers Figure 11: power consumed V. CONCLUSION In present VLSI design area is one of the important issues to be addressed. The proposed method is implemented in Xilinx. Experimental results are targeted to number of clock buffer usage and power used by clock buffer. Thus this proposed method is more suitable for reduction of hardware.
  • 5. P. Rajeepriyanka Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 8( Version 2), August 2014, pp.09-13 www.ijera.com 13 | P a g e REFERENCES [1] Zhi-Wei Chen and Jin-Tai Yan, Routability- Driven Flip-Flop Merging Process for Clock Power Reduction, Computer Design (ICCD) IEEE International Conference, 2010 [2] Ya-Ting Shyuet. Al., Effective and Efficient Approach for Power Reduction by Using Muti-Bit Flip-Flops, IEEE transactions on very large scale integration systems, 2012 [3] Jin-Tai Yan and Zhi-Wei Chen, Construction of Constrained Multi-Bit Flip- Flops for Clock Power Reduction, Green Circuits and Systems (ICGCS) International Conference, 2010 [4] Chih-Cheng Hsu, Yao-Tsung Chang and Mark Po-Hung Lin, Crosstalk-Aware Power Optimization with Multi-Bit Flip-Flops, 17th Asia and South Pacific Design Automation Conference, 2012 [5] Himanshu Patel; Sanjay Trivedi; R. Neelkanthan; V. R. Gujraty; , "A Robust UART Architecture Based on Recursive Running Sum Filter for Better Noise Performance," VLSI Design, 2007. Held jointly with 6th International Conference on Embedded Systems., 20th International Conference on , vol., no., pp.819-823, Jan. 2007. [6] Fang Yi-yuan; Chen Xue-jun; , "Design and Simulation of UART Serial Communication Module Based on VHDL," Intelligent Systems and Applications (ISA), 2011 3rd International Workshop on , vol.,no., pp.1-4, 28-29 May 2011 [7] Idris, M.Y.I.; Yaacob, M.;, "A VHDL implementation of BIST technique in UART design," TENCON 2003. Conference on Convergent Technologies for Asia-Pacific Region , vol.4, no., pp. 1450- 1454 Vol.4, 15-17 Oct. 2003. [8] Chun-zhi, He; Yin-shui, Xia; Lun-yao, Wang; , "A universal asynchronous receiver transmitter design," Electronics, Communications and Control (ICECC), 2011 International Conference on , vol., no., pp.691-694, 9-11 Sept. 2011