covid
Buscar en
Journal of Applied Research and Technology. JART
Toda la web
Inicio Journal of Applied Research and Technology. JART Characterization and synthesis of a 32-bit asynchronous microprocessor in synchr...
Información de la revista
Vol. 13. Núm. 5.
Páginas 483-497 (octubre 2015)
Compartir
Compartir
Descargar PDF
Más opciones de artículo
Visitas
3703
Vol. 13. Núm. 5.
Páginas 483-497 (octubre 2015)
Original
Open Access
Characterization and synthesis of a 32-bit asynchronous microprocessor in synchronous reconfigurable devices
Visitas
3703
Adrian Pedroza de la Crúza, José Roberto Reyes Barónb, Susana Ortega Cisnerosa,
Autor para correspondencia
sortega@gdl.cinvestav.mx

Corresponding author.
, Juan José Raygoza Pandurob, Miguel Ángel Carrazco Díaza, José Raúl Loo Yaua
a Centro de Investigación y Estudios Avanzados, del Instituto Politécnico Nacional, Unidad Guadalajara, Zapopan, Jalisco, México
b Centro Universitario de Ciencias Exactas, e Ingenierías, Universidad de Guadalajara, Guadalajara, Jalisco, México
Este artículo ha recibido

Under a Creative Commons license
Información del artículo
Resumen
Texto completo
Bibliografía
Descargar PDF
Estadísticas
Figuras (22)
Mostrar másMostrar menos
Tablas (9)
Table 1. Asynchronous microprocessors.
Table 2. Signals that activate asynchronous instructions.
Table 3. Arithmetic Logic Unit operations.
Table 4. Identification of data type in floating point.
Table 5. FPGA occupation for asynchronous and synchronous control units.
Table 6. Occupation of common components on Virtex 5 FPGA.
Table 7. FPGA occupation for asynchronous and synchronous microprocessors.
Table 8. Microprocessors power consumption (mW).
Table 9. Test program for the microprocessor.
Mostrar másMostrar menos
Abstract

This paper presents the design, implementation, and experimental results of 32-bit asynchronous microprocessor developed in a synchronous reconfigurable device (FPGA), taking advantage of a hard macro. It has support for floating point operations, such as addition, subtraction, and multiplication, and is based on the IEEE 754-2008 standard with 32-bit simple precision. This work describes the different blocks of the microprocessors as delay modules, needed to implement a Self-Timed (ST) protocol in a synchronous system, and the operational analysis of the asynchronous central unit, according to the developed occupations and speeds. The ST control is based on a micropipeline used as a centralized generator of activation signals that permit the performance of the operations in the microprocessor without the need of a global clock. This work compares the asynchronous microprocessor with a synchronous version. The parameters evaluated are power consumption, area, and speed. Both circuits were designed and implemented in an FPGA Virtex 5. The performance obtained was 4 MIPS for the asynchronous microprocessor against 1.6 MIPS for the synchronous.

Keywords:
Asynchronous
Microprocessor
Floating point
FPGA delay macro
Real time
Texto completo
1Introduction

Nowadays, most successful implementations obtained in asynchronous microprocessors have been developed at the ASIC level. Asynchronous design has been used from the beginning of the computer age, even before the VLSI technology was possible. Due to the introduction and advances of integrated circuits, the paradigm of synchronous design became popular and came to be the dominant design style (Chu & Lo, 2013). However, in recent years, asynchronous design has had a comeback in ASIC implementations (Beerel, 2002; Lavagno & Singh, 2011; Smith, Al-Assadi, & Di, 2010).

Programmable devices are an excellent option for developing cheaper and faster digital circuit prototypes, due to their great integration capability and flexibility. In that context, asynchronous design can be performed using FPGAs devices. To make this platform practical and useful to the asynchronous design, some Self-Timed (ST) control block techniques and steady/latch delays are required. This allows us to build the ST synchronization circuits. Most of the microprocessors are made with a global clock synchronization system, in which the whole or part of the circuit is subject to a unique pulse line, which distributes and synchronizes data transfer. In addition, synchronous microprocessors that use a single clock can bring about various problems due to the high demand of processing. To overcome this problem, asynchronous systems are proposed, since in an ST synchronization system, the control of data transfer between blocks is regulated through local signing lines that indicate the request and data transfer between contiguous blocks. Since these types of systems do not depend on a global clock, they take full advantage of the speed and energy consumption when implemented in programmable devices. Asynchronous systems are relatively new, but they present better performance than their homologous synchronous systems. Moreover, microprocessors with asynchronous systems can be easily implemented in FPGAs (Ortega-Cisneros, Raygoza-Panduro, & de la Mora-Gálvez, 2007; Tranchero & Reyneri, 2008).

