US20030140214A1 - Pipelined completion for asynchronous communication - Google Patents

Pipelined completion for asynchronous communication Download PDF

Info

Publication number
US20030140214A1
US20030140214A1 US10/335,343 US33534302A US2003140214A1 US 20030140214 A1 US20030140214 A1 US 20030140214A1 US 33534302 A US33534302 A US 33534302A US 2003140214 A1 US2003140214 A1 US 2003140214A1
Authority
US
United States
Prior art keywords
completion
data
stage
tree
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US10/335,343
Inventor
Alain Martin
Andrew Lines
Uri Cummings
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
California Institute of Technology CalTech
Original Assignee
California Institute of Technology CalTech
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US09/118,140 external-priority patent/US6381692B1/en
Priority claimed from US09/151,334 external-priority patent/US6038656A/en
Application filed by California Institute of Technology CalTech filed Critical California Institute of Technology CalTech
Priority to US10/335,343 priority Critical patent/US20030140214A1/en
Publication of US20030140214A1 publication Critical patent/US20030140214A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/80Architectures of general purpose stored program computers comprising an array of processing units with common control, e.g. single instruction multiple data processors
    • G06F15/8053Vector processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3867Concurrent instruction execution, e.g. pipeline, look ahead using instruction pipelines
    • G06F9/3871Asynchronous instruction pipeline, e.g. using handshake signals between stages

