Title of Invention

AN APPARATUS AND A METHOD FOR REDUCING NUMBER OF CLOCK CYCLES

Abstract Customized circuitry implemented on the transmitting end of an interchip communication bus reduces the number of clock cycles required to transmit control packets over the interchip communication bus. The packet transaction protocol is predicated upon the relationship between consecutive command words sent over the interchip bus so that, if consecutive words at a packet boundary contain the same data, mis data can be saved as separate command words by the receiving chip within a single clock cycle. This is accomplished through the generation of a synchronization signal whenever a new packet is started. In a preferred embodiment, bit patterns for the first and/or last word of a packet which are found to be statistically more prevalent are intentionally juxtaposed to increase the probability of consecutive command words having the same information. ■Ml •OIH
Full Text The present invention relates to an apparatus and a method for reducing number
of clock cycles required to complete a data transaction over an interchip bus.
In order to transmit control and synchronization information between chips on, for example, a motherboard, relatively small interchip buses (e.g., four-bit control buses) are employed m many applications. For example, a chip set for use with a microprocessor may be more conveniently fabricated as a pair of integrated circuit (IC) chips wherein the first chip receives address and control signals from the processor bus while the othet chip receives data signals from the processor bus. The first chip controls the data transfers on the second chip via the interchip bus.
A conventional control signal transmission protocol is typically used in conjunction with such interchip buses to provide for the transfer of control signals from a transmitting chip to one or more receiving chips. According to the conventional protocol, commands sent via the interchip control bus are transmitted in packet form wherein each command packet includes one or more command words preceded by a preamble word and a packet type code word. The transfer of the control signals is synchronized by a sync signal When no command data is being transferred over the interchip command bus, an idle word is typically asserted over the bus until a new command packet is sent.
Whenever command signals are to be transferred from a transmitting chip to a receiving chip over the interchip bus, the transmitting chip first must drive the packet start command word out onto the bus. A sync signal is then generated in order to indicate that the data on the bus represents the start of a valid command packet. The sync signal is typically sent in the same clock cycle as the packet start word. A preamble is sometimes sent in the clock cycle before the packet start word. Thus, the receiving chip must first save the preamble before responding to the command. It can then he seen that one additional clock cycle is required at the beginning of each packet to send the preamble prior to sending the remainder of the command packet.

The inventor of the present invention has recognized that communication latency times can be reduced by overlapping command packets which are sent over an interface. Under one aspect, the preferred embodiment of the invention is a method of reducing the number of clock cycles required for communication of information packets over an interchip communication bus. The interchip communication bus is connected between a transmitting chip and a receiving chip. The method comprises the steps of: autputting a first information word over the interchip bus in a first time interval; registering the first information word within the transmitting chip in the first time interval, so that the first information word is available during a second consecutive time interval; receiving the first information word at the receiving chip in the first time interval; registering the first information word at the receiving chip in the first time interval, so that the first information word is available during a second consecutive time interval; generating a second information word within the transmitting chip within the second time interval; comparing the registered first

information word with the second information word within the transmitting chip during the second time interval; and if the registered first information word is the same as the second information word, outputting a third information word over the interchip bus in place of the second information word during the second time interval. The third information word is transmitted in a third time interval immediately following the second time interval if the registered first information word is not the same as the second information word.
In a preferred embodiment, the first information word is defined so as to increase the probability that the first information word will be the same as the second information word.
In another preferred embodiment, the first information word comprises a command word or an idle word, the second information word comprises a preamble to a command packet transaction, and the third information word comprises a packet type code.
In still another preferred embodiment, each time interval is one clock period in duration.
In an alternative embodiment, each time interval is multiple clock periods in duration.
Under a further aspect the preferred embodiment of the invention comprises an apparatus for saving clock cycles during information packet transactions on an interchip bus. The apparatus comprises a select circuit having an output and first and second inputs. The output communicates with the interchip bus, and the select circuit selects one of the first and second inputs as an output in response to a select signal. The apparatus further comprises a temporary storage circuit in communication with the output of the select circuit which stores a first information word output onto the interchip bus during a first time interval; and a comparator circuit having a first input in communication with the first input of the select circuit and a second input in communication with the temporary storage circuit. The comparator circuit compares the first information word stored within the temporary storage circuit with a second Information word on the first input of the select circuit during a second time interval. The comparator circuit further causes a third information word on the second input of the select circuit to be output in place of the second information word by the select circuit during the second time interval when the first and second information words contain substantially the same information.
In a preferred embodiment, the select circuit comprises a multiplexer, end the temporary storage circuit comprises a register.
In a still further embodiment, the comparator circuit causes the third information word on the second input of the select circuit to be output by the select circuit when the first and second information words hava an identical bit pattern.
In another preferred embodiment, each the time interval is one clock period in duration or, alternatively, each time interval is multiple clock periods in duration.
Under still another aspect, the preferred embodiment of the invention is an apparatus for reducing the number of clock cycles required to complete a data transaction over an interchip bus. The apparatus comprises means for selecting an output from first and second inputs. The output communicates with the interchip bus. The apparatus further comprises means for storing a first information word during a first time interval. The means for storing is in communication with the output of the means for selecting. Finally, the apparatus comprises means for