This paper presents the design, implementation, and experimental results of an asynchronous 32-bit microprocessor implemented in a Xilinx FPGA Virtex 5 that are developed in a platform designed exclusively for synchronous circuits (Xilinx Inc., 2015). The FPGAs uses synchronous components, such as DCM (digital clock manager) and DLL (delay-locked loop) utilized by the software tools in order to synthesize a design. This implementation can be performed by means of a ST pipeline as an activation signal generator block, as well as the hard macro needed to generate the delay time for the ST asynchronous protocol.

2Background of Self-Timed circuits

The potential benefits of asynchronous logic have caused a resurgence of interest in the design methodology of these systems, which have received an important boost in recent years (Edwars & Toms, 2003; Geer, 2005). Recent initiatives in the industrial field include smart cards from Philips (Yoshida, 2003), Sun (Johnson, 2001), and Sharp (Terada, Miyata, & Iwata, 1999). There are many important research groups specializing in asynchronous microprocessors (Werner & Akella, 1997). This section describes the architecture and design style of some of these. Table 1 summarizes the main features.

Table 1.

Asynchronous microprocessors.

Microprocessor  Architecture  Technology  Performance 
Caltech (Martin, Burns, Lee, Borkovic, & Hazewindus, 19894-phase, dual rail, 5-stage pipeline, 16-bit RISC.  20,000 1.6μm transistors  18 MIPS 
NRS (Brunvand, 19932-phase, single rail, 5-stage pipeline, 16-bit RISC.  FPGA Actel  1.3 MIPS 
AMULET1 (Furber, Day, Garside, Paver, & Woods, 19942-phase, single rail, 5-stage pipeline, based on a 32-bit ARM.  60,000 1.0μm transistors  9k Dhrystones 
TICTAC 1 (Murata, 19892-phase, dual rail, 2-step non-pipeline, 32-bit RISC.  22,000 1.0μm transistors  11.2 MIPS 
FRED (Richardson & Brunvand, 19962-phase, single rail, multifunctional pipeline, based on a 16-bit 88100.  Defined in VHDL  120 MIPS 
80C51 (van Gageldonk et al., 19984-phase, single rail, CPU and peripherals, 8-bit CISC.  27,4820 1.6μm transistors  2.10 MIPS 
AMULET2 (Furber et al., 19994-phase, single rail, forwarding pipeline, based on a 32-bit ARM.  450,000 0.5μm transistors  42 MIPS 
TICTAC 2 (Takamura et al., 19982-phase, dual rail, 5-stage pipeline, based on a 32-bit MIPS R 3000.  496,000 0.5μm transistors  52.3 VAX MIPS 
AMULET3 (Furber, Edwards, & Garside, 20004-phase, single rail, forwarding pipeline, based on a 32-bit ARM.  113,000 0.35μm transistors  120 MIPS 
BitSNAP (Ekanayake, Nelly, & Manohar, 20054-phase, dual rail, based on 16, 32, and 64-bit SNAP ISAs  0.18μm CMOS  6–54 MIPS 
NCTUAC18S (Hung-Yue, Wei-Min, Yuan-Teng, Chang-Jiu, & Fu-Chiung, 20114-phase, dual rail, 5-stage pipeline, based on and 8-bit PIC18 ISA.  0.13μm TSMC  n/a 

The microprocessors described in Table 1 can be broadly divided into two categories:

  • 1.

    Those constructed using a conservative time model, suitable for formal synthesis or verification, but with a simple architecture: TITAC.

  • 2.

    Those constructed using less care in the time models, with an informal design approach, but with a more ambitious architecture: AMULET, NSR, FRED.

Another consideration that may be taken to evaluate the implementation of asynchronous circuits in the area of microprocessors, is the type of application and implementation:

  • 1.

    Microprocessors used in commercial applications: AMULET, Philips 80C51.

  • 2.

    Those implemented in full-custom: Caltech, TICTAC.

  • 3.

    Those that have only been proposed: FRED.

Fig. 1 shows a power consumption graph, where the power range is between 9mW and 2W.

Fig. 1.

Power consumption for different asynchronous microprocessors.

(0.06MB).
3Self-Timed microprocessor architecture

Characteristics and components of the ST microprocessor are defined in this section. The fundamental parts are the delay block and the control unit, which activates all the microprocessor blocks and gives a sequence of how to execute each instruction. Fig. 2 shows the ST microprocessor diagram.

Fig. 2.

Asynchronous microprocessor.

(0.12MB).
3.1Asynchronous microprocessor structure

The ST control unit is based on FIFOs that contain micropipelines of asynchronous control blocks (ACB) using the 4-phase single rail protocol (Jung-Lin, Hsu-Ching, Chia-Ming, & Sung-Min, 2006; Ortega, Gurrola, Raygoza, Pedroza, & Terrazas, 2009). This protocol is used because communication is more effective than 2-phase single rail protocol on FPGAs, as it fulfills the necessary characteristics for substituting synchronous FIFOs. The 2-phase protocol uses fewer transactions and requires less energy consumption than the 4-phase. However, the latter ensures a stable asynchronous communication and is better adapted to the requirements of circuits that use latches. The 4-phase protocol occupancy is smaller than 2-phase, because an ACB implementation for the first requires fewer components than the second. Also, single rail requires less hardware than dual rail protocols.

The ST microprocessor developed in this work is a general purpose design. It is controlled with an asynchronous block that orders the data flow through all the logic components. The ST microprocessor is based on micropipeline structures that generate activation pulses toward different modules, using the 4-phase protocol. The first element described is the control unit, shown in Fig. 3. It uses asynchronous control blocks along with delays to adjust the time required for the request signal between each ACB. Compared with synchronous controllers, which depend on the slower process in order to optimize the clock speed, asynchronous versions improve the delay from each individual process to the minimum possible and reduce the program time execution.

Fig. 3.

Asynchronous control unit.

(0.23MB).
3.2Asynchronous control unit

An explanation of changing synchronous FIFOs for asynchronous is given here. Flip Flops (FF) are replaced by ACBs. Thus, instead of having a clock signal that activates each FF, a request signal is send sequentially to all ACBs.

Fig. 4 shows the asynchronous FIFO that corresponds to the fetch cycle. The time for the request to go through all X signals is determined by a hard macro delay block implemented with the Xilinx FPGA Editor tool. The delay consists of a single LookUp-Table (LUT) assigned as a buffer (Ortega, Raygoza, & Boemo, 2005). With this macro, it is possible to implement Self-Timed designs on synchronous FPGAs. The FIFO uses 4 ACBs in a micropipeline to generate the signals that activate the fetch cycle.

Fig. 4.

Micropipeline with 4-phases ACBs.

(0.08MB).

One important problem emerges when the designer uses exactly the same number of delay macros needed to achieve a specific time accorded to a specific delay graph. When trying to implement the design into the FPGA, the time generated from the automatic routing of the software may be different every time. As a consequence, the design will not work properly, since the delay macro time could be lower than the expected value. In order to avoid this problem, a place and route restriction is recommended in order to ensure the same delay time in each design synthesis. In addition, the sum of the logic delay and track delay must be greater than the delay of the processing logic function implemented in order to ensure stability of the output of the synchronizing circuit before a new entry is applied. Fig. 5 exhibits linear logic and non-linear track delays generated by the macros.

Fig. 5.

Delay macros on FPGA Virtex 5.

(0.12MB).

The selector shown in Fig. 6 is a decoder that indicates which of the 5 FIFOs blocks of the executing cycle is going to perform the instruction. This decoder sends a request to the chosen FIFO and awaits the acknowledgment signal; it also transmits the request to the fetch cycle when the execution cycle ends. In the asynchronous controller, this selector also performs the same process as the synchronous controller, i.e., loading a data and an instruction from port Sum (LPS). After the instruction LPS has been performed, the selector returns a request to the execution cycle in order to be able to execute another instruction. FIFOs execution cycle instruction selectors are the same as in the synchronous controller.

Fig. 6.

Asynchronous controller's main selector.

(0.21MB).
3.3Signals that activate the FIFOs of the asynchronous controller

Since asynchronous FIFOs can wait the necessary time to deliver the next request, they may be optimized. In the synchronous version, some instructions require skipping one clock pulse, because of the waiting time, as the extra period required for complex operations in order to finish their processes. All execution FIFOs have a different quantity of ACBs (or FF for synchronous FIFOs), which depend on the complexity of the instructions and the number of activation signals. Each FIFO is used to execute different instructions in order to save FPGA area or hardware. Fig. 3 shows a microinstruction selector for each FIFO block.

Table 2 shows three examples of instructions with their corresponding FIFOs. From left to right: the mnemonic of the instruction (MNE), the FIFO that can execute the instruction, the number of the ACB that activates each signal, and the activated signals (microinstructions). The instructions presented are: accumulator complement (NAC), load direct memory to accumulator (LDA), and subroutine call (CSR). In order to know the time each fetch or execution cycle takes, it is necessary either to implement the design on the FPGA and get a timing analysis or simulate a program in the microprocessor. This is noteworthy, since in the synchronous design only the clock frequency must be known.

Table 2.

Signals that activate asynchronous instructions.

MNE  FIFO  N° ABC  Signals 
NAC1Compl_acc 
Acc_clk 
LDA4Gpr_mar 
Mar_clk 
Ram_clk 
M_gpr 
Gpr_clk 
Time to process 
Load_gpr 
Acc_clk 
CSR5Gpr_mar 
Mar_clk 
Pc_gpr 
Gpr_clk 
Mar_pc 
Pc_clk 
W_ram 
Ram_clk 
Inc_pc 
10  Pc_clk 
4Microprocessor instructions4.1Arithmetic Logic Unit

The Arithmetic Logic Unit (ALU) is an important part of the microprocessor, as it develops all the operations between data. These operations are logical, arithmetic, ports and registers access, floating point arithmetic, and bit shifting. These operations are performed in parallel and a selector is used. The result of the desired operation is chosen and the output of this selector is stored in a register called the accumulator (Acc). The ALU uses 32-bit data to perform the operations. Data may be received from the General Purpose Register (GPR), the input port (Port in), and the internal registers. The latter are used to store the information to be processed immediately. Also, the ALU contains a one-bit flag (register F), which stores the carry generated by arithmetic and shift operations. The block diagram of the ALU is shown in Fig. 7.

Fig. 7.

Arithmetic Logic Unit.

(0.33MB).

The ALU was designed to perform 29 operations and the general reset. The operations are shown in Table 3. A brief explanation of the floating point operations that the ALU performs are presented later.

Table 3.

Arithmetic Logic Unit operations.

N°  Signal  Process 
Regx_clk  RegX=0, Register X clock 
Regy_clk  RegY=0, Register Y clock 
RegHi_clk  RegHi=0, Register High clock 
RegLo_clk  RegLo=0, Register Low clock 
Dec_acc  Acc=Acc
Add_gpr  Acc=Acc+GPR, F=Carry 
Load_gpr  Acc=GPR 
Rotate_Right  Acc={Acc[n-1:0], Acc[n]} 
Rotate_Left  Acc={Acc[0], Acc[n:1]} 
10  Compl_acc  Acc=∼Acc 
11  Shift_Right  Acc={Acc[n-1:0], 1′b0}, F=Acc[n] 
12  Comp_regx  Acc=Acc= 
13  Inc_acc  Acc=Acc+1, F=Carry 
14  Load_regx  Acc=RegX 
15  Load_regy  Acc=RegY 
16  And_xy  Acc=RegX And RegY 
17  Or_xy  Acc=RegX Or RegY 
18  Load_Pin  Acc=Port_in 
19  Subt_gpr  Acc=Acc – GPR 
20  Multp_gpr  {RegHi, RegLo}=Acc*GPR 
21  Shift_Left  Acc={1′b0, Acc[n:1]}, F=Acc[0] 
22  MultpHi_gpr  Acc=RegHi 
23  MultpLo_gpr  Acc=RegLo 
24  Addpf_gpr  Acc=Acc+GPR, floating point 
25  Subtpf_gpr  Acc=AccGPR, floating point 
26  Multppf_gpr  Acc=Acc*GPR, floating point 
27  Acc_clk  Acc=0, Accumulator clock 
28  Pout_clk  Port_out=Acc 
29  F_clk  RegF=0, Register F clock 
30  Reset  General Reset 
4.2Floating point arithmetic operations

The floating point operations that the ALU performs are: addition, subtraction, and multiplication. These operations are based on Floating-Point Arithmetic IEEE 754-2008 (IEEE, 2008) with 32-bit simple precision.

The adder–subtractor design can be seen in Fig. 8 (Raygoza, Ortega, Carrazco, & Pedroza, 2009). The first step is to identify the type of data that are present in the input, as proposed in Table 4. The second step is to send the data to one of the 4 blocks that perform the addition, depending on the type of data. Then, the exponents are aligned with the same value. After that, depending on the sign of the data, addition or subtraction of mantissas is executed. In the special case in which data do not represent any particular number, such as infinite ones, zero and NaN, the recommendation is to employ the symbolic operation block. The final step is to choose the correct output with the multiplexer.

Fig. 8.

Floating point adder–subtractor.

(0.18MB).
Table 4.

Identification of data type in floating point.

Data type  Identification 
Zero  3′b000 
Subnormal  3′b001 
Normal  3′b10X 
Infinite  3′b110 
NaN  3′b111 

The design and steps of the floating point multiplier are shown in Fig. 9 (Ortega, Raygoza, Pedroza, Carrazco, & Loo-Yau, 2010). The first step is to identify the data type. In the second step, the mantissas multiplication and exponent addition are performed. In the case that both inputs are infinite, zeros or NaNs, the multiplication operation is performed through the symbolic operation. In the last step, the data output could be normalized. This adjustment is done with the idea of obtaining a normal number as a result.

Fig. 9.

Floating point multiplier.

(0.21MB).

Compared to the arithmetic multiplier, the floating point multiplier delivers a 32-bit result. The results of the adder–subtractor and the multiplier go directly to the selector. From there, the accumulator can choose them.

5Implementation results

This section compares the occupations, power consumption, and components between asynchronous and synchronous microprocessors on a Virtex 5 FPGA (ML501). Simulations are performed and tested in real time. The times the fetch and execution cycles take for each microprocessor are obtained. Performance results of both microprocessors are presented with a test program.

5.1Occupation

Table 5 reports the occupation only for the control units of the asynchronous and synchronous systems. The common occupations of the other microprocessor components are shown in Table 6. The DSPs blocks are used to accelerate the processes, for example, floating point arithmetic operations in the ALU. The embedded RAM memories from Virtex 5 are used to implement the main memory of both microprocessors. If the main memory is designed using LUTs (distributed RAM), FPGA resources increase considerably. As mentioned above, the PC, GPR, OPR, ALU blocks, and the memory are shared in both processors; consequently the resulted occupations are mentioned only once.

Table 5.

FPGA occupation for asynchronous and synchronous control units.

Component  LUT  Slices  Regs.  Macros 
Available  28,800  7200  28,800  28,800 
Synchronous  117  30  46 
Asynchronous  197  50  11  163 

Regs. (Registers).

Table 6.

Occupation of common components on Virtex 5 FPGA.

Cmp.  LUTs  Slices  Regs.  DSP  RAM 
Free  28,800  7200  28,800  48  48 
PC  34  32 
GPR  40  10  33 
MAR  34  32 
OPR 
Memory 
ALU  3410  853  169 

Cmp. (Component), Regs. (Registers).

Table 7 shows the occupation of all elements of the asynchronous and synchronous microprocessors. Note that the differences of the final occupations are considerably lower.

Table 7.

FPGA occupation for asynchronous and synchronous microprocessors.

Cmp.  LUT  Slices  Regs.  I/O  Macr. 
Free  28,800  7200  28,800  440  28,800 
Sync.  3622  1454  301  105 
Async.  3529  1598  266  104  163 

Cmp. (Component), Regs. (Registers), Macr. (Macros).

5.2Simulation

This subsection shows some simulations of both microprocessors on Virtex 5 FPGA. In order to measure the timing of each execution FIFO and the fetch FIFO, signals c_fetch and c_execution were implemented to show the start point of each stage. In these simulations, the OPR, PC, Acc, input and output port were monitored, along with the fetch and execution start signals.

Fig. 10 shows a simulation that includes the measured fetch cycle for the synchronous microprocessor working at 50MHz. The fetch cycle was 38.988ns. The process performed in this simulation is as follows: First, from the output port, a data was loaded into the accumulator (instruction 0E); then, the accumulator was complemented (instruction 01); and finally, the result was placed in the output port (instruction 0F).

Fig. 10.

Synchronous microprocessor simulation: fetch cycle.

(0.29MB).

Fig. 11 shows a simulation that includes the fetch cycle measure for the asynchronous microprocessor. The fetch cycle was 25.648ns. This time was 13.34ns less than the synchronous version. The developed process is similar to that in Fig. 10.

Fig. 11.

Asynchronous microprocessor simulation: fetch cycle.

(0.29MB).

Fig. 12 presents a synchronous microprocessor simulation, in which an instruction carried out by FIFO 5 was used, and the time that it takes to perform the corresponding execution cycle was 100.671ns. The process this simulation performs is described below. The data were loaded from the output port into the accumulator (instruction 0E); afterwards, using the memory content (zero), an indirectly floating point addition was performed (instruction 28); finally, the result was moved to the output port (instruction 0F).

Fig. 12.

Synchronous microprocessor simulation: execution cycle (FIFO 5).

(0.23MB).

Fig. 13 shows an asynchronous microprocessor simulation. The time that FIFO 5 takes to realize the corresponding execution is 56.275ns. The developed process is similar to that in Fig. 12. A complete graph with all FIFOs is shown later.

Fig. 13.

Asynchronous microprocessor simulation: execution cycle (FIFO 5).

(0.23MB).
5.3Real time implementation

This subsection analyzes fetch and execution cycles of both microprocessors when implemented in real time on Virtex 5. The processes and the instructions that were tested are the same as those used in the simulation of Figs. 10 and 11. In real time, only the last 8 bits are shown (in hexadecimal) for each of the monitored signals, since the card ML501 has only 32 user pins, and the rest are used to connect several peripherals to the FPGA.

Figs. 14 and 15 present the processes in real time for each microprocessor. They report the timing of the fetch cycles. The time was 40ns and 16ns for the synchronous and asynchronous, respectively.

Fig. 14.

Synchronous microprocessor in real time: fetch cycle.

(0.31MB).
Fig. 15.

Asynchronous microprocessor in real time: fetch cycle.

(0.32MB).

Fig. 16 presents a graph with simulation times for each cycle of both microprocessors as well as in real time. It is worth noting that for the asynchronous microprocessor there is a wider difference between the simulation and the real time, while for the synchronous microprocessor there are not considerable differences, since simulations and real time implementation work at the same clock speed (50MHz).

Fig. 16.

Real time implementation versus simulation graph.

(0.15MB).

The measurements obtained in real time are the most precise, since they were obtained directly from the FPGA. The next performance measures are based on resulted timing from the implementation in real time.

5.4Power consumption

Table 8 reports the microprocessors power consumption in the FPGA (Hasan & Zafar, 2012). The measurements were performed with the Xpower Analyzer of Xilinx, which delivers measurements of the FPGA in stable state. Table 8 reports a lower consumption in the asynchronous microprocessor. However, this difference is not significant, as both microprocessor occupations in the FPGA are similar. The Xpower Analizer tool present the maximum power consumption.

Table 8.

Microprocessors power consumption (mW).

Measure  Synchronous  Asynchronous 
Clocks  11.43  7.15 
Logic  0.07 
Signals  1.27  1.26 
IOs  2.71  0.63 
Total idle  422.53  422.44 
Total dynamic  15.47  9.04 
Total power  438.01  431.48 

In order to evaluate the power consumption in real time, an instrumentation and measurement workstation is set to obtain a better comparison between both microprocessors. The evaluation includes the ML501 board, and not only the FPGA, as in the Xpower Analyzer case, so the values obtained will be of different ranges. However, the difference in consumption between the two microprocessor versions can be seen in real time.

The power behavior of the circuits implemented in the FPGA is monitored with the current probe and a data graphic is stored. Circuit measurements are performed with the following criteria:

  • Circuit activity is observed through the current behavior in the main power line of the evaluation card with a current probe and an ammeter.

  • The capture of instantaneous measurements of current is synchronized with a digital oscilloscope, taking into account the initial trigger generated each time a program is executed.

A connection diagram with the current probe and the evaluation board is shown in Fig. 17. The probes are electrically circuit isolated, i.e., this instrument indirectly detects the current variations through magnetic field changes in the power line.

Fig. 17.

Connection diagram with the current probe.

(0.1MB).

The current behavior in the evaluation board with the FPGA presents three distinctive levels:

  • 1.

    The level without programming the FPGA.

  • 2.

    The average level of power consumption when the device is configured.

  • 3.

    The level when the microprocessors are working.

Fig. 18 shows a measurement graph, which indicates the three operating levels with the numbers 1, 2, and 3.

Fig. 18.

Current level measurements.

(0.1MB).

Fig. 19 shows the behavior of the asynchronous and synchronous microprocessor currents. In the latter, the activity has a global clock dependence and is more uniform throughout the circuit. In addition, it does not present changes as large as its counterpart asynchronous, i.e., once the synchronous microprocessor executes the program, the trigger levels reach their peak and then the current level falls slightly and continues permanently at a high level. If the two regions under both microprocessors lines are compared, it is seen that the area under the asynchronous microprocessor line is lower than the synchronous.

Fig. 19.

Current level measurements with an executed program.

(0.12MB).

In the case of the ST microprocessor, activation levels are not dependent on a global line and tend to be more localized and appear only when a program is executed. This quality allows more controlled and optimized levels of activity, thereby enabling the reduction of power consumption.

The average current level when the FPGA is not programming was 600mA, and 680mA when the device is configured and inactive. The level when a program is executed in both microprocessor was 890mA. When the asynchronous microprocessor finished the task, the current consumption was lowered to 680mA, and in the synchronous version, to 850mA.

From the current behavior of both circuits, and by the consideration that each microprocessor has a representative current consumption area, as shown in Fig. 20, it can be assumed that the area Ast belongs to the asynchronous version and Bs represents the synchronous area, therefore, Eq. (1) is the consumption difference.

Fig. 20.

Current level area with an executed program.

(0.15MB).

This represents the power saved by the asynchronous microprocessor.

5.5Test programs for the synchronous microprocessor

A method to calculate the microprocessor performance is to measure the time that a program takes to be executed on it. For the evaluation, some performance test programs or benchmarks are used. Then, the evaluation continues with a program that consists of several FIFO 1 operations. Table 9 shows the test program instructions, which performs the following steps: first it clears the accumulator, then, it loads a data from the input port and finally, it shifts the accumulator seven times and sends the results to the output port.

Table 9.

Test program for the microprocessor.

N°  Address  Instruction  FIFO 
000  0acc 
001  pto_inacc 
002  accpto_out 
003  acc shift left 
004  accpto_out 
005  acc shift left 
006  accpto_out 
007  acc shift left 
008  accpto_out 
10  009  acc shift left 
11  00A  accpto_out 
12  00B  acc shift left 
13  00C  accpto_out 
14  00D  acc shift left 
15  00E  accpto_out 
16  00F  acc shift left 
17  010  accpto_out 

The following equations were used to evaluate the performance of both microprocessors (Hennessy & Patterson, 2011, Ch. 1).

Considering the synchronous test program in Eq. (2), the cycles per instruction (CPI) of each instruction (I) indicates the cycles that FIFO 1 takes to execute the instruction (one cycle) plus the fetch cycle (two cycles). Applying Eq. (2), the CPI was 3.

Eq. (3) was used to find the program time (Tp) for the synchronous program test. T is the clock period (20ns for 50MHz clock) and NI the number of instructions. The Tp obtained was 1.020μs.

Eq. (4) calculates the MIPS (Millions of Instructions Per Second) applied in order to compare the performance between both microprocessors running the same test program. The MIPS for the asynchronous and synchronous microprocessors were 4.009 and 1.666, respectively.

The program in Table 9 was performed in real time, shown in Fig. 21, for the synchronous microprocessor implemented on Virtex 5. Note that the time program (Tp) was 1020ns, the same obtained by Eq. (3). Fig. 22 shows the same program of Table 9, but now with the asynchronous microprocessor prototyped on Virtex 5. In this case, the Tp was 424ns.

Fig. 21.

Real time synchronous microprocessor program.

(0.37MB).
Fig. 22.

Real time asynchronous microprocessor program.

(0.36MB).
6Conclusions

This work presents a Self-Timed microprocessor design compared with a synchronous version. Experimental results demonstrated that asynchronous circuits can be implemented in FPGAs, even though design tools for FPGAs are focused on synchronous synthesis, as is the case with the ISE software (from Xilinx). The FPGA editor simplified the asynchronous implementation on FPGAs. With this tool, delay macros can be implemented, which are useful for the asynchronous protocol signals required in order to correctly transfer the data. Moreover, FPGA editor scripts can help in delay designs.

The microprocessor occupation of slices on Virtex 5 was 20.19% for the synchronous version and 22.76% (including delay macros) for asynchronous. Regarding inputs and outputs, the asynchronous microprocessor used 23.64% of FPGA pins versus 23.86% in synchronous (due to clock pin). Occupation of registers was lower in the asynchronous microprocessor (0.92% versus 1.05%). As for memory blocks and DSPs, the occupation was the same for both: 4.17% in RAMs and 12.50% in DSPs. Fetch and execution cycles times were reduced considerably in an asynchronous microprocessor compared with a synchronous microprocessor in real time. The time was reduced from 40ns to 16ns in fetch cycle and from 100ns to 38ns in execution cycle FIFO with the longest delay steps (the FIFO 5).

The power measurements were taken with the Xpower Analyzer tool, which indicates 431.48mW of power in the asynchronous microprocessor and 438.01mW in the synchronous. In real time, the power consumption for the ST microprocessor was lower than that for the synchronous, because when the asynchronous finished processing, the current consumption returned to a low operation level (680mA), while the synchronous continued at a high level (850mA).

The asynchronous microprocessor implemented on Virtex 5 finished with a 4 MIPS performance, which outstrips the synchronous at 1.6 MIPS with the same characteristics. We can conclude that, despite the lack of design tools for asynchronous circuits, it is possible to use the tools for synchronous circuits in order to design asynchronous circuits on FPGAs. This can reduce the process time as well as the power consumption, meaning better performance and less cost for electronic circuits.

Conflict of interest

The authors have no conflicts of interest to declare.

Acknowledgement

This work was supported by CONACYT, México, grant 322016.

References
[Beerel, 2002]
P.A. Beerel.
Asynchronous circuits: An increasingly practical design solution.
Proceedings of the international symposium on quality electronic design (ISQED), pp. 367-372
[Brunvand, 1993]
E. Brunvand.
The NSR processor.
IEEE, (1993), pp. 428-435
[Chu and Lo, 2013]
S.L. Chu, M.J. Lo.
A new design methodology for composing complex digital systems.
Journal of Applied Research and Technology, 11 (2013), pp. 195-205
[Edwars and Toms, 2003]
D.A. Edwars, W.B. Toms.
The Status of Asynchronous Design in Industry. Information Society Technologies (IST) Programme.
2nd ed., (February 2003),
[Ekanayake et al., 2005]
V.N. Ekanayake, C.V. Nelly, R. Manohar.
BitSNAP: Dynamic significance compression for a low-energy sensor network asynchronous processor.
Proceedings of the 11th IEEE international symposium on asynchronous circuits and systems (ASYNC), pp. 144-154
[Furber et al., 1994]
S.B. Furber, P. Day, J.D. Garside, N.C. Paver, J.V. Woods.
AMULET1: A micropipelined ARM.
Compcon Spring’94, Digest of Papers, pp. 476-485
[Furber et al., 2000]
S.B. Furber, D.A. Edwards, J.D. Garside.
AMULET3: A 100 MIPS asynchronous embedded processor.
Proceedings of the international symposium on advanced research in asynchronous circuits and systems, pp. 329-334
[Furber et al., 1999]
S.B. Furber, J.D. Garside, P. Riocreux, S. Temple, P. Day, J. Liu, et al.
AMULET2e: An asynchronous embedded controller.
Proceedings of the IEEE, 87 (1999), pp. 243-256
[Geer, 2005]
D. Geer.
Is it time for clockless chips.
IEEE Computer Society, (2005), pp. 18-21
[Hasan and Zafar, 2012]
L. Hasan, H. Zafar.
Performance versus power analysis for bioinformatics sequence alignment.
Journal of Applied Research and Technology, 10 (2012), pp. 920-928
[Hennessy and Patterson, 2011]
J.L. Hennessy, D.A. Patterson.
Computer architecture: A quantitative approach.
5th ed., Elsevier, (2011),
[Hung-Yue et al., 2011]
T. Hung-Yue, C. Wei-Min, C. Yuan-Teng, C. Chang-Jiu, C. Fu-Chiung.
A self-timed dual-rail processor core implementation for microcontrollers.
International conference on electronic devices, systems and applications (ICEDSA), April 25–27, pp. 39-44
[IEEE, 2008]
Institute of Electrical and Electronics Engineers, Inc..
IEEE Standard for Floating-Point Arithmetic. IEEE Std 754-2008.
(August 2008), pp. 1-70
[Johnson, 2001]
C. Johnson.
Scrap system clock Sun exec tells Async.
EE Times, (2001),
March 19
[Jung-Lin et al., 2006]
Y. Jung-Lin, T. Hsu-Ching, H. Chia-Ming, L. Sung-Min.
High-level synthesis for self-timed systems.
IEEE Asia Pacific Conference on Circuits and Systems (APCCAS), December 4–7, pp. 1410-1413
[Lavagno and Singh, 2011]
L. Lavagno, M. Singh.
Guest Editors’ Introduction: Asynchronous design is here to stay (and is more mainstream than you thought).
Design & Test of Computers IEEE, 28 (2011), pp. 4-6
[Martin et al., 1989]
A.J. Martin, S.M. Burns, T.K. Lee, D. Borkovic, P.J. Hazewindus.
The design of an asynchronous microprocessor.
Proceedings of the decennial Caltech conference on VLSI on advance research in VLSI, pp. 351-373
[Murata, 1989]
T. Murata.
Petri nets: Properties, analysis and applications.
Proceedings of the IEEE, 77 (1989), pp. 541-580
[Ortega et al., 2009]
S. Ortega, M.A. Gurrola, J.J. Raygoza, A. Pedroza, G. Terrazas.
Implementación de estructuras ASIC Self-Timed aplicando el conjunto de herramientas Alliance.
Proceedings of the SOMI XXIV,
[Ortega et al., 2005]
S. Ortega, J. Raygoza, E. Boemo.
Diseño e implementación de módulos de control con protocolos de comunicación Self-Timed en FPGAs.
V Jornadas de Computación Reconfigurable y Aplicaciones CEDI, (2005),
[Ortega-Cisneros et al., 2007]
S. Ortega-Cisneros, J.J. Raygoza-Panduro, A. de la Mora-Gálvez.
Design and implementation of the AMCC self-timed microprocessor in FPGAs.
Journal Universal Computer Science, 13 (2007), pp. 377-387
[Ortega et al., 2010]
S. Ortega, J. Raygoza, A. Pedroza, M. Carrazco, J.R. Loo-Yau.
Design and implementation of self timed and synchronous floating-point multipliers.
The 1st international congress on instrumentation and applied sciences conference, implemented in reconfigurable devices, October,
[Raygoza et al., 2009]
J. Raygoza, S. Ortega, M. Carrazco, A. Pedroza.
Implementación en hardware de un sumador de punto flotante basado en el estándar IEEE 754-2008.
Digital Technological Journal, (2009),
October
[Richardson and Brunvand, 1996]
W.F. Richardson, E. Brunvand.
Fred: An architecture for a self-timed decoupled computer.
Proceedings of the second international symposium on advanced research in asynchronous circuits and systems, pp. 60-68
March 18
[Smith et al., 2010]
S.C. Smith, W.K. Al-Assadi, J. Di.
Integrating asynchronous digital design into the computer engineering curriculum.
IEEE Transactions on Education, 53 (2010), pp. 349-357
[Takamura et al., 1998]
A. Takamura, M. Imai, M. Ozawa, I. Fukasaku, T. Fujii, M. Kuwako, et al.
TITAC-2: An asynchronous 32-bit microprocessor.
Proceedings of the IEEE, (1998), pp. 319-320
[Terada et al., 1999]
H. Terada, S. Miyata, M. Iwata.
DDMPs: Self-timed super-pipelined data-driven multimedia processors.
Proceedings of the IEEE, 87 (1999), pp. 282-295
[Tranchero and Reyneri, 2008]
M. Tranchero, L.M. Reyneri.
Implementation of self-timed circuits onto FPGAs using commercial tools.
11th EUROMICRO conference on digital system design (DSD), architectures, methods and tools, pp. 373-380
[van Gageldonk et al., 1998]
H. van Gageldonk, D. Baumann, K. van Berkel, D. Gloor, A. Peeters, G. Stegmann.
An asynchronous low-power 80c51 microcontroller.
Proceedings of the international symposium advanced research in asynchronous circuits and systems, pp. 96-107
[Werner and Akella, 1997]
T. Werner, V. Akella.
Asynchronous processor survey.
Proceedings of the IEEE, (1997), pp. 67-77
[Xilinx Inc., 2015]
Xilinx Inc..
Virtex-5 Family Overview. DS100 (v5.1), August 21.
(2015),
Available at:
[Yoshida, 2003]
J. Yoshida.
Philips gambit: Self-timing's time is here.
EE Times, (2003),
March 31

Peer Review under the responsibility of Universidad Nacional Autónoma de México.

Copyright © 2015. Universidad Nacional Autónoma de México, Centro de Ciencias Aplicadas y Desarrollo Tecnológico
Descargar PDF
Opciones de artículo