Definitions

  • the present invention relates to information processing, and more specifically to architecture and operation of asynchronous circuits and processors.
  • U.S. Pat. No. 5,752,070 to Martin and Burns discloses such an asynchronous processor, which is incorporated herein by reference in its entirety.
  • This asynchronous processor goes against the conventional wisdom of using a clock to synchronize various components and operations of the processor and operates without a synchronizing clock.
  • the instructions can be executed as fast as the processing circuits allow and the processing speed is essentially limited only by delays cased by gates and interconnections.
  • Such an asynchronous processor can be optimized for high-speed processing by special pipelining techniques based on unique properties of the asynchronous architecture.
  • Asynchronous pipelining allows multiple instructions to be executed at the same time. This has the effect of executing instructions in a different order than originally intended.
  • An asynchronous processor compensates for this out-of-order execution by maintaining the integrity of the output data without a synchronizing clock signal.
  • a synchronous processor relies on the control clock signal to indicate when an operation of a component is completed and when the next operation of another component may start.
  • a pipelined processing component in an asynchronous processor generates a completion signal instead to inform the previous processing component the completion of an operation.
  • P 1 and P 2 are two adjacent processing components in an asynchronous pipeline.
  • the component P 1 receives and processes data X to produce an output Y.
  • the component P 2 processes the output Y to produce a result Z.
  • At least two communication channels are formed between P 1 and P 2 : a data channel that sends Y from P 1 to P 2 and a request/acknowledgment channel by which P 2 acknowledges receiving of Y to P 1 and requests the next Y from P 1 .
  • the messages communicated to P 1 via the request/acknowledgment channel are produced by P 2 according to a completion signal internal to P 2 .
  • the present disclosure provides a pipelined completion tree for asynchronous processors.
  • a high throughput and a low latency can be achieved by decomposing any pipeline unit into an array of simple pipeline blocks. Each block operates only on a small portion of the datapath.
  • Global synchronization between stages, when needed, is implemented by copy trees and slack matching.
  • one way to reduce the delay in the completion tree uses asynchronous pipelining to decompose a long critical cycle in a datapath into two or more short cycles.
  • One or more decoupling buffers may be disposed in the datapath between two pipelined stages.
  • Another way to reduce the delay in the completion tree is to reduce the delay caused by distribution of a signal to all N bits in an N-bit datapath. Such delay can be significant when N is large.
  • One embodiment of the asynchronous circuit uses the above two techniques to form a pipelined completion tree in each stage to process data without a clock signal.
  • This circuit comprises a first processing stage receiving an input data and producing a first output data, and a second processing stage, connected to communicate with said first processing stage without prior knowledge of delays associated with said first and second processing stages and to receive said first output data to produce an output.
  • Each processing stage includes:
  • a first register and a second register connected in parallel relative to each other to respectively receive a first portion and a second portion of a received data
  • a first logic circuit connected to said first register to produce a first completion signal indicating whether all bits of said first portion of said received data are received by said first register
  • a second logic circuit connected to said second register to produce a second completion signal indicating whether all bits of said second portion of said received data are received by said second register
  • a third logic circuit connected to receive said first and second completion signals and configured to produce a third completion signal to indicate whether all bits of said first and second portions of said received data are received by said first and second registers,
  • a first buffer circuit connected between said first logic circuit and the third logic circuit to pipeline said first and third logic circuits
  • FIG. 1 shows two communicating processing stages in an asynchronous pipeline circuit based on a quasi-delay-intensive four-phase handshake protocol.
  • FIG. 2 shows a prior-art completion tree formed by two-input C-elements.
  • FIG. 3A is a simplified diagram showing the asynchronous pipeline in FIG. 1.
  • FIG. 3B shows an improved asynchronous pipeline with a decoupling buffer connected between two processing stages.
  • FIG. 3C shows one implementation of the circuit of FIG. 3D using a C-element as the decoupling buffer.
  • FIG. 4 shows an asynchronous circuit implementing a pipelined completion tree and a pipelined distribution circuit in each processing stage.
  • FIG. 5 shows a copy tree circuit
  • FIG. 6 shows one embodiment of the copy tree in FIG. 5.
  • FIG. 7A is a diagram illustrating decomposition of an N-bit datapath of an asynchronous pipeline into two or more parallel datapaths with each having a processing block to process a portion of the N-bit data.
  • FIG. 7B is a diagram showing different datapath structures at different stages in an asynchronous pipeline.
  • FIG. 7C shows a modified circuit of the asynchronous pipeline in FIG. 7A where a processing stage is decomposed into two pipelined small processing stages to improve the throughput.
  • FIG. 8 shows an asynchronous circuit having a control circuit to synchronize decomposed processing blocks of two different processing stages.
  • FIG. 9A shows a balanced binary tree.
  • FIG. 9B shows a skewed binary tree.
  • FIG. 9C shows a 4-leaf skewed completion tree.
  • FIG. 9D shows a 4-leaf balanced completion tree.
  • the asynchronous circuits disclosed herein are quasi delay-insensitive in the sense that such circuits do not use any assumption on, or knowledge of, delays in most operators and wires.
  • One of various implementations of such quasi-delay-insensitive communication is a four-phase protocol for communication between two adjacent processing stages in an asynchronous pipeline. This four-phase protocol will be used in the following to illustrate various embodiments and should not be construed as limitations of the invention.
  • FIG. 1 is a block diagram showing the implementation of the four-phase protocol in an asynchronous pipeline.
  • Two adjacent stages (or processing components) 110 (“A”) and 120 (“B”) are connected to send an N-bit data from the first stage 110 to the second stage 120 via data channels 130 .
  • a communication channel 140 is implemented to send a request/acknowledgment signal “ra” by the second stage 120 to the first stage 110 .
  • the signal ra either requests data to be sent or acknowledges reception of data to the first stage 110 .
  • the processing stages 110 and 120 are not clocked or synchronized to a control clock signal.
  • the first stage 110 includes a register part R A , 112 , and a control part “C A ”, 114 .
  • the register part 112 stores data to be sent to the second stage 120 .
  • the control part 114 generates an internal control parameter “x” 116 to the data channels 130 , e.g., triggering sending data or resetting the data channels.
  • the control part 114 also controls data processing in the first stage 110 which generates the data to be sent to the second stage 120 .
  • the second stage 120 includes a register part 122 that stores received data from register part 112 , a control part “C B ”, 124 , that generates the request/acknowledgment signal ra over the channel 140 and controls data processing in the second stage, and a completion tree 126 that connects the register part 122 and the control part 124 .
  • the completion tree 126 is a circuit that checks the status of the register part 122 and determines whether the processing of the second stage 120 on the received data from the first stage 110 is completed.
  • An internal control parameter “y” 128 is generated by the completion tree 126 to control the operation of the control part 224 .
  • One possible four-phase handshake protocol is as follows.
  • a request signal is generated by the control part 124 in response to a value of the control parameter y ( 128 ) and is sent to the control part 114 via the channel 140 to inform the first stage 110 that the stage 120 is ready to receive the next data. This is the “request” phase.
  • the first stage 110 responds to the request by sending out the next data to the second stage 120 via the data channels 130 . More specifically, the control part 114 processes the request from the control part 124 and instructs the register part 112 by using the control parameter x ( 116 ) to send the next data.
  • An acknowledgment phase follows. Upon completion of receiving the data from the first stage 110 , the completion tree 126 changes the value of the control parameter y ( 128 ) so that the control part 124 produces an acknowledgment signal via the channel 140 to inform the first stage 110 (i.e., the control part 114 ) of completion of the data transmission.
  • control part 114 changes the value of the control parameter x ( 116 ) which instructs the register part 112 to stop data transmission. This action resets the data channels 130 to a “neutral” state so that the next data can be transmitted when desired.
  • completion tree 126 resets the value of the control parameter y to the control part 124 to produce another request. This completes an operation cycle of request, data transmission, acknowledgment, and reset.
  • Each processing component or stage operates as fast as possible to complete a respective processing step and then proceeds to start the next processing step.
  • Such asynchronous pipelined operation can achieve a processing speed, on average, higher than that of a synchronous operation.
  • the binary data should be coded with delay-insensitive codes.
  • One simple way of coding data in a delay-insensitive manner is a “dual-rail” code in which each bit is encoded on two wires.
  • Another delay-insensitive code is a 1-of-N code in which one rail is raised for each bit value of the data. See, e.g., U.S. Pat. No. 3,290,511.
  • a delay-insensitive code is characterized by the fact that the data rails alternate between a neutral state that doesn't represent a valid encoding of a data value, and a valid state that represents a valid encoding of a data value. See, Alain J. Martin, “Asynchronous Data paths and the Design of an Asynchronous Adder” in Formal Methods in System Design, 1:1, Kluwer, 117-137, 1992.
  • the above four-phase protocol can be broken down into a set phase and a rest phase.
  • the set phase includes the sequence of transitions performed in the request phase and the transmission phase (assuming that all wires are initially set low):
  • Each transition is a process where a signal (e.g., ra, x, D, or y) changes its value.
  • the reset phase includes the sequence of transitions in the acknowledgment phase and the final reset phase:
  • HSE handshake expansion
  • the false value, y ⁇ , of the completion signal y represents completion of processing and instructs the control part 124 to send out a request.
  • the true value, y ⁇ represents completion of receiving data and instructs the control part 124 to send out an acknowledgment.
  • the completion tree 126 is constructed and configured to perform the above logic operations to generate the proper completion signals (i.e., either y ⁇ and y ⁇ ).
  • the proper completion signals i.e., either y ⁇ and y ⁇ .
  • one conventional implementation of the completion tree uses a tree of two-input C-elements as shown in FIG. 2.
  • the two-input C-element also known as Muller C element
  • Muller C element is a logic gate which outputs a high or low only when both inputs are high or low, respectively, and the output remains unchanged from a previous value if the inputs are different from each other.
  • the number of C-elements in FIG. 2 may be reduced by using C-elements of more than two inputs, such as three or even four inputs.
  • the existing VLSI technology limits the number of inputs in such C-elements since as the number of p-transistors connected in series to form the C-elements increases, the performance of the C-elements is usually degraded.
  • the number of the inputs of a C-element may be up to 4 with acceptable performance.
  • the two communicating components are said to complete a “cycle” if, after a sequence of transitions, both components return to their respective initial states at the beginning of the sequence.
  • cycle C the set phase and the reset phase of transitions in communication between A and B shown in FIG. 1 form a cycle C:
  • the throughput of an asynchronous system is determined by the delay through the longest cycle of transitions. Such a cycle is called a “critical cycle.” Therefore, it is desirable to reduce the critical cycle to improve the throughput.
  • the completion tree delays, ⁇ (y ⁇ ) and ⁇ (y ⁇ ), may be unacceptable, if a high throughput is required.
  • the target throughput in the 0.6- ⁇ m CMOS technology is around 300 MHZ.
  • the critical cycle delay is thus about 3 ns.
  • the completion tree delay is around 1 ns.
  • one third of the critical cycle delay is caused by the completion tree. This is a significant portion of the critical delay.
  • FIGS. 3A and 3B show an example of breaking a long critical cycle between two pipelined stages A and B into two short cycles by pipelining A and B through a buffer.
  • FIG. 3A shows two components 310 (A) and 320 (B) communicate with each other through two simple handshake channels 312 ( a ) and 322 ( b ).
  • the protocol may include the following sequence of transitions:
  • a ⁇ ,B ⁇ ,A ⁇ ,B ⁇ represent the transitions inside A and B. If the delay through this cycle is too long to be acceptable (e.g., due to the delays through A and B), a simple buffer 330 can be introduced to form an asynchronous pipelining between A and B as in FIG. 3B to reduce this long cycle into two short cycles.
  • the buffer 330 creates two handshake cycles:
  • Bu 1 A ⁇ ;a 1 ⁇ ;b 1 ⁇ ;A ⁇ ;a 1 ⁇ ;b 1 ⁇ ,
  • Bu 2 a 2 ⁇ ;B ⁇ ;b 2 ⁇ ;a 2 ⁇ ;B ⁇ ;b 2 ⁇ .
  • the two handshakes are synchronized by the buffer, not by a clock signal.
  • the buffer can be implemented in various ways.
  • FIG. 3C shows one simple implementation that uses a single C-element 340 of two inputs a 1 , b 2 and two outputs a 2 , b 1 .
  • the C-element 340 receives the input a 1 and an inverted input of b 2 to produce two duplicated outputs a 2 , b 1 .
  • the two handshakes are synchronized in the following way:
  • This particular buffer allows the downgoing phase of A to overlap with the upgoing phase of B and the upgoing phase of A to overlap with the downgoing phase of B. Such overlap reduces the duration of the handshaking process.
  • adding additional stages in an asynchronous pipeline may not necessarily increase the forward latency of the pipeline and may possibly reduce the forward latency.
  • the above technique of decomposing a long cycle into two or more pipelined short cycles can reduce the delay along the datapath of a pipeline.
  • this does not address another delay caused by distribution of a signal to all N bits in an N-bit datapath, e.g., controlling bits in a 32-bit register that sends out data (e.g., the register 112 in the stage 110 ).
  • Such delay can also be significant, specially when N is large (e.g., 32 or 64 or even 128).
  • N-bit register of a stage in the N-bit datapath can also be replaced by m small registers of n bits.
  • the number m and thereby n are determined by the processing tasks of the two communicating stages.
  • a 32-bit datapath for example, can be decomposed into four 8-bit blocks, or eight 4-bit blocks, or sixteen 2-bit blocks, or even thirty-two 1-bit blocks to achieve a desired performance.
  • decomposition of a long cycle into two or more small cycles can be applied to two directions: one along the pipelined stages by adding decoupling buffers therebetween and another “orthogonal” direction by decomposing a single datapath into two or more small datapaths that are connected in parallel.
  • FIG. 4 shows a 32-bit asynchronous pipeline with a pipelined completion tree based on the above two-dimensional decomposition.
  • Four 8-bit registers 401 A, 401 B, 401 C, 401 D in the sending stage 110 are connected with respect to one another in parallel.
  • four 8-bit registers 402 A, 402 B, 402 C, 402 D in the receiving stage 120 that respectively correspond to the registers in the sending stage 110 are also connected with respect to one another in parallel. This forms four parallel 8-bit datapaths.
  • Decomposition along the datapaths is accomplished by using the decoupling buffer shown in FIGS. 3B and 3C.
  • the control part 114 responds to this signal 411 to control the registers 401 A, 401 B, 401 C, and 401 D to send the next data.
  • At least two decoupling buffers such as 412 A and 422 A, are introduced in each datapath with one in the sending stage 110 and another in the receiving stage 120 .
  • the buffer 412 A for example, is disposed on wires (ct 1 ,ra 1 ) to interconnect the control part 114 , the completion tree 410 , register 401 A, and the request/acknowledge signal for the first datapath.
  • the buffer 422 A is disposed on wires (x 1 , ra 1 ) to interconnect the first completion tree 403 A, the control part 124 , the completion tree 420 , and the completion tree 410 .
  • the completion trees 403 A, 403 B, 403 C, and 403 D are pipelined to the completion tree 420 via buffers 422 A, 422 B, 422 C, and 422 D, respectively.
  • the completion trees in the stage 110 are also pipelined through buffers 412 A, 412 B, 412 C, and 412 D.
  • Such pipelined completion significantly reduces the delay in generating the completion signal for the respective control part.
  • the above decoupling technique can be repeated until all completion trees have a delay below an acceptable level to achieve a desired throughput.
  • buffers 414 and 424 may be optionally added on wires (ra, x) and (ra, y) to decouple the control parts 114 and 124 , respectively.
  • decoupling buffers may increase the latency of an asynchronous pipeline, a proper balance between the latency requirement and the throughput requirement should be maintained when introducing such buffers.
  • a stage in an asynchronous circuit usually performs both sending and receiving.
  • One simple example is a one-place buffer having a register, an input port L, and an output port R. This buffer repeatedly receives data on the port L, and sends the data on the port R. The register that holds the data is repeatedly written and read.
  • distributing the control signals from the control part in each stage to data cells and merging the signals from all data cells to the control part can be implemented by sharing many circuit elements.
  • FIG. 4 a portion of circuit, a “copy tree” is used in both stages. This copy tree is shown in FIG. 5.
  • the copy tree includes two pipelined circuits: a pipelined completion tree circuit for sending a completion signal based on completion signals from data cells to the global control part in each stage and a pipelined distribution circuit for sending control signals from the global control part to data cells.
  • FIG. 6 shows one embodiment of a copy tree for a stage that has k data cells.
  • This, copy tree is used for both distributing k control signals from the control part (e.g., 114 in FIG. 4) to all data cells and merging k signals from all data cells to the control part.
  • the signals r l , s i are signals going to data cells, (l ⁇ i ⁇ k), as requests to receive or send.
  • the completion signal ct i comes from data cell i, as a request/acknowledgment signal.
  • One advantage of this copy tree is that only one completion tree is needed to perform the functions of the two completion trees 410 and 420 in FIG. 4.
  • the copy tree shown in FIG. 6 is only an example. Other configurations are possible.
  • a program specification of a copy tree for both sending and receiving is as follows:
  • C is the channel shared with the control
  • D 1 . . . D x are the channels to each data cell
  • c is the value encoding the request (receive, send, etc.).
  • the different alternatives for the buffer correspond to the different implementations of the semicolon.
  • each data cell i contains a control part that communicates with a respective copy tree through the channel D i .
  • the copy tree and the control for each data cell may be eliminated.
  • the program generalizes obviously to any number of requests. Again, we have the choice among all possible implementations of the semicolon (the buffer between channel D i and channel Li or Ri). If the sequence of requests is entirely deterministic, like in the case of a buffer: r,s,r,s, . . . , there is no need for each data cell to communicate with a central control process through the copy tree. The fixed sequence of requests can be directly encoded in the control of each data cell, thereby eliminating the central control and the copy tree. Hence, the control is entirely distributed among the data cells. A central control process is usually kept when the sequence of send and receive actions in the data cells is data dependent.
  • FIG. 4 One technique used in FIG. 4 is to decompose the N-bit data path into m small datapaths of n bits. Since each small datapath handles only a small number of bits of the N bits, the data processing logic and the control can be integrated together to form a single processing block without having a separate control part and a register. The registers in each stage shown in FIG. 4 can be eliminated. Therefore, the global control part in each stage is distributed into the multiple processing blocks in the small datapaths. Without the register, the data in each processing block can be stored in a buffer circuit incorporated in the processing block. Such implementation can usually be accomplished based on reshuffling of half buffer, precharged half buffer, and precharged full buffer disclosed in U.S. application Ser. No. 09/118,140, filed on Jul. 16, 1998, which is incorporated herein by reference. Reshuffling can be used to advantageously reduce the forward latency.
  • FIG. 7A shows one embodiment of an asynchronous circuit by implementing multiple processing blocks.
  • the datapaths between different stages in an N-bit asynchronous pipeline may have different datapath structures to reduce the overall delay.
  • the difference in the datapaths depends on the nature and complexity of these different stages.
  • One part of the N-bit pipeline for example, may have a single N-bit data path while another part may have m n-bit datapaths.
  • FIG. 7B shows three different datapath structures implemented in four pipelined stages.
  • FIG. 7C shows another example of decomposing a long cycle into small cycles based on the circuit in FIG. 7A.
  • the pipelined stage A can be decomposed into two pipelined stages A 1 and A 2 .
  • Each processing block of the stages A 1 and A 2 is simplified compared to the processing block in the original stage A.
  • Each stage, A 1 or A 2 performs a portion of the processing task of the original stage A.
  • the average throughput of the stages A 1 and A 2 is higher than that of the original stage A.
  • Decomposition of an N-bit datapath into multiple small datapaths shown in FIG. 7A allows each small datapath to process and transmit a portion of the data.
  • the first small datapath handles bits 1 through 8
  • the second small datapath handles bits 9 through 18 , etc.
  • synchronization of different small datapaths and a global completion mechanism are not needed. This rarely occurs in most practical asynchronous processors except some local processing or pure buffering of data.
  • the pipelined stages are often part of a logic unit (e.g., a fetch unit or a decode unit).
  • Each processing block in stage k+1 usually need read some information from two or more different processing blocks in the stage k.
  • the decomposed small datapaths need to be synchronized relative to one another.
  • FIG. 8 One way to implement such synchronization is illustrated in FIG. 8.
  • a control circuit is introduced between the stage k and stage k+1 to gather global information from each processing block of stage k and computes appropriate control signals to control the related processing blocks in stage k+1.
  • Decomposed datapaths are not shown in FIG. 8.
  • the stage k compares two 32-bit numbers A and B and the operations of the stage k+1 depends on the comparison result.
  • the control circuit produces a control signal indicating the difference (A ⁇ B) based on the signals from the decomposed datapaths in the stage k. This control signal is then distributed to all decomposed blocks in the stage k+1.
  • One aspect of the control circuit is to synchronize the operations of the two stages k and k+1. Similar to the connections between the control part 114 and the data cells in the stage 110 of FIG. 4, a copy tree can be used to connected the control circuit to each of the stages k and k+1.
  • the copy trees are preferably implemented as pipelined completion circuits. For example, each processing block in the stage k is connected to a block completion tree for that block. The block completion tree is then pipelined to a global completion tree via a decoupling buffer. The output of the global completion tree is then connected to the control circuit. This forms the pipelined completion tree in the copy tree that connects the stage k to the control circuit.
  • the control circuit distributes a multi-valued control signal to stage k+1, the single control wire of a basic completion tree needs to be replaced with a set of wires encoding the different values of the control signal.
  • the copy tree shown in FIG. 6 can be extended in the case of a two-valued signal encoded by wires r and s.
  • the control circuit in FIG. 8 can introduce an extra delay between the stage k and k+1, in particular since the pipelined completion tree used usually has a plurality of decoupling buffers. This delay can form a bottleneck to the speed of the pipeline. Therefore, it may be necessary in certain applications to add buffers in a datapath between the stages k and k+1 in order to substantially equalize the length of different channels between the two stages. This technique is called “slack matching”.
  • FIG. 9A shows a balanced binary tree.
  • a tree used in the present invention may not be balanced or binary.
  • a binary tree can be skewed as shown in FIG. 9B.
  • FIG. 9C shows a 4-leaf skewed completion tree and
  • FIG. 9D shows a balanced 4-leaf completion tree.
  • the above embodiments provide a high throughput and a low latency by decomposing any pipeline unit into an array of simple pipeline blocks. Each block operates only on a small portion of the datapath. The global completion delay is essentially eliminated. Global synchronization between stages is implemented by copy trees and slack matching.
  • control circuit in FIG. 8 may be connected between any two stages other than two adjacent stages as shown.
  • number of decoupling buffers between two stages can be varied.