comparing the first information word stored within the means for storing with a second information word on the first input of the means for selecting during a second time interval. The means for comparing causes a third information word on the second input of the means for selecting to be output in place of the second information word by the means for selecting during the second time interval when the first and second information words contain substantially the same information.
Accordingly, the present invention provides an apparatus for reducing a
number of clock cycles required to complete a data transaction over an interchip
bus, wherein said interchip bus is a multibit bus that is configured to transfer a
plurality of data packets, with each data packet being provided with a plurality of
information words, the said apparatus is characterized by a select circuit having a
first input terminal, a second input terminal and an output terminal that produces
said output of said select circuit, wherein said output of said select circuit is
coupled to said interchip bus; a temporary storage circuit for storing a first
information word during a first time interval and having an input terminal in
communication with said output terminal of said select circuit and having an
output terminal; a comparator circuit having a first input terminal in
communication with said first input terminal of said select circuit, having a second
input terminal in communication with said output terminal of said temporary
storage circuit to provide a comparator output signal, wherein said comparator
circuit is designed to compare said first information word stored within said
temporary storage circuit with a second information word on said first input
terminal of said select circuit so as to generate the comparator output signal during
a second time interval, where the comparator output signal indicates whether the
first information word and the second information word contain substantially the
same information; and a state machine coupled to receive the comparator output
signal from the comparator circuit and to receive a new request signal, said state
machine configured to produce a select signal to control said

select circuit such that said select circuit selects a third information word on said second input terminal of said select circuit to be output from said select circuit in place of said second information word during said second time interval when said new request signal indicates that a new data packet is available to be output over said interchip bus and when said comparator output signal indicates that said first and second information words contain substantially the same information.
Accordingly, the present invention also provides a method of reducing the number of clock cycles required for communication of information packets over an interchip communication bus, said interchip communication bus being connected between a transmitting chip and a receiving chip, said method comprising the steps of: outputting a first information word over said interchip bus in a first time interval; registering said first information word within said transmitting chip in said first time interval, so that said information word is available during a second consecutive time interval; receiving said first information word at said receiving chip in said first time ; interval; registering said first information word at said receiving chip in said first time interval, so it is available during a second consecutive time interval; generating a second information word within said transmitting chip within said second time interval; comparing said registered first information word with said second information word within said transmitting chip during said second time interval; and when said registered first information word is the same as said second information word, outputting a third information word over said interchip bus in place of said second information word during said second time interval; and when said registered first information word is not the same as said second information word, outputting said second information word over said interchip bus during said second time interval and then outputting said third information word in a third time interval immediately following said second time interval.


