Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND APPARATUS FOR LATENCY REDUCTION
Document Type and Number:
WIPO Patent Application WO/2014/126807
Kind Code:
A1
Abstract:
Aspects of the disclosure provide an integrated circuit that includes a plurality of input/output (IO) circuits, an instruction receiving circuit and control circuits. The IO circuits are configured to receive a plurality of bit streams corresponding to an instruction to the integrated circuit. The instruction receiving circuit is configured to form the instruction from the plurality of bit streams. The control circuits are configured to operate according to the instruction.

Inventors:
CHEN SHAWN (US)
JIANG WEI (US)
CHEN LIN (US)
Application Number:
PCT/US2014/015345
Publication Date:
August 21, 2014
Filing Date:
February 07, 2014
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MARVELL WORLD TRADE LTD (BB)
CHEN SHAWN (US)
JIANG WEI (US)
CHEN LIN (US)
International Classes:
G06F13/42; G06F13/16
Domestic Patent References:
WO2011094133A22011-08-04
Attorney, Agent or Firm:
KERN, John, S. et al. (McClelland Maier & Neustadt, L.L.P.,1940 Duck Stree, Alexandria VA, US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. An integrated circuit, comprising:

a plurality of input/output (10) circuits configured to receive a plurality of bit streams corresponding to an instruction to the integrated circuit;

an instruction receiving circuit configured to form the instruction from the plurality of bit streams; and

control circuits configured to operate according to the instruction.

2. The integrated circuit of claim 1, wherein:

a memory array is configured to store data at memory addresses; the plurality of 10 circuits are configured to receive bit streams corresponding to an address in the memory array; and

the control circuits are configured to read/write data at the address according to the instruction.

3. The integrated circuit of claim 2, wherein

the control circuits are configured according to the instruction that indicates a first number of 10 circuits for receiving the address, and a second number of 10 circuits for data input/output.

4. The integrated circuit of claim 1, wherein:

a register is configured to store a first value indicative of a first configuration in which the IO circuits receive, in parallel, the bit streams corresponding to the instruction; and the instruction receiving circuit is configured, according to the first value in the register, to form the instruction from the bit steams received in parallel.

5. The integrated circuit of claim 4, wherein:

the register is configured to change from the first value to a second value in response to the instruction, and

the instruction receiving circuit is configured according to the second value indicative of a second configuration to use a different number of 10 circuits for receiving a next instruction.

6. The integrated circuit of claim 4, wherein:

the register is initialized to a second value indicative of a second configuration in which instructions are received by a specific 10 circuit in a single bit stream; and the instruction receiving circuit is configured to form the instructions from a bit stream received by the specific IO circuit.

7. The integrated circuit of claim 6, wherein:

the register is configured to change from the second value to the first value in response to a specific instruction received by the specific IO circuit; and

the instruction receiving circuit is configured to form subsequent instructions from the bit streams received by the plurality of IO circuits.

8. A method, comprising:

receiving, by a plurality of input/output (IO) circuits of an integrated circuit, a plurality of bit streams corresponding to an instruction to the integrated circuit;

forming, by an instruction receiving circuit, the instruction from the plurality of bit streams; and

controlling control circuits in the integrated circuit to operate according to the instruction.

9. The method of claim 8, wherein:

receiving two or more bit streams corresponding to an address in a memory array of the integrated circuit; and

reading/writing data at the address in the memory array according to the instruction.

10. The method of claim 9, further comprising

configuring the control circuits according to the instruction that indicates a first number of IO circuits for receiving the address, and a second number of IO circuits for data input/output.

11. The method of claim 8, further comprising:

storing, in a register, a first value indicative of a first configuration in which the instruction is received as the bit streams in parallel.

12. The method of claim 11, further comprising:

changing, in the register, from the first value to a second value in response to the instruction;

configuring the instruction receiving circuit according to the second value to use a different number of IO circuits for receiving a next instruction.

13. The method of claim 11, further comprising:

initializing the register with a second value indicative of a second configuration in which instructions are received by a specific 10 circuit; and

forming the instructions from a bit stream received by the specific IO circuit.

14. The method of claim 13, further comprising:

updating the register with the first value in response to a specific instruction received by the specific 10 circuit; and

configuring the instruction receiving circuit to form subsequent instructions from the bit streams received by the plurality of 10 circuits.

15. An integrated circuit, comprising:

a control circuit configured to generate a plurality of instruction bit streams corresponding to an instruction to another integrated circuit; and

a plurality of input/output (10) circuits configured to output the plurality of instruction bit streams in order to send the instruction to the other integrated circuit.

16. The integrated circuit of claim 15, wherein:

the control circuit is configured to generate a plurality of address bit streams corresponding to an address for a storage place in a memory array of the other integrated circuit; and

the plurality of 10 circuits are configured to output the plurality of address bit streams in order to access the storage place in the memory array.

17. The integrated circuit of claim 15, wherein:

the control circuit is configured to generate a single instruction bit stream corresponding to a specific instruction after the other integrated circuit is initialized; and

an IO circuit is configured to output the single instruction bit stream in order to send the specific instruction to the other integrated circuit in order to configure the other integrated circuit to receive bit streams corresponding to subsequent instructions from the plurality of 10 circuits.

18. The integrated circuit of claim 17, wherein:

the control circuit is configured to generate a plurality of instruction bit streams corresponding to a subsequent instruction; and the plurality of 10 circuits are configured to output the plurality of instruction bit order to send the subsequent instruction to the other integrated circuit.

Description:
METHOD AND APPARATUS FOR LATENCY REDUCTION

INCORPORATION BY REFERENCE

[0001] This present disclosure claims the benefit of U.S. Provisional Application No. 61/763,750, "QSPI QUAD INSTRUCTION MODE" filed on February 12, 2013, which is incorporated herein by reference in its entirety.

BACKGROUND

[0002] The background description provided herein is for the purpose of generally presenting the context of the disclosure. Work of the presently named inventors, to the extent the work is described in this background section, as well as aspects of the description that may not otherwise qualify as prior art at the time of filing, are neither expressly nor impliedly admitted as prior art against the present disclosure.

[0003] Generally, serial peripheral interface (SPI) bus is used for inter-chip

communications. In an example, two integrated circuit (IC) chips are configured according to SPI bus technology and are connected by bus wires. One of the IC chips is configured in a master mode, and the other is configured in a slave mode. The master IC chip provides control signals, such as a clock signal, a select signal, and the like, to control the communication between the two IC chips.

SUMMARY

[0004] Aspects of the disclosure provide an integrated circuit that includes a plurality of input/output (IO) circuits, an instruction receiving circuit and control circuits. The IO circuits are configured to receive a plurality of bit streams corresponding to an instruction to the integrated circuit. The instruction receiving circuit is configured to form the instruction from the plurality of bit streams. The control circuits are configured to operate according to the instruction.

[0005] According to an aspect of the disclosure, the integrated circuit includes a memory array configured to store data at memory addresses. The plurality of IO circuits are configured to receive bit streams corresponding to an address in the memory array, and the control circuits are configured to read write data at the address according to the instruction. In an example, the control circuits are configured according to the instruction that indicates a first number of IO circuits for receiving the address, and a second number of IO circuits for data input/output. [0006] In an embodiment, the integrated circuit includes a register configured to store a first value indicative of a first configuration in which the IO circuits receive, in parallel, the bit streams corresponding to the instruction. The instruction receiving circuit is configured according to the first value in the register to form the instruction from the bit steams received in parallel. In an example, the register is configured to change from the first value to a second value in response to the instruction. The second value is indicative of a second configuration to use a different number of IO circuits for receiving a next instruction. The instruction receiving circuit is configured according to the second value indicative of a second configuration to use a different number of IO circuits for receiving a next instruction. In another example, the register is initialized to a value indicative of an initial configuration in which instructions are received by a specific IO circuit in a single bit stream, and the instruction receiving circuit is configured to form the instructions from a bit stream received by the specific IO circuit.

[0007] Aspects of the disclosure provide a method. The method includes receiving, by a plurality of input/output (IO) circuits of an integrated circuit, a plurality of bit streams corresponding to an instruction to the integrated circuit, forming, by an instruction receiving circuit, the instruction from the plurality of bit streams, and controlling control circuits in the integrated circuit to operate according to the instruction.

[0008] Aspects of the disclosure provide another integrated circuit. The integrated circuit includes a control circuit configured to generate a plurality of instruction bit streams

corresponding to an instruction to another integrated circuit and a plurality of input/output (IO) circuits configured to output the plurality of instruction bit streams in order to send the instruction to the other integrated circuit.

BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Various embodiments of this disclosure that are proposed as examples will be described in detail with reference to the following figures, wherein like numerals reference like elements, and wherein:

[0010] Fig. 1 shows a block diagram of a communication system 100 according to an embodiment of the disclosure;

[0011] Fig. 2 shows a flow chart outlining a process example 200 according to an embodiment of the disclosure; and [0012] Figs. 3 and 4 show plots of waveforms for comparison according to an embodiment of the disclosure.

DETAILED DESCRIPTION OF EMBODIMENTS

[0013] Fig. 1 shows a block diagram of a communication system 100 according to an embodiment of the disclosure. The communication system 100 includes a first circuit 110 and a second circuit 150 coupled together using a modified serial peripheral interface (SPI) bus. The modified SPI bus is programmable and can be programmed to use a single wire or multiple wires for instruction transmission. When multiple wires are used for instruction transmission, the communication system 100 has a reduced latency; and when a single wire is used for instruction transmission, the communication system 100 is backwards compatible with other SPI bus technology.

[0014] The first circuit 110 and the second circuit 150 can be any suitably circuits that use the modified SPI bus technology for inter-circuit communication. In an embodiment, the communication system 100 is a chip communication system in which the first circuit 1 10 is a first integrated circuit (IC) chip and the second circuit 150 is a second IC chip. The first IC chip 1 10 includes a first interface 1 17 implemented using the modified SPI bus technology and the second IC chip 151 includes a second interface 157 implemented using the modified SPI bus technology. In an example, the two IC chips are assembled on a printed circuit board (PCB) and corresponding input/output (IO) pins of the two IC chips are coupled together by suitable conductive medium on the PCB, such as printed copper wires, vias, jumpers and the like.

[0015] Specifically, in an embodiment, the first interface 117 includes a plurality of input/output (IO) circuits 111- 116, and a control circuit 120 coupled together as shown in Fig. 1. The IO circuits 111- 116 are respectively configured for different signal input/output. For example, the IO circuit 1 11 is configured to input/output a chip select (CS) signal, the IO circuit 1 12 is configured to input/output a clock (CLK) signal, the IO circuit 1 13 is configured to input/output a first information signal (IO-0), the IO circuit 1 14 is configured to input/output a second information signal (IO-l), the IO circuit 115 is configured to input/output a third information signal (IO-2), and the IO circuit 1 16 is configured to input/output a fourth information signal (IO-3).

[0016] Similarly, the second interface 157 includes a plurality of input/output (IO) circuits 151-156, and a control circuit 160 coupled together as shown in Fig. 1. The IO circuits 151-156 are respectively configured for different signal input/output. For example, the 10 circuit 151 is configured to input/output a chip select (C ) signal, the 10 circuit 152 is configured to input/output a clock (CLK) signal, the 10 circuit 153 is configured to input/output a first information signal (IO-O), the 10 circuit 154 is configured to input/output a second information signal (10-1), the IO circuit 155 is configured to input/output a third information signal (10-2), and the 10 circuit 156 is configured to input/output a fourth information signal (10-3).

[0017] The IO circuits 111-116 of the first circuit 110 and the corresponding 10 circuits 151-156 of the second circuit 150 are suitably coupled together by printed copper wires, vias, jumpers and the like. According to an aspect of the disclosure, one of the first circuit 110 and the second circuit 150 is configured in a master mode and the other is configured in a slave mode. In the Fig. 1 example, the second circuit 150 is a memory device that includes a memory array 180 and suitable auxiliary circuits (not shown), and the first circuit 110 is a memory controller device that includes control logics (not shown) to control memory access to the second circuit 150. In the Fig. 1 example, the first circuit 110 is configured in the master mode and the second circuit 150 is configured in the slave mode. The first circuit 110 provides controls signals to control the communication between the first circuit 110 and the second circuit 150. For example, the first circuit 110 provides the chip select signal via coupled corresponding IO circuit pair (the IO circuits 111 and 151) to the second circuit 150.

[0018] In an embodiment, the first circuit 110 is coupled with the second circuit 150 and one or more other memory devices (not shown). The first circuit 110 provides respective chip select signals to the coupled memory devices, and share resources, such as the IO circuits 112- 116 for the clock and information signals, among the coupled memory devices. In an example, when the chip select signal to the second circuit 150 is logic "0", the second circuit 150 is selected, and the information signals, such as instructions, addresses, data and the like, on the shared resources are for the second circuit 150; and when the chip select signal to the second circuit 150 is logic "1", the information signals on the shared resources are not for the second circuit 150.

[0019] Further, various information signals are communicated between the first circuit 110 and the second circuit 150, for example via the IO circuits 113-116 and 153-156. In the Fig. 1 example, instructions, addresses and data are communicated between the first circuit 110 and the second circuit 150. In an example, the first circuit 110 sends a configuration instruction to the second circuit 150 to cause the second circuit 150 to be configured accordingly. In another example, the first circuit 110 sends a write instruction with an address and data to the second circuit 150 to cause the data to be written into the memory array 180 at the address. In another example, the first circuit 110 sends a read instruction with an address to the second circuit 150 to cause the second circuit 150 to send back data stored at the address in the memory array 180.

[0020] The information signals can be communicated in various formats, such as a single bit stream on a single IO circuit pair, multiple bit streams on multiple IO circuit pairs, and the like. According to an aspect of the disclosure, the first interface 117 and the second interface 157 are respectively configured to enable such various formats.

[0021] Specifically, the control circuit 120 is configured to convert signal formats between internal circuits (not shown) of the first circuit 110 and input/output circuits, such as the IO circuits 113-116. In the Fig. 1 example, the control circuit 120 includes an instruction transmission circuit 130 configured to convert an internal format of an instruction to the second circuit 150 to a format that is receivable by the second IC chip 150. In an example, an instruction includes eight bits, and the internal circuits of the first IC chip 110 generate an instruction in the format of 8 parallel bits. When the first interface 117 is configured to transmit an instruction in the format of a single bit stream of 8 bits, the instruction transmission circuit 130 is configured to convert the format of the instruction from the 8 parallel bits to a single bit stream. When the first interface 117 is configured to transmit an instruction in the format of multiple bit streams, such as duo (two) bit streams, quad (four) bit streams, and the like, the instruction transmission circuit 130 is configured to convert the format of the instruction from the 8 parallel bits to multiple bit streams, such as duo bit streams, quad bit streams, and the like. It is noted that the first interface 117 also includes other suitable circuits (not shown) configured to convert address format and data format for example.

[0022] The control circuit 160 is configured to convert signal formats between internal circuits of the second IC chip 150 and the IO circuits 151-156. In the Fig. 1 example, the control circuit 160 includes an instruction receiving circuit 170 configured to convert a received format of an instruction to an internal format used by the internal circuits of the second IC chip 150. In an example, the internal circuits of the second IC chip 150 are configured to decode an instruction in the format of 8 parallel bits. When the IO circuits receive an instruction in the format of a single bit stream of 8 bits, the instruction receiving circuit 170 is configured to convert the format of the instruction from a single bit stream to 8 parallel bits; and when the 10 circuits receive an instruction in the format of multiple bit streams, such as duo (two) bit streams, quad (four) bit streams, and the like, the instruction receiving circuit 170 is configured to convert the format of the instruction from multiple bit streams to 8 parallel bits.

[0023] According to an aspect of the disclosure, the instruction receiving circuit 170 has multiple modes, such as a single-bit instruction mode, a quad-bit instruction mode, and the like. For example, when the instruction receiving circuit 170 is in the single-bit instruction mode, the instruction receiving circuit 170 is configured to convert a single bit stream of 8 bits received by an IO circuit, such as the IO circuit 153, to the format of 8 parallel bits. When the instruction receiving circuit 170 is in the quad-bit instruction mode, the instruction receiving circuit 170 is configured to convert an instruction received by the IO circuits 153-156 in the format of four bit streams to the format of 8 parallel bits.

[0024] In the Fig. 1 example, the second interface 157 includes a status register 165 configured to store a value corresponding to a mode for the instruction receiving circuit 170, and the instruction receiving circuit 170 is configured according to the value stored in the status register 165. For example, when the status register 165 has a value of 0, the instruction receiving circuit 170 is configured in the single-bit instruction mode; and when the status register 165 has a value of 1, the instruction receiving circuit 170 is configured in the quad-bit instruction mode. It is noted that the status register 165 can be configured to store other suitable value corresponding to other suitable mode for the instruction receiving circuit 170.

[0025] According to an aspect of the disclosure, the second circuit 150 (e.g., the second IC chip) can be suitably programmed to operate with a memory controller who supports multiple bit streams for instructions, such as the first circuit 110 (e.g., the first IC chip), or another memory controller who does not support multiple bit streams for instructions and only uses single bit stream for instructions.

[0026] During operation, in an embodiment, when the second circuit 150 is powered up or is reset, the status register 165 is initialized to store a value corresponding to the single-bit instruction mode, and thus the instruction receiving circuit 170 enters the single-bit instruction mode. In an example, when the second circuit 150 is coupled with a memory controller that does not support multiple bit streams for instructions, the second circuit 150 is able to operate with the memory controller using single bit streams for instructions. [0027] In the Fig. 1 example, after a reset of the second circuit 150, the first circuit 110 sends a configuration instruction to the second circuit 150 using a single-bit stream. The second circuit 150 is able to receive the configuration instruction, decode the configuration instruction, and be configured according to the configuration instruction. In an example, a specific configuration instruction causes the status register 165 to change to another value that corresponds to a multiple-bit instruction mode, thus the instruction receiving circuit 170 enters the multiple-bit instruction mode. Then, the first circuit 110 sends subsequent instructions to the second circuit 150 using multiple bit streams.

[0028] Further, in an example, when the instruction receiving circuit 170 is in the multiple-bit instruction mode, and the first circuit 110 decides to switch to using single bit stream for instructions, the first circuit 110 can send a specific configuration instruction using multiple instruction bit streams to the second circuit 150. The specific configuration instruction causes the status register 165 to change to the value that corresponds to the single-bit instruction mode, thus the instruction receiving circuit 170 enters the single bit instruction mode. Thus, the first circuit 110 can send a subsequent instruction to the second circuit 150 using a single instruction bit stream.

[0029] Fig. 2 shows a flow chart outlining a process example 200 for inter-chip communication. In an example, the process 200 is executed in the communication system 100.

[0030] At S210, a circuit enters a single-bit instruction mode by default in response to a reset. In the Fig. 1 example, in response to a reset or a power up of the second circuit 150, the status register 165 is initialized to store the value corresponding to the single-bit instruction mode. Thus, the instruction receiving circuit 170 enters the single-bit instruction mode, and the second circuit 150 is able to receive an instruction as a single-bit instruction stream, and operate according to the instruction.

[0031] At S220, the circuit receives a specific instruction via a single bit stream. The specific instruction instructs the circuit to convert to the quad-bit instruction mode. In the Fig. 1 example, at a time when the first circuit 110 decides to use quad bit streams to send instructions, the first circuit 110 sends a specific instruction to the second circuit 150 via a single bit stream. The specific instruction instructs the second circuit 150 to change to the quad-bit instruction mode in an example. The second circuit 150 receives the specific instruction. [0032] At.S230, the circuit sets registers according to the specific instruction to prepare for receiving instructions via quad-bit instruction streams. In the Fig. 1 example, the specific instruction causes the status register 165 to change to the value corresponding to the quad-bit instruction mode. Thus, the instruction receiving circuit 170 enters the quad-bit instruction mode.

[0033] At S240, the circuit is able to receive instructions via quad bit streams and operate according to the instructions. In the Fig. 1 example, when the instruction receiving circuit 170 enters the quad-bit instruction mode, the second circuit 150 is able to receive memory read/write instructions via quad bit streams, and operate according to the instructions. In an example, when an instruction is indicative of a memory write access using duo bit streams for address and quad bit streams for data, the second circuit 150 is configured to receive address in two bit streams and receive data in quad bit streams, and write the data into the address of the memory array 180. In another example, when an instruction is indicative of a read access using quad bit streams for address and duo bit streams for data, the second circuit 150 is configured to receive address in quad bit streams, read data from the address in the memory array 180, and send the data to the first circuit 110 in duo bit streams.

[0034] At S250, the circuit receives a specific instruction via quad bit streams. The specific instruction instructs the circuit to convert to the single-bit instruction mode. In the Fig. 1 example, for some reason, at a time the first circuit 110 decides to switch from using quad-bit instruction streams to using single bit instruction stream to send subsequent instructions, the first circuit 110 sends a specific instruction to the second circuit 150 via the quad bit streams first. The specific instruction instructs the second circuit 150 to change to the single-bit instruction mode. The second circuit 150 receives the specific instruction.

[0035] At S260, the circuit sets registers according to the specific instruction to prepare for receiving an instruction via a single-bit instruction stream. In the Fig. 1 example, the specific instruction causes the status register 165 to change to the value corresponding to the single-bit instruction mode. Thus, the instruction receiving circuit 170 enters the single-bit instruction mode.

[0036] At S270, the circuit is able to receive instructions via single bit streams and operate according to the instructions. In the Fig. 1 example, when the instruction receiving circuit 170 enters the single-bit instruction mode, the second circuit 150 is able to receive a memory read/write instruction via a single bit stream, and operate according to the instruction. In an example, when an instruction is indicative of a memory write access using duo bit streams for address and quad bit streams for data, the second circuit 150 is configured to receive address in two bit streams and receive data in quad bit streams, and write the data into the address of the memory array 180. In another example, when an instruction is indicative of a read access using quad bit streams for address and duo bit streams for data, the second circuit 150 is configured to receive address in quad bit streams, read data from the address in the memory array 180, and send the data to the first circuit 110 in duo bit streams. Then, the process proceeds to S299 and terminates.

[0037] It is noted that, in an example, at S270, when the second circuit 150 receives a specific instruction that instructs the second circuit 150 to convert to the quad-bit instruction mode, the process returns to S230. It is also noted that the single-bit instruction mode and the quad-bit instruction mode are used as examples, and the process 200 can be modified to use other suitable instruction transmission and receiving modes.

[0038] Fig. 3 shows a plot 300 of waveforms for the communication system 100 according to an embodiment of the disclosure. The plot 300 includes a first waveform 310 for the chip select signal, a second waveform 320 for the clock signal, a third waveform 330 for the first information signal, a fourth waveform 340 for the second information signal, a fifth waveform 350 for the third information signal, and a sixth waveform 360 for the fourth information signal. The information signals can include information of instruction, address, mode, and data.

[0039] In the Fig. 3 example, a read instruction is sent from the first circuit 110 to the second circuit 150 using quad-bit streams in parallel to read data from an address in the memory array 180. The read instruction includes 8 bits, and can be sent by the IO circuits 113-116 and received by the IO circuits 153-156, in the format of four parallel bit streams using two clock cycles.

[0040] Fig. 4 shows a plot 400 of waveforms for the communication system 100 according to an embodiment of the disclosure. Similarly, the plot 400 includes a first waveform 410 for the chip select signal, a second waveform 420 for the clock signal, a third waveform 430 for the first information signal, a fourth waveform 440 for the second information signal, a fifth waveform 450 for the third information signal, and a sixth waveform 460 for the fourth information signal.

[0041] In the Fig. 4 example, the read instruction is sent by the IO circuit 113 and received by the IO circuit 153 in the format of a single-bit stream to read data from an address in the memory array 180. The 8 bits of the instruction are sent using eight clock cycles. Thus, by using the quad-bit instruction streams in the Fig. 3 example, it takes less time for the first circuit 110 to receive the data read back from the second circuit 150 comparing to using the single-bit instruction stream in the Fig. 4 example.

[0042] While aspects of the present disclosure have been described in conjunction with the specific embodiments thereof that are proposed as examples, alternatives, modifications, and variations to the examples may be made. Accordingly, embodiments as set forth herein are intended to be illustrative and not limiting. There are changes that may be made without departing from the scope of the claims set forth below.