Abstract

An asynchronous circuit having a pipelined completion mechanism to achieve improved throughput.

Description

  • This application is a continuation-in-part of U.S. application Ser. No. 09/118,140, filed on Jul. 16, 1998 and claims the benefit of U.S. provisional application No. 60/058,662, filed on Sep. 12, 1997. The disclosure of the above two applications is incorporated herein by reference.[0001]
  • FIELD OF THE INVENTION
  • The present invention relates to information processing, and more specifically to architecture and operation of asynchronous circuits and processors. [0002]
  • BACKGROUND
  • Many information processing devices operate based on a control clock signal to synchronize operations of different processing components and therefore are usually referred to as “synchronous” processing devices. In general, different processing components may operate at different speeds due to various factors including the nature of different functions and different characteristics of the components or properties of the signals processed by the components. Synchronization of these different processing components requires the speed of the control clock signal to accommodate the slowest processing component. Thus, some processing components may complete respective operations earlier than other slow components and have to wait until all processing components complete their operations. Although the speed of a synchronous processor can be improved by increasing the clock speed to a certain extent, synchronous processing is not an efficient way of utilizing available resources. [0003]
  • An alternative approach, pioneered by Alain Martin of California Institute of Technology, eliminates synchronization of different processing components according to a clock signal. Different processing components simply operate as fast as permitted by their structures and operating environments. There is no relationship between a clock speed and the operation speed. This obviates many technical obstacles in a synchronous processor and can be used to construct an “asynchronous” processor with a much simplified architecture and a fast processing speed that are difficult to achieve with synchronous processors. [0004]
  • U.S. Pat. No. 5,752,070 to Martin and Burns discloses such an asynchronous processor, which is incorporated herein by reference in its entirety. This asynchronous processor goes against the conventional wisdom of using a clock to synchronize various components and operations of the processor and operates without a synchronizing clock. The instructions can be executed as fast as the processing circuits allow and the processing speed is essentially limited only by delays cased by gates and interconnections. [0005]
  • Such an asynchronous processor can be optimized for high-speed processing by special pipelining techniques based on unique properties of the asynchronous architecture. Asynchronous pipelining allows multiple instructions to be executed at the same time. This has the effect of executing instructions in a different order than originally intended. An asynchronous processor compensates for this out-of-order execution by maintaining the integrity of the output data without a synchronizing clock signal. [0006]
  • A synchronous processor relies on the control clock signal to indicate when an operation of a component is completed and when the next operation of another component may start. By eliminating such synchronization of a control clock, a pipelined processing component in an asynchronous processor, however, generates a completion signal instead to inform the previous processing component the completion of an operation. [0007]
  • For example, assume P[0008] 1 and P2 are two adjacent processing components in an asynchronous pipeline. The component P1 receives and processes data X to produce an output Y. The component P2 processes the output Y to produce a result Z. At least two communication channels are formed between P1 and P2: a data channel that sends Y from P1 to P2 and a request/acknowledgment channel by which P2 acknowledges receiving of Y to P1 and requests the next Y from P1. The messages communicated to P1 via the request/acknowledgment channel are produced by P2 according to a completion signal internal to P2.
  • Generation of this completion signal can introduce an extra delay that degrades the performance of the asynchronous processor. Such extra delay is particularly problematic when operations of a datum are decomposed into two or more concurrent elementary operations on different portions of the datum. Each elementary operation requires a completion signal. The completion signals for all elementary operations are combined into one global completion signal that indicates completion of operations on that datum. Hence, a completion circuit (“completion tree”) is needed to collect all elementary completion signals to generate that global completion signal. The complexity of such a completion tree increases with the number of the elementary completion signals. [0009]
  • When not properly implemented, the extra delays of a completion tree can significantly offset the advantages of an asynchronous processor. Therefore, it is desirable to reduce or minimize the delays in a completion tree. [0010]
  • SUMMARY
  • The present disclosure provides a pipelined completion tree for asynchronous processors. A high throughput and a low latency can be achieved by decomposing any pipeline unit into an array of simple pipeline blocks. Each block operates only on a small portion of the datapath. Global synchronization between stages, when needed, is implemented by copy trees and slack matching. [0011]
  • More specifically, one way to reduce the delay in the completion tree uses asynchronous pipelining to decompose a long critical cycle in a datapath into two or more short cycles. One or more decoupling buffers may be disposed in the datapath between two pipelined stages. Another way to reduce the delay in the completion tree is to reduce the delay caused by distribution of a signal to all N bits in an N-bit datapath. Such delay can be significant when N is large. The N-bit datapath can also be partitioned into m small datapaths of n bits (N=m×n) that are parallel to one another. These m small datapaths can transmit data simultaneously. Accordingly, each N-bit processing stage can also be replaced by m small processing blocks of n bits. [0012]
  • One embodiment of the asynchronous circuit uses the above two techniques to form a pipelined completion tree in each stage to process data without a clock signal. This circuit comprises a first processing stage receiving an input data and producing a first output data, and a second processing stage, connected to communicate with said first processing stage without prior knowledge of delays associated with said first and second processing stages and to receive said first output data to produce an output. Each processing stage includes: [0013]
  • a first register and a second register connected in parallel relative to each other to respectively receive a first portion and a second portion of a received data, [0014]
  • a first logic circuit connected to said first register to produce a first completion signal indicating whether all bits of said first portion of said received data are received by said first register, [0015]
  • a second logic circuit connected to said second register to produce a second completion signal indicating whether all bits of said second portion of said received data are received by said second register, [0016]
  • a third logic circuit connected to receive said first and second completion signals and configured to produce a third completion signal to indicate whether all bits of said first and second portions of said received data are received by said first and second registers, [0017]
  • a first buffer circuit connected between said first logic circuit and the third logic circuit to pipeline said first and third logic circuits, and [0018]
  • a second buffer circuit connected between said second logic circuit and the third logic circuit to pipeline said second and third logic circuits [0019]
  • These and other aspects and advantages will become more apparent in light the following accompanying drawings, the detailed description, and the appended claims.[0020]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 shows two communicating processing stages in an asynchronous pipeline circuit based on a quasi-delay-intensive four-phase handshake protocol. [0021]
  • FIG. 2 shows a prior-art completion tree formed by two-input C-elements. [0022]
  • FIG. 3A is a simplified diagram showing the asynchronous pipeline in FIG. 1. [0023]
  • FIG. 3B shows an improved asynchronous pipeline with a decoupling buffer connected between two processing stages. [0024]
  • FIG. 3C shows one implementation of the circuit of FIG. 3D using a C-element as the decoupling buffer. [0025]
  • FIG. 4 shows an asynchronous circuit implementing a pipelined completion tree and a pipelined distribution circuit in each processing stage. [0026]
  • FIG. 5 shows a copy tree circuit. [0027]
  • FIG. 6 shows one embodiment of the copy tree in FIG. 5. [0028]
  • FIG. 7A is a diagram illustrating decomposition of an N-bit datapath of an asynchronous pipeline into two or more parallel datapaths with each having a processing block to process a portion of the N-bit data. [0029]
  • FIG. 7B is a diagram showing different datapath structures at different stages in an asynchronous pipeline. [0030]
  • FIG. 7C shows a modified circuit of the asynchronous pipeline in FIG. 7A where a processing stage is decomposed into two pipelined small processing stages to improve the throughput. [0031]
  • FIG. 8 shows an asynchronous circuit having a control circuit to synchronize decomposed processing blocks of two different processing stages. [0032]
  • FIG. 9A shows a balanced binary tree. [0033]
  • FIG. 9B shows a skewed binary tree. [0034]
  • FIG. 9C shows a 4-leaf skewed completion tree. [0035]
  • FIG. 9D shows a 4-leaf balanced completion tree.[0036]
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • The asynchronous circuits disclosed herein are quasi delay-insensitive in the sense that such circuits do not use any assumption on, or knowledge of, delays in most operators and wires. One of various implementations of such quasi-delay-insensitive communication is a four-phase protocol for communication between two adjacent processing stages in an asynchronous pipeline. This four-phase protocol will be used in the following to illustrate various embodiments and should not be construed as limitations of the invention. [0037]
  • FIG. 1 is a block diagram showing the implementation of the four-phase protocol in an asynchronous pipeline. Two adjacent stages (or processing components) [0038] 110 (“A”) and 120 (“B”) are connected to send an N-bit data from the first stage 110 to the second stage 120 via data channels 130. A communication channel 140 is implemented to send a request/acknowledgment signal “ra” by the second stage 120 to the first stage 110. The signal ra either requests data to be sent or acknowledges reception of data to the first stage 110. The processing stages 110 and 120 are not clocked or synchronized to a control clock signal.
  • The [0039] first stage 110 includes a register part RA, 112, and a control part “CA”, 114. The register part 112 stores data to be sent to the second stage 120. The control part 114 generates an internal control parameter “x” 116 to the data channels 130, e.g., triggering sending data or resetting the data channels. The control part 114 also controls data processing in the first stage 110 which generates the data to be sent to the second stage 120. The second stage 120 includes a register part 122 that stores received data from register part 112, a control part “CB”, 124, that generates the request/acknowledgment signal ra over the channel 140 and controls data processing in the second stage, and a completion tree 126 that connects the register part 122 and the control part 124.
  • The [0040] completion tree 126 is a circuit that checks the status of the register part 122 and determines whether the processing of the second stage 120 on the received data from the first stage 110 is completed. An internal control parameter “y” 128 is generated by the completion tree 126 to control the operation of the control part 224.
  • One possible four-phase handshake protocol is as follows. When the [0041] completion tree 126 detects that the second stage 120 has completed processing of the received data and is ready to receive the next data from the first stage 110, a request signal is generated by the control part 124 in response to a value of the control parameter y (128) and is sent to the control part 114 via the channel 140 to inform the first stage 110 that the stage 120 is ready to receive the next data. This is the “request” phase.
  • Next, in a data transmission phase, the [0042] first stage 110 responds to the request by sending out the next data to the second stage 120 via the data channels 130. More specifically, the control part 114 processes the request from the control part 124 and instructs the register part 112 by using the control parameter x (116) to send the next data.
  • An acknowledgment phase follows. Upon completion of receiving the data from the [0043] first stage 110, the completion tree 126 changes the value of the control parameter y (128) so that the control part 124 produces an acknowledgment signal via the channel 140 to inform the first stage 110 (i.e., the control part 114) of completion of the data transmission.
  • Finally, the [0044] control part 114 changes the value of the control parameter x (116) which instructs the register part 112 to stop data transmission. This action resets the data channels 130 to a “neutral” state so that the next data can be transmitted when desired. In addition, the completion tree 126 resets the value of the control parameter y to the control part 124 to produce another request. This completes an operation cycle of request, data transmission, acknowledgment, and reset.
  • No clock signal is used in the above communication protocol. Each processing component or stage operates as fast as possible to complete a respective processing step and then proceeds to start the next processing step. Such asynchronous pipelined operation can achieve a processing speed, on average, higher than that of a synchronous operation. [0045]
  • Since the operation is asynchronous, the binary data should be coded with delay-insensitive codes. One simple way of coding data in a delay-insensitive manner is a “dual-rail” code in which each bit is encoded on two wires. Another delay-insensitive code is a 1-of-N code in which one rail is raised for each bit value of the data. See, e.g., U.S. Pat. No. 3,290,511. A delay-insensitive code is characterized by the fact that the data rails alternate between a neutral state that doesn't represent a valid encoding of a data value, and a valid state that represents a valid encoding of a data value. See, Alain J. Martin, “Asynchronous Data paths and the Design of an Asynchronous Adder” in Formal Methods in System Design, 1:1, Kluwer, 117-137, 1992. [0046]
  • The above four-phase protocol can be broken down into a set phase and a rest phase. The set phase includes the sequence of transitions performed in the request phase and the transmission phase (assuming that all wires are initially set low):[0047]
  • ra↑;x↑;D
    Figure US20030140214A1-20030724-P00002
    ;y↑.
  • Each transition is a process where a signal (e.g., ra, x, D, or y) changes its value. The reset phase includes the sequence of transitions in the acknowledgment phase and the final reset phase:[0048]
  • ra↓;x↓;D
    Figure US20030140214A1-20030724-P00003
    ;y↓.
  • The above operations are expressed in the handshake expansion (“HSE”) notation as defined in the incorporated U.S. Pat. No. 5,752,070. The semicolon indicates two statements to be executed in sequence; the v↑ and v↓ set a boolean variable v to true and false, respectively; C[0049]
    Figure US20030140214A1-20030724-P00900
    is the concurrent assignment of some bits of C such that the result is an appropriate valid value without any intermediate value being valid; and C
    Figure US20030140214A1-20030724-P00901
    is the concurrent assignment of some bits of C such that the result is a neutral value without any intermediate value being neutral.
  • The false value, y↓, of the completion signal y represents completion of processing and instructs the [0050] control part 124 to send out a request. The true value, y↑, represents completion of receiving data and instructs the control part 124 to send out an acknowledgment. The architecture of the completion tree 126 and the generation of the completion signals, y↓ and y↑, are now described in detail.
  • Consider an N-bit datum, D that is transmitted from the [0051] first stage 110 to the second stage 120. The completion signal y↑ is generated when all the bits encoded into D have been written into the register 122 from the register 112. For each bit bk (k=0, 1, . . . , N−1), a write-acknowledgment signal, wackk, is generated. When all write-acknowledgment signals are raised, y can be raised to produce the completion signal y↑. Similarly, wackk is lowered when the corresponding bit bx is reset to its neutral value according to a chosen delay-insensitive protocol. Hence, y can be reset to zero when all write-acknowledgment signals are reset to zero (the neutral value). This can be expressed as the following:
  • wack0
    Figure US20030140214A1-20030724-P00004
    wack1
    Figure US20030140214A1-20030724-P00004
    . . .
    Figure US20030140214A1-20030724-P00004
    wackN−1→y↑
    Figure US20030140214A1-20030724-P00005
    wack0
    Figure US20030140214A1-20030724-P00004
    Figure US20030140214A1-20030724-P00005
    wack1
    Figure US20030140214A1-20030724-P00004
    . . .
    Figure US20030140214A1-20030724-P00004
    Figure US20030140214A1-20030724-P00005
    wackN−1→y↓
  • where the notation “[0052]
    Figure US20030140214A1-20030724-P00005
    ” represents negation, thus if wack0 represents a “high”,
    Figure US20030140214A1-20030724-P00005
    wack0 represents a “low”.
  • The [0053] completion tree 126 is constructed and configured to perform the above logic operations to generate the proper completion signals (i.e., either y↓ and y↑). For any reasonably large value of N, one conventional implementation of the completion tree uses a tree of two-input C-elements as shown in FIG. 2. The two-input C-element (also known as Muller C element) is a logic gate which outputs a high or low only when both inputs are high or low, respectively, and the output remains unchanged from a previous value if the inputs are different from each other.
  • The number of C-elements in FIG. 2 may be reduced by using C-elements of more than two inputs, such as three or even four inputs. However, the existing VLSI technology limits the number of inputs in such C-elements since as the number of p-transistors connected in series to form the C-elements increases, the performance of the C-elements is usually degraded. In general, the number of the inputs of a C-element may be up to 4 with acceptable performance. [0054]
  • Measurements show that the type of C-element used to construct the completion tree is in general not very important. What is important is that whatever tree is used, the delay through the tree is proportional to logN. The delays through the tree are roughly a constant for C-elements of two inputs, three inputs, or four inputs. [0055]
  • The two communicating components are said to complete a “cycle” if, after a sequence of transitions, both components return to their respective initial states at the beginning of the sequence. For example, the set phase and the reset phase of transitions in communication between A and B shown in FIG. 1 form a cycle C:[0056]
  • C≡ra↑;x↑;D
    Figure US20030140214A1-20030724-P00002
    ;y↑;ra↓;x↓;D
    Figure US20030140214A1-20030724-P00003
    ;y↓.
  • The throughput of an asynchronous system is determined by the delay through the longest cycle of transitions. Such a cycle is called a “critical cycle.” Therefore, it is desirable to reduce the critical cycle to improve the throughput. [0057]
  • For a quasi-delay-insensitive asynchronous system in which any two components communicate according to the above four-phase protocol, a delay δc through the sequence C is a good estimated lower-bound for the critical cycle delay. [0058]
  • For a normal datapath with n=32 or n=64, the completion tree delays, δ(y↑) and δ(y↓), may be unacceptable, if a high throughput is required. For example, in the Caltech MiniMIPS design, the target throughput in the 0.6-μm CMOS technology is around 300 MHZ. The critical cycle delay is thus about 3 ns. For a full 32-bit completion tree based on the structure shown in FIG. 2, the completion tree delay is around 1 ns. Hence, one third of the critical cycle delay is caused by the completion tree. This is a significant portion of the critical delay. [0059]
  • The significant contribution to the critical cycle delay from the completion tree is a common drawback of previous asynchronous systems. To certain extent, such a limitation has prevented many from developing asynchronous systems as an alternative to the dominating synchronous systems in spite of many advantages of asynchronous systems. Hence, it is important to design and configure a completion tree with a significantly reduced delay to make an asynchronous system practical. [0060]
  • One way to reduce the delay in the completion tree uses asynchronous pipelining to decompose a long critical cycle in a datapath into two or more short cycles. FIGS. 3A and 3B show an example of breaking a long critical cycle between two pipelined stages A and B into two short cycles by pipelining A and B through a buffer. [0061]
  • FIG. 3A shows two components [0062] 310 (A) and 320 (B) communicate with each other through two simple handshake channels 312 (a) and 322 (b). The protocol may include the following sequence of transitions:
  • A↑;a↑;B↑;b↑;A↓;a↓;B↓;b↓
  • where A↑,B↑,A↓,B↓ represent the transitions inside A and B. If the delay through this cycle is too long to be acceptable (e.g., due to the delays through A and B), a [0063] simple buffer 330 can be introduced to form an asynchronous pipelining between A and B as in FIG. 3B to reduce this long cycle into two short cycles.
  • The [0064] buffer 330 creates two handshake cycles:
  • Bu1=A↑;a1↑;b1↑;A↓;a1↓;b1↓,
  • and
  • Bu2=a2↑;B↑;b2↑;a2↓;B↓;b2↓.
  • If the delays of the transitions Bu[0065] 1↑, Bu1↓ and Bu2↑, Bu2↓ are shorter than the delays of A↑, A↓ and B↑, B↓, the above decomposition reduces the length of the critical cycle.
  • The two handshakes are synchronized by the buffer, not by a clock signal. The buffer can be implemented in various ways. FIG. 3C shows one simple implementation that uses a single C-element [0066] 340 of two inputs a1, b2 and two outputs a2, b1. The C-element 340 receives the input a1 and an inverted input of b2 to produce two duplicated outputs a2, b1. The two handshakes are synchronized in the following way:
    Figure US20030140214A1-20030724-C00001
  • This particular buffer allows the downgoing phase of A to overlap with the upgoing phase of B and the upgoing phase of A to overlap with the downgoing phase of B. Such overlap reduces the duration of the handshaking process. [0067]
  • Therefore, when a decoupling buffer is properly implemented, adding additional stages in an asynchronous pipeline may not necessarily increase the forward latency of the pipeline and may possibly reduce the forward latency. [0068]
  • The above technique of decomposing a long cycle into two or more pipelined short cycles can reduce the delay along the datapath of a pipeline. However, this does not address another delay caused by distribution of a signal to all N bits in an N-bit datapath, e.g., controlling bits in a 32-bit register that sends out data (e.g., the [0069] register 112 in the stage 110). Such delay can also be significant, specially when N is large (e.g., 32 or 64 or even 128). Hence, in addition to adding additional pipelined stages along a datapath, an N-bit datapath can also be partitioned into m small datapaths of n bits (N=m×n) to further reduce the overall delay. These m small datapaths are connected parallel to one another and can transmit data simultaneously relative to one another. Accordingly, the N-bit register of a stage in the N-bit datapath can also be replaced by m small registers of n bits. The number m and thereby n are determined by the processing tasks of the two communicating stages. A 32-bit datapath, for example, can be decomposed into four 8-bit blocks, or eight 4-bit blocks, or sixteen 2-bit blocks, or even thirty-two 1-bit blocks to achieve a desired performance.
  • Therefore, decomposition of a long cycle into two or more small cycles can be applied to two directions: one along the pipelined stages by adding decoupling buffers therebetween and another “orthogonal” direction by decomposing a single datapath into two or more small datapaths that are connected in parallel. [0070]
  • FIG. 4 shows a 32-bit asynchronous pipeline with a pipelined completion tree based on the above two-dimensional decomposition. Four 8-[0071] bit registers 401A, 401B, 401C, 401D in the sending stage 110 are connected with respect to one another in parallel. Accordingly, four 8- bit registers 402A, 402B, 402C, 402D in the receiving stage 120 that respectively correspond to the registers in the sending stage 110 are also connected with respect to one another in parallel. This forms four parallel 8-bit datapaths. Each datapath has an 8-input completion tree (e.g., 403A, etc.), and the four completion outputs ctk (k=1, 2, 3, and 4) are combined into one 4-input completion tree 420 that produces a completion signal 421 (ra) for the control 124. This accomplishes one half of the two-dimensional decomposition.
  • Decomposition along the datapaths is accomplished by using the decoupling buffer shown in FIGS. 3B and 3C. A completion tree [0072] 410 is introduced in the sending stage 110 to receive individual request/acknowledge signals rak (k=1, 2, 3, and 4) directly from individual 8-bit datapaths and thereby to produce a duplicate request/acknowledge signal 411 of the request/acknowledge signal 140 produced by the control part 124. The control part 114 responds to this signal 411 to control the registers 401A, 401B, 401C, and 401D to send the next data.
  • At least two decoupling buffers, such as [0073] 412A and 422A, are introduced in each datapath with one in the sending stage 110 and another in the receiving stage 120. The buffer 412A, for example, is disposed on wires (ct1,ra1) to interconnect the control part 114, the completion tree 410, register 401A, and the request/acknowledge signal for the first datapath. The buffer 422A is disposed on wires (x1, ra1) to interconnect the first completion tree 403A, the control part 124, the completion tree 420, and the completion tree 410.
  • Therefore, the [0074] completion trees 403A, 403B, 403C, and 403D are pipelined to the completion tree 420 via buffers 422A, 422B, 422C, and 422D, respectively. Similarly, the completion trees in the stage 110 are also pipelined through buffers 412A, 412B, 412C, and 412D. Such pipelined completion significantly reduces the delay in generating the completion signal for the respective control part. The above decoupling technique can be repeated until all completion trees have a delay below an acceptable level to achieve a desired throughput.
  • Additional buffers may be added in each datapath. For example, buffers [0075] 414 and 424 may be optionally added on wires (ra, x) and (ra, y) to decouple the control parts 114 and 124, respectively.
  • Since decoupling buffers may increase the latency of an asynchronous pipeline, a proper balance between the latency requirement and the throughput requirement should be maintained when introducing such buffers. [0076]
  • A stage in an asynchronous circuit usually performs both sending and receiving. One simple example is a one-place buffer having a register, an input port L, and an output port R. This buffer repeatedly receives data on the port L, and sends the data on the port R. The register that holds the data is repeatedly written and read. [0077]
  • It is observed that the completion mechanism for the [0078] control 114 in the sending stage 110 and the completion mechanism for the control 124 in the receiving stage 120 are similar in circuit construction and function. Since data is almost never read and written simultaneously, such similarity can be advantageously exploited to share a portion of the pipelined completion mechanism between sending data and receiving data within a stage. This simplifies the circuit and reduces the circuit size.
  • In particular, distributing the control signals from the control part in each stage to data cells and merging the signals from all data cells to the control part can be implemented by sharing many circuit elements. In FIG. 4, a portion of circuit, a “copy tree” is used in both stages. This copy tree is shown in FIG. 5. The copy tree includes two pipelined circuits: a pipelined completion tree circuit for sending a completion signal based on completion signals from data cells to the global control part in each stage and a pipelined distribution circuit for sending control signals from the global control part to data cells. [0079]
  • FIG. 6 shows one embodiment of a copy tree for a stage that has k data cells. This, copy tree is used for both distributing k control signals from the control part (e.g., [0080] 114 in FIG. 4) to all data cells and merging k signals from all data cells to the control part. The signals rl, si are signals going to data cells, (l≦i≦k), as requests to receive or send. The completion signal cti comes from data cell i, as a request/acknowledgment signal. One advantage of this copy tree is that only one completion tree is needed to perform the functions of the two completion trees 410 and 420 in FIG. 4.
  • The copy tree shown in FIG. 6 is only an example. Other configurations are possible. In general, a program specification of a copy tree for both sending and receiving is as follows:[0081]
  • *[C?c;<∥i;l . . . k:Di!c>]
  • where C is the channel shared with the control, D[0082] 1 . . . Dx are the channels to each data cell, and c is the value encoding the request (receive, send, etc.). The different alternatives for the buffer correspond to the different implementations of the semicolon.
  • In the above circuits, each data cell i contains a control part that communicates with a respective copy tree through the channel D[0083] i. In certain applications, the copy tree and the control for each data cell may be eliminated.
  • Consider a data cell i that receives data from a channel L[0084] i, ands send out data to a channel Ri. Assuming that the requests from the copy tree to the data cells are just receive (“r”) or send (“s”), a program specification of data cell i is:
  • *[[Di=“r”→Di;Li?xi
  • □Di=“s”→Di;Ri!xi
  • ]]
  • The program generalizes obviously to any number of requests. Again, we have the choice among all possible implementations of the semicolon (the buffer between channel D[0085] i and channel Li or Ri). If the sequence of requests is entirely deterministic, like in the case of a buffer: r,s,r,s, . . . , there is no need for each data cell to communicate with a central control process through the copy tree. The fixed sequence of requests can be directly encoded in the control of each data cell, thereby eliminating the central control and the copy tree. Hence, the control is entirely distributed among the data cells. A central control process is usually kept when the sequence of send and receive actions in the data cells is data dependent.
  • One technique used in FIG. 4 is to decompose the N-bit data path into m small datapaths of n bits. Since each small datapath handles only a small number of bits of the N bits, the data processing logic and the control can be integrated together to form a single processing block without having a separate control part and a register. The registers in each stage shown in FIG. 4 can be eliminated. Therefore, the global control part in each stage is distributed into the multiple processing blocks in the small datapaths. Without the register, the data in each processing block can be stored in a buffer circuit incorporated in the processing block. Such implementation can usually be accomplished based on reshuffling of half buffer, precharged half buffer, and precharged full buffer disclosed in U.S. application Ser. No. 09/118,140, filed on Jul. 16, 1998, which is incorporated herein by reference. Reshuffling can be used to advantageously reduce the forward latency. FIG. 7A shows one embodiment of an asynchronous circuit by implementing multiple processing blocks. [0086]
  • In addition, the datapaths between different stages in an N-bit asynchronous pipeline may have different datapath structures to reduce the overall delay. The difference in the datapaths depends on the nature and complexity of these different stages. One part of the N-bit pipeline, for example, may have a single N-bit data path while another part may have m n-bit datapaths. FIG. 7B shows three different datapath structures implemented in four pipelined stages. [0087]
  • FIG. 7C shows another example of decomposing a long cycle into small cycles based on the circuit in FIG. 7A. The pipelined stage A can be decomposed into two pipelined stages A[0088] 1 and A2. Each processing block of the stages A1 and A2 is simplified compared to the processing block in the original stage A. Each stage, A1 or A2, performs a portion of the processing task of the original stage A. When A1 and A2 are properly constructed, the average throughput of the stages A1 and A2 is higher than that of the original stage A.
  • Decomposition of an N-bit datapath into multiple small datapaths shown in FIG. 7A allows each small datapath to process and transmit a portion of the data. For example, the first small datapath handles [0089] bits 1 through 8, the second small datapath handles bits 9 through 18, etc. As long as each small datapath can proceed entirely based on its own portion of the data and independently of other data portions, synchronization of different small datapaths and a global completion mechanism are not needed. This rarely occurs in most practical asynchronous processors except some local processing or pure buffering of data. In a pipeline where the data is actually transformed, the pipelined stages are often part of a logic unit (e.g., a fetch unit or a decode unit). Each processing block in stage k+1 usually need read some information from two or more different processing blocks in the stage k. Hence, the decomposed small datapaths need to be synchronized relative to one another.
  • One way to implement such synchronization is illustrated in FIG. 8. A control circuit is introduced between the stage k and stage k+1 to gather global information from each processing block of stage k and computes appropriate control signals to control the related processing blocks in stage k+1. Decomposed datapaths are not shown in FIG. 8. For example, the stage k compares two 32-bit numbers A and B and the operations of the stage k+1 depends on the comparison result. The control circuit produces a control signal indicating the difference (A−B) based on the signals from the decomposed datapaths in the stage k. This control signal is then distributed to all decomposed blocks in the stage k+1. [0090]
  • One aspect of the control circuit is to synchronize the operations of the two stages k and k+1. Similar to the connections between the [0091] control part 114 and the data cells in the stage 110 of FIG. 4, a copy tree can be used to connected the control circuit to each of the stages k and k+1. To maintain a high throughput and reduce the latency, the copy trees are preferably implemented as pipelined completion circuits. For example, each processing block in the stage k is connected to a block completion tree for that block. The block completion tree is then pipelined to a global completion tree via a decoupling buffer. The output of the global completion tree is then connected to the control circuit. This forms the pipelined completion tree in the copy tree that connects the stage k to the control circuit.
  • When the control circuit distributes a multi-valued control signal to stage k+1, the single control wire of a basic completion tree needs to be replaced with a set of wires encoding the different values of the control signal. The copy tree shown in FIG. 6 can be extended in the case of a two-valued signal encoded by wires r and s. [0092]
  • The control circuit in FIG. 8 can introduce an extra delay between the stage k and k+1, in particular since the pipelined completion tree used usually has a plurality of decoupling buffers. This delay can form a bottleneck to the speed of the pipeline. Therefore, it may be necessary in certain applications to add buffers in a datapath between the stages k and k+1 in order to substantially equalize the length of different channels between the two stages. This technique is called “slack matching”. [0093]
  • The above pipelined completion circuits are balanced binary tree in which the distances from the root to leaves are a constant. FIG. 9A shows a balanced binary tree. In general, a tree used in the present invention may not be balanced or binary. For example, a binary tree can be skewed as shown in FIG. 9B. FIG. 9C shows a 4-leaf skewed completion tree and FIG. 9D shows a balanced 4-leaf completion tree. [0094]
  • The above embodiments provide a high throughput and a low latency by decomposing any pipeline unit into an array of simple pipeline blocks. Each block operates only on a small portion of the datapath. The global completion delay is essentially eliminated. Global synchronization between stages is implemented by copy trees and slack matching. [0095]
  • Although only a few embodiments are disclosed, other variations are possible. For example, the control circuit in FIG. 8 may be connected between any two stages other than two adjacent stages as shown. Also, the number of decoupling buffers between two stages can be varied. These and other variations and modifications are intended to be encompassed by the following claims. [0096]