Figure 1 is a simplified block diagram of a computer system including integrated circuit chips connected by an interchip command bus.
Figure 2 is a simplified block diagram of a portion of the internal circuitry of the transmitting chip of Figure 1, which illustrates the mechanism of the present invention for saving clock cycles along the interchip communication bus.
Figures 3A-3C are timing diagrams which show the effective transmission times for command packets sent over the interchip communication bus and which illustrate the advantages of the present invention.
Figure 4 is a state diagram which represents the operation of the state machine of Figure 2 with respect to the generation of an early preamble in accordance with the teachings of the present invention.
Detailed Description of the Preferred Embodiment
Figure 1 is a simplified schematic block diagram of an exemplary computer system 100 into which the present invention may be incorporated. The computer system 100 includes a microprocessor 102 which communicates with a chip set 107 via a microprocessor bus 105. The chip set 107 communicates with a PCI master and slaves 109 via a PCI bus 108. In addition, the chip set 107 communicates with a memory {e.g., a DRAM) 116 via data and address and control portions 112, 114 of a memory bus, so that the chip set 107 acts as a microprocessor bus-to-memory bus bridge in the computer system 100. Of course, it will be appreciated by those of skill in the art that the computer system 100 illustrated in Figure 1 is highly simplified for purposes of clarity in illustrating the present invention.
The chip set 107 is shown to include a pair of integrated circuit (IC} chips 110, 120 connected by an interchip communication bus 130 on the motherboard within the computer system 100. In one embodiment the interchip communication bus 130 comprises a five-bit control bus which is used to transfer command signals from the transmitting chip 110 to a receiving chip 120. The five-bit control bus actually includes five lines in one embodiment, where four lines are reserved for command words and the fifth line is reserved foe the synchronization signal. It will be appreciated by those of ordinary skill in the art that a four-bit bus is convenient for one embodiment of the invention, while smaller or larger buses may be used as called for by other specific applications. In this embodiment, the chip set 107 is divided into two chips because the number of pins required to connect the chip set 107 with the PCI bus 108 and the microprocessor bus 105 would be cost prohibitive on a single integrated circuit. The IC 120 of the chip set 107 receives data lines from the microprocessor bus 105, while the IC 110 of the chip set 107 receives address and control lines from the microprocessor hus 105. As with the microprocessor bus 105, data signals en the PCI bus 108 are transmitted to and from the chip 120 within the chip set 107, while

address and command signals are transmitted to and from the IC 110. Sirularfy, address and control information are exchanged between the memory 116 and the IC 110 via the bus 114, while data information is exchanged between the memory 116 and the IC 120 via the bus 112.
In operation, the microprocessor 102 transmits data, address, and command signals to and from the other systems on the motherboard. The chip set 107 acts as a microprocessor to memory bridge so that the data, address, and commands transferred from the microprocessor 102 are able to be efficiently communicated to the memory 116 and the PCI master and slaves 109 over the memory bus portions 112, 114 and the PCI bus 108, respectively. Likewise, the chip set 107 acts as an interface for signals transferred from the PCI master 109 to the microprocessor 102 and the memory 116 via the microprocessor bus 105 end tha memory busses 112, 114. Command signals are transferred from the IC 110 to the IC 120. The IC 110 receives address and command signals from the microprocessor bus 105 and the PCI bus 108, while the IC 120 receives the date signals from the microprocessor bus 105, the data portion 112 of the memory bus and the PCI bus 108.
Figure 2 is a simplified block diagram of portions of the internal circuitry of chips 110 and 120 which illustrate the circuitry used in one preferred embodiment of the invention to save clock cycles during data transfers along the interchip communication bus 130. As shown in Figure 2, a multiplexer circuit 220 selects packet data to be sent over the interchip bus 130.
A PREAMBLE input 207, a PACKETTYPE input 240, and a MODIFIER input 212 of the packet servB as separate inputs to e multiplexer circuit 220. The multiplexer circuit 220 selects each input 207, 240 and 212 as needed to form each command packet to be sent over the interchip bus 130. The output of tha multiplexer 220 is under the control of a state machine 230 via a select bus 236.
The state machine 230 receives the PACKET_TYPE input via the bus 240, and receives a NEW_BEOUEST input via a line 242. The PACKETTYPE input indicates the kind of data which is to be transferred over the interchip bus 130, while the NEW_REQUEST input 242 indicates that the receiving chip 120 is ready to receive the PREAMBLE for the next command packet. The NEWREQUEST line 242 connects to the output of an AND gate 241. The AND gate 241 receives a first input via a line 243. The bus 240 and the line 243 communicate with circuitry internal to the IC 110. The state machine 230 also outputs a readyfor-next-packet signal, RDY, via a line 244 to the circuitry within the IC 110, which indicates that the state machine 230 is prepared to receive and process tho next command packet from the circuitry within the IC 110. The line 244 serves as a second input to the AND gate 241.
The output of the multiplexer 220 communicates with the control bus 130 via a driver 250. Additionally, the output of the multiplexer 220 communicates with a register 255. The output of the register 255 serves as a first input to a comparison circuit 260. In addition, the input of the PREAMBLE 207 is provided as a second input to the comparison circuit 260. The output of the comparator 260 is supplied as a PREAMBLESENT input to the state machine 230 via a line 265. The state machine 230 further provides a synchronization output, SYNC, via a driver 270.

