Cross switch supporting simultaneous data traffic in opposing directions
An apparatus comprising a first bus segment, a second bus segment and a switch. The first bus segment may be configured to transfer data in either a first direction or a second direction. The second bus segment may be configured to transfer data in either the first direction or the second direction. The switch may be connected between the first bus segment and the second bus segment. The switch may be configured to transfer data in both the first direction and the second direction simultaneously.
Latest LSI Logic Corporation Patents:
- Flipchip bump patterns for efficient I-mesh power distribution schemes
- Semiconductor package and method using isolated Vplane to accommodate high speed circuitry ground isolation
- Integrated circuit cell architecture configurable for memory or logic elements
- Dielectric barrier layer for increasing electromigration lifetimes in copper interconnect structures
- Method characterizing materials for a trench isolation structure having low trench parasitic capacitance
The present invention relates to a data transmission generally and, more particularly, to a cross switch supporting simultaneous data traffic in opposing directions.
BACKGROUND OF THE INVENTIONReferring to
For example, a bus structure can multiplex addresses and a data over the bus 20. With such an implementation, the component A can read from the component B by first sending an address over the bus 20. The component B receives the address, decodes the address information, fetches the requested data, and sends the requested data back on the bus 20. The sequence of operations described creates the bus idle cycles where other components do not have access to the bus 20.
During the bus idle cycles, if the component C needs to read from the component D, the bus 20 is not available. In addition, the bus 20 normally only runs at one clock frequency. All of the components A–D need to interface to the bus 20 at the frequency of the bus 20. Conventional solutions resolve such multiple bus requests by waiting for the bus 20 to be available by adding idle cycles to separate the bus activity.
It would be desirable to implement a bus that implements simultaneous data traffic in opposing directions without imposing idle cycles.
SUMMARY OF THE INVENTIONThe present invention concerns an apparatus comprising a first bus segment, a second bus segment and a switch. The first bus segment may be configured to transfer data in either a first direction or a second direction. The second bus segment may be configured to transfer data in either the first direction or the second direction. The switch may be connected between the first bus segment and the second bus segment. The switch may be configured to transfer data in both the first direction and the second direction simultaneously.
The objects, features and advantages of the present invention include providing a switch that may (i) support simultaneous data traffic in opposing directions, (ii) reduce idle cycles, (iii) increase bus bandwidth and performance and/or (iv) support components that run at different bus frequencies.
These and other objects, features and advantages of the present invention will be apparent from the following detailed description and the appended claims and drawings in which:
Referring to
The switch 130 may be implemented between segments of the bi-directional bus 120. A first segment 160a may be implemented on one side of the switch 130. A second segment 160b may be implemented on another side of the switch 130. The switch 130 may be inserted between the first segment 160a and the second segment 160b. While two segments are shown connected to the switch 130, additional segments may be connected to meet the design criteria of a particular implementation. The component A and the component D may be connected to the segment 160a. The component B and the component C may be connected to the segment 160b. When the component A is requesting data (e.g., REQUESTA) from the component B, the component C is allowed to request data (e.g., REQUESTC) from the component D. The switch 130 will then normally transfer the data request REQUESTA from segment 160a to the segment 160b, and the data request REQUESTC from the segment 160b to the segment 160a, simultaneously.
When the component B receives the data request REQUESTA, the component B takes the idle cycles to fetch data (e.g., DATAB). At the same time, the component D may have received the data request REQUESTC. The component D may also use the respective idle cycles to fetch the data DATAD. The component B and the component D put respective data on segment 160b and the segment 160a of the bus 130. Again, the switchbox 130 forwards the data DATAB to the segment 160a and the data DATAD to the segment 160b at the same time.
Furthermore, the component A and the component C do not necessarily have to make the appropriate data requests simultaneously. Similarly, the data DATAB and the data DATAD do not necessarily have to be put on the respective segment of the bus 130 simultaneously. The switch 130 may be implemented as two buffers 140 and 150. The buffer 140 may connect one input from the segment 160a and present an output to the segment 160b. The buffer 150 may operate in the reverse direction. The switch 130 holds the data that arrives early, waits for the other segment (e.g., the segment 160a or the segment 160b) to be available, then presents data from one segment (e.g., the segment 160a) to the other segment (e.g., 160b).
The switch 130 may hold data from one segment (e.g., 160a) before forwarding the data to the other segment (e.g., 160b). The size (e.g., depth and width) of the buffers 140 and 150 may be adjusted to meet the design criteria of a particular implementation. The switch 130 may also allow simultaneous access from two independent components (e.g., the components A and D) to two other components (e.g., the components B and C). In one example, the segment 160a and the segment 160b may operate at the same frequency. In another example, the segment 160a may operate at a first frequency and the segment 160b may operate at a second frequency. The first frequency may be the same, greater than or less than the second frequency.
The system 100 may be extended into multiple segments with multiple buffers and forwarding logic. The system 100 may (i) reduce idle cycles, (ii) increase bus bandwidth and performance, (iii) support components that run at different bus frequencies. The system 100 may be implemented generically and be used in any shared bus architecture, be in systems or VLSI chips.
Referring to
The control logic portion 174a may receive a bus busy signal (e.g., BUSY) from the bus segment 160a. The signal BUSY generally indicates if the bus segment 160 has traffic (e.g., data, addresses, etc.). The control portion 170a allows data to be transferred from the buffer 140 to the bus segment 160a by closing the switch 172a if the signal BUSY indicates that the bus segment 160a is not busy. If the signal BUSY indicates that the bus segment 160 is busy, then the control portion 170a opens the switch 172a, not allowing data to be presented from the buffer 140. The control portion 170b provides similar operation while the control portion 170a is shown with a switch 172a, other components may be implemented to meet the design criteria of a particular implementation. For example, a tri-state buffer may be implemented to control data flow. The buffer 140 may load information from the bus segment 160b while the buffer 150 loads information from the bus segment 160a. Information (e.g., data, addresses, etc.) may be unloaded from the buffer 140 once the bus segment 160a is not busy. Similarly, data may be unloaded from the buffer 150 once the bus segment 160b is not busy. Portions of data may be loaded and/or unloaded from the buffers 140 and 150 at different times. For example, if the component A needs to send a large piece of data to the component B, a first portion of the data can be loaded into the buffer 140 while a smaller portion of data is being loaded from the component C to the buffer 150. The buffer B may start unloading data to the bus segment 160b, which may interrupt the data being loaded into the buffer 140. After the data is unloaded from the buffer 150, additional data may be loaded into the buffer 140.
As used herein, the term “simultaneously” is meant to describe events that share some common time period but the term is not meant to be limited to events that begin at the same point in time, end at the same point in time, or have the same duration.
While the invention has been particularly shown and described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the invention.
Claims
1. An apparatus comprising:
- a first bus segment configured (i) to transfer data in either a first direction or a second direction and (ii) to present a first bus busy signal configured to indicate whether said first bus segment has traffic;
- a second bus segment configured (i) to transfer data in either said first direction or said second direction and (ii) to present a second bus busy signal configured to indicate whether said second bus segment has traffic;
- a first switch portion connected between said first bus segment and said second bus segment, wherein said first switch portion is configured (i) to receive said first bus busy signal, (ii) to receive data from said second bus segment and (iii) to transfer said data received from said second bus segment to said first bus segment when said first bus busy signal indicates said first bus segment has no traffic; and
- a second switch portion connected between said first bus segment and said second bus segment, wherein said second switch portion is configured (i) to receive said second bus busy signal, (ii) to receive data from said first bus segment and (iii) to transfer said data received from said first bus segment to said second bus segment when said second bus busy signal indicates said second bus segment has no traffic, wherein said first switch portion and said second switch portion are configured to transfer data in both said first direction and said second direction simultaneously.
2. The apparatus according to claim 1, wherein said first bus segment is connected to a first plurality of components.
3. The apparatus according to claim 2, wherein said second bus segment is connected to a second plurality of components.
4. The apparatus according to claim 1, wherein:
- said first switch portion is configured to transmit data to said first bus segment when said first bus busy signal is in a first state and hold data for transfer to said first bus segment when said first bus busy signal is in a second state; and
- said second switch portion is configured to transmit data to said second bus segment when said second bus busy signal is in a first state and hold data for transfer to said second bus segment when said second bus busy signal is in a second state.
5. The apparatus according to claim 4, wherein said first switch portion comprises a first plurality of memory cells and said second switch portion comprises a second plurality of memory cells.
6. The apparatus according to claim 1, wherein said first switch portion and said second switch portion are configured as a cross switch.
7. The apparatus according to claim 1, wherein said first switch portion comprises a first buffer and said second switch portion comprises a second buffer.
8. The apparatus according to claim 1, wherein said first bus segment operates at a first frequency and said second bus segment operates at a second frequency.
9. The apparatus according to claim 8, wherein said first frequency is equal to said second frequency.
10. The apparatus according to claim 8, wherein said first frequency is greater than said second frequency.
11. The apparatus according to claim 1, wherein said first switch portion comprises a first control logic, a first buffer and a first switch and said second switch portion comprises a second control logic, a second buffer and a second switch, wherein said first control logic is configured to generate a first control signal in response to said first bus busy signal, said second control logic is configured to generate a second control signal in response to said second bus busy signal, said first switch is configured to connect an output of said first buffer to said first bus segment in response to said first control signal and said second switch is configured to connect an output of said second buffer to said second bus segment in response to said second control signal.
12. An apparatus comprising:
- means for presenting a first bus busy signal configured to indicate whether data is being transferred on a first bus segment;
- means for presenting a second bus busy signal configured to indicate whether data is being transferred on a second bus segment;
- means for transferring data from said second bus segment to said first bus segment, wherein said means for transferring data from said second bus segment is configured (i) to receive said first bus busy signal, (ii) to receive said data from said second bus segment, (iii) to hold said data received from said second bus segment when said first bus busy signal indicates said first bus segment has traffic and (iv) to transfer said data received from said second bus segment to said first bus segment when said first bus busy signal indicates said first bus segment has no traffic; and
- means for transferring data from said first bus segment to said second bus segment, wherein said means for transferring data from said first bus segment is configured (i) to receive said second bus busy signal, (ii) to receive said data from said first bus segment, (iii) to hold said data received from said first bus segment when said second bus busy signal indicates said second bus segment has traffic and (iv) to transfer said data received from said first bus segment to said second bus segment when said second bus busy signal indicates said second bus segment has no traffic, wherein data can be transferred simultaneously (i) from said first bus segment to said second bus segment and (ii) from said second bus segment to said first bus segment.
13. A method for transferring data and/or addresses comprising the steps of:
- (A) transferring data in either a first direction or a second direction on a first bus segment and presenting a first bus busy signal configured to indicate whether said first bus segment has traffic;
- (B) transferring data in either said first direction or said second direction on a second bus segment and presenting a second bus busy signal configured to indicate whether said second bus segment has traffic;
- (C) transferring data from said second bus segment to said first bus segment by (i) receiving said first bus busy signal, (ii) receiving said data from said second bus segment and (iii) transferring said data received from said second bus segment to said first bus segment when said first bus busy signal indicates said first bus segment has no traffic; and
- (D) transferring data from said first bus segment to said second bus segment by (i) receiving said second bus busy signal, (ii) receiving said data from said first bus segment and (iii) transferring said data received from said first bus segment to said second bus segment when said second bus busy signal indicates said second bus segment has no traffic, wherein said data can be transferred in both directions simultaneously.
14. The method according to claim 13, wherein said data comprises addresses.
15. The method according to claim 13, wherein:
- the step (C) further comprises holding said data received from said second bus segment when said first bus busy signal indicates said first bus segment has traffic; and
- the step (D) further comprises holding said data received from said first bus segment when said second bus busy signal indicates said second bus segment has traffic.
16. The method according to claim 15, wherein:
- holding said data received from said second bus segment comprises storing said data received from said second bus segment in a first buffer; and
- holding said data received from said first bus segment comprises storing said data received from said first bus segment in a second buffer.
17. The method according to claim 16, wherein:
- transferring said data received from said second bus segment to said first bus segment comprises connecting an output of said first buffer to said first bus segment in response to said first bus busy signal; and
- transferring said data received from said first bus segment to said second bus segment comprises connecting an output of said second buffer to said second bus segment in response to said second bus busy signal.
18. The method according to claim 17, wherein:
- transferring said data received from said second bus segment to said first bus segment further comprises generating a first control signal in response to said first bus busy signal; and
- transferring said data received from said first bus segment to said second bus segment further comprises generating a second control signal in response to said second bu busy signal.
19. The method according to claim 18, wherein:
- transferring said data received from said second bus segment to said first bus segment further comprises controlling a first switch connected between said first buffer and said first bus segment in response to said first control signal; and
- transferring said data received from said first bus segment to said second bus segment further comprises controlling a second switch connected between said second buffer and said second bus segment in response to said second control signal.
20. The method according to claim 19, wherein said first switch and said second switch comprise tri-state buffers.
Type: Grant
Filed: Nov 19, 2003
Date of Patent: May 9, 2006
Patent Publication Number: 20050108457
Assignee: LSI Logic Corporation (Milpitas, CA)
Inventor: Wern-Yan Koe (Cupertino, CA)
Primary Examiner: Rehana Perveen
Assistant Examiner: Brian Misiura
Attorney: Christopher P Maiorana PC
Application Number: 10/717,083
International Classification: G06F 13/36 (20060101);