Claims (1)

What is claimed is:
1. A pipelined completion element for a processor, comprising:
a completion process producing a request and receiving an acknowledgment that said request has been completed from each of a plurality of different processes, including at least a first process, completing said request; and
a pipelining element, including at least one buffer in said pipeline that senses a command for an action to occur in said completion process and returns an indication that said buffer has received said command.
US10/335,343 1997-09-12 2002-12-31 Pipelined completion for asynchronous communication Abandoned US20030140214A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/335,343 US20030140214A1 (en) 1997-09-12 2002-12-31 Pipelined completion for asynchronous communication

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
US5866297P 1997-09-12 1997-09-12
US09/118,140 US6381692B1 (en) 1997-07-16 1998-07-16 Pipelined asynchronous processing
US09/151,334 US6038656A (en) 1997-09-12 1998-09-11 Pipelined completion for asynchronous communication
US09/496,128 US6502180B1 (en) 1997-09-12 2000-02-01 Asynchronous circuits with pipelined completion process
US10/335,343 US20030140214A1 (en) 1997-09-12 2002-12-31 Pipelined completion for asynchronous communication

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US09/496,128 Continuation US6502180B1 (en) 1997-09-12 2000-02-01 Asynchronous circuits with pipelined completion process

Publications (1)

Publication Number Publication Date
US20030140214A1 true US20030140214A1 (en) 2003-07-24