The receiving chip 120 is shown in Figure 2 to include a receiving register 280 which holds lie., delays) the previous clock's data from the interchip bus 130. Delayed data on bus 290 and the buffered interchip data on a bus 295 and a line 296 communicate with circuitry internal to the chip 120, so that the data serve as control inputs to circuitry within the receiving chip 120.
In operation, once the state machine 230 asserts the ROY signal 244, indicating that the state machine 230 is capable of processing the next packet, and the circuitry within the chip 110 asserts a NEWJTASK signal over the One 243, a NEW_REQUEST signal is asserted over the line 242 indicating that the PREAMBLE, PACKETTYPE and MODIFIER for the next commend packet are available to be output over the interchip bus 130.
The multiplexer 220 selects one of the PREAMBLE input, PACKET_TYPE input, or the MODIFIER input under the control of the state machine 230 via the select bus 238. The PREAMBLE data may nclude, for example, a buffer number into which data is to be transferred within the IC 120. The MODIFIER, on the other hand, comprises the control data which is to be transferred into the buffers within the receiving IC chip 120. The PACKET_TYPE includes information relating to the command being sent. In one embodiment, the PACKETTYPE identifies the command type {j.e., read PCI, write memory, etc.). In a further embodiment, the PACKETTYPE defines the packet length ij.e„ whether it includes a PREAMBLE and a number of MODIFIERS to be expected). In one preferred embodiment, the most common operations correspond to the shortest packets, end in a still further preferred embodiment, the receipt time of the PACKETTYPE is an indicator to the receiving IC chip 120 that it is to begin or end a process.
The output of the multiplexer 220 is driven onto the control bus 130 via a driver 250. The data present on the interchip bus 130 are subsequently registered into the register 280 at the occurrence of the next clock cycle. Additionally, the output is registered within the register 255 for e one clock cycle duration. In the time period which is required to register the output of the multiplexer 220 within the register 255, another signal is output by the multiplexer 220 to be driven out over the interchip bus 130 via the driver 250.
Within the same clock cycle that the register 280 clocks in the date on the interchip bus 130, the output of the register 255 is compared to the PREAMBLE input 207. That is, the PREAMBLE is provided as 8 first input to the comparison circuit 260, while the one-clock-cycle delayed output of the register 255 is provided as a second input to the comparison circuit 260 so that the PREAM8LE and the previous clock cycle's packet command word output onto the control bus 130 are compared within the comparison circuit 260. If the PREAMBLE is the same ss the date stored within the register 255, then a PREAMBLESENT signal is asserted by the compare circuit 260 and is provided as control input to the state machine 230 via the line 265.
When the state machine 230 receives a NEW_REQUEST signal, 242, and the comparison (/>., the PREAMBLESENT) is valid over the line 265, signifying that the previous clock cycle's interchip bus command word and the new packet's PREAMBLE to be output over the interchip bus 130 are the same, then a SYNC signal is asserted from the state machine 230 via the driver 270 and the PACKETTYPE is selected instead of the PREAMBLE for transmission over the interchip bus 130 via the select bus 238. if PREAMBLESENT is not sctive on line 265 when the state machine 230 receives a NEWREQUEST signal on the input 242, and the PACKETTYPE on the input

