SLIDE 1
A Low Power Design of Gray and T0 Codecs for the Address Bus Encoding for System Level Power Optimization
Prabhat K. Saraswat, Ghazal Haghani and Appiah Kubi Bernard Advanced Learning and Research Institute, ALaRI, University of Lugano, Switzerland
ABSTRACT
This report describes our attempt to design the Gray and T0 codecs to be used to encode the bits to be sent on the processor-memory address bus. Since switching is one of the most important contributors to the power consumption of VLSI circuits, it is imperative to encode the bits in such a way that the switching activity on the buses are reduced. However, it should also be understood that encoding does not always reduces power. The trade offs between power uti- lization of the codec hardware and the power reduction due to lessening of switching transitions has also been understood. Different codecs may perform differently for different address sequences. We have generated the sequences of addresses of specified sequentiality and evaluated the performance of both codecs. The codecs are designed and synthesized using VHDL/Synopsis Tools. The VHDL models are then simulated in order to measure the dynamic power consumed by them when the bits are encoded and decoded. The total power including the power consumed by the bus is calculated. Various comparisons are made with the uncoded binary scheme. An optimum bus capacitance is also calculated which makes the usage of codecs beneficial. We have also tried to implement another scheme where the bus lines are interchanged in order to reduce the power consumption due to crosstalk. The results
- btained are discussed and explained in the report.
Keywords: Gray Encoding, Zero Transition Encoding, Bus load
- 1. BUS ENCODING FUNDAMENTALS - GRAY AND T0 CODECS
Bandwidth of data transfers have increased considerably due to the high speed needed between microprocessors and system
- interfaces. Considerable amount of power is needed at the I/O pins of a microprocessor due to intrinsic capacitance of the
bus lines. By minimizing the switching transitions on the system level bus lines, dramatic optimization of average power consumption can be achieved. There are various bus encoding schemes that achieve this purpose, eg. Gray code and T0 code.1
1.1. Gray Encoding
It has been observed that the addresses generated by a program are often sequential in nature. The simplest way to encode the generated addresses is binary, which results in a lot of transitions thus increasing the switching activity. One
- f the often cited solutions for this was proposed by Su, Tsui and Despain2 to use gray encoding to minimize the number
- f transitions. Gray encoding allows for only a single transition for consecutive addresses.
1.2. T0 Encoding
The sequentiality of the addresses is transferred to the subsystem by adding an additional redundant line to the bus in
- rder to avoid transfer of consecutive addresses. The redundant line is set to zero when 2 of the addresses in the bus are
consecutive, this prevents unnecessary switching, and the receiver then calculates the new address. As it is clearly visible, the T0 code guarantees zero transitions as its asymptotic performance for in-sequence addresses1
- 2. PROBLEM STATEMENT AND MOTIVATION