Family

ID=29255161

Family Applications (2)

Application Number Title Priority Date Filing Date
US09/496,128 Expired - Lifetime US6502180B1 (en) 1997-09-12 2000-02-01 Asynchronous circuits with pipelined completion process
US10/335,343 Abandoned US20030140214A1 (en) 1997-09-12 2002-12-31 Pipelined completion for asynchronous communication

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US09/496,128 Expired - Lifetime US6502180B1 (en) 1997-09-12 2000-02-01 Asynchronous circuits with pipelined completion process

Country Status (1)

Country Link
US (2) US6502180B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040111589A1 (en) * 2002-09-16 2004-06-10 Fulcrum Microsystems, Inc., A California Corporation Asynchronous multiple-order issue system architecture
US20120102300A1 (en) * 2010-10-22 2012-04-26 Electronics And Telecommunications Research Institute Asynchronous pipeline system, stage, and data transfer mechanism

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6502180B1 (en) * 1997-09-12 2002-12-31 California Institute Of Technology Asynchronous circuits with pipelined completion process
WO2000005644A1 (en) * 1998-07-22 2000-02-03 California Institute Of Technology Reshuffled communications processes in pipelined asynchronous circuits
US6850092B2 (en) * 2000-06-09 2005-02-01 The Trustees Of Columbia University Low latency FIFO circuits for mixed asynchronous and synchronous systems
GB2392536B (en) * 2001-06-25 2005-04-20 Marathon Techn Corp Fault tolerant processing
US6732336B2 (en) * 2001-10-11 2004-05-04 California Institute Of Technology Method and apparatus for an asynchronous pulse logic circuit
US7283557B2 (en) * 2002-01-25 2007-10-16 Fulcrum Microsystems, Inc. Asynchronous crossbar with deterministic or arbitrated control
US7016695B1 (en) 2002-12-11 2006-03-21 National Semiconductor Corporation Apparatus and method for processing a deterministic data flow associated with a wireless communication signal
US7380151B1 (en) * 2002-12-11 2008-05-27 National Semiconductor Corporation Apparatus and method for asynchronously clocking the processing of a wireless communication signal by multiple processors
US7050324B2 (en) * 2003-07-14 2006-05-23 Fulcrum Microsystems, Inc. Asynchronous static random access memory
US7260753B2 (en) * 2003-07-14 2007-08-21 Fulcrum Microsystems, Inc. Methods and apparatus for providing test access to asynchronous circuits and systems
US7584449B2 (en) * 2004-11-22 2009-09-01 Fulcrum Microsystems, Inc. Logic synthesis of multi-level domino asynchronous pipelines
US7814280B2 (en) * 2005-01-12 2010-10-12 Fulcrum Microsystems Inc. Shared-memory switch fabric architecture
US20090271747A1 (en) * 2006-12-26 2009-10-29 Nec Corporation Logic circuit designing device, logic circuit designing method and logic circuit designing program for asynchronous logic circuit
US7916718B2 (en) * 2007-04-19 2011-03-29 Fulcrum Microsystems, Inc. Flow and congestion control in switch architectures for multi-hop, memory efficient fabrics
US9520180B1 (en) 2014-03-11 2016-12-13 Hypres, Inc. System and method for cryogenic hybrid technology computing and memory

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4466064A (en) * 1980-05-14 1984-08-14 U.S. Philips Corporation Multiprocessor computer system for executing a splittable algorithm, notably a recursive algorithm
US4720780A (en) * 1985-09-17 1988-01-19 The Johns Hopkins University Memory-linked wavefront array processor
US4876641A (en) * 1986-08-02 1989-10-24 Active Memory Technology Ltd. Vlsi data processor containing an array of ICs, each of which is comprised primarily of an array of processing
US4905143A (en) * 1984-02-27 1990-02-27 Nippon Telegraph And Telephone Public Company Array processor and control method thereof
US5187800A (en) * 1985-01-04 1993-02-16 Sun Microsystems, Inc. Asynchronous pipelined data processing system
US5410723A (en) * 1989-11-21 1995-04-25 Deutsche Itt Industries Gmbh Wavefront array processor for blocking the issuance of first handshake signal (req) by the presence of second handshake signal (ack) which indicates the readyness of the receiving cell
US5574925A (en) * 1991-07-04 1996-11-12 The Victoria University Of Manchester Asynchronous pipeline having condition detection among stages in the pipeline
US5689661A (en) * 1993-03-31 1997-11-18 Fujitsu Limited Reconfigurable torus network having switches between all adjacent processor elements for statically or dynamically splitting the network into a plurality of subsystems
US5848276A (en) * 1993-12-06 1998-12-08 Cpu Technology, Inc. High speed, direct register access operation for parallel processing units
US5872988A (en) * 1992-06-17 1999-02-16 U.S. Philips Corporation Parallel data processing device having a concatenated data path between elementary processors
US5898881A (en) * 1991-06-28 1999-04-27 Sanyo Electric Co., Ltd Parallel computer system with error status signal and data-driven processor
US5937177A (en) * 1996-10-01 1999-08-10 Sun Microsystems, Inc. Control structure for a high-speed asynchronous pipeline
US6122726A (en) * 1992-06-30 2000-09-19 Discovision Associates Data pipeline system and data encoding method
US6502180B1 (en) * 1997-09-12 2002-12-31 California Institute Of Technology Asynchronous circuits with pipelined completion process

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3290511A (en) * 1960-08-19 1966-12-06 Sperry Rand Corp High speed asynchronous computer
US4580215A (en) * 1983-03-08 1986-04-01 Itt Corporation Associative array with five arithmetic paths
US5752070A (en) * 1990-03-19 1998-05-12 California Institute Of Technology Asynchronous processors
US5732233A (en) * 1995-01-23 1998-03-24 International Business Machines Corporation High speed pipeline method and apparatus

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4466064A (en) * 1980-05-14 1984-08-14 U.S. Philips Corporation Multiprocessor computer system for executing a splittable algorithm, notably a recursive algorithm
US4905143A (en) * 1984-02-27 1990-02-27 Nippon Telegraph And Telephone Public Company Array processor and control method thereof
US5187800A (en) * 1985-01-04 1993-02-16 Sun Microsystems, Inc. Asynchronous pipelined data processing system
US4720780A (en) * 1985-09-17 1988-01-19 The Johns Hopkins University Memory-linked wavefront array processor
US4922418A (en) * 1985-09-17 1990-05-01 The Johns Hopkins University Method for controlling propogation of data and transform through memory-linked wavefront array processor
US4876641A (en) * 1986-08-02 1989-10-24 Active Memory Technology Ltd. Vlsi data processor containing an array of ICs, each of which is comprised primarily of an array of processing
US5410723A (en) * 1989-11-21 1995-04-25 Deutsche Itt Industries Gmbh Wavefront array processor for blocking the issuance of first handshake signal (req) by the presence of second handshake signal (ack) which indicates the readyness of the receiving cell
US5898881A (en) * 1991-06-28 1999-04-27 Sanyo Electric Co., Ltd Parallel computer system with error status signal and data-driven processor
US5574925A (en) * 1991-07-04 1996-11-12 The Victoria University Of Manchester Asynchronous pipeline having condition detection among stages in the pipeline
US5872988A (en) * 1992-06-17 1999-02-16 U.S. Philips Corporation Parallel data processing device having a concatenated data path between elementary processors
US6122726A (en) * 1992-06-30 2000-09-19 Discovision Associates Data pipeline system and data encoding method
US5689661A (en) * 1993-03-31 1997-11-18 Fujitsu Limited Reconfigurable torus network having switches between all adjacent processor elements for statically or dynamically splitting the network into a plurality of subsystems
US5848276A (en) * 1993-12-06 1998-12-08 Cpu Technology, Inc. High speed, direct register access operation for parallel processing units
US5937177A (en) * 1996-10-01 1999-08-10 Sun Microsystems, Inc. Control structure for a high-speed asynchronous pipeline
US6502180B1 (en) * 1997-09-12 2002-12-31 California Institute Of Technology Asynchronous circuits with pipelined completion process

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040111589A1 (en) * 2002-09-16 2004-06-10 Fulcrum Microsystems, Inc., A California Corporation Asynchronous multiple-order issue system architecture
US7698535B2 (en) * 2002-09-16 2010-04-13 Fulcrum Microsystems, Inc. Asynchronous multiple-order issue system architecture
US20120102300A1 (en) * 2010-10-22 2012-04-26 Electronics And Telecommunications Research Institute Asynchronous pipeline system, stage, and data transfer mechanism
US9317295B2 (en) * 2010-10-22 2016-04-19 Electronics And Telecommunications Research Institute Asynchronous pipeline system, stage, and data transfer mechanism