240 is a type recognized by the state machine 230 which requires a PREAMBLE in its command packet, then the state machine 230 selects the PREAMBLE 207 via the select bus 238 for output by the multiplexer 220 over the interchip bus 130.
Whenever a SYNC pulse is output over the line 271 via the driver 270, a PACKET_TYPE wfi be present on the interchip bus 130. The SYNC pulse is received by the chip 120 as a control signal which indicates that a data packet transaction has commenced. Upon receiving the SYNC pulse, the circuitry within the IC chip 120 interprets the data stored within the register 280 as the PREAMBLE to the data packet transaction, whBe the data presently on the bus 295 is interpreted as the PACKET_TYPE. Thus, since the data in the register 280 are the same as the data in the register 255 (because bath registers store the data which were applied to the interchip bus 130 in the previous clock cycle), end since the data in the register 255 are the same as the PREAMBLE, it follows that the data in the buffer 285 will be the same as the PREAMBLE. In this manner, the PREAMBLE of a new packet need not be sent if the data in the new PREAMBLE are the same as the interchip bus' IDLE pattern, or are the same as the last word of the previous packet, thus saving clock cycle in the overall data transaction.
Figures 3A through 3C are timing diagrams which more clearly illustrate tha method by which clock periods are saved in accordance with the teachings of the present invention. Figure 3A shows conventional signal timing on an interchip bus wherein the advantages of the present invention are not incorporated. A first signal 302 represents a synchronous clock which is used to clock packet date words within the IC chips 110, 120, while a signal 304 represents the packet data word signals present on the four-bit CMD portion of the interchip bus 130 tie., other than the signal present on the SYNC line). Finally, a signal 306 represents the SYNC signal transmitted over the interchip bus 130. Each packet CMO word output onto the interchip bus 130 is present for the duration of an entire clock period. Consequently, as many clock periods are required as there are CMD words in the packet to communicate between the transmitting IC chip 110 and the receiving IC chip 120.
For example, as shown in Figure 3A, the Interchip bus 130 is idle for two clock periods until the application of a PREAMBLE {e.g., the buffer number which identifies the buffer to which the data in the subsequent transaction is to be transferred) within the next clock cycle. The following clock cycles are used to transfer the PACKET_TYPE (indicating, among other things, the type of command) and a MODIFIER word (which further defines the command).
Beginning with the output of the PREAMBLE word shown in Figure 3A, a total of three clock cycles occur until the last MODIFIER word is output onto the interchip bus 130. When it is determined that the PACKET_TYPE following the PREAMBLE has been asserted on the interchip bus 130, the SYNC signal 306 is asserted to indicate the presence of the new packet. As briefly discussed above, the SYNC alerts the receiving chip 120 that the PREAMBLE and the PACKET_TYPE have been received on busses 290 and 295. The receiving chip 120 thereafter interprets the data which are subsequently on the bus 295 as the remaining CMD words (if any) in the CMD packet. For example, in the case where one MODIFIER word follows the PACKETTYPE, as shown in Figure 3A, the PACKETTYPE indicates that the next CMD word belongs to the same CMD packet so that the receiving chip 120 reads the CMD word on the bus 295 in the following clock cycle as the expected MODIFIER data.

Figure 3B illustrates one method whereby the teachings of the present invention result in 8 one-clock cycle savings over the conventional protocol shown in Figure 3A. Specifically, the inventor has recognized that, by considering the relationship between the CMD words transferred over the interchip bus, multiple CMD words may be issued to the receiving IC chip within a single clock cycle duration. In particular, as illustrated in Figure 3B, a total of two clock cycles occur from the end of the last idle word until the last MODIFIER word is output onto the interchip bus 130. Only two clock cycles occur because the PREAMBLE need not be sent m the case where the PREAMBLE is the same as the idle word. As described above with reference to Figure 2, a comparison is made between the PREAMBLE and the CMO word previously sent on the interchip bus 130. If the PREAMBLE is the same as the preceding CMO word tie., the idle word in this case) then the PACKETJYPE word, together with SYNC asserted, is sent out in place of the PREAMBLE. In this manner, an early SYNC is asserted so that the CMD packet requires only two clock cycles to complete. Determining that the idle word is the same as the^REAMBLE means that the data in the register 280 are the same as the PREAMBLE because the receiving chip 120 also registers the previous IDLE word into the register 260. Thus, the receiving chip 120 will operate as if the PREAMBLE was sent in the previous clock cycle. In this manner, the PREAMBLE can be replaced by the idle word which was transmitted prior to the clock cycle in which the PREAMBLE was to be transmitted. Consequently, the PREAMBLE can be replaced by the PACKETTYPE to save a clock cycle in the overall CMD packet. That is, it is not necessary to transfer the buffer number indicated by the PREAMBLE 207 (see Figure 2} onto the bus 130 because the idle word already present on the bus 130 was used to replace the buffer number. Therefore, the state machine 230 controls the multiplexer 220 to select the PACKETTYPE instead of the buffer number so that during the next clock period the receiving IC chip 120 can act on both the PREAMBLE and the PACKET_TYPE.
In accordance with one aspect of the present invention, the buffer number which is most likely to be accessed is defined to have the same bit pattern as the idle word (also referred to hereinafter as the default PREAMBLE) so that, whenever this buffer is selected, the buffer number may be clocked into the register within the receiving IC chip 120 in the same clock cycle as the preceding idle word. In a particularly advantageous embodiment of the invention, the idle word code is modified to correspond to the default buffer number to increase the likelihood of a match between the PREAMBLE and the idle word. Of course, if the buffer number in the PREAMBLE is not the same as the idle word, then an additional clock cycle must occur before the buffer number can be latched into the receiving IC chip 120. However, in the case where the buffer number (which comprises the first portion of the PREAMBLE) is the same as the idle word, as depicted in Figure 3B, the SYNC signal may be asserted immediately within the same clock cycle as the PACKETTYPE since the idle word can serve as a replacement for the buffer number.
Figure 3C depicts the case where consecutive CMD packets occur and where the PREAMBLE of the second CMD packet has the same bit pattern as the last CMD word of the first CMD packet. As shown in Figure 3C, a SYNC is generated immediately after the last word of the previous CMD packet sent to the receiving chip 120. Since this last packet word has the same bit pattern as the new packet's PREAMBLE, the multiplexer 220 is caused to output the PACKET_TYP£ in place of the preamble while SYNC is asserted. Consequently, only two clock cycles

transpire from the end of the first CMD packet to the end of the second CMD packet. If, on the other hand, the PREAMBLE had been sent separately (rather than using the last word of the first packet as the PREAMBLE), three clock cycles would have been necessary to complete the second CMD packet.
Since the first CMD packet's content defined that packet's length, the receiving IC ctiip 120 has no difficulty in determining when the last CMD word is present on 295. Furthermore, once an asserted SYNC is received by the chip 120, the information contained within the register 280 is considered by the chip 120 to be the PREAMBLE of the new CMD packet. Thus, the information on the bus 295 is used twice by the receiving chip 120 - once on the previous clock as the last word of the first CMD packet (sampled on bus 295) and ones as a PREAMBLE for the second CMD packet (sampled on bus 290).
A more detailed description of the operation of the circuitry within the IC chip 110 for the case fflustratad in Figure 3C is set forth below. Specifically, when the last CMD word of the first CMD packet has been output from the multiplexer 220, this CMD word is registered within the register 255 and is compared to the subsequent PREAMBLE provided to the comparator circuit 260 of the bus 207. If it is determined within the comparator circuit 260 that the PREAMBLE word is the same as the preceding CMD word, then the comparison signal is generated over the Ene 265 and is applied to the state machine 230 so that the state machine 230 causes the multiplexer 220 to output the PACKETTYPE rather than the PREAMBLE. At the same time, the state machine 230 asserts SYNC for one dock period via the driver 270. Thus, the last CMD word of the first CMD packet serves as the buffer number of the second CMD packet. In this manner, a clock cycle is saved during the consecutive packet transmissions.
Figure 4 is a state diagram which represents the operation of the state machine 230 with respect to the generation of an early PREAMBLE in accordance with the teachings of the present invention. In practice, the state machine 230 will also provide for control of other elements within the transmitting chip 110, but for purposes for clarity in illustrating the present invention, this functionality of the state machine 230 is not represented in the simplified state diagram of Figure 4.
Upon the initiation of a RESET, the state machine 230 enters an IDLE state 400. When the state machine 230 is in the IDLE state 400, this indicates that the state machine 230 is ready to receive additional CMD packets for output over the four-bit CMD bus 130. The state machine 230 remains in the IDLE state 400 under three different conditions, as represented by a state transition path 410 which returns to the IDLE state 400.
Under a first condition, when a NEWREQUEST signal {i.e., the signal applied on tha line 242) is not asserted, then the state machine 230 remains in the IDLE state 400, and the multiplexer 220 outputs tha default PREAMBLE as a command over the four-bit CMD bus portion of the bus 130. That is, when a new request has not been made, then the state machine 230 selects the PREAMBLE 207 for output for the CMD bus 130 via the multiplexer 220 and the driver 250. The PREAMBLE is advantageously set equal to the most commonly accessed buffer so there is a higher likelihood the next actual PREAMBLE is equal to the data which were sent on the previous clock cycle.

Another condition under which state machine 230 remains in the IDLE state 400 is when a PREAMBLE_REQD signal is asserted [indicating to the state machine 230 that a PREAMBLE is required for the new CMD packet which is to be transmitted over the CMD hus 130) and the PREAMBLE_SENT signal is inactive (/>., indicating that the CMD word sent on bus 130 in the previous clock period was not equal to the PREAMBLE on the bus 207). Thus, because a PREAMBLE is required and because the CMD word on the command bus 130 in the previous clock cycle will not serve as the appropriate PREAMBLE, the state machine 230 issues a select signal to the multiplexer 220 over the line 238 which allows the PREAMBLE on the bus 207 to propagate onto the CMD bus 130. Thus, the issued CMD word is equal to the PREAMBLE.
The final condition under which the state machine 230 remains in the IDLE state 400 is when: 1) the PREAMBLEREQO signal is not asserted, or the PREAMBLE_SENT signal is asserted; and 2) the NEWREOUEST signal is asserted while the MODIFIER_REQD signal is deasserted. That is, since 1) a PREAMBLE is not required, or the CMD word on the bus 130 in the previous clock cycle is equal to the PREAMBLE which is to be sent; and 2) the new packet being requested has no MODIFIER words, this indicates that, if the current packet required a PREAMBLE, this PREAMBLE was already issued on the previous clock period, and that the current packet ends with the current PACKETTYPE CMD word. Consequently, the state machine 230 is capable of accepting a new packet for transfer over the CMO bus 130 in the next clock period. Thus, the state machine 230 remains in the IDLE state 400.
Under this last condition where the state machine 230 remains within the IDLE slate 400, the state machine 230 causes the PACKET_TYPE to be sent over the CMD bus 130 via the multiplexer 220 and the driver 250. In addition, the SYNC signal is asserted via the driver 270, while the RDY signal is also asserted over the line 244.
The state machine 230 transitions from the IDLE state 400 to a BSY (busy) state 420 via a transition path 430 whenever it is determined that: 1) either a PREAM8LE is not required, or tha CMD word on bus 130 in the previous clock cycle was equal to the PREAMBLE which is to be sent; and 2) a new request has been made which requires MODIFIER words. That is: 1) if the PREAMBLE_REQD signal is not asserted, or the PREAMBLE_SENT signal is asserted; and 2) if the NEW REQUEST signal is asserted over the line 242 while the PACKETJTYPE indicates that the CMD packet contains one or more MODIFIER words, the state machine 230 transitions from the IDLE state 400 to the BSY state 420. Thus, this indicates that the PACKETTYPE 240 is to be output over the CMD bus 130 via the multiplexer 220 and the driver 250 while the SYNC signal is also asserted via the driver 270. In addition, the MOOIFIERPTR (which is a value loaded in a counter to count the number of MODIFIER words after the PACKETTYPE of the current packet) is set equal to one. The state machine 230 transitions to the BSY state [i.e., a state where the state machine 230 is unable to process a new request until the current packet transfer is complete).
The state machine 230 remains in the BSY state 420, as represented by a transition path 44D, while a LAST_MODIFIER signal is not asserted \j.e., while the signal which indicates that the packet's last CMD word has been output onto the CMD bus 130 is not true. Each time a transition is made along the path 440, the next CMD

word (i e, the next MODIFIER word from bus 212} ts propagated onto the command bus 130 via the multiplexer 220 and the driver 250. In addition, the MODIFIERPTR is incremented until the last MODIFIER word of the current packet is reached. Once the last word of the packet has been propagated onto the bus 130, the state machine 230 transitions from the BSY state 420 back to the IDLE state 400 via a state transition path 450. As indicated in Figure 4, the transition along the path 450 occurs when the LAST_MQOIFIER signal is asserted. This causes the MODIFIER word output onto the CMD bus 130 to equal to the fast CMD word in the current packet, wh3e the state machine 230 asserts the ROY signal along the line 244.
Although the present invention has been described in detail above, it should be understood that the foregoing description is illustrative and not restrictive. Those of ordinary skill in the art will appreciate that many obvious modifications can be made to the invention without departing from the spirit or central characteristics. For example, those of ordinary skill in the art will appreciate that the present invention will be most effecttve^when implemented in conjunction with an interchip bus having fewer bits in its CMD word so that the likelihood of having identical CMD words is more significant; however, in practice busses on the order of six-bits or more could elso be implemented in accordance with the present invention. Additionally, the present invention can be implemented in a word serial manner, where a packet's CMD words are sent serially over a single signal line between chips. In this case, the SYNC signal provides CMD word boundary information as well as signifying the presence of a new packet. Another implementation can reserve a unique CMD word pattern to signify the presence of the SYNC signal, thus eliminating the need for a separate SYNC line. Another implementation can include pipeline registers in either or both transmitter and receiver chips to allow higher clock rate operation. Accordingly, the scope of the invention should be interpreted in view of the following appended claims.


WE CLAIM:
1. An apparatus for reducing a number of clock cycles required to complete a data transaction over an interchip bus, wherein said interchip bus is a multibit bus that is configured to transfer a plurality of data packets, with each data packet being provided with a plurality of information words, the said apparatus is characterized by a select circuit having a first input terminal, a second input terminal and an output terminal that produces said output of said select circuit, wherein said output of said select circuit is coupled to said interchip bus; a temporary storage circuit for storing a first information word during a first time interval and having an input terminal in communication with said output terminal of said select circuit and having an output terminal; a comparator circuit having a first input terminal in communication with said first input terminal of said select circuit, having a second input terminal in communication with said output terminal of said temporary storage circuit to provide a comparator output signal, wherein said comparator circuit is designed to compare said first information word stored within said temporary storage circuit with a second information word on said first input terminal of said select circuit so as to generate the comparator output signal during a second time interval, where the comparator output signal indicates whether the first information word and the second information word contain substantially the same information; and a state machine coupled to receive the comparator output signal from the comparator circuit and to receive a new request signal, said state machine configured to produce a select signal to control said select circuit such that said select circuit selects a third information word on said second input terminal of said select circuit to be output from said select circuit in place of said second information word during said second time interval when said new request signal indicates that a

new data packet is available to be output over said interchip bus and when said comparator output signal indicates that said first and second information words contain substantially the same information.
2. The apparatus as claimed in claim 1, wherein said select circuit comprises a multiplexer.
3. The apparatus as claimed in claim 1, wherein said temporary storage circuit comprises a register.
4. The apparatus as claimed in claim 1, wherein said comparator circuit is configured to cause said third information word on said second input terminal of said select circuit to be output by said select circuit when said first and second information words have an identical bit pattern.
5. A method of reducing the number of clock cycles required for communication of information packets over an interchip communication bus, said interchip communication bus being connected between a transmitting chip and a receiving chip, said method comprising the steps of: outputting a first information word over said interchip bus in a first time interval; registering said first information word within said transmitting chip in said first time interval, so that said information word is available during a second consecutive time interval; receiving said first information word at said receiving chip in said first time ; interval; registering said first information word at said receiving chip in said first time interval, so it is available during a second consecutive time interval; generating a second information word within said transmitting chip within said second time interval; comparing said registered first information word with said

second information word within said transmitting chip during said second time interval; and when said registered first information word is the same as said second information word, outputting a third information word over said interchip bus in place of said second information word during said second time interval; and when said registered first information word is not the same as said second information word, outputting said second information word over said interchip bus during said second time interval and then outputting said third information word in a third time interval immediately following said second time interval.
6. The method as claimed in claim 5, wherein said first information word is defined so as to increase the probability that the first information word will be the same as the second information word.
7. The method as claimed in claim 5, wherein said first information word comprises a command word or an idle word, said second information word comprises a preamble to a command packet transaction, and said third information word comprises a packet type code.
8. The method as claimed in claim 5, wherein each time interval is one clock period in duration.
9. The method as claimed in claim 5, wherein each time interval is multiple clock periods in duration.
10. An apparatus for reducing a number of clock cycles, substantially as herein described with reference to the accompanying drawings.

11. A method for reducing a number of clock cycles, substantially as herein described with reference to the accompanying drawings.


Documents:

1174-mas-1996 abstract duplicate.pdf

1174-mas-1996 abstract.pdf

1174-mas-1996 assignment.pdf

1174-mas-1996 claims duplicate.pdf

1174-mas-1996 claims.pdf

1174-mas-1996 correspondence others.pdf

1174-mas-1996 correspondence po.pdf

1174-mas-1996 description (complete) duplicate.pdf

1174-mas-1996 description (complete).pdf

1174-mas-1996 drawings duplicate.pdf

1174-mas-1996 drawings.pdf

1174-mas-1996 form-10.pdf

1174-mas-1996 form-2.pdf

1174-mas-1996 form-26.pdf

1174-mas-1996 form-4.pdf

1174-mas-1996 form-6.pdf

1174-mas-1996 petition.pdf


Patent Number 196340
Indian Patent Application Number 1174/MAS/1996
PG Journal Number 08/2007
Publication Date 23-Feb-2007
Grant Date 20-Dec-2005
Date of Filing 03-Jul-1996
Name of Patentee SAMSUNG ELECTRONICS CO. LTD
Applicant Address SAMSUNG MAIN BUILDING, 250, 2-KA, RAEOYUNG-RO, CHUNG-KU, SEOUL100 742
Inventors:
# Inventor's Name Inventor's Address
1 L RANDALL MOTE, JR., 26152 RED CORAL ROAD, LAGUNA HILLS, CALIFORNIA 92653
PCT International Classification Number H01J13/00
PCT International Application Number N/A
PCT International Filing date
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 08/609,175 1996-03-01 U.S.A.