US6911843B2 - Data transfer device for transferring data between blocks of different clock domains - Google Patents

Data transfer device for transferring data between blocks of different clock domains Download PDF

Info

Publication number
US6911843B2
US6911843B2 US10/352,164 US35216403A US6911843B2 US 6911843 B2 US6911843 B2 US 6911843B2 US 35216403 A US35216403 A US 35216403A US 6911843 B2 US6911843 B2 US 6911843B2
Authority
US
United States
Prior art keywords
data
clock signal
count
serial data
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime, expires
Application number
US10/352,164
Other versions
US20040027167A1 (en
Inventor
Katsuya Mizumoto
Hiroshi Shirota
Ryosuke Okuda
Kazuaki Tanida
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Electronics Corp
Renesas Electronics Corp
Original Assignee
Renesas Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Technology Corp filed Critical Renesas Technology Corp
Assigned to MITSUBISHI DENKI KABUSHIKI KAISHA, MITSUBISHI ELECTRIC SYSTEM LSI DESIGN CORPORATION reassignment MITSUBISHI DENKI KABUSHIKI KAISHA ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MIZUMOTO, KATSUYA, OKUDA, RYOSUKE, SHIROTA, HIROSHI, TANIDA, KAZUAKI
Assigned to RENESAS TECHNOLOGY CORP. reassignment RENESAS TECHNOLOGY CORP. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MITSUBISHI DENKI KABUSHIKI KAISHA
Publication of US20040027167A1 publication Critical patent/US20040027167A1/en
Assigned to RENESAS TECHNOLOGY CORP. reassignment RENESAS TECHNOLOGY CORP. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MITSUBISHI DENKI KABUSHIKI KAISHA
Application granted granted Critical
Publication of US6911843B2 publication Critical patent/US6911843B2/en
Assigned to NEC ELECTRONICS CORPORATION reassignment NEC ELECTRONICS CORPORATION MERGER (SEE DOCUMENT FOR DETAILS). Assignors: RENESAS TECHNOLOGY CORP.
Assigned to RENESAS ELECTRONICS CORPORATION reassignment RENESAS ELECTRONICS CORPORATION CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: NEC ELECTRONICS CORPORATION
Assigned to RENESAS SYSTEM DESIGN CO., LTD. reassignment RENESAS SYSTEM DESIGN CO., LTD. MERGER AND CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: RENESAS SOLUTIONS CORPORATION, RENESAS SYSTEM DESIGN CO., LTD.
Assigned to RENESAS SYSTEM DESIGN CO., LTD. reassignment RENESAS SYSTEM DESIGN CO., LTD. MERGER (SEE DOCUMENT FOR DETAILS). Assignors: RENESAS DESIGN CORP.
Assigned to RENESAS ELECTRONICS CORPORATION reassignment RENESAS ELECTRONICS CORPORATION MERGER (SEE DOCUMENT FOR DETAILS). Assignors: RENESAS SYSTEM DESIGN CO., LTD.
Assigned to RENESAS SYSTEM DESIGN CO., LTD. reassignment RENESAS SYSTEM DESIGN CO., LTD. CHANGE OF ADDRESS Assignors: RENESAS SYSTEM DESIGN CO., LTD.
Assigned to RENESAS DESIGN CORP. reassignment RENESAS DESIGN CORP. CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: RENESAS LSI DESIGN CORPORATION
Assigned to RENESAS LSI DESIGN CORPORATION reassignment RENESAS LSI DESIGN CORPORATION CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: MITSUBISHI ELECTRIC SYSTEM LSI DESIGN CORPORATION
Assigned to RENESAS ELECTRONICS CORPORATION reassignment RENESAS ELECTRONICS CORPORATION CHANGE OF ADDRESS Assignors: RENESAS ELECTRONICS CORPORATION
Assigned to RENESAS MICRO SYSTEMS CO., LTD. reassignment RENESAS MICRO SYSTEMS CO., LTD. CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNEE NAME PREVIOUSLY RECORDED AT REEL: 044020 FRAME: 0377. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER. Assignors: RENESAS DESIGN CORP.
Assigned to RENESAS SYSTEM DESIGN CO., LTD. reassignment RENESAS SYSTEM DESIGN CO., LTD. CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: RENESAS MICRO SYSTEMS CO., LTD.
Adjusted expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M9/00Parallel/series conversion or vice versa

Definitions

  • the present invention relates generally to a data transfer device used for a high speed serial communication apparatus, and more particularly to a data transfer device in which data transfer between blocks having clock domains different from each other is performed in synchronization with a clock signal.
  • FIG. 20 is a block diagram showing a conventional data transfer device arranged in a serial communication apparatus.
  • a reference sign A indicates a high speed operating block
  • a reference sign B indicates a low speed operating block
  • a reference sign C indicates a clock signal producing block.
  • the parallel data is transferred to the high speed operating block A, the parallel data is converted into serial communication data in the high speed operating block A, minimum part of processing is performed for the serial communication data in the high speed operating block A, and the serial communication data is transmitted to the outside.
  • a clock skew between the clock signals CLK-A and CLK-B is adjusted so as to synchronize the clock signal CLK-B with the clock signal CLK-A.
  • data transfer between the operating blocks A and B can be synchronously performed without performing the countermeasure for metastable.
  • a frequency of the clock signal CLK-A is equal to 480 MHz
  • a frequency of the clock signal CLK-B is equal to 60 MHz
  • a bit length of parallel data is equal to 8 bits.
  • it is required to adjust a clock skew between the clock signals CLK-A and CLK-B. Therefore, a problem has arisen that it takes a lot of time to design a data transfer device.
  • the transfer of parallel data RxData and TxData between the operating blocks A and B is controlled in handshaking.
  • the number of stuff bits in the serial transmission data is counted.
  • a data receiving operation when the counted value of the stuff bits reaches a bit length of parallel data RxData transferred from the operating block A to the operating block B, a RxValid signal for the parallel data is negated.
  • the parallel data RxData is treated as invalid data (refer to a literature “USB2.0 Transceiver Macrocell Interface (UTMI) Specification” Ver1.05 page 23 5.6 Bit Unstuff Logic & FIG. 5 ).
  • a TxReady signal is negated to stop the transmission of parallel data TxData from a protocol processing unit of the low speed operating block A (refer to a literature “USB2.0 Transceiver Macrocell Interface (UTMI) Specification” Ver1.05 page 29 5.11 Bit Unstuff Logic & FIG. 11 ).
  • a main object of the present invention is to provide, with due consideration to the drawbacks of the conventional data transfer device, a data transfer device in which data transfer between operating blocks having clock domains different from each other is synchronously performed without the adjustment of clock skew between clock signals of the operating blocks or a countermeasure for asynchronous data transfer between the operating blocks.
  • a subordinate object of the present invention is to provide a data transfer device in which data transfer between operating blocks having clock domains different from each other is synchronously performed in serial communication performed according to bit stuffing processing while preventing the increase of the total number of gates and the increase of the number of gates serially placed due to a countermeasure for overflow or underflow and preventing the increase of consumed electric power due to the increase of the total number of gates.
  • the main object is achieved by the provision of a data transfer device including a high speed operating unit operation in synchronization with a first clock signal and a low speed operating unit operation in synchronization with a second clock signal, and the high speed operating unit includes a count signal producing unit, a clock signal producing unit and a data converting unit.
  • the count signal producing unit the number of pulses of the first clock is circularly counted, and count signals indicating count values are produced.
  • the clock signal producing unit the second clock signal is produced according to two count signals in synchronization with the first clock signal.
  • the data converting unit input serial data is converted into reception parallel data, the reception parallel data is driven in response to one count signal so as to be sampled in the low speed operating unit in synchronization with the second clock signal. Also, transmission parallel data driven in the low speed operating unit in synchronization with the second clock signal is sampled in response to one count signal, the transmission parallel data is converted into output serial data, and the output serial data is transmitted.
  • a setup time from the driving operation to the sampling operation for data and a hold time from the sampling operation to the driving operation for data can be sufficiently set in the data transfer between the high speed operating unit and the low speed operating unit, and the data transfer can be reliably performed in synchronization with the second clock signal. Accordingly, the data transfer between the operating units having clock domains different from each other can be synchronously performed without the adjustment of clock skew between the first clock signals and the second clock signal or a countermeasure for asynchronous data transfer between the operating blocks.
  • the subordinate object is achieved by the provision of a data transfer device further including a stuff bit control signal producing unit.
  • a stuff bit control signal indicating the detection or the insertion of a stuff bit in synchronization with the first clock signal.
  • the counting is stopped according to the stuff bit control signal so as to hold the count value during a time period corresponding to the stuff bit.
  • a stuff bit is removed from the input serial data, and bit-data placed just before the stuff bit is held during a time period corresponding to the stuff bit according to the stuff bit control signal. Also, a stuff bit is inserted in the output serial data according to the stuff bit control signal.
  • the cycle of the second clock is lengthened by the time period corresponding to the stuff bit when a stuff bit is detected or inserted, and the synchronous data transfer between the high speed operating unit and the low speed operating unit can be maintained. Accordingly, even though serial communication is performed according to bit stuffing processing, the data transfer between operating blocks having clock domains different from each other can be synchronously performed while preventing the increase of the total number of gates and the increase of the number of gates serially placed due to a countermeasure for overflow of the input serial data or a countermeasure for underflow of the output serial data and preventing the increase of consumed electric power due to the increase of the total number of gates.
  • FIG. 1 is a block diagram showing a data transfer device according to a first embodiment of the present invention
  • FIG. 2 is an explanatory view of various signals used in the data transfer device shown in FIG. 1 ;
  • FIG. 3 is a circuit view of a sampling circuit shown in FIG. 1 ;
  • FIG. 4 is a circuit view of a clock signal producing block shown in FIG. 1 ;
  • FIG. 5 is a timing chart of various signals used in the data transfer device shown in FIG. 1 in a serial data receiving operation
  • FIG. 6 is a timing chart of various signals used in the data transfer device shown in FIG. 1 in a serial data transmitting operation
  • FIG. 7 is a block diagram of a data transfer device according to a second embodiment of the present invention.
  • FIG. 8 is a circuit view of a sampling circuit shown in FIG. 7 ;
  • FIG. 9 is a timing chart of various signals used in the data transfer device shown in FIG. 7 in a serial data transmitting operation
  • FIG. 10 is a block diagram of a data transfer device according to a third embodiment of the present invention.
  • FIG. 11 is a circuit view of a sampling circuit shown in FIG. 10 ;
  • FIG. 12 is a timing chart of various signals used in the data transfer device shown in FIG. 10 in a serial data transmitting operation
  • FIG. 13 is a block diagram of a data transfer device according to a fourth embodiment of the present invention.
  • FIG. 14 is a timing chart of various signals used in the data transfer device shown in FIG. 13 in a serial data receiving operation
  • FIG. 15 is a timing chart of various signals used in the data transfer device shown in FIG. 13 in a serial data transmitting operation
  • FIG. 16 is a block diagram of a data transfer device according to a fifth embodiment of the present invention.
  • FIG. 17 is a circuit view of a clock signal producing block shown in FIG. 16 ;
  • FIG. 18 is a timing chart of various signals used in the data transfer device shown in FIG. 17 in a serial data receiving operation
  • FIG. 19 is a timing chart of various signals used in the data transfer device shown in FIG. 17 in a serial data transmitting operation.
  • FIG. 20 is a block diagram showing a conventional data transfer device.
  • FIG. 1 is a block diagram showing a data transfer device according to a first embodiment of the present invention.
  • serial transmission of data is performed according to serial bus standards of USB (Universal Serial Bus).
  • USB Universal Serial Bus
  • a piece of bit-data of the low level (“0”) additionally placed just after the six pieces of successive bit-data of the input serial data as a stuff bit is received in the data transfer device. That is, in the serial transmission, input serial data has a stuff bit just after each group of six pieces of bit-data successively set to the high level (“1111110”).
  • a piece of bit-data set to the low level is additionally added just after the six pieces of successive bit-data of the output serial data as a stuff bit in the data transfer device, and the output serial data including the stuff bit (“1111110”) is transmitted from the data transfer device.
  • a clock signal CLK-B is transmitted from a high speed operating block 1 to a low speed operating block 2 through a signal line 312 , reception parallel data RxData is transmitted from the high speed operating block 1 to the low speed operating block 2 through a bus 321 , and transmission parallel data TxData is transmitted from the high speed operating block 1 to the low speed operating block 2 through a bus 322 .
  • control signals such as a RxValid signal, a RxActive signal and a TxReady signal transmitted between the high speed operating block 1 and the low speed operating block 2 are omitted, and drive timing of these control signals is the same as that of the reception parallel data RxData and the transmission parallel data TxData.
  • FIG. 2 is an explanatory view of various signals used in the data transfer device.
  • FIG. 3 is a circuit view of a sampling circuit shown in FIG. 1 .
  • FIG. 4 is a circuit view of a clock signal producing block shown in FIG. 1 .
  • FIG. 5 is a timing chart of various signals used in the data transfer device in a serial data receiving operation. In this timing chart, pieces of 8-bit reception parallel data FF, 80 , 5 A and 7 E are driven and sampled in that order.
  • FIG. 6 is a timing chart of various signals used in the data transfer device in a serial data transmitting operation. In this timing chart, pieces of 8-bit transmission parallel data 80 , 5 A, FF and F 0 are driven and sampled in that order.
  • 1 indicates the high speed operating block (or high speed operating unit) for receiving pieces of bit-data of input serial data SDIN from the outside in synchronization with pulses of a clock signal CLK-A (or a first clock signal) and transmitting pieces of bit-data of output serial data SDOUT to the outside in synchronization with pulses of the clock signal CLK-A.
  • the clock signal CLK-A has a frequency corresponding to a transmission rate of both the input serial data SDIN and the output serial data SDOUT.
  • the clock signal CLK-A have a frequency corresponding to a transmission rate higher than that of both the input serial data SDIN and the output serial data SDOUT.
  • the low speed operating block (or low speed operating unit) for performing protocol processing for both the reception parallel data RxData transferred from the high speed operating block 1 and the transmission parallel data TxData in synchronization with the clock signal CLK-B (or a second clock signal) having a frequency lower than that of the clock signal CLK-A, and transferring the transmission parallel data TxData to the high speed operating block 1 .
  • a shift register (or data converting unit) for receiving the input serial data SDIN through a bus 323 in a serial data receiving operation, converting the input serial data SDIN into 8-bit parallel data Sft-Regs[7:0], receiving the 8-bit transmission parallel data TxData[7:0] transferred from the low speed operating block 2 in a serial data transmitting operation, and converting the transmission parallel data TxData into serial data Sft-Regs[0].
  • a right shift is performed for the input serial data SDIN in the serial data receiving operation regardless of the value of a load enable signal Ld-En sent through a signal line 331 .
  • the transmission parallel data TxData transferred from the low speed operating block 2 is sampled when the load enable signal Ld-En is set to the high level, and a right shift is performed for the transmission parallel data TxData when the load enable signal Ld-En is set to the low level. Therefore, the transmission parallel data TxData is converted into the serial data Sft-Regs[0].
  • the shift register 12 is used for both the serial data transmitting operation and the serial data receiving operation. However, it is applicable that one shift register used for the serial data transmitting operation and another shift register used for the serial data receiving operation be prepared.
  • the 11 indicates a holding register (or data holding unit) for holding the parallel data Sft-Regs[7:0] until the driving operation of the parallel data Sft-Regs[7:0] and setting up the parallel data Sft-Regs[7:0] until the sampling operation.
  • the parallel data Sft-Regs[7:0] sent from the shift register 12 through a bus 335 and held in the holding register 11 is driven (at the pulses C 2 , C 10 and C 19 of the clock signal CLK-A in FIG. 5 ), and the parallel data Sft-Regs[7:0] is set up in the holding register 11 until the parallel data Sft-Regs[7:0] is sampled in the lows peed operating block 2 as the reception parallel data RxData.
  • a stuff bit detecting block (or a stuff bit control signal producing unit) for detecting a stuff bit inserted into the input serial data SDIN in the serial data receiving operation, and detecting six pieces of bit-data successively set to the high level from the serial data Sft-Regs[0] in the serial data transmitting operation.
  • a holding signal Hld (or a stuff bit control signal) set to the high level is output from the stuff bit detecting block 13 .
  • a holding signal Hld (or a stuff bit control signal) set to the high level is output from the stuff bit detecting block 13 .
  • the stuff bit detecting block 13 is used according to the protocol of USB, only when six pieces of bit-data of the input serial data SDIN or six pieces of bit-data of the serial data Sft-Regs[0] are successively set to “1”, the holding signal Hld is set to the high level. In other cases, the holding signal Hld is set to the low level.
  • a range of the count value in the counter 16 depends on a width of the data bus 321 , 322 between the high speed operating block 1 and the low speed operating block 2 .
  • the data bus width is set to 8 bits.
  • FIG. 17 indicates a clock signal producing block (or a clock signal producing unit) for producing the clock signal CLK-B by forming a leading edge (or first edge) of each pulse according to the count signal Cnt[3] in synchronization with the clock signal CLK-A and forming a trailing edge (or a second edge) of each pulse according to the count signal Cnt[7] in synchronization with the clock signal CLK-A.
  • the configuration of the clock signal producing block 17 is shown in FIG. 17 in detail.
  • 161 and 163 indicate AND gates respectively.
  • 162 , 164 and 167 indicate flip-flops respectively.
  • 165 indicates an exclusive NOR gate.
  • 166 indicates a selector.
  • the clock signal CLK-B is set to the high level in synchronization with a leading edge of the clock signal CLK-A by the functions of the exclusive NOR gate 165 , the selector 166 and the flip-flop 167 (pulses C 6 , C 14 and C 23 of the clock signal CLK-A in FIG. 5 , and pulses C 2 , C 10 and C 18 of the clock signal CLK-A in FIG. 6 ).
  • the clock signal CLK-B is set to the low level in synchronization with a leading edge of the clock signal CLK-A by the functions of the exclusive NOR gate 165 , the selector 166 and the flip-flop 167 (pulses C 2 , C 10 and C 19 of the clock signal CLK-A in FIG. 5 , and pulses C 6 , C 14 and C 23 of the clock signal CLK-A in FIG. 6 ).
  • the timing of the count signal Cnt[3] set to the high level and the timing of the count signal Cnt[7] set to the high level differ from each other by half of the count range of the counter 16 , and the leading and trailing edges of the clock signal CLK-B are alternately formed at equal intervals.
  • a sampling circuit or a load enable signal producing unit for producing a load enable signal Ld-En which is set to the high level in response to the count signal Cnt[7] set to the high level in both the serial data transmitting operation and the serial data receiving operation.
  • One bit-data of the parallel data Sft-Regs[7:0] output from the shift register 12 is held in the holding register 11 in response to the load enable signal Ld-En set to the high level, and the transmission parallel data TxData transferred from the low speed operational block 2 is sampled in the shift register 12 in response to the load enable signal Ld-En set to the high level.
  • the configuration of the sampling circuit 15 is shown in FIG. 3 in detail.
  • 151 indicates an AND gate.
  • 152 indicates a flip-flop. An operation of the sampling circuit 15 will be described below. Only when the count signal Cnt[7] set to the high level and the holding signal Hld set to the low level are input to the AND gate 151 , the load enable signal Ld-En set to the high level is output from the flip flop 152 (pulses C 1 , C 9 and C 18 of the clock signal CLK-A in FIG. 5 , and pulses C 5 , C 13 and C 22 of the clock signal CLK-A in FIG. 6 ).
  • the 14 indicates a stuff bit inserting block (or data converting unit) for inserting a stuff bit into the serial data sft-regs[0] in the serial data transmitting operation and outputting the serial data sft-regs[0] as the output serial data SDOUT.
  • the serial data Sft-Regs[0] is compulsorily set to the low level, and the serial data Sft-Regs[0] is output as the output serial data SDOUT (a pulse C 21 in FIG. 6 ).
  • the count signals Cnt[0] to Cnt[7] are produced in synchronization with the clock signal CLK-A in the counter 16 , and the clock signal CLK-B is formed in the clock signal producing block 17 by forming the leading edge of each pulse in response to the count signal Cnt[3] and forming the trailing edge of each pulse in response to the count signal Cnt[7]. Therefore, a cycle of the clock signal CLK-B is set to a time period of eight pulses of the clock signal CLK-A. Thereafter, the clock signal CLK-B is transmitted to the low poer operating block 2 . Also, the load enable signal Ld-EN is set to the high level in the sampling circuit 15 in response to the count signal Cnt[7].
  • the serial-parallel conversion is performed for the input serial data SDIN in the shift register 12 to produce the parallel data Sft-Regs [7:0] from the input serial data SDIN while performing the right shift for the input serial data SDIN in synchronization with the clock signal CLK-A, and the parallel data Sft-Regs [7:0] is held in the holding register 11 .
  • the parallel-serial conversion is performed in the shift register 12 for the transmission parallel data TxData transferred from the low power operating block 2 to produce the serial data Sft-Regs[0] from the transmission parallel data TxData, and the serial data Sft-Regs[0] is output as output serial data SDOUT to the bus line 324 through the stuff bit inserting block 14 .
  • the cycle of the clock signal CLK-B at the timing of the detection or insertion of the stuff bit is lengthen by a time period (or one cycle of the clock signal CLK-A) of the detected or inserted stuff bit.
  • the holding signal Hld set to the high level is output from the stuff bit detecting block 13 to the shift register 12 , the stuff bit inserting block 14 , the sampling circuit 15 , the counter 16 and the clock signal producing block 17 in the time period of the pulse C 16 of the clock signal CLK-A, and the shift register 12 , the sampling circuit 15 , the counter 16 and the clock signal producing block 17 are set to the hold state respectively in the time period of the pulse C 17 of the clock signal CLK-A.
  • the counting operation of the counter 16 is stopped in the time period of the pulse C 17 , one count signal (in this embodiment, the count signal [7]) recently obtained in the time period of the pulse C 16 is held in the time period of the pulse C 17 , and the counting operation of the counter 16 is again started from the time period of the pulse C 18 of the clock signal CLK-A.
  • a pulse repetition time period between pulses of the clock signal CLK-B corresponding to the timing of the detection of the stuff bit is lengthened by the time period corresponding to the stuff bit equal to the time period of one pulse of the clock signal CLK-A and is set to a time period of five pulses of the clock signal CLK-A (from the pulse C 14 to the pulse C 19 of the clock signal CLK-A). Therefore, the cycle of the clock signal CLK-B is lengthened to nine pulses of the clock signal CLK-A (from the pulse C 14 to the pulse C 23 of the clock signal CLK-A).
  • the shift operation of the shift register 12 is stopped in the time period of the pulse C 17 of the clock signal CLK-A. Therefore, the stuff bit placed just after the six pieces of bit-data of the input serial data SDIN is removed from the parallel data Sft-Regs [7:0], and one piece of bit-data (in this embodiment, bit-data FC) placed just before the stuff bit and recently set in the shift register 12 as one piece of bit-data of the parallel data Sft-Regs [7:0] is held in the holding register 11 as one piece of bit-data of the parallel data Sft-Regs [7:0] in the time period of the pulse C 17 . That is, the piece of bit-data is twice held in the holding register 11 .
  • bit-data FC bit-data FC
  • the 9 bit parallel data composed of 2D, 96 , CB, E 5 , F 2 , F 9 , FC, FC and 7 F is sampled in the low power operating block 2 as the 8-bit reception parallel data RxData[7:0] composed of 2D, 96 , CB, E 5 , F 2 , F 9 , FC and 7 F in synchronization with the clock signal CLK-B having the pulse repetition time period of nine pulses of the clock signal CLK-A.
  • the reception parallel data RxData[7:0] can be processed in the low speed operating block 2 in synchronization with the clock signal CLK-B.
  • the holding signal Hld set to the high level is output from the stuff bit detecting block 13 to the shift register 12 , the stuff bit inserting block 14 , the sampling circuit 15 , the counter 16 and the clock signal producing block 17 in the time period of the pulse C 20 of the clock signal CLK-A to set the shift register 12 , the sampling circuit 15 , the counter 16 and the clock signal producing block 17 to the hold state respectively.
  • the stuff bit inserting block 14 because the shift register 12 is set in the hold state in the time period of the pulse C 20 of the clock signal CLK-A, a stuff bit of the low level is inserted at a position just after the six pieces of bit-data of the serial data Sft-Regs[0], and one piece of bit-data following the six pieces of bit-data in the trabsnission parallel data TxData is placed just after the stuff bit.
  • the serial data Sft-Regs[0] having the stuff bit after the six pieces of bit-data of the high level is output as the output serial data SDOUT.
  • the output serial data SDOUT has the stuff bit in the time period of the pulse C 21 of the clock signal CLK-A.
  • the cycle of the clock signal CLK-B is normally set to a time period of eight pulses of the clock signal CLK-A
  • a pulse repetition time period between pulses corresponding to the timing of the insertion of the stuff bit is lengthened by the time period corresponding to the stuff bit equal to the time period of one pulse of the clock signal CLK-A
  • the cycle of the clock signal CLK-B is set to a time period of nine pulses of the clock signal CLK-A in the time period from the pulse C 14 to the pulse C 23 of the clock signal CLK-A.
  • reception parallel data RxData is transferred from the high speed operating block 1 to the low speed operating block 2 , the reception parallel data RxData is driven in the high speed operating block 1 substantially in synchronization with each trailing edge (or second edge) of the clock signal CLK-B, and the reception parallel data RxData is sampled in the low speed operating block 2 in synchronization with each leading edge of the clock signal CLK-B.
  • this operation is described with reference to the timing chart of the serial data receiving operation shown in FIG. 5 .
  • the count signal Cnt[7] is set to the high level (at the pulses C 8 and C 17 of the clock pulse CLK-A) in the counter 16
  • the load enable signal Ld-En is set to the high level (at the pulses C 1 , C 9 and C 18 of the clock pulse CLK-A) in the sampling circuit 15 in response to the count signal Cnt[7] set to the high level
  • the parallel data Sft-Regs[7:0] obtained from the input serial data SDIN in the shift register 12 is held in the holding register 11 in response to the load enable signal Ld-En set to the high level
  • the reception parallel data RxData is driven in the holding register 11 in synchronization with the leading edges of the pulses C 2 , C 10 and C 19 of the clock pulse CLK-A in response to the load enable signal Ld-En set to the high level so as to set up the reception parallel data RxData.
  • the CLK-B trailing edge enable signal Clk-Neg-Edge is set to the high level (at the pulses C 1 , C 9 and C 18 of the clock pulse CLK-A) in response to the count signal Cnt[7] set to the high level, and the trailing edges of the clock signal CLK-B are formed at the pulses C 2 , C 10 and C 18 of the clock signal CLK-A in response to the trailing edge enable signal Clk-Neg-Edge set to the high level.
  • the reception parallel data RxData is driven in the high speed operating block 1 substantially in synchronization with the trailing edges of the clock signal CLK-B synchronized with the leading edges of the pulses C 2 , C 10 and C 18 of the clock signal CLK-A. Thereafter, the reception parallel data RxData driven and set up in the holding register 11 is sampled in the low speed operating block 2 in synchronization with the leading edges of the clock signal CLK-B synchronized with the leading edges of the pulses C 6 , C 14 and C 23 of the clock signal CLK-A.
  • the reception parallel data RxData is set up in the holding register 11 during a setup time equal to a time period 4CLK-A of four pulses of the clock signal CLK-A until the sampling operation after the reception parallel data RxData is driven substantially in synchronization with each trailing edge of the clock signal CLK-B, and the reception parallel data RxData is held in the holding register 11 during a hold time equal to the time period 4CLK-A of four pulses of the clock signal CLK-A until the driving operation after the reception parallel data RxData is sampled in synchronization with each leading edge of the clock signal CLK-B.
  • the hold time from the sampling operation to the driving operation and the setup time from the driving operation to the sampling operation are sufficiently set for the reception parallel data RxData, unless the delay of the sampling of the reception parallel data RxData exceeding the time period 4CLK-A occurs, it is not required to perform a countermeasure for the asynchronous data transfer. Also, because the reception parallel data RxData is transferred from the high speed operating block 1 to the low speed operating block 2 in synchronization with the clock signal CLK-B, it is not required to adjust the clock skew between the clock signals CLK-A and CLK-B.
  • the data transfer device can be designed so as to perform the synchronous data transfer of the reception parallel data RxData from the high speed operating block 1 to the low speed operating block 2 .
  • the transmission parallel data TxData is driven in the low speed operating block 2 in response to the leading edges of the clock signal CLK-B synchronized with the leading edges of the pulses C 2 , C 10 and C 18 of the clock signal CLK-A.
  • the count signal Cnt[7] is set to the high level in the counter 16 in the time periods of pulses C 4 , C 12 and C 21 of the clock pulse CLK-A
  • the load enable signal Ld-En is set to the high level in the sampling circuit 15 in response to the count signal Cnt[7] set to the high level in the time periods of pulses C 5 , C 13 and C 22 of the clock pulse CLK-A
  • the transmission parallel data TxData is sampled in the high speed operating block 1 in response to the load enable signal Ld-En set to the high level. Therefore, the transmission parallel data TxData is sampled substantially in synchronization with the trailing edges of the clock signal CLK-B synchronized with the leading edges of the pulses C 6 , C 14 and C 23 of the clock signal CLK-A.
  • the transmission parallel data TxData is held in the low speed operating block 2 during a hold time equal to the time period 4CLK-A of four pulses of the clock signal CLK-A until the driving operation after the transmission parallel data TxData is sampled in the holding register 11 substantially in synchronization with each trailing edge of the clock signal CLK-B, and the transmission parallel data TxData is set up in the low speed operating block 2 during a setup time equal to the time period 4CLK-A of four pulses of the clock signal CLK-A until the sampling operation after the transmission parallel data TxData is driven in the low speed operating block 2 in synchronization with each leading edge of the clock signal CLK-B.
  • the transmission parallel data TxData can be reliably transferred from the low speed operating block 2 to the high speed operating block 1 .
  • the delay of the driving of the transmission parallel data TxData exceeding the time period 4CLK-A occurs, it is not required to perform a countermeasure for the asynchronous transfer.
  • the transmission parallel data TxData is transferred from the low speed operating block 2 to the high speed operating block 1 in synchronization with the clock signal CLK-B, it is not required to adjust the clock skew between the clock signals CLK-A and CLK-B.
  • the data transfer device can be designed so as to perform the synchronous data transfer of the transmission parallel data TxData from the low speed operating block 2 to the high speed operating block 1 .
  • the time period 4CLK-A of four pulses of the clock signal CLK-A can be obtained for the data sampling timing in the data transfer between the high speed operating block 1 and the low speed operating block 2 . Accordingly, to perform the synchronous data transfer of both the reception parallel data RxData and the transmission parallel data TxData between the operating blocks 1 and 2 , it is not required to perform the countermeasure for the asynchronous transfer or to adjust a clock skew between the clock signals CLK-A and CLK-B.
  • the transmission parallel data TxData is sampled substantially in synchronization with the trailing edges of the clock signal CLK-B, and the reception parallel data RxData is driven substantially in synchronization with the trailing edges of the clock signal CLK-B. Therefore, the sampling timing of the transmission parallel data TxData is the same as the drive timing of the reception parallel data RxData. Therefore, in the data transfer device of the first embodiment, assuming that the transmission parallel data TxData is driven after a time period equal to or longer than the time period 4CLK-A is elapsed from each leading edge of the clock signal CLK-B, the sampling of the transmission parallel data TxData cannot be performed substantially in synchronization with each trailing edge of the clock signal CLK-B and is delayed. In this case, the data transfer between the high speed operating block 1 and the low speed operating block 2 cannot be synchronously performed.
  • the enable timing of the load enable signal Ld-En is further shifted to a time lagged behind each leading edge of the clock signal CLK-B by a time period shorter than the time period 4CLK-A to change both the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData.
  • the problem for the sampling timing of the transmission parallel data TxData is solved, because a time period from the drive timing of the reception parallel data RxData to the sampling timing of the reception parallel data RxData is shortened, there is a case that the reception parallel data RxData cannot be undesirably sampled substantially in synchronization with each leading edge of the clock signal CLK-B.
  • the sampling timing of the transmission parallel data TxData differs from the drive timing of the reception parallel data RxData. That is, the sampling timing of the transmission parallel data TxData is set according to the count signal Cnt[2], and the drive timing of the reception parallel data RxData is set according to the count signal Cnt[7] in the same manner as in the first embodiment.
  • FIG. 7 is a block diagram of a data transfer device according to the second embodiment of the present invention.
  • the constituent elements which are the same as those shown in FIG. 1 , are indicated by the same reference numerals as those of the constituent elements shown in FIG. 1 , and additional description of those constituent elements is omitted.
  • 21 indicates a holding register (or a data holding unit).
  • the serial data receiving operation when the load enable signal Ld-En is set to the high level, the parallel data Sft-Regs[7:0] converted in the shift register 12 is received in the holding register 21 , and the parallel data Sft-Regs[7:0] is held in the holding register 21 in the same manner as in the first embodiment.
  • values of the transmission parallel data TxData driven from the low power operating block 2 are sampled and held in the holding register 21 .
  • the transmission parallel data TxData is sampled when the load enable signal Ld-En is set to an enable state (or the high level).
  • a sampling circuit or a load enable signal producing unit
  • Ld-En a load enable signal Ld-En which is set to the high level in response to the count signal Cnt[2] in the serial data transmitting operation and is set to the high level in response to the count signal Cnt[7] in the serial data receiving operation.
  • the parallel data Sft-Regs[7:0] output from the shift register 12 is held in the holding register 21 in response to the load enable signal Ld-En set to the high level, and the transmission parallel data TxData transferred from the low speed operational block 2 is sampled in the holding register 21 in response to the load enable signal Ld-En set to the high level.
  • FIG. 8 The configuration of the sampling circuit 22 is shown in FIG. 8 in detail.
  • 421 indicates a selector for selecting the count signal cnt[2] in the serial data transmitting operation according to a transfer mode signal SEL-RX-TX set to “0” and selecting the count signal Cnt[7] in the serial data receiving operation according to a transfer mode signal SEL-RX-TX set to “1”.
  • the other constituent elements indicated by the same reference numerals as those in FIG. 3 are the same as those shown in FIG. 3 .
  • the enable timing (or high level timing) of the load enable signal Ld-En in the serial data transmitting operation differs from that in the serial data receiving operation.
  • the load enable signal Ld-En is set to the high level in both the transmitting and receiving operations.
  • the count signal Cnt[7] is selected in the serial data receiving operation and is input to the AND gate 151
  • the count signal Cnt[2] is selected in the serial data transmitting operation and is input to the AND gate 151 .
  • the load enable signal Ld-En is set to the high level in the serial data receiving operation when both the high level of the count signal Cnt[7] and the low level of the holding signal Hld are satisfied, and the load enable signal Ld-En is set to the high level in the serial data transmitting operation when both the high level of the count signal Cnt[2] and the low level of the holding signal Hld are satisfied.
  • the sampling circuit 22 has a function for producing a shift enable signal Sft-En.
  • the shift enable signal Sft-En is set to the low level in response to the count signal Cnt[3] set to the high level (or the count value of “3”) when the holding signal Hld is set to the low level, and the shift enable signal Sft-En is set to the high level when the count signal Cnt[3] is set to the low level due to the count value other than “3”.
  • the holding signal Hld is set to the high level
  • the level of the shift enable signal Sft-En is not changed, and the level of the shift enable signal Sft-En set just before the setting of the high level of the holding signal Hld is held.
  • the shift enable signal Sft-En is always set to the high level.
  • the transmission parallel data TxData is not directly fetched (or sampled) from the low speed operating block 2 to the shift register 12 but is fetched to the holding register 21 .
  • the transmission parallel data TxData fetched to the holding register 21 is fetched from the holding register 21 to the shift register 12 in response to the shift enable signal Sft-En set to the low level.
  • FIG. 9 is a timing chart of various signals showing the serial data transmitting operation of the data transfer device.
  • the transmission parallel data TxData is driven in the low speed operating block 2 in synchronization with each leading edge of the clock signal CLK-B in the same manner as in the first embodiment.
  • the leading edges of the clock signal CLK-B are synchronized with the leading edges of the pulses C 2 , C 10 and c 19 of the clock signal CLK-A.
  • the load enable signal Ld-En is changed to the high level in response to the count value of “ 2 ” (the high level of the count signal Cnt[2]) obtained in the counter 16 .
  • the load enable signal Ld-En is set to the high level in response to the pulses C 8 and c 16 of the clock signal CLK-A.
  • the transmission parallel data TxData is sampled in the holding register 21 after a time period 7CLK-A of seven pulses of the clock signal CLK-A is elapsed from each leading edge of the clock signal CLK-B.
  • the transmission parallel data TxData is sampled in response to the leading edges of the pulses C 1 , C 9 and C 17 of the clock signal CLK-A.
  • the shift enable signal Sft-En is set to the low level in the time periods of the pulses C 1 , C 9 and C 17 of the clock signal CLK-A in response to the count signal Cnt[3] set to the high level.
  • the transmission parallel data TxData sampled in the holding register 21 is sent to the shift register 12 in response to the shift enable signal Sft-En set to the low level in the sampling circuit 22 .
  • the shift enable signal Sft-En is changed to the high level
  • the right shift for the transmission parallel data TxData is performed in the shift register 12 in response to the shift enable signal Sft-En set to the high level
  • serial data Sft-Regs[0] are produced from the transmission parallel data TxData.
  • the output serial data SDOUT produced from serial data Sft-Regs[0] is transmitted to the bus 324 .
  • the sampling timing of the transmission parallel data TxData transferred from the low speed operating block 2 to the high speed operating block 1 can be appropriately set, and the drive timing of the reception parallel data RxData transferred from the high speed operating block 1 to the low speed operating block 2 can be appropriately set. Therefore, even though the transmission parallel data TxData is driven in the low speed operating block 2 after a time period equal to or longer than the time period 4CLK-A is elapsed from each leading edge of the clock signal CLK-B, the transmission parallel data TxData can be reliably sampled in the high speed operating block 1 . Accordingly, it is not required to perform the countermeasure for the asynchronous data transfer or to adjust a clock skew between the clock signals CLK-A and CLK-B.
  • the transmission parallel data TxData is not directly fetched from the low speed operating block 2 to the shift register 12 but is fetched to the holding register 21 . However, it is applicable that the transmission parallel data TxData be directly fetched from the low speed operating block 2 to the shift register 12 . In this case, the shift enable signal Sft-En is not required.
  • the load enable signal Ld-En is used in common for both the serial data transmitting operation and the serial data receiving operation.
  • both a transmission load enable signal for the serial data transmitting operation and a reception load enable signal for the serial data receiving operation be used on condition that the enable timing of the transmission load enable signal differs from that of the reception load enable signal.
  • the sampling timing of the transmission parallel data TxData determined due to the count signal Cnt[7] or Cnt[2] is fixed with respect to the clock signal CLK-B
  • the drive timing of the reception parallel data RxData determined due to the count signal Cnt[7] is fixed with respect to the clock signal CLK-B.
  • the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData are arbitrarily changed according to a selection signal set in a software architecture or set at an external terminal.
  • FIG. 10 is a block diagram of a data transfer device according to the third embodiment of the present invention.
  • the constituent elements which are the same as those shown in FIG. 7 , are indicated by the same reference numerals as those of the constituent elements shown in FIG. 7 , and additional description of those constituent elements is omitted.
  • 31 indicates a sampling circuit (or a load enable signal producing unit) for producing a load enable signal Ld-En which is set to the high level in response to the count signal Cnt[0], Cnt[1], Cnt[2], Cnt[3], Cnt[4], Cnt[5] or Cnt[6] in the serial data transmitting operation and is set to the high level in response to the count signal Cnt[7] in the serial data receiving operation.
  • a sampling circuit or a load enable signal producing unit for producing a load enable signal Ld-En which is set to the high level in response to the count signal Cnt[0], Cnt[1], Cnt[2], Cnt[3], Cnt[4], Cnt[5] or Cnt[6] in the serial data transmitting operation and is set to the high level in response to the count signal Cnt[7] in the serial data receiving operation.
  • the parallel data Sft-Regs[7:0] output from the shift register 12 is held in the holding register 21 in response to the load enable signal Ld-En set to the high level, and the transmission parallel data TxData transmitted from the low speed operational block 2 is sampled in the holding register 21 in response to the load enable signal Ld-En set to the high level.
  • FIG. 11 The configuration of the sampling circuit 31 is shown in FIG. 11 in detail.
  • 711 indicates a selector for selecting the count signal Cnt[0], Cnt[1], Cnt[2], Cnt[3], Cnt[4], Cnt[5], Cnt[6] or Cnt[7] according to a value of an enable timing setting signal (or selection signal) SEL-CNT set in a software architecture or set at an external terminal.
  • the other constituent elements indicated by the same reference numerals as those in FIG. 8 are the same as those shown in FIG. 8 .
  • FIG. 12 is a timing chart of various signals used in the data transfer device in the serial data transmitting operation.
  • the sampling timing of the transmission parallel data TxData is, for example, determined due to the count signal Cnt[1].
  • the enable timing setting signal SEL-CNT indicating the value of “1” is set according to a software architecture or is set at an external terminal, and the enable timing setting signal SEL-CNT indicating the value of “1” is input to the selector 711 .
  • the count signal Cnt[1] is selected in the selector 711 , and the load enable signal Ld-En is set to the high level in response to the count signal Cnt[1] set to the high level. Therefore, the transmission parallel data TxData is sampled in the holding register 21 after a time period 6CLK-A of six pulses of the clock signal CLK-A is elapsed from each leading edge of the clock signal CLK-B.
  • the transmission parallel data TxData is, for example, sampled in response to the leading edges of the pulses C 8 and C 16 of the clock signal CLK-A in cases where the clock signal CLK-B has the leading edges synchronized with the leading edges of the pulses C 2 and C 10 of the clock signal CLK-A.
  • the enable timing setting signal SEL-CNT indicating the value of “2” is set according to the software architecture or is set at the external terminal, and the enable timing setting signal SEL-CNT indicating the value of “2” is input to the selector 711 .
  • the count signal Cnt[2] is selected in the selector 711 , and the load enable signal Ld-En is set to the high level in response to the count signal Cnt[2] set to the high level. Therefore, in the same manner as in the second embodiment (shown in FIG. 9 ), the transmission parallel data TxData is sampled in the holding register 21 after the time period 7CLK-A of seven pulses of the clock signal CLK-A is elapsed from each leading edge of the clock signal CLK-B.
  • the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData can be arbitrarily set according to the enable timing setting signal SEL-CNT set in the software architecture or set at the external terminal, the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData can be changed after the manufacturing of the data transfer device. For example, after the data transfer device is arranged on a large scale integrated circuit, there is a trouble that the data transfer synchronized with the clock signal CLK-B cannot be performed between the high speed operating block 1 and the low speed operating block 2 due to the difference between an expected delay and an actual delay of data.
  • the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData can be arbitrarily changed according to the enable timing setting signal SEL-CNT set in the software architecture or set at the external terminal, the data transfer synchronized with the clock signal CLK-B can be reliably performed between the high speed operating block 1 and the low speed operating block 2 .
  • the transmission parallel data TxData is not directly fetched from the low speed operating block 2 to the shift register 12 but is fetched to the holding register 21 .
  • the transmission parallel data TxData be directly fetched from the low speed operating block 2 to the shift register 12 in the same manner as in the first embodiment by replacing the sampling circuit 31 with the sampling circuit 15 of the first embodiment. In this case, no enable timing setting signal SEL-CNT is used.
  • the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData for the clock signal CLK-B are adjusted by changing the enable timing of the load enable signal Ld-En for the clock signal CLK-B. Therefore, the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData differ from the timing of the leading and trailing edges of the clock signal CLK-B.
  • the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData for the clock signal CLK-B are adjusted by changing the count signal determining the enable timing of the load enable signal Ld-En to an appropriate count signal.
  • the timing of the leading edges of the clock signal CLK-B and the trailing edges of the clock signal CLK-B for the clock signal CLK-B are adjusted while the enable timing of the load enable signal Ld-En is set according to the count signal Cnt[7] in the same manner as in the first embodiment, and the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData for the clock signal CLK-B are adjusted to shorten or lengthen the time period from the drive timing of the reception parallel data RxData to the sampling timing of the reception parallel data RxData and to lengthen or shorten the time period from the drive timing of the transmission parallel data TxData to the sampling timing of the transmission parallel data TxData.
  • a time period 4CLK-A from the timing of the leading edge of the clock signal CLK-B to the sampling timing of the transmission parallel data TxData is insufficient in a data transfer device arranged on a type of large scale integrated circuit
  • a time period 4CLK-A from the drive timing of the reception parallel data RxData to the timing of the leading edge of the clock signal CLK-B is sufficient in the data transfer device arranged on the type of large scale integrated circuit.
  • the data transfer device according to the fourth embodiment is designed to shorten the time period from the drive timing of the reception parallel data RxData to the sampling timing of the reception parallel data RxData and to lengthen the time period from the drive timing of the transmission parallel data TxData to the sampling timing of the transmission parallel data TxData.
  • FIG. 13 is a block diagram of a data transfer device according to the fourth embodiment of the present invention.
  • the constituent elements which are the same as those shown in FIG. 1 , are indicated by the same reference numerals as those of the constituent elements shown in FIG. 1 , and additional description of those constituent elements is omitted.
  • the count signal Cnt[2] and the count signal Cnt[6] are input to the clock signal producing block 17 in place of the count signal Cnt[3] and the count signal Cnt[7] used in the first embodiment.
  • FIG. 14 is a timing chart of various signals showing the serial data receiving operation of the data transfer device.
  • FIG. 15 is a timing chart of various signals showing the serial data transmitting operation of the data transfer device.
  • the leading edges of the clock signal CLK-B and the trailing edges of the clock signal CLK-B are formed in response to the count value of “3” and the count value of “7”
  • the leading edges of the clock signal CLK-B and the trailing edges of the clock signal CLK-B are formed in response to the count value of “2” and the count value of “6”.
  • the load enable signal Ld-En is set to the enable state in response to the count value of “7”. Therefore, in the fourth embodiment, the timing of the leading and trailing edges of the clock signal CLK-B for the enable timing of the load enable signal Ld-En is earlier than that in the first embodiment by one pulse of the clock signal CLK-A.
  • the reception parallel data RxData is driven in response to each of the pulses C 2 , C 10 and C 19 of the clock signal CLK-A later than the leading edges of the clock signal CLK-B by one pulse of the clock signal CLK-A
  • the sampling timing of the reception parallel data RxData is placed after three pulses (or three cycles) of the clock signal CLK-A from the drive timing of the reception parallel data RxData. That is, the reception parallel data RxData is sampled at the pulses C 5 , C 13 and C 22 of the clock signal CLK-A.
  • the transmission parallel data TxData is driven in synchronization with the leading edges of the clock signal CLK-B synchronized with the leading edges of the pulses C 1 , C 9 and C 17 of the clock signal CLK-A respectively.
  • the sampling timing of the transmission parallel data TxData sampled in response to the load enable signal Ld-En set to the high level is placed after five pulses (or five cycles) of the clock signal CLK-A from the drive timing of the transmission parallel data TxData.
  • the sampling timing of the transmission parallel data TxData is synchronized with the leading edges of the pulses C 6 and C 14 of the clock signal CLK-A.
  • the holding signal set to the high level is received in the sampling circuit 15 in a time period from the drive timing of the transmission parallel data TxData to the sampling timing of the transmission parallel data TxData, because one stuff bit is inserted into the transmission parallel data TxData in the stuff bit inserting block 14 during one pulse of the clock signal CLK-A, the sampling timing of the transmission parallel data TxData is placed after six pulses (or six cycles) of the clock signal CLK-A from the drive timing of the transmission parallel data TxData. That is, the sampling timing of the transmission parallel data TxData is synchronized with the leading edge of the pulse C 23 of the clock signal CLK-A.
  • the set of count signals Cnt[2] and Cnt[6] are used in the clock signal producing block 17 to set the timing of the leading edges of the clock signal CLK-B and the timing of the trailing edges of the clock signal CLK-B.
  • a set of count signals Cnt[1] and Cnt[5] or a set of count signals Cnt[0] and Cnt[4] be used in the clock signal producing block 17 to set the timing of the leading edges of the clock signal CLK-B and the timing of the trailing edges of the clock signal CLK-B.
  • the timing of the leading and trailing edges of the clock signal CLK-B is earlier than the enable timing of the load enable signal Ld-En by two or three pulses of the clock signal CLK-A.
  • the synchronization data transfer between the high speed operating block 1 and the low speed operating block 2 can be reliably performed while removing or inserting the stuff bit from/into the reception parallel data RxData or the transmission parallel data TxData.
  • the timing of the leading and trailing edges of the clock signal CLK-B for the enable timing of the load enable signal Ld-En is advanced as compared with in the first embodiment.
  • the timing of the leading and trailing edges of the clock signal CLK-B for the enable timing of the load enable signal Ld-En is delayed as compared with in the first embodiment by using the count value of “4” and the count value of “0” in the clock signal producing block 17 to set the timing of the leading edges of the clock signal CLK-B and the timing of the trailing edges of the clock signal CLK-B.
  • the enable timing of the load enable signal Ld-En is set according to the count signal Cnt[7] in both the serial data receiving and transmitting operations.
  • the count signal for setting the enable timing of the load enable signal Ld-En in the serial data receiving operation differ from that in the serial data transmitting operation.
  • the time period from the drive timing of the reception parallel data RxData to the sampling timing of the reception parallel data RxData and the time period from the drive timing of the transmission parallel data TxData to the sampling timing of the transmission parallel data TxData can be independently and precisely set.
  • the timing of the leading and trailing edges of the clock signal CLK-B set according to the count signal Cnt[3] and the count signal Cnt[7] in the first embodiment cannot be changed after the manufacturing of the data transfer device. Also, the timing of the leading and trailing edges of the clock signal CLK-B set according to the count signal Cnt[2] and the count signal Cnt[6] in the fourth embodiment cannot be changed after the manufacturing of the data transfer device.
  • the timing of the leading and trailing edges of the clock signal CLK-B is set so as to be adjustable according to a selection signal set in a software architecture or set at an external terminal after the manufacturing of a data transfer device.
  • FIG. 16 is a block diagram of a data transfer device according to the fifth embodiment of the present invention.
  • the constituent elements which are the same as those shown in FIG. 1 , are indicated by the same reference numerals as those of the constituent elements shown in FIG. 1 , and additional description of those constituent elements is omitted.
  • 51 indicates a clock signal producing block (or a clock signal producing unit) for producing a clock signal CLK-B according to the count signal Cnt[0:7], the clock signal CLK-A, a CLK-B leading edge timing setting signal SEL-PE and a CLK-B trailing edge timing setting signal SEL-NE.
  • Each of both the leading edge timing setting signal SEL-PE and the trailing edge timing setting signal SEL-NE is set to a value of “0”, “1”, “2”, “3”, “4”, “5”, “6” or “7”.
  • the signal is readable and writable in a register according to a software architecture, or the signal is set at an external terminal.
  • FIG. 17 The configuration of the clock signal producing block 51 is shown in FIG. 17 in detail.
  • 510 indicates a selector for selecting the count signal Cnt[0], Cnt[l], Cnt[2], Cnt[3], Cnt[4], Cnt[5], Cnt[6] or Cnt[7] according to the value of the trailing edge timing setting signal SEL-NE.
  • 511 indicates a selector for selecting the count signal Cnt[0], Cnt[l], Cnt[2], Cnt[3], Cnt[4], Cnt[5], Cnt[6] or Cnt[7] according to the value of the leading edge timing setting signal SEL-PE.
  • the count signal selected in the selector 510 is input to the AND gate 161 , and the count signal selected in the selector 511 is input to the AND gate 163 .
  • the other constituent elements indicated by the same reference numerals as those in FIG. 4 are the same as those shown in FIG. 4 .
  • FIG. 18 is a timing chart of various signals used in the serial data receiving operation of the data transfer device.
  • FIG. 19 is a timing chart of various signals used in the serial data transmitting operation of the data transfer device.
  • the leading edge timing setting signal SEL-PE is set to the value of “0” to input the count signal Cnt[0] to the AND gate 163
  • the trailing edge timing setting signal SEL-NE is set to the value of “4” to input the count signal Cnt[4] to the AND gate 161 .
  • the holding signal Hld is set to the high level at the pulse C 16
  • the count signal Cnt[0] is set to the high level at the pulses C 1 , C 9 and C 18 of the clock signal CLK-A
  • the count signal Cnt[4] is set to the high level at the pulses C 5 , C 13 and C 22 of the clock signal CLK-A
  • the leading enable signal Clk-Pos-Edge is set to the high level in response to the count signal Cnt[0] at the pulses C 2 , C 10 and C 19 of the clock signal CLK-A
  • the trailing enable signal Clk-Neg-Edge is set to the high level in response to the count signal Cnt[4] at the pulses C 6 , C 14 and C 23 of the clock signal CLK-A
  • the leading edges of the clock signal CLK-B synchronized with the leading edges of the pulses C 3 , C 11 and C 20 of the clock signal CL
  • the holding signal Hld is set to the high level at the pulse C 22
  • the count signal Cnt[0] is set to the high level at the pulses C 7 , C 15 and C 24 of the clock signal CLK-A
  • the count signal Cnt[4] is set to the high level at the pulses C 3 , C 11 and C 19 of the clock signal CLK-A
  • the leading edges of the clock signal CLK-B synchronized with the leading edges of the pulses C 1 , C 9 and C 17 of the clock signal CLK-A are formed
  • the trailing edges of the clock signal CLK-B synchronized with the leading edges of the pulses C 5 , C 13 and C 21 of the clock signal CLK-A are formed.
  • the load enable signal Ld-En is set to the high level at the pulses C 7 , C 15 and C 24 of the clock signal CLK-A in response to the count signal Cnt[7]
  • the sampling timing of the transmission parallel data TxData is synchronized with the leading edges of the pulses C 8 , C 16 and C 25 of the clock signal CLK-A in response to the load enable signal Ld-En
  • the drive timing of the transmission parallel data TxData synchronized with the leading edges of the clock signal CLK-B is synchronized with the leading edges of the pulses C 1 , C 9 and C 17 of the clock signal CLK-A.
  • the sampling timing of the transmission parallel data TxData is later than the drive timing of the transmission parallel data TxData by the time period 7CLK-A of seven pulses of the clock signal CLK-A.
  • the sampling timing of the transmission parallel data TxData is later than the drive timing of the transmission parallel data TxData by a time period 8CLK-A of eight pulses of the clock signal CLK-A.
  • the reception parallel data RxData is sampled after one pulse (or one cycle) of the clock signal CLK-A from the setting-up of the reception parallel data RxData in the holding register 11 , a set-up time period of the reception parallel data RxData in the holding register 11 is not sufficient when the data transfer device is used for a type of large scale integrated circuit.
  • the inventive idea of the second or third embodiment is combined with that of the fifth embodiment, and the set-up time period of the reception parallel data RxData is set to be sufficient regardless of the type of large scale integrated circuit.
  • the data transfer device is operated in the same manner as in the fourth embodiment.
  • the timing of the leading and trailing edges of the clock signal CLK-B can be changed after the manufacturing of the data transfer device.
  • the high speed operating block 1 is manufactured while fixing a layout of the elements of the high speed operating block 1
  • the low speed operating block 2 is manufactured while changeably setting a layout of the elements of the low speed operating block 2
  • the data transfer devices are used for various types of large scale integrated circuits respectively.
  • data delay in the low speed operating block 2 depends on process and/or technology of the type of large scale integrated circuit. Therefore, it is required to appropriately set an interface between the high speed operating block 1 and the low speed operating block 2 for each type of large scale integrated circuit, and it is required to adjust the performance of the high speed operating block 1 to compensate the timing delay in the interface between the high speed operating block 1 and the low speed operating block 2 .
  • the inventive idea of the first, second or fourth embodiment is adopted to adjust the performance of the high speed operating block 1 , it takes a long time and high cost.
  • the performance of the high speed operating block 1 can be reliably adjusted by appropriately setting the values of the trailing edge timing setting signal SEL-NE and the leading edge timing setting signal SEL-PE, and it is not required to change the layout of the elements of the high speed operating block 1 .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Bus Control (AREA)

Abstract

The number of pulses of a clock signal CLK-A is circularly counted in a count range from “0” to “7”, and count signals indicating count values are produced. A clock signal CLK-B having a frequency lower than that of the clock signal CLK-A is produced from count signals of “3” and “7”, and data transfer between a high speed operating block operated in synchronization with the clock signal CLK-A and a low speed operating block operated in synchronization with the clock signal CLK-B is performed in synchronization with the clock signal CLK-B to receive input serial data or transmit output serial data. When a stuff bit of universal Serial Bus is detected in the input serial data or is inserted in the output serial data, a cycle of the clock signal CLK-B is lengthened by one cycle of the clock signal CLK-A.

Description

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates generally to a data transfer device used for a high speed serial communication apparatus, and more particularly to a data transfer device in which data transfer between blocks having clock domains different from each other is performed in synchronization with a clock signal.
2. Description of Related Art
FIG. 20 is a block diagram showing a conventional data transfer device arranged in a serial communication apparatus. In FIG. 20, a reference sign A indicates a high speed operating block, a reference sign B indicates a low speed operating block, and a reference sign C indicates a clock signal producing block.
Next, an operation of the conventional data transfer device will be described below.
Assuming that protocol processing or signal processing is performed for serial communication data in a high speed serial communication apparatus in synchronization with a clock signal having a frequency equal to or higher than that corresponding to a transmission rate of data, the number of gates serially placed for one cycle of the clock signal in a data transfer device is undesirably increased. Therefore, it is difficult to arrange circuit elements of the data transfer device in the high speed serial communication apparatus.
Therefore, in the data reception performed in the conventional data transfer device shown in FIG. 20, when serial communication data transmitted from the outside is received in the high speed operating block A in synchronization with a clock signal CLK-A having a frequency equal to or higher than that corresponding to a transmission rate of the serial communication data, the serial communication data is converted into parallel data, the parallel data is transferred to in the low speed operating block B, and protocol processing is generally performed for the parallel data in the low speed operating block B in synchronization with a clock signal CLK-B having a frequency lower than that corresponding to the transmission rate of the serial data.
Also, in the data transmission, most of protocol processing is performed in the low speed operating block B for each piece of parallel data, the parallel data is transferred to the high speed operating block A, the parallel data is converted into serial communication data in the high speed operating block A, minimum part of processing is performed for the serial communication data in the high speed operating block A, and the serial communication data is transmitted to the outside.
Because the conventional data transfer device has the above-described configuration, there are following problems.
Because the frequency of the clock signal CLK-A used for the operation of the high speed operating block A differs from the clock signal CLK-B used for the low speed operating block B, data transfer between the operating blocks A and B is asynchronously performed. Therefore, a countermeasure for metastable (or asynchronous data transfer) is required to perform the data transfer between the operating blocks A and B. However, in cases where the countermeasure for metastable is performed in the conventional data transfer device, a problem has arisen that the number of flip-flop circuits (or-registers) in the conventional data transfer device is undesirably increased, electric power consumed in the flip-flop circuits is undesirably increased, gate size is undesirably increased, and internal delay of data is undesirably increased.
Also, in cases where the relation between the clock signal CLK-A of the high speed operating block A and the clock signal CLK-B of the low speed operating block B is expressed according to an equation
(Frequency of clock signal CLK-A)=(Frequency of clock signal CLK-B)×(bit length of parallel data),
a clock skew between the clock signals CLK-A and CLK-B is adjusted so as to synchronize the clock signal CLK-B with the clock signal CLK-A. In this case, data transfer between the operating blocks A and B can be synchronously performed without performing the countermeasure for metastable. For example, a frequency of the clock signal CLK-A is equal to 480 MHz, a frequency of the clock signal CLK-B is equal to 60 MHz, and a bit length of parallel data is equal to 8 bits. However, it is required to adjust a clock skew between the clock signals CLK-A and CLK-B. Therefore, a problem has arisen that it takes a lot of time to design a data transfer device.
In cases where coding processing such as non-return to zero insert (NRZI) or alternation mark inversion (AMI) coding, coding processing for reception data (RX) and self-synchronization processing are performed for the serial communication data, bit stuffing processing is sometimes performed for the serial communication data for the purpose of the self-synchronization (refer to a literature of “Universal Serial Bus Specification Revision 2.0” pp. 157-158).
In a serial communication apparatus in which self-synchronization is obtained according to the bit stuffing processing, a stuff bit is removed from serial communication data in a data receiving operation, and a stuff bit is inserted into serial communication data in a data transmitting operation. Therefore, in this case, even though the countermeasure for metastable is performed or the clock skew between the clock signals CLK-A and CLK-B is adjusted, data transfer between the operating blocks A and B cannot be synchronously performed.
In the prior art, to synchronously perform data transfer between the operating blocks A and B in the serial communication apparatus in which self-synchronization is obtained according to the bit stuffing processing, following two methods are adopted.
In a first method, the transfer of parallel data RxData and TxData between the operating blocks A and B is controlled in handshaking.
In a second method, the number of stuff bits in the serial transmission data is counted. In a data receiving operation, when the counted value of the stuff bits reaches a bit length of parallel data RxData transferred from the operating block A to the operating block B, a RxValid signal for the parallel data is negated. In this case, the parallel data RxData is treated as invalid data (refer to a literature “USB2.0 Transceiver Macrocell Interface (UTMI) Specification” Ver1.05 page 23 5.6 Bit Unstuff Logic & FIG. 5). In a data transmitting operation, when the counted value of the stuff bits reaches a bit length of parallel data TxData transferred from the operating block B to the operating block A, a TxReady signal is negated to stop the transmission of parallel data TxData from a protocol processing unit of the low speed operating block A (refer to a literature “USB2.0 Transceiver Macrocell Interface (UTMI) Specification” Ver1.05 page 29 5.11 Bit Unstuff Logic & FIG. 11).
However, in these conventional methods, a counter for counting the number of stuff bits or the number of pieces of effective data is required, and logic circuits for producing control signals of data are required. In a circuit operated at a high operating frequency, it is difficult to increase the number of logic circuits placed between flip-flop circuits (or registers). Therefore, a problem has arisen that it is difficult to arrange these logic circuits in a data transfer device. Also, even though these logic circuits can be placed in a data transfer device, a problem has arisen that consumed electric power and gate size in the logic circuits are undesirably increased.
SUMMARY OF THE INVENTION
A main object of the present invention is to provide, with due consideration to the drawbacks of the conventional data transfer device, a data transfer device in which data transfer between operating blocks having clock domains different from each other is synchronously performed without the adjustment of clock skew between clock signals of the operating blocks or a countermeasure for asynchronous data transfer between the operating blocks.
Also, a subordinate object of the present invention is to provide a data transfer device in which data transfer between operating blocks having clock domains different from each other is synchronously performed in serial communication performed according to bit stuffing processing while preventing the increase of the total number of gates and the increase of the number of gates serially placed due to a countermeasure for overflow or underflow and preventing the increase of consumed electric power due to the increase of the total number of gates.
The main object is achieved by the provision of a data transfer device including a high speed operating unit operation in synchronization with a first clock signal and a low speed operating unit operation in synchronization with a second clock signal, and the high speed operating unit includes a count signal producing unit, a clock signal producing unit and a data converting unit. In the count signal producing unit, the number of pulses of the first clock is circularly counted, and count signals indicating count values are produced. In the clock signal producing unit, the second clock signal is produced according to two count signals in synchronization with the first clock signal. In the data converting unit, input serial data is converted into reception parallel data, the reception parallel data is driven in response to one count signal so as to be sampled in the low speed operating unit in synchronization with the second clock signal. Also, transmission parallel data driven in the low speed operating unit in synchronization with the second clock signal is sampled in response to one count signal, the transmission parallel data is converted into output serial data, and the output serial data is transmitted.
Therefore, a setup time from the driving operation to the sampling operation for data and a hold time from the sampling operation to the driving operation for data can be sufficiently set in the data transfer between the high speed operating unit and the low speed operating unit, and the data transfer can be reliably performed in synchronization with the second clock signal. Accordingly, the data transfer between the operating units having clock domains different from each other can be synchronously performed without the adjustment of clock skew between the first clock signals and the second clock signal or a countermeasure for asynchronous data transfer between the operating blocks.
The subordinate object is achieved by the provision of a data transfer device further including a stuff bit control signal producing unit. In the stuff bit control signal producing unit, a stuff bit control signal indicating the detection or the insertion of a stuff bit in synchronization with the first clock signal. In the count signal producing unit, the counting is stopped according to the stuff bit control signal so as to hold the count value during a time period corresponding to the stuff bit. In the data converting unit, a stuff bit is removed from the input serial data, and bit-data placed just before the stuff bit is held during a time period corresponding to the stuff bit according to the stuff bit control signal. Also, a stuff bit is inserted in the output serial data according to the stuff bit control signal.
Therefore, the cycle of the second clock is lengthened by the time period corresponding to the stuff bit when a stuff bit is detected or inserted, and the synchronous data transfer between the high speed operating unit and the low speed operating unit can be maintained. Accordingly, even though serial communication is performed according to bit stuffing processing, the data transfer between operating blocks having clock domains different from each other can be synchronously performed while preventing the increase of the total number of gates and the increase of the number of gates serially placed due to a countermeasure for overflow of the input serial data or a countermeasure for underflow of the output serial data and preventing the increase of consumed electric power due to the increase of the total number of gates.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram showing a data transfer device according to a first embodiment of the present invention;
FIG. 2 is an explanatory view of various signals used in the data transfer device shown in FIG. 1;
FIG. 3 is a circuit view of a sampling circuit shown in FIG. 1;
FIG. 4 is a circuit view of a clock signal producing block shown in FIG. 1;
FIG. 5 is a timing chart of various signals used in the data transfer device shown in FIG. 1 in a serial data receiving operation;
FIG. 6 is a timing chart of various signals used in the data transfer device shown in FIG. 1 in a serial data transmitting operation;
FIG. 7 is a block diagram of a data transfer device according to a second embodiment of the present invention;
FIG. 8 is a circuit view of a sampling circuit shown in FIG. 7;
FIG. 9 is a timing chart of various signals used in the data transfer device shown in FIG. 7 in a serial data transmitting operation;
FIG. 10 is a block diagram of a data transfer device according to a third embodiment of the present invention;
FIG. 11 is a circuit view of a sampling circuit shown in FIG. 10;
FIG. 12 is a timing chart of various signals used in the data transfer device shown in FIG. 10 in a serial data transmitting operation;
FIG. 13 is a block diagram of a data transfer device according to a fourth embodiment of the present invention;
FIG. 14 is a timing chart of various signals used in the data transfer device shown in FIG. 13 in a serial data receiving operation;
FIG. 15 is a timing chart of various signals used in the data transfer device shown in FIG. 13 in a serial data transmitting operation;
FIG. 16 is a block diagram of a data transfer device according to a fifth embodiment of the present invention;
FIG. 17 is a circuit view of a clock signal producing block shown in FIG. 16;
FIG. 18 is a timing chart of various signals used in the data transfer device shown in FIG. 17 in a serial data receiving operation;
FIG. 19 is a timing chart of various signals used in the data transfer device shown in FIG. 17 in a serial data transmitting operation; and
FIG. 20 is a block diagram showing a conventional data transfer device.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Embodiments of the present invention will now be described with reference to the accompanying drawings.
Embodiment 1
FIG. 1 is a block diagram showing a data transfer device according to a first embodiment of the present invention. In this embodiment, serial transmission of data is performed according to serial bus standards of USB (Universal Serial Bus).
In detail, in cases where six pieces of bit-data successively set to the high level (“111111”) in input serial data are received in a data transfer device, a piece of bit-data of the low level (“0”) additionally placed just after the six pieces of successive bit-data of the input serial data as a stuff bit is received in the data transfer device. That is, in the serial transmission, input serial data has a stuff bit just after each group of six pieces of bit-data successively set to the high level (“1111110”). Also, In cases where six pieces of bit-data successively set to the high level (“111111”) in output serial data are transmitted from a data transfer device, a piece of bit-data set to the low level is additionally added just after the six pieces of successive bit-data of the output serial data as a stuff bit in the data transfer device, and the output serial data including the stuff bit (“1111110”) is transmitted from the data transfer device.
In FIG. 1, a clock signal CLK-B is transmitted from a high speed operating block 1 to a low speed operating block 2 through a signal line 312, reception parallel data RxData is transmitted from the high speed operating block 1 to the low speed operating block 2 through a bus 321, and transmission parallel data TxData is transmitted from the high speed operating block 1 to the low speed operating block 2 through a bus 322. Here, control signals such as a RxValid signal, a RxActive signal and a TxReady signal transmitted between the high speed operating block 1 and the low speed operating block 2 are omitted, and drive timing of these control signals is the same as that of the reception parallel data RxData and the transmission parallel data TxData.
FIG. 2 is an explanatory view of various signals used in the data transfer device. FIG. 3 is a circuit view of a sampling circuit shown in FIG. 1. FIG. 4 is a circuit view of a clock signal producing block shown in FIG. 1. FIG. 5 is a timing chart of various signals used in the data transfer device in a serial data receiving operation. In this timing chart, pieces of 8-bit reception parallel data FF, 80, 5A and 7E are driven and sampled in that order. FIG. 6 is a timing chart of various signals used in the data transfer device in a serial data transmitting operation. In this timing chart, pieces of 8-bit transmission parallel data 80, 5A, FF and F0 are driven and sampled in that order.
In FIG. 1, 1 indicates the high speed operating block (or high speed operating unit) for receiving pieces of bit-data of input serial data SDIN from the outside in synchronization with pulses of a clock signal CLK-A (or a first clock signal) and transmitting pieces of bit-data of output serial data SDOUT to the outside in synchronization with pulses of the clock signal CLK-A. In this embodiment, the clock signal CLK-A has a frequency corresponding to a transmission rate of both the input serial data SDIN and the output serial data SDOUT. However, it is applicable that the clock signal CLK-A have a frequency corresponding to a transmission rate higher than that of both the input serial data SDIN and the output serial data SDOUT.
2 indicates the low speed operating block (or low speed operating unit) for performing protocol processing for both the reception parallel data RxData transferred from the high speed operating block 1 and the transmission parallel data TxData in synchronization with the clock signal CLK-B (or a second clock signal) having a frequency lower than that of the clock signal CLK-A, and transferring the transmission parallel data TxData to the high speed operating block 1.
12 indicates a shift register (or data converting unit) for receiving the input serial data SDIN through a bus 323 in a serial data receiving operation, converting the input serial data SDIN into 8-bit parallel data Sft-Regs[7:0], receiving the 8-bit transmission parallel data TxData[7:0] transferred from the low speed operating block 2 in a serial data transmitting operation, and converting the transmission parallel data TxData into serial data Sft-Regs[0]. In the shift register 12, a right shift is performed for the input serial data SDIN in the serial data receiving operation regardless of the value of a load enable signal Ld-En sent through a signal line 331. In the serial data transmitting operation, the transmission parallel data TxData transferred from the low speed operating block 2 is sampled when the load enable signal Ld-En is set to the high level, and a right shift is performed for the transmission parallel data TxData when the load enable signal Ld-En is set to the low level. Therefore, the transmission parallel data TxData is converted into the serial data Sft-Regs[0]. Also, in both the serial data transmitting operation and the serial data receiving operation, when a holding signal Hld set to the high level is received in the shift register 12, no shift operation is performed in the shift register 12, and a piece of bit-data of the transmission parallel data TxData and a piece of bit-data of the parallel data Sft-Regs[7:0] are held in the shift register 12 during one cycle of the clock signal CLK-A. In this embodiment, the shift register 12 is used for both the serial data transmitting operation and the serial data receiving operation. However, it is applicable that one shift register used for the serial data transmitting operation and another shift register used for the serial data receiving operation be prepared.
11 indicates a holding register (or data holding unit) for holding the parallel data Sft-Regs[7:0] until the driving operation of the parallel data Sft-Regs[7:0] and setting up the parallel data Sft-Regs[7:0] until the sampling operation. In the serial data receiving operation, when the load enable signal Ld-En is set to the high level, the parallel data Sft-Regs[7:0] sent from the shift register 12 through a bus 335 and held in the holding register 11 is driven (at the pulses C2, C10 and C19 of the clock signal CLK-A in FIG. 5), and the parallel data Sft-Regs[7:0] is set up in the holding register 11 until the parallel data Sft-Regs[7:0] is sampled in the lows peed operating block 2 as the reception parallel data RxData.
13 indicates a stuff bit detecting block (or a stuff bit control signal producing unit) for detecting a stuff bit inserted into the input serial data SDIN in the serial data receiving operation, and detecting six pieces of bit-data successively set to the high level from the serial data Sft-Regs[0] in the serial data transmitting operation. When a stuff bit is detected in the serial data receiving operation, a holding signal Hld (or a stuff bit control signal) set to the high level is output from the stuff bit detecting block 13. Also, when six pieces of bit-data successively set to the high level in the serial data Sft-Regs[0] is detected, a holding signal Hld (or a stuff bit control signal) set to the high level is output from the stuff bit detecting block 13. In the protocol of USB, for example, when six pieces of bit-data of serial data are successively set to “1”, a piece of bit-data set to “0” is necessarily added just after the six pieces of bit-data of the serial data as a stuff bit. Therefore, because the stuff bit detecting block 13 is used according to the protocol of USB, only when six pieces of bit-data of the input serial data SDIN or six pieces of bit-data of the serial data Sft-Regs[0] are successively set to “1”, the holding signal Hld is set to the high level. In other cases, the holding signal Hld is set to the low level.
16 indicates a counter (or a count signal producing unit) for counting the number of pulses of the clock signal CLK-A in case of the low level of the holding signal Hld to circularly obtain a count value in a count range from “0” to “7” corresponding to a clock cycle of the clock signal CLK-B, outputting a count signal Cnt[3] set to the high level in case of the count value of “3” and outputting a count signal Cnt[7] set to the high level in case of the count value of “7”. A range of the count value in the counter 16 depends on a width of the data bus 321, 322 between the high speed operating block 1 and the low speed operating block 2. In the first embodiment, the data bus width is set to 8 bits. Therefore, a count value starting from “0” is incremented until the count value reaches “7”, After the count value of “7”, the count value is set to “0”, and the count value is again incremented. Also, when the holding signal Hld is set to the high level, the count value is not incremented, and the count value recently obtained is held during one cycle of the clock CLK-A (corresponding to the pulse C1 of the clock CLK-A in FIG. 5 and the pulse C21 of the clock CLK-A in FIG. 6).
17 indicates a clock signal producing block (or a clock signal producing unit) for producing the clock signal CLK-B by forming a leading edge (or first edge) of each pulse according to the count signal Cnt[3] in synchronization with the clock signal CLK-A and forming a trailing edge (or a second edge) of each pulse according to the count signal Cnt[7] in synchronization with the clock signal CLK-A. The configuration of the clock signal producing block 17 is shown in FIG. 17 in detail. In FIG. 4, 161 and 163 indicate AND gates respectively. 162, 164 and 167 indicate flip-flops respectively. 165 indicates an exclusive NOR gate. 166 indicates a selector.
An operation of the clock signal producing block 17 will be described below. When the count signal Cnt[7] set to the high level and the holding signal Hld set to the low level are received in the AND gate 161, an output signal of the AND gate 161 is set to the high level, and a CLK-B trailing edge enable signal Clk-Neg-Edge set to the high level is output from the flip-flop 162 in synchronization with a leading edge of the clock signal CLK-A (pulses C1, C9 and C18 of the clock signal CLK-A in FIG. 5, and pulses C5, C13 and C22 of the clock signal CLK-A in FIG. 6). Also, when the count signal Cnt[3] set to the high level and the holding signal Hld set to the low level are received in the AND gate 163, an output signal of the AND gate 163 is set to the high level, and a CLK-B leading edge enable signal Clk-Pos-Edge set to the high level is output from the flip-flop 164 in synchronization with a leading edge of the clock signal CLK-A (pulses C5, C13 and C22 of the clock signal CLK-A in FIG. 5, and pulses C1, C9 and C17 of the clock signal CLK-A in FIG. 6). Also, when the CLK-B leading edge enable signal Clk-Pos-Edge is set to the high level, the clock signal CLK-B is set to the high level in synchronization with a leading edge of the clock signal CLK-A by the functions of the exclusive NOR gate 165, the selector 166 and the flip-flop 167 (pulses C6, C14 and C23 of the clock signal CLK-A in FIG. 5, and pulses C2, C10 and C18 of the clock signal CLK-A in FIG. 6). When the CLK-B trailing edge enable signal Clk-Neg-Edge is set to the high level, the clock signal CLK-B is set to the low level in synchronization with a leading edge of the clock signal CLK-A by the functions of the exclusive NOR gate 165, the selector 166 and the flip-flop 167 (pulses C2, C10 and C19 of the clock signal CLK-A in FIG. 5, and pulses C6, C14 and C23 of the clock signal CLK-A in FIG. 6). When the holding signal Hld is set to the low level, the timing of the count signal Cnt[3] set to the high level and the timing of the count signal Cnt[7] set to the high level differ from each other by half of the count range of the counter 16, and the leading and trailing edges of the clock signal CLK-B are alternately formed at equal intervals.
15 indicates a sampling circuit (or a load enable signal producing unit) for producing a load enable signal Ld-En which is set to the high level in response to the count signal Cnt[7] set to the high level in both the serial data transmitting operation and the serial data receiving operation. One bit-data of the parallel data Sft-Regs[7:0] output from the shift register 12 is held in the holding register 11 in response to the load enable signal Ld-En set to the high level, and the transmission parallel data TxData transferred from the low speed operational block 2 is sampled in the shift register 12 in response to the load enable signal Ld-En set to the high level.
The configuration of the sampling circuit 15 is shown in FIG. 3 in detail. In FIG. 3, 151 indicates an AND gate. 152 indicates a flip-flop. An operation of the sampling circuit 15 will be described below. Only when the count signal Cnt[7] set to the high level and the holding signal Hld set to the low level are input to the AND gate 151, the load enable signal Ld-En set to the high level is output from the flip flop 152 (pulses C1, C9 and C18 of the clock signal CLK-A in FIG. 5, and pulses C5, C13 and C22 of the clock signal CLK-A in FIG. 6).
14 indicates a stuff bit inserting block (or data converting unit) for inserting a stuff bit into the serial data sft-regs[0] in the serial data transmitting operation and outputting the serial data sft-regs[0] as the output serial data SDOUT. When the holding signal Hld set to the high level is received in the stuff bit inserting block 14, the serial data Sft-Regs[0] is compulsorily set to the low level, and the serial data Sft-Regs[0] is output as the output serial data SDOUT (a pulse C21 in FIG. 6).
Next, an operation of the data transfer device will be described below.
The count signals Cnt[0] to Cnt[7] are produced in synchronization with the clock signal CLK-A in the counter 16, and the clock signal CLK-B is formed in the clock signal producing block 17 by forming the leading edge of each pulse in response to the count signal Cnt[3] and forming the trailing edge of each pulse in response to the count signal Cnt[7]. Therefore, a cycle of the clock signal CLK-B is set to a time period of eight pulses of the clock signal CLK-A. Thereafter, the clock signal CLK-B is transmitted to the low poer operating block 2. Also, the load enable signal Ld-EN is set to the high level in the sampling circuit 15 in response to the count signal Cnt[7].
In the serial data receiving operation, when no holding signal Hld set to the high level is received in the shift register 12, the serial-parallel conversion is performed for the input serial data SDIN in the shift register 12 to produce the parallel data Sft-Regs [7:0] from the input serial data SDIN while performing the right shift for the input serial data SDIN in synchronization with the clock signal CLK-A, and the parallel data Sft-Regs [7:0] is held in the holding register 11.
Also, in the serial data transmitting operation, the parallel-serial conversion is performed in the shift register 12 for the transmission parallel data TxData transferred from the low power operating block 2 to produce the serial data Sft-Regs[0] from the transmission parallel data TxData, and the serial data Sft-Regs[0] is output as output serial data SDOUT to the bus line 324 through the stuff bit inserting block 14.
(1) When a stuff bit inserted into the input serial data SDIN is detected or a stuff bit is inserted into the serial data sft-regs[0] denoting the output serial data SDOUT, the cycle of the clock signal CLK-B at the timing of the detection or insertion of the stuff bit is lengthen by a time period (or one cycle of the clock signal CLK-A) of the detected or inserted stuff bit.
In detail, in the serial data receiving operation shown in FIG. 5, because six pieces of bit-data of the input serial data SDIN are successively set to the high level during the time period from the pulse C10 to the pulse C15 of the clock signal CLK-A, a stuff bit inserted into the input serial data SDIN is received in the high speed operating block 1 in the time period of the pulse C16 of the clock signal CLK-A. Therefore, when the stuff bit inserted into the input serial data SDIN is detected in the stuff bit detecting block 13, the holding signal Hld set to the high level is output from the stuff bit detecting block 13 to the shift register 12, the stuff bit inserting block 14, the sampling circuit 15, the counter 16 and the clock signal producing block 17 in the time period of the pulse C16 of the clock signal CLK-A, and the shift register 12, the sampling circuit 15, the counter 16 and the clock signal producing block 17 are set to the hold state respectively in the time period of the pulse C17 of the clock signal CLK-A.
Therefore, the counting operation of the counter 16 is stopped in the time period of the pulse C17, one count signal (in this embodiment, the count signal [7]) recently obtained in the time period of the pulse C16 is held in the time period of the pulse C17, and the counting operation of the counter 16 is again started from the time period of the pulse C18 of the clock signal CLK-A. In this case, a pulse repetition time period between pulses of the clock signal CLK-B corresponding to the timing of the detection of the stuff bit is lengthened by the time period corresponding to the stuff bit equal to the time period of one pulse of the clock signal CLK-A and is set to a time period of five pulses of the clock signal CLK-A (from the pulse C14 to the pulse C19 of the clock signal CLK-A). Therefore, the cycle of the clock signal CLK-B is lengthened to nine pulses of the clock signal CLK-A (from the pulse C14 to the pulse C23 of the clock signal CLK-A).
Also, the shift operation of the shift register 12 is stopped in the time period of the pulse C17 of the clock signal CLK-A. Therefore, the stuff bit placed just after the six pieces of bit-data of the input serial data SDIN is removed from the parallel data Sft-Regs [7:0], and one piece of bit-data (in this embodiment, bit-data FC) placed just before the stuff bit and recently set in the shift register 12 as one piece of bit-data of the parallel data Sft-Regs [7:0] is held in the holding register 11 as one piece of bit-data of the parallel data Sft-Regs [7:0] in the time period of the pulse C17. That is, the piece of bit-data is twice held in the holding register 11.
Therefore, in cases where the parallel data Sft-Regs [7:0] having the bit-data FC in duplication is sampled in the low power operating block 2 as the reception parallel data RxData[7:0] in synchronization with the clock signal CLK-B, because the cycle of the clock signal CLK-B is lengthened by the time period corresponding to the stuff bit equal to the time period of one pulse of the clock signal CLK-A, no bit shift occurs in the reception parallel data RxData for the clock signal CLK-B. For example, the 9 bit parallel data composed of 2D, 96, CB, E5, F2, F9, FC, FC and 7F is sampled in the low power operating block 2 as the 8-bit reception parallel data RxData[7:0] composed of 2D, 96, CB, E5, F2, F9, FC and 7F in synchronization with the clock signal CLK-B having the pulse repetition time period of nine pulses of the clock signal CLK-A.
Accordingly, even though the stuff bit is inserted into the input serial data SDIN, the reception parallel data RxData[7:0] can be processed in the low speed operating block 2 in synchronization with the clock signal CLK-B.
In the serial data transmitting operation shown in FIG. 6, six pieces of bit-data or more in the serial data Sft-Regs[0] produced from the transmission parallel data TxData in the shift register 12 are successively set to the high level in a time period starting from the pulse C14 of the clock signal CLK-A. In this case, when six pieces of bit-data of the serial data Sft-Regs[0] are successively set to the high level during the time period of the pulses C14 to C19 of the clock signal CLK-A, the holding signal Hld set to the high level is output from the stuff bit detecting block 13 to the shift register 12, the stuff bit inserting block 14, the sampling circuit 15, the counter 16 and the clock signal producing block 17 in the time period of the pulse C20 of the clock signal CLK-A to set the shift register 12, the sampling circuit 15, the counter 16 and the clock signal producing block 17 to the hold state respectively.
Thereafter, in the stuff bit inserting block 14, because the shift register 12 is set in the hold state in the time period of the pulse C20 of the clock signal CLK-A, a stuff bit of the low level is inserted at a position just after the six pieces of bit-data of the serial data Sft-Regs[0], and one piece of bit-data following the six pieces of bit-data in the trabsnission parallel data TxData is placed just after the stuff bit. As a result, the serial data Sft-Regs[0] having the stuff bit after the six pieces of bit-data of the high level is output as the output serial data SDOUT. The output serial data SDOUT has the stuff bit in the time period of the pulse C21 of the clock signal CLK-A.
Also, though the cycle of the clock signal CLK-B is normally set to a time period of eight pulses of the clock signal CLK-A, a pulse repetition time period between pulses corresponding to the timing of the insertion of the stuff bit is lengthened by the time period corresponding to the stuff bit equal to the time period of one pulse of the clock signal CLK-A, and the cycle of the clock signal CLK-B is set to a time period of nine pulses of the clock signal CLK-A in the time period from the pulse C14 to the pulse C23 of the clock signal CLK-A.
Accordingly, when nine pieces of bit-data including the stuff bit are transmitted to the bus 324 as the output serial data SDOUT, because the transmission parallel data TxData is driven in response to the leading edge of the clock signal CLK-B having the cycle lengthened to the time period of nine pulses of the clock signal CLK-A, no underflow of the output serial data SDOUT occurs due to the insertion of the stuff bit.
[2] When the reception parallel data RxData is transferred from the high speed operating block 1 to the low speed operating block 2, the reception parallel data RxData is driven in the high speed operating block 1 substantially in synchronization with each trailing edge (or second edge) of the clock signal CLK-B, and the reception parallel data RxData is sampled in the low speed operating block 2 in synchronization with each leading edge of the clock signal CLK-B. As an example, this operation is described with reference to the timing chart of the serial data receiving operation shown in FIG. 5.
As shown in FIG. 5, the count signal Cnt[7] is set to the high level (at the pulses C8 and C17 of the clock pulse CLK-A) in the counter 16, the load enable signal Ld-En is set to the high level (at the pulses C1, C9 and C18 of the clock pulse CLK-A) in the sampling circuit 15 in response to the count signal Cnt[7] set to the high level, the parallel data Sft-Regs[7:0] obtained from the input serial data SDIN in the shift register 12 is held in the holding register 11 in response to the load enable signal Ld-En set to the high level, and the reception parallel data RxData is driven in the holding register 11 in synchronization with the leading edges of the pulses C2, C10 and C19 of the clock pulse CLK-A in response to the load enable signal Ld-En set to the high level so as to set up the reception parallel data RxData. Also, in the clock producing block 17, the CLK-B trailing edge enable signal Clk-Neg-Edge is set to the high level (at the pulses C1, C9 and C18 of the clock pulse CLK-A) in response to the count signal Cnt[7] set to the high level, and the trailing edges of the clock signal CLK-B are formed at the pulses C2, C10 and C18 of the clock signal CLK-A in response to the trailing edge enable signal Clk-Neg-Edge set to the high level. Therefore, the reception parallel data RxData is driven in the high speed operating block 1 substantially in synchronization with the trailing edges of the clock signal CLK-B synchronized with the leading edges of the pulses C2, C10 and C18 of the clock signal CLK-A. Thereafter, the reception parallel data RxData driven and set up in the holding register 11 is sampled in the low speed operating block 2 in synchronization with the leading edges of the clock signal CLK-B synchronized with the leading edges of the pulses C6, C14 and C23 of the clock signal CLK-A.
In this case, the reception parallel data RxData is set up in the holding register 11 during a setup time equal to a time period 4CLK-A of four pulses of the clock signal CLK-A until the sampling operation after the reception parallel data RxData is driven substantially in synchronization with each trailing edge of the clock signal CLK-B, and the reception parallel data RxData is held in the holding register 11 during a hold time equal to the time period 4CLK-A of four pulses of the clock signal CLK-A until the driving operation after the reception parallel data RxData is sampled in synchronization with each leading edge of the clock signal CLK-B. Therefore, because the hold time from the sampling operation to the driving operation and the setup time from the driving operation to the sampling operation are sufficiently set for the reception parallel data RxData, unless the delay of the sampling of the reception parallel data RxData exceeding the time period 4CLK-A occurs, it is not required to perform a countermeasure for the asynchronous data transfer. Also, because the reception parallel data RxData is transferred from the high speed operating block 1 to the low speed operating block 2 in synchronization with the clock signal CLK-B, it is not required to adjust the clock skew between the clock signals CLK-A and CLK-B.
Accordingly, even though the adjustment of a clock skew between the clock signals CLK-A and CLK-B or a countermeasure for the asynchronous data transfer is not performed, the data transfer device can be designed so as to perform the synchronous data transfer of the reception parallel data RxData from the high speed operating block 1 to the low speed operating block 2.
[3] When the transmission parallel data TxData is transferred from the low speed operating block 2 to the high speed operating block 1, the transmission parallel data TxData is driven in the low speed operating block 2 in synchronization with each leading edge of the clock signal CLK-B, and the transmission parallel data TxData is sampled in the high speed operating block 1 substantially in synchronization with each trailing edge of the clock signal CLK-B. As an example, this operation is described with reference to the timing chart of the serial data transmitting operation shown in FIG. 6.
As shown in FIG. 6, the transmission parallel data TxData is driven in the low speed operating block 2 in response to the leading edges of the clock signal CLK-B synchronized with the leading edges of the pulses C2, C10 and C18 of the clock signal CLK-A.
Also, the count signal Cnt[7] is set to the high level in the counter 16 in the time periods of pulses C4, C12 and C21 of the clock pulse CLK-A, the load enable signal Ld-En is set to the high level in the sampling circuit 15 in response to the count signal Cnt[7] set to the high level in the time periods of pulses C5, C13 and C22 of the clock pulse CLK-A, and the transmission parallel data TxData is sampled in the high speed operating block 1 in response to the load enable signal Ld-En set to the high level. Therefore, the transmission parallel data TxData is sampled substantially in synchronization with the trailing edges of the clock signal CLK-B synchronized with the leading edges of the pulses C6, C14 and C23 of the clock signal CLK-A.
In this case, the transmission parallel data TxData is held in the low speed operating block 2 during a hold time equal to the time period 4CLK-A of four pulses of the clock signal CLK-A until the driving operation after the transmission parallel data TxData is sampled in the holding register 11 substantially in synchronization with each trailing edge of the clock signal CLK-B, and the transmission parallel data TxData is set up in the low speed operating block 2 during a setup time equal to the time period 4CLK-A of four pulses of the clock signal CLK-A until the sampling operation after the transmission parallel data TxData is driven in the low speed operating block 2 in synchronization with each leading edge of the clock signal CLK-B. Therefore, because the hold time from the sampling operation to the driving operation and the setup time from the driving operation to the sampling operation can be sufficiently set for the transmission parallel data TxData, the transmission parallel data TxData can be reliably transferred from the low speed operating block 2 to the high speed operating block 1. In this case, unless the delay of the driving of the transmission parallel data TxData exceeding the time period 4CLK-A occurs, it is not required to perform a countermeasure for the asynchronous transfer. Also, because the transmission parallel data TxData is transferred from the low speed operating block 2 to the high speed operating block 1 in synchronization with the clock signal CLK-B, it is not required to adjust the clock skew between the clock signals CLK-A and CLK-B.
Accordingly, even though the adjustment of a clock skew between the clock signals CLK-A and CLK-B or a countermeasure for the asynchronous data transfer is not performed, the data transfer device can be designed so as to perform the synchronous data transfer of the transmission parallel data TxData from the low speed operating block 2 to the high speed operating block 1.
As is described above, in the first embodiment, following effects can be obtained.
(1) The time period 4CLK-A of four pulses of the clock signal CLK-A can be obtained for the data sampling timing in the data transfer between the high speed operating block 1 and the low speed operating block 2. Accordingly, to perform the synchronous data transfer of both the reception parallel data RxData and the transmission parallel data TxData between the operating blocks 1 and 2, it is not required to perform the countermeasure for the asynchronous transfer or to adjust a clock skew between the clock signals CLK-A and CLK-B.
(2) When a stuff bit of the input serial data SDIN is detected and removed or a stuff bit is inserted into the output serial data SDOUT, the cycle of the clock signal CLK-B at the timing of the removal or insertion of the stuff bit is lengthened by the time period corresponding to the stuff bit equal to one cycle of the clock signal CLK-A. Therefore, both the reception parallel data RxData and the transmission parallel data TxData can be transferred between the operating blocks 1 and 2 in synchronization with the clock signal CLK-B. Accordingly, the increase of the number of gates and the increase of the number of gates serially placed due to the countermeasure for overflow of the transmission parallel data TxData or underflow of the reception parallel data RxData can be prevented. Also, the increase of the consumed electric power due to the increase of the number of gates can be prevented.
Embodiment 2
In the first embodiment, the transmission parallel data TxData is sampled substantially in synchronization with the trailing edges of the clock signal CLK-B, and the reception parallel data RxData is driven substantially in synchronization with the trailing edges of the clock signal CLK-B. Therefore, the sampling timing of the transmission parallel data TxData is the same as the drive timing of the reception parallel data RxData. Therefore, in the data transfer device of the first embodiment, assuming that the transmission parallel data TxData is driven after a time period equal to or longer than the time period 4CLK-A is elapsed from each leading edge of the clock signal CLK-B, the sampling of the transmission parallel data TxData cannot be performed substantially in synchronization with each trailing edge of the clock signal CLK-B and is delayed. In this case, the data transfer between the high speed operating block 1 and the low speed operating block 2 cannot be synchronously performed.
To solve this problem, for example, the enable timing of the load enable signal Ld-En is further shifted to a time lagged behind each leading edge of the clock signal CLK-B by a time period shorter than the time period 4CLK-A to change both the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData. However, in this method, though the problem for the sampling timing of the transmission parallel data TxData is solved, because a time period from the drive timing of the reception parallel data RxData to the sampling timing of the reception parallel data RxData is shortened, there is a case that the reception parallel data RxData cannot be undesirably sampled substantially in synchronization with each leading edge of the clock signal CLK-B.
Therefore, in the second embodiment, to solve the above-described problem, the sampling timing of the transmission parallel data TxData differs from the drive timing of the reception parallel data RxData. That is, the sampling timing of the transmission parallel data TxData is set according to the count signal Cnt[2], and the drive timing of the reception parallel data RxData is set according to the count signal Cnt[7] in the same manner as in the first embodiment.
FIG. 7 is a block diagram of a data transfer device according to the second embodiment of the present invention. The constituent elements, which are the same as those shown in FIG. 1, are indicated by the same reference numerals as those of the constituent elements shown in FIG. 1, and additional description of those constituent elements is omitted.
In FIG. 7, 21 indicates a holding register (or a data holding unit). In the serial data receiving operation, when the load enable signal Ld-En is set to the high level, the parallel data Sft-Regs[7:0] converted in the shift register 12 is received in the holding register 21, and the parallel data Sft-Regs[7:0] is held in the holding register 21 in the same manner as in the first embodiment. Also, in the serial data transmitting operation, values of the transmission parallel data TxData driven from the low power operating block 2 are sampled and held in the holding register 21. The transmission parallel data TxData is sampled when the load enable signal Ld-En is set to an enable state (or the high level).
22 indicates a sampling circuit (or a load enable signal producing unit) for producing a load enable signal Ld-En which is set to the high level in response to the count signal Cnt[2] in the serial data transmitting operation and is set to the high level in response to the count signal Cnt[7] in the serial data receiving operation. The parallel data Sft-Regs[7:0] output from the shift register 12 is held in the holding register 21 in response to the load enable signal Ld-En set to the high level, and the transmission parallel data TxData transferred from the low speed operational block 2 is sampled in the holding register 21 in response to the load enable signal Ld-En set to the high level.
The configuration of the sampling circuit 22 is shown in FIG. 8 in detail. In FIG. 8, 421 indicates a selector for selecting the count signal cnt[2] in the serial data transmitting operation according to a transfer mode signal SEL-RX-TX set to “0” and selecting the count signal Cnt[7] in the serial data receiving operation according to a transfer mode signal SEL-RX-TX set to “1”. The other constituent elements indicated by the same reference numerals as those in FIG. 3 are the same as those shown in FIG. 3.
An operation of the sampling circuit 22 will be described below. The enable timing (or high level timing) of the load enable signal Ld-En in the serial data transmitting operation differs from that in the serial data receiving operation. In the sampling circuit 15 of the first embodiment, when both the high level of the count signal Cnt[7] and the low level of the holding signal Hld are satisfied, the load enable signal Ld-En is set to the high level in both the transmitting and receiving operations. In contrast, in the sampling circuit 22 of the second embodiment, the count signal Cnt[7] is selected in the serial data receiving operation and is input to the AND gate 151, and the count signal Cnt[2] is selected in the serial data transmitting operation and is input to the AND gate 151. Therefore, the load enable signal Ld-En is set to the high level in the serial data receiving operation when both the high level of the count signal Cnt[7] and the low level of the holding signal Hld are satisfied, and the load enable signal Ld-En is set to the high level in the serial data transmitting operation when both the high level of the count signal Cnt[2] and the low level of the holding signal Hld are satisfied.
Also, the sampling circuit 22 has a function for producing a shift enable signal Sft-En. In the serial data transmitting operation, the shift enable signal Sft-En is set to the low level in response to the count signal Cnt[3] set to the high level (or the count value of “3”) when the holding signal Hld is set to the low level, and the shift enable signal Sft-En is set to the high level when the count signal Cnt[3] is set to the low level due to the count value other than “3”. When the holding signal Hld is set to the high level, the level of the shift enable signal Sft-En is not changed, and the level of the shift enable signal Sft-En set just before the setting of the high level of the holding signal Hld is held. In contrast, in the serial data receiving operation, the shift enable signal Sft-En is always set to the high level.
Next, an operation of the data transfer device will be described below.
An operation of the data transfer device in the serial data receiving operation is the same as that in the first embodiment. In contrast, in the serial data transmitting operation of the second embodiment, the transmission parallel data TxData is not directly fetched (or sampled) from the low speed operating block 2 to the shift register 12 but is fetched to the holding register 21. The transmission parallel data TxData fetched to the holding register 21 is fetched from the holding register 21 to the shift register 12 in response to the shift enable signal Sft-En set to the low level.
FIG. 9 is a timing chart of various signals showing the serial data transmitting operation of the data transfer device.
In the serial data transmitting operation, the transmission parallel data TxData is driven in the low speed operating block 2 in synchronization with each leading edge of the clock signal CLK-B in the same manner as in the first embodiment. The leading edges of the clock signal CLK-B are synchronized with the leading edges of the pulses C2, C10 and c19 of the clock signal CLK-A. Also, the load enable signal Ld-En is changed to the high level in response to the count value of “2” (the high level of the count signal Cnt[2]) obtained in the counter 16. The load enable signal Ld-En is set to the high level in response to the pulses C8 and c16 of the clock signal CLK-A. Therefore, the transmission parallel data TxData is sampled in the holding register 21 after a time period 7CLK-A of seven pulses of the clock signal CLK-A is elapsed from each leading edge of the clock signal CLK-B. The transmission parallel data TxData is sampled in response to the leading edges of the pulses C1, C9 and C17 of the clock signal CLK-A.
Also, the shift enable signal Sft-En is set to the low level in the time periods of the pulses C1, C9 and C17 of the clock signal CLK-A in response to the count signal Cnt[3] set to the high level. The transmission parallel data TxData sampled in the holding register 21 is sent to the shift register 12 in response to the shift enable signal Sft-En set to the low level in the sampling circuit 22. Thereafter, the shift enable signal Sft-En is changed to the high level, the right shift for the transmission parallel data TxData is performed in the shift register 12 in response to the shift enable signal Sft-En set to the high level, and serial data Sft-Regs[0] are produced from the transmission parallel data TxData. Thereafter, in the same manner as in the first embodiment, the output serial data SDOUT produced from serial data Sft-Regs[0] is transmitted to the bus 324.
As is described above, following effects can be obtained in the second embodiment.
Because the enable timing of the load enable signal Ld-En in the serial data transmitting operation differs from that in the serial data receiving operation, the sampling timing of the transmission parallel data TxData transferred from the low speed operating block 2 to the high speed operating block 1 can be appropriately set, and the drive timing of the reception parallel data RxData transferred from the high speed operating block 1 to the low speed operating block 2 can be appropriately set. Therefore, even though the transmission parallel data TxData is driven in the low speed operating block 2 after a time period equal to or longer than the time period 4CLK-A is elapsed from each leading edge of the clock signal CLK-B, the transmission parallel data TxData can be reliably sampled in the high speed operating block 1. Accordingly, it is not required to perform the countermeasure for the asynchronous data transfer or to adjust a clock skew between the clock signals CLK-A and CLK-B.
In the second embodiment, the transmission parallel data TxData is not directly fetched from the low speed operating block 2 to the shift register 12 but is fetched to the holding register 21. However, it is applicable that the transmission parallel data TxData be directly fetched from the low speed operating block 2 to the shift register 12. In this case, the shift enable signal Sft-En is not required.
Also, in the second embodiment, though the enable timing of the load enable signal Ld-En in the serial data transmitting operation differs from that in the serial data receiving operation, the load enable signal Ld-En is used in common for both the serial data transmitting operation and the serial data receiving operation. However, it is applicable that both a transmission load enable signal for the serial data transmitting operation and a reception load enable signal for the serial data receiving operation be used on condition that the enable timing of the transmission load enable signal differs from that of the reception load enable signal.
Embodiment 3
In the first and second embodiments, after the manufacturing of the data transfer device, the sampling timing of the transmission parallel data TxData determined due to the count signal Cnt[7] or Cnt[2] is fixed with respect to the clock signal CLK-B, and the drive timing of the reception parallel data RxData determined due to the count signal Cnt[7] is fixed with respect to the clock signal CLK-B. In contrast, the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData are arbitrarily changed according to a selection signal set in a software architecture or set at an external terminal.
FIG. 10 is a block diagram of a data transfer device according to the third embodiment of the present invention. The constituent elements, which are the same as those shown in FIG. 7, are indicated by the same reference numerals as those of the constituent elements shown in FIG. 7, and additional description of those constituent elements is omitted.
In FIG. 10, 31 indicates a sampling circuit (or a load enable signal producing unit) for producing a load enable signal Ld-En which is set to the high level in response to the count signal Cnt[0], Cnt[1], Cnt[2], Cnt[3], Cnt[4], Cnt[5] or Cnt[6] in the serial data transmitting operation and is set to the high level in response to the count signal Cnt[7] in the serial data receiving operation. The parallel data Sft-Regs[7:0] output from the shift register 12 is held in the holding register 21 in response to the load enable signal Ld-En set to the high level, and the transmission parallel data TxData transmitted from the low speed operational block 2 is sampled in the holding register 21 in response to the load enable signal Ld-En set to the high level.
The configuration of the sampling circuit 31 is shown in FIG. 11 in detail. In FIG. 11, 711 indicates a selector for selecting the count signal Cnt[0], Cnt[1], Cnt[2], Cnt[3], Cnt[4], Cnt[5], Cnt[6] or Cnt[7] according to a value of an enable timing setting signal (or selection signal) SEL-CNT set in a software architecture or set at an external terminal. The other constituent elements indicated by the same reference numerals as those in FIG. 8 are the same as those shown in FIG. 8.
Next, an operation of the data transfer device will be described below.
FIG. 12 is a timing chart of various signals used in the data transfer device in the serial data transmitting operation. In the timing chart shown in FIG. 12, the sampling timing of the transmission parallel data TxData is, for example, determined due to the count signal Cnt[1].
In the serial data transmitting operation, the enable timing setting signal SEL-CNT indicating the value of “1” is set according to a software architecture or is set at an external terminal, and the enable timing setting signal SEL-CNT indicating the value of “1” is input to the selector 711. In this case, the count signal Cnt[1] is selected in the selector 711, and the load enable signal Ld-En is set to the high level in response to the count signal Cnt[1] set to the high level. Therefore, the transmission parallel data TxData is sampled in the holding register 21 after a time period 6CLK-A of six pulses of the clock signal CLK-A is elapsed from each leading edge of the clock signal CLK-B. The transmission parallel data TxData is, for example, sampled in response to the leading edges of the pulses C8 and C16 of the clock signal CLK-A in cases where the clock signal CLK-B has the leading edges synchronized with the leading edges of the pulses C2 and C10 of the clock signal CLK-A.
Also, in another example, the enable timing setting signal SEL-CNT indicating the value of “2” is set according to the software architecture or is set at the external terminal, and the enable timing setting signal SEL-CNT indicating the value of “2” is input to the selector 711. In this case, the count signal Cnt[2] is selected in the selector 711, and the load enable signal Ld-En is set to the high level in response to the count signal Cnt[2] set to the high level. Therefore, in the same manner as in the second embodiment (shown in FIG. 9), the transmission parallel data TxData is sampled in the holding register 21 after the time period 7CLK-A of seven pulses of the clock signal CLK-A is elapsed from each leading edge of the clock signal CLK-B.
As is described above, following effects can be obtained in the third embodiment. Because the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData can be arbitrarily set according to the enable timing setting signal SEL-CNT set in the software architecture or set at the external terminal, the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData can be changed after the manufacturing of the data transfer device. For example, after the data transfer device is arranged on a large scale integrated circuit, there is a trouble that the data transfer synchronized with the clock signal CLK-B cannot be performed between the high speed operating block 1 and the low speed operating block 2 due to the difference between an expected delay and an actual delay of data. Even though this trouble occurs, because the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData can be arbitrarily changed according to the enable timing setting signal SEL-CNT set in the software architecture or set at the external terminal, the data transfer synchronized with the clock signal CLK-B can be reliably performed between the high speed operating block 1 and the low speed operating block 2.
In the third embodiment, the transmission parallel data TxData is not directly fetched from the low speed operating block 2 to the shift register 12 but is fetched to the holding register 21. However, it is applicable that the transmission parallel data TxData be directly fetched from the low speed operating block 2 to the shift register 12 in the same manner as in the first embodiment by replacing the sampling circuit 31 with the sampling circuit 15 of the first embodiment. In this case, no enable timing setting signal SEL-CNT is used.
Embodiment 4
In the second and third embodiments, the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData for the clock signal CLK-B are adjusted by changing the enable timing of the load enable signal Ld-En for the clock signal CLK-B. Therefore, the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData differ from the timing of the leading and trailing edges of the clock signal CLK-B. In other words, because the leading edges of the clock signal CLK-B and the trailing edges of the clock signal CLK-B are formed in response to the count value of “3” (the high level of the count signal Cnt[3]) and the count value of “7” (the high level of the count signal Cnt[7]) respectively, the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData for the clock signal CLK-B are adjusted by changing the count signal determining the enable timing of the load enable signal Ld-En to an appropriate count signal.
In contrast, in the fourth embodiment, the timing of the leading edges of the clock signal CLK-B and the trailing edges of the clock signal CLK-B for the clock signal CLK-B are adjusted while the enable timing of the load enable signal Ld-En is set according to the count signal Cnt[7] in the same manner as in the first embodiment, and the sampling timing of the transmission parallel data TxData and the drive timing of the reception parallel data RxData for the clock signal CLK-B are adjusted to shorten or lengthen the time period from the drive timing of the reception parallel data RxData to the sampling timing of the reception parallel data RxData and to lengthen or shorten the time period from the drive timing of the transmission parallel data TxData to the sampling timing of the transmission parallel data TxData.
For example, a time period 4CLK-A from the timing of the leading edge of the clock signal CLK-B to the sampling timing of the transmission parallel data TxData is insufficient in a data transfer device arranged on a type of large scale integrated circuit, and a time period 4CLK-A from the drive timing of the reception parallel data RxData to the timing of the leading edge of the clock signal CLK-B is sufficient in the data transfer device arranged on the type of large scale integrated circuit. In this case, the data transfer device according to the fourth embodiment is designed to shorten the time period from the drive timing of the reception parallel data RxData to the sampling timing of the reception parallel data RxData and to lengthen the time period from the drive timing of the transmission parallel data TxData to the sampling timing of the transmission parallel data TxData.
FIG. 13 is a block diagram of a data transfer device according to the fourth embodiment of the present invention. The constituent elements, which are the same as those shown in FIG. 1, are indicated by the same reference numerals as those of the constituent elements shown in FIG. 1, and additional description of those constituent elements is omitted.
In FIG. 13, the count signal Cnt[2] and the count signal Cnt[6] are input to the clock signal producing block 17 in place of the count signal Cnt[3] and the count signal Cnt[7] used in the first embodiment.
Next, an operation of the data transfer device will be described below.
FIG. 14 is a timing chart of various signals showing the serial data receiving operation of the data transfer device. FIG. 15 is a timing chart of various signals showing the serial data transmitting operation of the data transfer device.
In contrast to the first embodiment in which the leading edges of the clock signal CLK-B and the trailing edges of the clock signal CLK-B are formed in response to the count value of “3” and the count value of “7”, in the fourth embodiment, the leading edges of the clock signal CLK-B and the trailing edges of the clock signal CLK-B are formed in response to the count value of “2” and the count value of “6”. Also, the load enable signal Ld-En is set to the enable state in response to the count value of “7”. Therefore, in the fourth embodiment, the timing of the leading and trailing edges of the clock signal CLK-B for the enable timing of the load enable signal Ld-En is earlier than that in the first embodiment by one pulse of the clock signal CLK-A.
For example, as shown in FIG. 14, in cases where the reception parallel data RxData is driven in response to each of the pulses C2, C10 and C19 of the clock signal CLK-A later than the leading edges of the clock signal CLK-B by one pulse of the clock signal CLK-A, because the reception parallel data RxData is sampled in the low speed operating block 2 in synchronization with each leading edge of the clock signal CLK-B, the sampling timing of the reception parallel data RxData is placed after three pulses (or three cycles) of the clock signal CLK-A from the drive timing of the reception parallel data RxData. That is, the reception parallel data RxData is sampled at the pulses C5, C13 and C22 of the clock signal CLK-A.
Also, as shown in FIG. 15, the transmission parallel data TxData is driven in synchronization with the leading edges of the clock signal CLK-B synchronized with the leading edges of the pulses C1, C9 and C17 of the clock signal CLK-A respectively. In this case, because the timing of the trailing edges of the clock signal CLK-B is earlier than the enable timing of the load enable signal Ld-En by one pulse of the clock signal CLK-A, in cases where no holding signal set to the high level is received in the sampling circuit 15 in a time period from the drive timing of the transmission parallel data TxData to the sampling timing of the transmission parallel data TxData, the sampling timing of the transmission parallel data TxData sampled in response to the load enable signal Ld-En set to the high level is placed after five pulses (or five cycles) of the clock signal CLK-A from the drive timing of the transmission parallel data TxData. That is, the sampling timing of the transmission parallel data TxData is synchronized with the leading edges of the pulses C6 and C14 of the clock signal CLK-A. In cases where the holding signal set to the high level is received in the sampling circuit 15 in a time period from the drive timing of the transmission parallel data TxData to the sampling timing of the transmission parallel data TxData, because one stuff bit is inserted into the transmission parallel data TxData in the stuff bit inserting block 14 during one pulse of the clock signal CLK-A, the sampling timing of the transmission parallel data TxData is placed after six pulses (or six cycles) of the clock signal CLK-A from the drive timing of the transmission parallel data TxData. That is, the sampling timing of the transmission parallel data TxData is synchronized with the leading edge of the pulse C23 of the clock signal CLK-A.
In the fourth embodiment, the set of count signals Cnt[2] and Cnt[6] (the count value of “2” and the count value of “6”) are used in the clock signal producing block 17 to set the timing of the leading edges of the clock signal CLK-B and the timing of the trailing edges of the clock signal CLK-B. However, it is applicable that a set of count signals Cnt[1] and Cnt[5] or a set of count signals Cnt[0] and Cnt[4] be used in the clock signal producing block 17 to set the timing of the leading edges of the clock signal CLK-B and the timing of the trailing edges of the clock signal CLK-B. In this case, the timing of the leading and trailing edges of the clock signal CLK-B is earlier than the enable timing of the load enable signal Ld-En by two or three pulses of the clock signal CLK-A.
As is described above, following effects can be obtained in the fourth embodiments. Even though the time period 4CLK-A from the timing of the leading edge of the clock signal CLK-B to the sampling timing of the transmission parallel data TxData is insufficient for the data transfer of the transmission parallel data TxData synchronized with the clock signal CLK-B, in cases where the time period 4CLK-A from the drive timing of the reception parallel data RxData to the timing of the leading edge of the clock signal CLK-B is sufficient for the data transfer of the reception parallel data RxData synchronized with the clock signal CLK-B, the timing of the leading and trailing edges of the clock signal CLK-B for the enable timing of the load enable signal Ld-En is advanced as compared with in the first embodiment. Accordingly, even though the time period 4CLK-A from the timing of the leading edge of the clock signal CLK-B to the sampling timing of the transmission parallel data TxData is insufficient, the synchronization data transfer between the high speed operating block 1 and the low speed operating block 2 can be reliably performed while removing or inserting the stuff bit from/into the reception parallel data RxData or the transmission parallel data TxData.
In the fourth embodiment, the timing of the leading and trailing edges of the clock signal CLK-B for the enable timing of the load enable signal Ld-En is advanced as compared with in the first embodiment. However, it is applicable that the timing of the leading and trailing edges of the clock signal CLK-B for the enable timing of the load enable signal Ld-En is delayed as compared with in the first embodiment by using the count value of “4” and the count value of “0” in the clock signal producing block 17 to set the timing of the leading edges of the clock signal CLK-B and the timing of the trailing edges of the clock signal CLK-B.
Also, in the fourth embodiment, the enable timing of the load enable signal Ld-En is set according to the count signal Cnt[7] in both the serial data receiving and transmitting operations. However, in the same manner as in the second embodiment, it is applicable that the count signal for setting the enable timing of the load enable signal Ld-En in the serial data receiving operation differ from that in the serial data transmitting operation. In this case, the time period from the drive timing of the reception parallel data RxData to the sampling timing of the reception parallel data RxData and the time period from the drive timing of the transmission parallel data TxData to the sampling timing of the transmission parallel data TxData can be independently and precisely set.
Embodiment 5
The timing of the leading and trailing edges of the clock signal CLK-B set according to the count signal Cnt[3] and the count signal Cnt[7] in the first embodiment cannot be changed after the manufacturing of the data transfer device. Also, the timing of the leading and trailing edges of the clock signal CLK-B set according to the count signal Cnt[2] and the count signal Cnt[6] in the fourth embodiment cannot be changed after the manufacturing of the data transfer device.
In contrast, in a fifth embodiment, the timing of the leading and trailing edges of the clock signal CLK-B is set so as to be adjustable according to a selection signal set in a software architecture or set at an external terminal after the manufacturing of a data transfer device.
FIG. 16 is a block diagram of a data transfer device according to the fifth embodiment of the present invention. The constituent elements, which are the same as those shown in FIG. 1, are indicated by the same reference numerals as those of the constituent elements shown in FIG. 1, and additional description of those constituent elements is omitted.
In FIG. 16, 51 indicates a clock signal producing block (or a clock signal producing unit) for producing a clock signal CLK-B according to the count signal Cnt[0:7], the clock signal CLK-A, a CLK-B leading edge timing setting signal SEL-PE and a CLK-B trailing edge timing setting signal SEL-NE. Each of both the leading edge timing setting signal SEL-PE and the trailing edge timing setting signal SEL-NE is set to a value of “0”, “1”, “2”, “3”, “4”, “5”, “6” or “7”. The signal is readable and writable in a register according to a software architecture, or the signal is set at an external terminal.
The configuration of the clock signal producing block 51 is shown in FIG. 17 in detail. In FIG. 17, 510 indicates a selector for selecting the count signal Cnt[0], Cnt[l], Cnt[2], Cnt[3], Cnt[4], Cnt[5], Cnt[6] or Cnt[7] according to the value of the trailing edge timing setting signal SEL-NE. 511 indicates a selector for selecting the count signal Cnt[0], Cnt[l], Cnt[2], Cnt[3], Cnt[4], Cnt[5], Cnt[6] or Cnt[7] according to the value of the leading edge timing setting signal SEL-PE. The count signal selected in the selector 510 is input to the AND gate 161, and the count signal selected in the selector 511 is input to the AND gate 163. The other constituent elements indicated by the same reference numerals as those in FIG. 4 are the same as those shown in FIG. 4.
Next, an operation of the data transfer device will be described below.
FIG. 18 is a timing chart of various signals used in the serial data receiving operation of the data transfer device. FIG. 19 is a timing chart of various signals used in the serial data transmitting operation of the data transfer device. To obtain the timing charts shown in FIG. 18 and FIG. 19, the leading edge timing setting signal SEL-PE is set to the value of “0” to input the count signal Cnt[0] to the AND gate 163, and the trailing edge timing setting signal SEL-NE is set to the value of “4” to input the count signal Cnt[4] to the AND gate 161.
In this case, in the serial data receiving operation shown in FIG. 18, the holding signal Hld is set to the high level at the pulse C16, the count signal Cnt[0] is set to the high level at the pulses C1, C9 and C18 of the clock signal CLK-A, the count signal Cnt[4] is set to the high level at the pulses C5, C13 and C22 of the clock signal CLK-A, the leading enable signal Clk-Pos-Edge is set to the high level in response to the count signal Cnt[0] at the pulses C2, C10 and C19 of the clock signal CLK-A, the trailing enable signal Clk-Neg-Edge is set to the high level in response to the count signal Cnt[4] at the pulses C6, C14 and C23 of the clock signal CLK-A, the leading edges of the clock signal CLK-B synchronized with the leading edges of the pulses C3, C11 and C20 of the clock signal CLK-A are formed in response to the leading enable signal Clk-Pos-Edge, and the trailing edges of the clock signal CLK-B synchronized with the leading edges of the pulses C7, C15 and C24 of the clock signal CLK-A are formed in response to the trailing enable signal Clk-Neg-Edge.
Also, in the serial data transmitting operation shown in FIG. 19, the holding signal Hld is set to the high level at the pulse C22, the count signal Cnt[0] is set to the high level at the pulses C7, C15 and C24 of the clock signal CLK-A, the count signal Cnt[4] is set to the high level at the pulses C3, C11 and C19 of the clock signal CLK-A, the leading edges of the clock signal CLK-B synchronized with the leading edges of the pulses C1, C9 and C17 of the clock signal CLK-A are formed, and the trailing edges of the clock signal CLK-B synchronized with the leading edges of the pulses C5, C13 and C21 of the clock signal CLK-A are formed.
In this case, in the serial data receiving operation shown in FIG. 18, because the load enable signal Ld-En is set to the high level at the pulses C1, C9 and C18 of the clock signal CLK-A in response to the count signal Cnt[7], the drive timing of the reception parallel data RxData is synchronized with the leading edges of the pulses C2, C10 and C19 of the clock signal CLK-A, and the sampling timing of the reception parallel data RxData synchronized with the leading edges of the clock signal CLK-B is synchronized with the leading edges of the pulses C3, C11 and C20 of the clock signal CLK-A. Therefore, each sampling timing of the reception parallel data RxData is later than the drive timing of the reception parallel data RxData by one pulse of the clock signal CLK-A.
Also, in the serial data transmitting operation shown in FIG. 19, because the load enable signal Ld-En is set to the high level at the pulses C7, C15 and C24 of the clock signal CLK-A in response to the count signal Cnt[7], the sampling timing of the transmission parallel data TxData is synchronized with the leading edges of the pulses C8, C16 and C25 of the clock signal CLK-A in response to the load enable signal Ld-En, and the drive timing of the transmission parallel data TxData synchronized with the leading edges of the clock signal CLK-B is synchronized with the leading edges of the pulses C1, C9 and C17 of the clock signal CLK-A. Therefore, in cases where no holding signal is produced in the stuff bit detecting block 13 in a time period from the drive timing of the transmission parallel data TxData to the corresponding sampling timing of the transmission parallel data TxData, the sampling timing of the transmission parallel data TxData is later than the drive timing of the transmission parallel data TxData by the time period 7CLK-A of seven pulses of the clock signal CLK-A. Also, in cases where the holding signal is produced in the stuff bit detecting block 13 in a time period from the drive timing of the transmission parallel data TxData to the corresponding sampling timing of the transmission parallel data TxData, the sampling timing of the transmission parallel data TxData is later than the drive timing of the transmission parallel data TxData by a time period 8CLK-A of eight pulses of the clock signal CLK-A.
In the fifth embodiment, because the reception parallel data RxData is sampled after one pulse (or one cycle) of the clock signal CLK-A from the setting-up of the reception parallel data RxData in the holding register 11, a set-up time period of the reception parallel data RxData in the holding register 11 is not sufficient when the data transfer device is used for a type of large scale integrated circuit. In this case, the inventive idea of the second or third embodiment is combined with that of the fifth embodiment, and the set-up time period of the reception parallel data RxData is set to be sufficient regardless of the type of large scale integrated circuit.
Here, in cases where the trailing edge timing setting signal SEL-NE set to a value of “6” and the leading edge timing setting signal SEL-PE set to a value of “2” are input to the AND gates 161 and 163 respectively, the data transfer device is operated in the same manner as in the fourth embodiment.
As is described above, following effects can be obtained in the fifth embodiment.
Because the values of the trailing edge timing setting signal SEL-NE and the leading edge timing setting signal SEL-PE are set according to the software architecture or at the external terminal, the timing of the leading and trailing edges of the clock signal CLK-B can be changed after the manufacturing of the data transfer device.
For example, the high speed operating block 1 is manufactured while fixing a layout of the elements of the high speed operating block 1, and the low speed operating block 2 is manufactured while changeably setting a layout of the elements of the low speed operating block 2, and the data transfer devices are used for various types of large scale integrated circuits respectively. In this case, data delay in the low speed operating block 2 depends on process and/or technology of the type of large scale integrated circuit. Therefore, it is required to appropriately set an interface between the high speed operating block 1 and the low speed operating block 2 for each type of large scale integrated circuit, and it is required to adjust the performance of the high speed operating block 1 to compensate the timing delay in the interface between the high speed operating block 1 and the low speed operating block 2. In this case, assuming that the inventive idea of the first, second or fourth embodiment is adopted to adjust the performance of the high speed operating block 1, it takes a long time and high cost. However, in cases where the inventive idea of the fifth embodiment is adopted, the performance of the high speed operating block 1 can be reliably adjusted by appropriately setting the values of the trailing edge timing setting signal SEL-NE and the leading edge timing setting signal SEL-PE, and it is not required to change the layout of the elements of the high speed operating block 1.

Claims (15)

1. A data transfer device, comprising:
a high speed operating unit for receiving input serial data in a data receiving operation in synchronization with a first clock signal having a frequency corresponding to a high transmission speed, converting the input serial data into reception parallel data, and transmitting output serial data in a data transmitting operation in synchronization with the first clock signal; and
a low speed operating unit for receiving the reception parallel data transferred from the high speed operating unit in synchronization with a second clock signal having a frequency lower than that of the first clock signal and transferring transmission parallel data to the high speed operating unit in synchronization with the second clock signal,
wherein the high speed operating unit comprises:
a count signal producing unit for circularly counting the number of pulses of the first clock signal in a count range corresponding to a prescribed clock cycle, and producing a plurality of count signals indicating count values currently obtained so as to include both a first count signal indicating a first count value and a second count signal indicating a second count value;
a clock signal producing unit for producing the second clock signal by forming a first edge of each pulse in response to the first count signal produced by the count signal producing unit in synchronization with the first clock signal and forming a second edge of each pulse in response to the second count signal produced by the count signal producing unit in synchronization with the first clock signal, and transmitting the second clock signal to the low speed operating unit; and
a data converting unit for receiving the input serial data in synchronization with the first clock signal in the serial data receiving operation, converting the input serial data into the reception parallel data in synchronization with the first clock signal, driving the reception parallel data in response to one of the count signals produced by the count signal producing unit so as to sample the reception parallel data in the low speed operating unit in synchronization with the second clock signal, sampling the transmission parallel data, which is driven by the low speed operating unit in synchronization with the second clock signal in the serial data transmitting operation, in response to one of the count signals produced by the count signal producing unit, converting the transmission parallel data into the output serial data in synchronization with the first clock signal, and transmitting the output serial data in synchronization with the first clock signal.
2. A data transfer device according to claim 1, wherein the count signal relating to the driving of the reception parallel data performed by the data converting unit in the serial data receiving operation is the same as the count signal relating to the sampling of the transmission parallel data performed by the data converting unit in the serial data transmitting operation.
3. A data transfer device according to claim 2, wherein the count signal relating to both the driving of the reception parallel data and the sampling of the transmission parallel data is the same as the second count signal produced by the count signal producing unit.
4. A data transfer device according to claim 2, wherein the count signal relating to both the driving of the reception parallel data and the sampling of the transmission parallel data differs from the second count signal produced by the count signal producing unit.
5. A data transfer device according to claim 1, wherein the clock signal producing unit comprises:
a selector for selecting one pair of count signals indicating one pair of count values from the count signals produced by the count signal producing unit according to a selection signal set in a software architecture or at an external terminal; and
a clock signal producing circuit for receiving the count signals selected by the selector as both the first clock signal and the second clock signal and producing the second clock signal from the count signals.
6. A data transfer device according to claim 5, wherein the count values of the count signals selected by the selector are different from each other by half of the number of pulses of the first clock signal existing in the prescribed clock cycle.
7. A data transfer device according to claim 1, further comprising a load enable signal producing unit for producing a load enable signal in response to one of the count signals produced by the count signal producing unit in synchronization with the first clock signal in the serial data receiving operation and producing a load enable signal one of the count signals produced by the count signal producing unit in synchronization with the first clock signal in the serial data transmitting operation, wherein the reception parallel data is driven by the data converting unit in response to the load enable signal in the serial data receiving operation, and the transmission parallel data is sampled by the data converting unit in response to the load enable signal in the serial data transmitting operation.
8. A data transfer device according to claim 7, wherein the load enable signal producing unit comprises a selector for selecting the count signal relating to the production of the load enable signal from the count signals produced by the count signal producing unit according to a selection signal which is set according to a software architecture or at an external terminal.
9. A data transfer device according to claim 1, wherein the second count value of the second count signal produced by the count signal producing unit is counted after the passage of a time period corresponding to half of the prescribed clock cycle from the counting of the first count of the first count signal.
10. A data transfer device according to claim 1, wherein the count signal relating to the driving of the reception parallel data performed by the data converting unit in the serial data receiving operation is the same as the second count signal produced by the count signal producing unit, and the count signal relating to the sampling of the transmission parallel data performed by the data converting unit in the serial data transmitting operation differs from the second count signal produced by the count signal producing unit.
11. A data transfer device according to claim 1, wherein the drive timing of the data converting unit for the reception parallel data is coincident with the timing of the second edge of each pulse of the second clock signal, the reception parallel data driven by the data converting unit is sampled by the low speed operating unit in synchronization with the first edge of each pulse of the second clock signal, the transmission parallel data is driven by the low speed operating unit in synchronization with the first edge of each pulse of the second clock signal, and the sampling timing of the data converting unit for the transmission parallel data driven by the low speed operating unit is coincident with the timing of the second edge of each pulse of the second clock signal.
12. A data transfer device according to claim 1, further comprising a data holding unit for holding the transmission parallel data transferred from the low speed operating unit, wherein the data converting unit includes a shift register for receiving the transmission parallel data held in the data holding unit in response to a shift enable signal set to a first level, converting the transmission parallel data into the output serial data in response to the shift enable signal set to a second level, and transmitting the output serial data in synchronization with the first clock signal.
13. A data transfer device, comprising:
a high speed operating unit for receiving input serial data in a data receiving operation in synchronization with a first clock signal having a frequency corresponding to a high transmission speed, converting the input serial data into reception parallel data, and transmitting output serial data in a data transmitting operation in synchronization with the first clock signal; and
a low speed operating unit for receiving the reception parallel data transferred from the high speed operating unit in synchronization with a second clock signal having a frequency lower than that of the first clock signal and transferring transmission parallel data to the high speed operating unit in synchronization with the second clock signal,
wherein the high speed operating unit comprises:
a stuff bit control signal producing unit for producing a stuff bit control signal indicating the detection of a stuff bit in synchronization with the first clock signal in the serial data receiving operation in a case where a stuff bit following a prescribed number of pieces of bit-data of the input serial data successively set to a fixed value is detected, and producing a stuff bit control signal indicating the insertion of a stuff bit in synchronization with the first clock signal in the serial data transmitting operation in a case where a prescribed number of pieces of bit-data of the output serial data successively set to the fixed value is detected in the output serial data;
a count signal producing unit for circularly counting the number of pulses of the first clock signal in a count range corresponding to a prescribed clock cycle, stopping the counting so as to hold the count value recently obtained during a time period corresponding to the stuff bit according to the stuff bit control signal produced by the stuff bit control signal producing unit in both the serial data receiving operation and the serial data transmitting operation, and producing a plurality of count signals indicating count values currently obtained so as to include both a first count signal indicating a first count value and a second count signal indicating a second count value;
a clock signal producing unit for producing the second clock signal by forming a first edge of each pulse in response to the first count signal produced by the count signal producing unit in synchronization with the first clock signal and forming a second edge of each pulse in response to the second count signal produced by the count signal producing unit in synchronization with the first clock signal, and transmitting the second clock signal to the low speed operating unit; and
a data converting unit for receiving the input serial data in synchronization with the first clock signal in the serial data receiving operation, removing the stuff bit from the input serial data according to the stuff bit control signal produced by the stuff bit control signal producing unit in the serial data receiving operation, converting the input serial data into the reception parallel data in synchronization with the first clock signal, driving the reception parallel data in response to one of the count signals produced by the count signal producing unit so as to sample the reception parallel data in the low speed operating unit in synchronization with the second clock signal, sampling the transmission parallel data, which is driven by the low speed operating unit in synchronization with the second clock signal in the serial data transmitting operation, in response to one of the count signals produced by the count signal producing unit, converting the transmission parallel data into the output serial data in synchronization with the first clock signal, inserting a stuff bit just after the prescribed number of pieces of bit-data of the output serial data successively set to the fixed value according to the stuff bit control signal produced by the stuff bit control signal producing unit in the serial data transmitting operation, and transmitting the output serial data in synchronization with the first clock signal.
14. A data transfer device according to claim 13, wherein a cycle of the second clock signal produced by the clock signal producing unit is set to the prescribed clock cycle in a case where no stuff bit is detected in the serial data receiving operation by the stuff bit control signal producing unit or a prescribed number of pieces of bit-data of the output serial data successively set to the fixed value is not detected in the serial data transmitting operation by the stuff bit control signal producing unit, and a cycle of the second clock signal produced by the clock signal producing unit is set to a sum of the prescribed clock cycle and one cycle of the first clock signal in a case where a stuff bit is detected in the serial data receiving operation by the stuff bit control signal producing unit or a prescribed number of pieces of bit-data of the output serial data successively set to the fixed value is detected in the serial data transmitting operation by the stuff bit control signal producing unit.
15. A data transfer device according to claim 13, further comprising a data holding unit for holding the transmission parallel data transferred from the low speed operating unit, wherein the data converting unit comprises:
a shift register for receiving the transmission parallel data held in the data holding unit in response to a shift enable signal set to a first level, and converting the transmission parallel data into the output serial data in response to the shift enable signal set to a second level; and
a stuff bit inserting unit for inserting a stuff bit just after the prescribed number of pieces of bit-data of the output serial data successively set to the fixed value according to the stuff bit control signal, and transmitting the output serial data in synchronization with the first clock signal.
US10/352,164 2002-08-07 2003-01-28 Data transfer device for transferring data between blocks of different clock domains Expired - Lifetime US6911843B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002230423A JP3998532B2 (en) 2002-08-07 2002-08-07 Data transfer device
JP2002-230423 2002-08-07

Publications (2)

Publication Number Publication Date
US20040027167A1 US20040027167A1 (en) 2004-02-12
US6911843B2 true US6911843B2 (en) 2005-06-28

Family

ID=31492330

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/352,164 Expired - Lifetime US6911843B2 (en) 2002-08-07 2003-01-28 Data transfer device for transferring data between blocks of different clock domains

Country Status (5)

Country Link
US (1) US6911843B2 (en)
JP (1) JP3998532B2 (en)
CN (1) CN1266904C (en)
DE (1) DE10313886A1 (en)
TW (1) TWI221373B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050235089A1 (en) * 2004-04-02 2005-10-20 Fred Cheng Method and apparatus for universal serial bus (USB) physical layer
US20060002399A1 (en) * 2004-06-30 2006-01-05 Fujitsu Limited Apparatus for receiving parallel data and method thereof
US20060217865A1 (en) * 2005-03-22 2006-09-28 Sigmatel, Inc. Method and system for communicating with memory devices
US20070257877A1 (en) * 2006-04-13 2007-11-08 Etron Technology, Inc. Method and circuit for transferring data stream across multiple clock domains
US7307558B1 (en) * 2005-12-20 2007-12-11 National Semiconductor Corporation Dual shift register data serializer
US20090296797A1 (en) * 2008-05-27 2009-12-03 Wei-Yi Wei Data Description Method and Related Packet and Testing System for a Serial Transmission Interface
US20100123924A1 (en) * 2008-11-20 2010-05-20 Sony Corporation Data communication device, communication control method, and program
US10349707B2 (en) 2016-07-05 2019-07-16 Alfatex Nv Fastener tape

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4364041B2 (en) * 2004-04-01 2009-11-11 Okiセミコンダクタ株式会社 Data transfer circuit
KR100563073B1 (en) 2004-11-01 2006-03-24 삼성에스디아이 주식회사 A sampling clock signal generator
US7428652B2 (en) * 2005-05-10 2008-09-23 Intel Corporation Programmable phase generator for cross-clock communication where the clock frequency ratio is a rational number
KR100635500B1 (en) 2005-05-24 2006-10-17 삼성에스디아이 주식회사 Shift register and organic electroluminescent display device having the same
JP5019419B2 (en) * 2006-07-07 2012-09-05 ルネサスエレクトロニクス株式会社 Display data receiving circuit and display panel driver
JP4445535B2 (en) * 2007-09-19 2010-04-07 富士通株式会社 DATA TRANSFER DEVICE, INFORMATION PROCESSING SYSTEM, DATA TRANSFER PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM
CN102541784A (en) * 2010-12-21 2012-07-04 上海华虹集成电路有限责任公司 Parallel design circuit for realizing bit stuffing
CN102592636A (en) * 2011-01-11 2012-07-18 上海华虹集成电路有限责任公司 NRZI (non return to zero invert) decoding parallel design circuit
CN102340316A (en) * 2011-09-07 2012-02-01 上海大学 FPGA (Field Programmable Gate Array)-based micro-space oversampling direct-current balance serial deserializer
CN103633969B (en) * 2012-08-20 2017-10-31 上海华虹集成电路有限责任公司 asynchronous signal transfer circuit
CN103401656B (en) * 2013-08-16 2016-07-06 中国科学院上海微系统与信息技术研究所 Spaceborne phased array receiving antenna data transmission system
CN108873766B (en) * 2017-08-15 2021-03-23 北京旷视科技有限公司 IO control circuit for camera and camera equipment
CN108872830A (en) * 2018-06-07 2018-11-23 苏州纳芯微电子股份有限公司 A kind of single line test method for sensor conditioning chip
CN110971238B (en) * 2019-12-16 2023-04-18 电子科技大学 External synchronization device for continuous equal-gap sampling of sigma-delta type AD
CN113407476B (en) * 2021-06-17 2024-02-23 芯天下技术股份有限公司 Method and device for improving data channel speed, storage medium and terminal
JP2024048776A (en) * 2022-09-28 2024-04-09 ラピステクノロジー株式会社 Data reception circuit, display driver, and display device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4872155A (en) * 1987-03-13 1989-10-03 Pioneer Electronic Corporation Clock generator circuit and a synchronizing signal detection method in a sampled format system and a phase comparator circuit suited for generation of the clock
US4989223A (en) * 1988-11-25 1991-01-29 Nec Corporation Serial clock generating circuit
US5293628A (en) * 1991-11-04 1994-03-08 Motorola, Inc. Data processing system which generates a waveform with improved pulse width resolution
US5598446A (en) * 1995-09-08 1997-01-28 Vlsi Technology, Inc. Clock extraction of a clock signal using rising and falling edges of a received transmission signal
US6097674A (en) * 1995-10-30 2000-08-01 Motorola, Inc. Method for measuring time and structure therefor
US6259283B1 (en) * 1999-10-25 2001-07-10 Xilinx, Inc. Clock doubler circuit and method
JP2001268142A (en) 2000-03-16 2001-09-28 Seiko Epson Corp Data transfer controller and electronic equipment
EP1172960A2 (en) * 2000-07-10 2002-01-16 International Business Machines Corporation Apparatus and method for determining the quality of a digital signal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4872155A (en) * 1987-03-13 1989-10-03 Pioneer Electronic Corporation Clock generator circuit and a synchronizing signal detection method in a sampled format system and a phase comparator circuit suited for generation of the clock
US4989223A (en) * 1988-11-25 1991-01-29 Nec Corporation Serial clock generating circuit
US5293628A (en) * 1991-11-04 1994-03-08 Motorola, Inc. Data processing system which generates a waveform with improved pulse width resolution
US5598446A (en) * 1995-09-08 1997-01-28 Vlsi Technology, Inc. Clock extraction of a clock signal using rising and falling edges of a received transmission signal
US6097674A (en) * 1995-10-30 2000-08-01 Motorola, Inc. Method for measuring time and structure therefor
US6259283B1 (en) * 1999-10-25 2001-07-10 Xilinx, Inc. Clock doubler circuit and method
JP2001268142A (en) 2000-03-16 2001-09-28 Seiko Epson Corp Data transfer controller and electronic equipment
EP1172960A2 (en) * 2000-07-10 2002-01-16 International Business Machines Corporation Apparatus and method for determining the quality of a digital signal

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Universal Serial Bus Specification," Revision 2.0, http://www.usb.org/developers/data/usb_20.zip Apr 27, 2000, pp. 157-158.
USB 2.0 Transceiver Macrocell Interface (UTMI) Specification 1999-2001 Intel Corporation, Ver. 1.05, http://developer.intel.com/technology/usb/download/ 2_0_Xcvr_Macrocell_1_05.pdf Mar. 29, 2001, P29 5.11 Bitstuff Logic & Figure 11.
USB 2.0 Transceiver Macrocell Interface (UTMI) Specification 1999-2001 Intel Corporation, Ver. 1.05, http://developer.intel.com/technology/usb/download/2_0_Xcvr_Macrocell_1_05.pdf Mar. 29, 2001, P23 5.6 Bit Unstuff Logic & Figure 5.

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050235089A1 (en) * 2004-04-02 2005-10-20 Fred Cheng Method and apparatus for universal serial bus (USB) physical layer
US20060002399A1 (en) * 2004-06-30 2006-01-05 Fujitsu Limited Apparatus for receiving parallel data and method thereof
US7620138B2 (en) * 2004-06-30 2009-11-17 Fujitsu Limited Apparatus for receiving parallel data and method thereof
US7685333B2 (en) * 2005-03-22 2010-03-23 Sigmatel, Inc Method and system for communicating with memory devices utilizing selected timing parameters from a timing table
US20060217865A1 (en) * 2005-03-22 2006-09-28 Sigmatel, Inc. Method and system for communicating with memory devices
US7307558B1 (en) * 2005-12-20 2007-12-11 National Semiconductor Corporation Dual shift register data serializer
US7860202B2 (en) * 2006-04-13 2010-12-28 Etron Technology, Inc. Method and circuit for transferring data stream across multiple clock domains
US20070257877A1 (en) * 2006-04-13 2007-11-08 Etron Technology, Inc. Method and circuit for transferring data stream across multiple clock domains
US20090296797A1 (en) * 2008-05-27 2009-12-03 Wei-Yi Wei Data Description Method and Related Packet and Testing System for a Serial Transmission Interface
US20100123924A1 (en) * 2008-11-20 2010-05-20 Sony Corporation Data communication device, communication control method, and program
TWI408931B (en) * 2008-11-20 2013-09-11 Sony Corp Data communication device, communication control method, and program
US8654377B2 (en) * 2008-11-20 2014-02-18 Sony Corporation Data communication device, communication control method, and program
US10349707B2 (en) 2016-07-05 2019-07-16 Alfatex Nv Fastener tape

Also Published As

Publication number Publication date
TWI221373B (en) 2004-09-21
CN1474567A (en) 2004-02-11
TW200402974A (en) 2004-02-16
DE10313886A1 (en) 2004-03-04
CN1266904C (en) 2006-07-26
JP3998532B2 (en) 2007-10-31
US20040027167A1 (en) 2004-02-12
JP2004072511A (en) 2004-03-04

Similar Documents

Publication Publication Date Title
US6911843B2 (en) Data transfer device for transferring data between blocks of different clock domains
CN1791120B (en) System and method for efficient alignment of data bits on parallel data channels
US5179670A (en) Slot determination mechanism using pulse counting
CA2017394C (en) Data alignment method and apparatus
US20030194018A1 (en) High speed data transmitter and transmitting method thereof
US6741193B2 (en) Parallel in serial out circuit having flip-flop latching at multiple clock rates
CN113282531B (en) Pulse trigger-based two-port serial data receiving and transmitting circuit and method
JP7471447B2 (en) Multi-channel signal synchronization system, circuit and method
CN105224485B (en) A kind of method of reseptance and device of pervasive serial data
EP3734465A1 (en) Data transmission code and interface
Li et al. UART Controller with FIFO Buffer Function Based on APB Bus
US8675798B1 (en) Systems, circuits, and methods for phase inversion
US11169952B2 (en) Data transmission code and interface
EP1860815B1 (en) Data transmission method and transmission circuit thereof
CN210518362U (en) Single-wire communication circuit and communication system
CN116795758A (en) Multichannel synchronous Biss-C protocol decoding transmission device based on FPGA
JP2004531150A (en) Multiphase encoding protocol and bus synchronization
US7764614B2 (en) Multi-mode management of a serial communication link
WO2003052566A2 (en) System for providing a calibrated clock and methods thereof
CN102693200A (en) SPI (serial peripheral interface) communication port based on CPLD (complex programmable logic device)
US20020018539A1 (en) Multi-bit counter
Gupta et al. Analysis of Universal Asynchronous Receiver-Transmitter (UART)
KR100239437B1 (en) Serial interface communication
CN221127259U (en) Deburring circuit in SPI Slave chip design
JP4463295B2 (en) Semiconductor device

Legal Events

Date Code Title Description
AS Assignment

Owner name: MITSUBISHI DENKI KABUSHIKI KAISHA, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:MIZUMOTO, KATSUYA;SHIROTA, HIROSHI;OKUDA, RYOSUKE;AND OTHERS;REEL/FRAME:013709/0088

Effective date: 20030115

Owner name: MITSUBISHI ELECTRIC SYSTEM LSI DESIGN CORPORATION,

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:MIZUMOTO, KATSUYA;SHIROTA, HIROSHI;OKUDA, RYOSUKE;AND OTHERS;REEL/FRAME:013709/0088

Effective date: 20030115

AS Assignment

Owner name: RENESAS TECHNOLOGY CORP., JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MITSUBISHI DENKI KABUSHIKI KAISHA;REEL/FRAME:014502/0289

Effective date: 20030908

AS Assignment

Owner name: RENESAS TECHNOLOGY CORP., JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MITSUBISHI DENKI KABUSHIKI KAISHA;REEL/FRAME:015185/0122

Effective date: 20030908

STCF Information on status: patent grant

Free format text: PATENTED CASE

CC Certificate of correction
FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

AS Assignment

Owner name: RENESAS ELECTRONICS CORPORATION, JAPAN

Free format text: CHANGE OF NAME;ASSIGNOR:NEC ELECTRONICS CORPORATION;REEL/FRAME:024990/0129

Effective date: 20100401

Owner name: NEC ELECTRONICS CORPORATION, JAPAN

Free format text: MERGER;ASSIGNOR:RENESAS TECHNOLOGY CORP.;REEL/FRAME:024990/0153

Effective date: 20100401

FPAY Fee payment

Year of fee payment: 8

FPAY Fee payment

Year of fee payment: 12

AS Assignment

Owner name: RENESAS DESIGN CORP., JAPAN

Free format text: CHANGE OF NAME;ASSIGNOR:RENESAS LSI DESIGN CORPORATION;REEL/FRAME:044020/0347

Effective date: 20050401

Owner name: RENESAS LSI DESIGN CORPORATION, JAPAN

Free format text: CHANGE OF NAME;ASSIGNOR:MITSUBISHI ELECTRIC SYSTEM LSI DESIGN CORPORATION;REEL/FRAME:044020/0316

Effective date: 20030401

Owner name: RENESAS SYSTEM DESIGN CO., LTD., JAPAN

Free format text: MERGER;ASSIGNOR:RENESAS DESIGN CORP.;REEL/FRAME:044020/0377

Effective date: 20131001

Owner name: RENESAS SYSTEM DESIGN CO., LTD., JAPAN

Free format text: MERGER AND CHANGE OF NAME;ASSIGNORS:RENESAS SYSTEM DESIGN CO., LTD.;RENESAS SOLUTIONS CORPORATION;REEL/FRAME:044020/0475

Effective date: 20150401

Owner name: RENESAS ELECTRONICS CORPORATION, JAPAN

Free format text: MERGER;ASSIGNOR:RENESAS SYSTEM DESIGN CO., LTD.;REEL/FRAME:044020/0503

Effective date: 20170701

Owner name: RENESAS SYSTEM DESIGN CO., LTD., JAPAN

Free format text: CHANGE OF ADDRESS;ASSIGNOR:RENESAS SYSTEM DESIGN CO., LTD.;REEL/FRAME:045807/0091

Effective date: 20150401

AS Assignment

Owner name: RENESAS ELECTRONICS CORPORATION, JAPAN

Free format text: CHANGE OF ADDRESS;ASSIGNOR:RENESAS ELECTRONICS CORPORATION;REEL/FRAME:044928/0001

Effective date: 20150806

AS Assignment

Owner name: RENESAS SYSTEM DESIGN CO., LTD., JAPAN

Free format text: CHANGE OF NAME;ASSIGNOR:RENESAS MICRO SYSTEMS CO., LTD.;REEL/FRAME:044353/0309

Effective date: 20131001

Owner name: RENESAS MICRO SYSTEMS CO., LTD., JAPAN

Free format text: CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNEE NAME PREVIOUSLY RECORDED AT REEL: 044020 FRAME: 0377. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER;ASSIGNOR:RENESAS DESIGN CORP.;REEL/FRAME:045645/0850

Effective date: 20131001