Also Published As

Publication number Publication date
US6502180B1 (en) 2002-12-31

Similar Documents

Publication Publication Date Title
US6038656A (en) Pipelined completion for asynchronous communication
US6502180B1 (en) Asynchronous circuits with pipelined completion process
JP3789454B2 (en) Stream processor with cryptographic coprocessor
US4965793A (en) Method and apparatus for interfacing a system control unit for a multi-processor
CN111512292A (en) Apparatus, method and system for unstructured data flow in a configurable spatial accelerator
JP3869726B2 (en) High capacity asynchronous pipeline processing circuit and method
EP4216062A1 (en) Arbitrating portions of transactions over virtual channels associated with an interconnect
US5386585A (en) Self-timed data pipeline apparatus using asynchronous stages having toggle flip-flops
US20020069347A1 (en) High-throughput asynchronous dynamic pipelines
US8669779B2 (en) Systems, pipeline stages, and computer readable media for advanced asynchronous pipeline circuits
JP2011170868A (en) Pipeline accelerator for improved computing architecture, and related system and method
US20060212628A1 (en) Reshuffled communications processes in pipelined asynchronous circuits
US8593176B2 (en) One phase logic
Broscius et al. Exploiting parallelism in hardware implementation of the DES
US5999961A (en) Parallel prefix operations in asynchronous processors
US20030229485A1 (en) Emulation system for data-driven processor
Kol et al. A doubly-latched asynchronous pipeline
JP2003337807A (en) High speed operation method and system for cross bar
KR100947446B1 (en) Vliw processor
WO1999013610A2 (en) Pipelined completion for asynchronous communication
US7698535B2 (en) Asynchronous multiple-order issue system architecture
US6430697B1 (en) Method and apparatus for reducing data return latency of a source synchronous data bus by detecting a late strobe and enabling a bypass path
JP2001297074A (en) Execution controller, of data drive type information processor
JPH0981525A (en) Parallel processing system
Lewis et al. Transforming bit-serial communication circuits into fast parallel VLSI implementations

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION