KR19990074276A - Serial Bus Line and Data Transmission Method Using the Same - Google Patents

Serial Bus Line and Data Transmission Method Using the Same Download PDF

Info

Publication number
KR19990074276A
KR19990074276A KR1019980007752A KR19980007752A KR19990074276A KR 19990074276 A KR19990074276 A KR 19990074276A KR 1019980007752 A KR1019980007752 A KR 1019980007752A KR 19980007752 A KR19980007752 A KR 19980007752A KR 19990074276 A KR19990074276 A KR 19990074276A
Authority
KR
South Korea
Prior art keywords
data
word
serial
address
bus line
Prior art date
Application number
KR1019980007752A
Other languages
Korean (ko)
Inventor
김직
Original Assignee
김영환
현대반도체 주식회사
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 김영환, 현대반도체 주식회사 filed Critical 김영환
Priority to KR1019980007752A priority Critical patent/KR19990074276A/en
Publication of KR19990074276A publication Critical patent/KR19990074276A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4295Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using an embedded synchronisation

Abstract

본 발명의 칩과 칩간의 연결된 버스라인을 시리얼 버스라인으로 구성하여 버스라인이 차지하는 면적을 최소화하는데 적당한 시리얼 버스라인 및 이를 이용한 데이터 전송방법에 관한 것으로, 본 발명의 시리얼 버스라인은 다수의 칩들과, 상기 각 칩들간에 동기워드, 어드레스워드, 데이터워드, 그리고 종료워드로 이루어진 비트스트림구조를 갖고, 본 발명의 시리얼 버스라인을 이용한 데이터 전송방법은 메인 칩이 시리얼 버스라인을 통해 주변칩의 시리얼 레지스터부로 시리얼 데이터를 출력하는 스텝과, 주변칩의 시리얼 레지스터부로부터 동기워드가 검출되면 자신의 어드레스와 상기 메인 칩으로부터 보내온 어드레스를 비교하는 스텝과, 상기 어드레스가 서로 동일하면, 데이터 전송신호에 의해 상기 어드레스 다음으로 상기 시리얼 레지스터부에 저장된 데이터를 패러렐 레지스터부로 패러랠하게 저장하는 스텝과, 상기 시리얼 레지스터부로부터 종료워드가 검출되면 상기 패러랠 레지스터부에 저장된 데이터를 패러랠하게 출력하는 스텝을 포함하여 이루어지는 것을 특징으로 한다.The present invention relates to a serial bus line suitable for minimizing an area occupied by a bus and a method of transmitting data using the same. And a bitstream structure consisting of a sync word, an address word, a data word, and an end word between the respective chips. A step of outputting serial data to the register section, a step of comparing its address with an address sent from the main chip when a synchronization word is detected from the serial register section of the peripheral chip; and if the address is the same, The serial register section after the address And storing the data stored in the parallel register unit in parallel, and outputting the data stored in the parallel register unit in parallel when an end word is detected from the serial register unit.

Description

시리얼 버스라인 및 이를 이용한 데이터 전송방법Serial Bus Line and Data Transmission Method Using the Same

본 발명은 버스라인(Bus line)에 관한 것으로 특히, 칩(chip)과 칩(chip)사이의 데이터전송에 있어서, 패러랠(parallel)데이터를 시리얼(serial)데이터로 변환하여 전송하는데 적당한 시리얼버스라인 및 이를 이용한 데이터전송방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus line. In particular, in the data transfer between chip and chip, a serial bus line suitable for converting parallel data into serial data and transmitting the same. And a data transmission method using the same.

이하, 종래 병렬 글로벌버스라인을 첨부된 도면을 참조하여 설명하기로 한다.Hereinafter, a conventional parallel global bus line will be described with reference to the accompanying drawings.

종래 글로벌버스라인은 8비트의 데이터와, 8비트의 어드레스, 그리고 1비트의 승인(Ack)신호를 전송할 수 있다.The conventional global bus line can transmit 8 bits of data, 8 bits of address, and 1 bit of acknowledgment signal.

도 1은 종래기술에 따른 메인 칩(main chip)과 복수개의 주변칩간의 데이터전송을 위한 병렬 글로벌버스라인의 구성도이다.1 is a block diagram of a parallel global bus line for data transmission between a main chip and a plurality of peripheral chips according to the prior art.

도 1에 도시한 바와같이, 메인 칩(11)과, 주변칩(12)들 사이에 8비트 데이터와 8비트 어드레스, 그리고 1비트의 승인신호(Ack)를 전송할 수 있는 총17비트의 글로벌버스라인이 연결되어 있다.As shown in FIG. 1, a 17-bit global bus capable of transmitting 8-bit data, 8-bit addresses, and 1-bit acknowledgment signal (Ack) between the main chip 11 and the peripheral chips 12. The line is connected.

각 주변칩(12)들은 자신의 고유어드레스를 가지고 있다. 그리고, 각 주변칩(12)들의 기능이 서로 다르기 때문에 각각 다른 명령어(command)를 메인 칩(11)으로부터 받아 독립적으로 동작한다.Each peripheral chip 12 has its own unique address. In addition, since the functions of the peripheral chips 12 are different from each other, different commands are received from the main chip 11 to operate independently.

상기 메인 칩(11)은는 전체 칩(chip)의 신호흐름을 컨트롤하며 각 주변칩(12)들간의 인터페이스를 담당함과 동시에 명령어를 발생한다.The main chip 11 controls the signal flow of the entire chip and is responsible for the interface between the peripheral chips 12 to generate commands.

이와같은, 종래 글로벌버스라인을 이용하여 데이터를 전송하는 방법은 다음과 같다.As such, a method of transmitting data using a conventional global bus line is as follows.

먼저, 복수개의 주변칩(12)들중 임의의 칩에 데이터를 보내기 위해서는 글로벌버스라인에 상기 데이터를 받을 주변칩의 고유어드레스를 실어준다.First, in order to send data to any of the plurality of peripheral chips 12, the unique address of the peripheral chip to receive the data is loaded on the global bus line.

글로벌버스라인은 각 주변칩마다 연결되어 있으므로 글로벌버스라인에 실린 어드레스와 동일한 어드레스를 갖는 임의의 주변칩 액티브된다.Since the global bus line is connected to each peripheral chip, any peripheral chip having the same address as the address printed on the global bus line is activated.

따라서, 메인 칩(11)은 8비트 데이터버스에 데이터를 실어주고, 해당 주변칩은 명령어를 받을 준비를 한다.Therefore, the main chip 11 loads data on an 8-bit data bus, and the peripheral chip prepares to receive a command.

데이터를 받을 준비가 완료되면, 1비트의 승인신호(Ack)에 의해 해당 주변칩은 메인 칩(11)에서 출력하는 데이터를 받아 자신의 기능을 수행하게 된다.When ready to receive data, the peripheral chip receives the data output from the main chip 11 by the 1-bit acknowledgment signal (Ack) to perform its function.

그러나 상기와 같은 종래 병렬 글로벌버스라인은 총 17비트로 구성되기 때문에 칩과 칩들을 서로 연결함에 있어서, 버스라인이 차지하는 면적이 지나치게 커지게된다. 따라서 멀티칩을 구현할 경우, 칩사이즈가 증가하게 되는 문제점이 있었다.However, since the conventional parallel global bus lines have a total of 17 bits, the area occupied by the bus lines becomes excessively large in connecting the chips with the chips. Therefore, when implementing the multi-chip, there was a problem that the chip size increases.

본 발명은 상기의 문제점을 해결하기 위해 안출한 것으로써, 시리얼버스라인을 사용하여 칩들간에 상호연결 루트(route)를 감소시켜 융통성 있는 레이아웃 구성이 적당한 시리얼버스라인 및 이를 이용한 데이터전송방법을 제공하는데 그 목적이 있다.The present invention has been made to solve the above problems, to provide a serial bus line and a data transmission method using a flexible layout configuration by reducing the interconnection route (chip) between chips using a serial bus line. Its purpose is to.

도 1은 종래 칩들 사이에 연결된 병렬 글로벌라인을 보여주는 도면1 illustrates a parallel global line connected between conventional chips.

도 2는 본 발명의 시리얼 버스라인의 구조를 도시한 도면2 is a diagram showing the structure of a serial bus line of the present invention.

도 3은 본 발명의 칩들 사이에 연결된 시리얼 버스라인을 보여주는 도면Figure 3 shows a serial busline connected between the chips of the present invention

도 4는 본 발명에 따른 데이터 변환부의 상세구성도4 is a detailed configuration diagram of a data conversion unit according to the present invention;

도 5는 본 발명의 시리얼 버스라인을 이용한 데이터 전송방법을 설명하기 위한 플로우챠트5 is a flowchart illustrating a data transmission method using a serial bus line of the present invention.

도면의 주요부분에 대한 부호의 설명Explanation of symbols for main parts of the drawings

11 : 메인 칩 12 : 주변 칩11: main chip 12: peripheral chip

31 : 시리얼 버스라인 32 : 데이터 변환부31: serial bus line 32: data conversion unit

41 : 시리얼 레지스터부 42 : 동기워드 검출부41: serial register section 42: sync word detection section

43 : 종료워드 검출부 44 : 어드레스 비교부43: end word detection unit 44: address comparison unit

45 : 카운터부 46 : 패러랠 레지스터부45: counter portion 46: parallel register portion

상기의 목적을 달성하기 위한 본 발명의 시리얼 버스라인은 다수의 칩들과, 상기 각 칩들간에 동기워드, 어드레스워드, 데이터워드, 그리고 종료워드로 이루어진 비트스트림구조를 갖고, 본 발명의 시리얼 버스라인을 이용한 데이터 전송방법은 메인 칩이 시리얼 버스라인을 통해 주변칩의 시리얼 레지스터부로 시리얼 데이터를 출력하는 스텝과, 주변칩의 시리얼 레지스터부로부터 동기워드가 검출되면 자신의 어드레스와 상기 메인 칩으로부터 보내온 어드레스를 비교하는 스텝과, 상기 어드레스가 서로 동일하면, 데이터 전송신호에 의해 상기 어드레스 다음으로 상기 시리얼 레지스터부에 저장된 데이터를 패러렐 레지스터부로 패러랠하게 저장하는 스텝과, 상기 시리얼 레지스터부로부터 종료워드가 검출되면 상기 패러랠 레지스터부에 저장된 데이터를 패러랠하게 출력하는 스텝을 포함하여 이루어지는 것을 특징으로 한다.The serial busline of the present invention for achieving the above object has a bitstream structure consisting of a plurality of chips, a synchronization word, an address word, a data word, and an end word between the respective chips, the serial busline of the present invention The data transmission method using the step of the main chip outputs the serial data to the serial register of the peripheral chip through the serial bus line, and if a sync word is detected from the serial register of the peripheral chip, its own address and the address sent from the main chip Comparing the data with each other; if the addresses are the same, storing data stored in the serial register section in parallel with the address by a data transmission signal; and if an end word is detected from the serial register section. Stored in the parallel register It characterized by comprising the step of parallel and outputs the data.

이하, 본 발명에 따른 시리얼버스라인 및 이를 이용한 데이터전송방법을 첨부된 도면을 참조하여 설명하기로 한다.Hereinafter, a serial bus line and a data transmission method using the same according to the present invention will be described with reference to the accompanying drawings.

도 2는 본 발명의 시리얼버스라인에 따른 비트스트림의 구조를 도시하였다.2 illustrates a structure of a bitstream according to a serial bus line of the present invention.

본 발명의 시리얼버스라인의 구조는 32비트의 동기(sync)워드, 8비트 어드레스워드, 8비트 데이터워드, 그리고 32비트 종료워드로 이루어진다.The structure of the serial busline of the present invention is composed of a 32-bit sync word, an 8-bit address word, an 8-bit data word, and a 32-bit end word.

여기서, 동기워드는 메인 칩이 데이터를 출력하겠다는 것을 알려주는 데이터이고, 종료워드는 데이터의 전송이 종료되었음을 알려주는 데이터이다.Here, the sync word is data indicating that the main chip is to output data, and the end word is data indicating that the transmission of data has been completed.

도 2와 같은 시리얼버스라인을 통해 최초에 동기워드가 전송되고, 순차적으로 어드레스, 데이터, 종료워드순으로 전송된다.The synchronization word is first transmitted through the serial bus line as shown in FIG. 2, and then sequentially transmitted in the order of address, data, and end word.

시리얼버스라인은 주변칩들과 각각 연결되어 있으므로 주변칩에서 동기워드를 검출하게되면, 상기 동기워드 다음의 8비트는 어드레스워드, 그 다음 8비트는 데이터워드임을 알 수 있다.Since the serial bus lines are connected to the peripheral chips, when the peripheral chip detects the synchronization word, it can be seen that the 8 bits following the synchronization word are the address word and the next 8 bits are the data word.

8비트 어드레스워드는 256(=28)개의 각기 다른 어드레스를 가질 수 있다. 경우에 따라서 주변칩의 수가 작거나 많을 경우에는 256개 이상 또는 이하로 가변시킬 수 있다.An 8-bit address word can have 256 (= 2 8 ) different addresses. In some cases, if the number of peripheral chips is small or large, it can be changed to 256 or more.

상기 8비트 데이터워드는 명령어(command)의 구조를 가질 수도 있으며, 헤더(header)정보를 두어 오퍼랜드(operand)의 내용을 알려줄 수도 있다.The 8-bit data word may have a structure of a command and may provide header information to inform the contents of an operand.

필요할 경우, 데이터워드는 무한정 확장시킬 수 있으며 종료워드 바로 이전까지는 데이터워드로 간주해도 무관하다.If necessary, the dataword can be extended indefinitely and can be regarded as a dataword until immediately before the end word.

도 3은 본 발명에 따른 메인 칩과 복수개의 주변칩들간의 구성을 간략하게 도시하였다.3 briefly illustrates a configuration between a main chip and a plurality of peripheral chips according to the present invention.

도 3에 도시한 바와 같이, 복수개의 주변칩(12)들과 메인 칩(11)사이에 시리얼버스라인(31)이 연결되어 있다.As shown in FIG. 3, a serial bus line 31 is connected between the plurality of peripheral chips 12 and the main chip 11.

따라서 종래 17비트의 패러랠(parallel)버스라인에 비해 본 발명의 시리얼버스라인을 이용하면, 칩(chip)내에서 버스라인이 차지하는 면적을 최소화할 수 있다.Accordingly, when the serial bus line of the present invention is used as compared to the conventional 17-bit parallel bus line, the area occupied by the bus line in the chip can be minimized.

도 3에 도시한 바와 같이, 각 주변칩(12)들의 신호 입력단에는 데이터 변환부(32)가 구성된다.As shown in FIG. 3, a data converter 32 is configured at a signal input terminal of each peripheral chip 12.

통상, 주변칩(12)내에서 신호전송은 패러랠(parallel)로 이루어진다.Usually, the signal transmission in the peripheral chip 12 is made in parallel.

따라서, 시리얼버스라인(31)을 통해 시리얼하게 전송되어온 데이터를 데이터 변환부(32)가 패러랠(parallel)하게 변환해 줌으로써 주변칩(12)의 기능을 수행할 수가 있다.Therefore, the data converter 32 converts the data transmitted serially through the serial bus line 31 in parallel to perform a function of the peripheral chip 12.

도 4는 본 발명에 따른 데이터 변환부의 상세구성도이다.4 is a detailed configuration diagram of a data conversion unit according to the present invention.

도 4에 도시한 바와 같이, 시리얼 버스라인(31)을 통해 시리얼하게 입력되는 데이터(어드레스를 포함)를 저장하는 시리얼 레지스터부(41)와, 상기 시리얼 레지스터부(41)로부터 동기워드를 검출하는 동기워드 검출부(42)와, 상기 시리얼 레지스터부(41)로부터 종료워드를 검출하는 종료워드 검출부(43)와, 상기 시리얼 레지스터부(41)에 입력되는 어드레스와 자신의 어드레스를 비교하는 어드레스 비교부(44)와, 상기 어드레스 비교부(44)의 제어신호에 따라 시리얼 레지스터부(41)에 데이터 변환신호를 출력하는 카운터부(45)와, 상기 카운터부(45)의 제어신호에 따라 상기 시리얼 레지스터부(41)에 저장된 시리얼 데이터를 패러랠하게 저장하는 패러랠 레지스터부(46)를 포함하여 구성된다.As shown in Fig. 4, a serial register 41 for storing data (including an address) serially input through the serial bus line 31 and a sync word from the serial register 41 are detected. A sync word detector 42, an end word detector 43 for detecting an end word from the serial register 41, and an address comparison unit for comparing an address input to the serial register 41 with its own address. (44), a counter unit (45) for outputting a data conversion signal to the serial register unit (41) in accordance with the control signal of the address comparison unit (44), and the serial in accordance with the control signal of the counter unit (45). It comprises a parallel register section 46 for parallel storage of serial data stored in the register section 41.

여기서, 상기 카운터부(45)는 데이터의 비트수에 비례하는데 본 발명의 실시예에서는 데이터비트로 활당된 비트가 8비트이므로 카운터부(45)는 3(8=23)비트 카운터로 구성된다.Here, the counter unit 45 is proportional to the number of bits of the data. In the embodiment of the present invention, since the bit assigned as the data bit is 8 bits, the counter unit 45 is composed of a 3 (8 = 2 3 ) bit counter.

상기 동기워드 검출부(42)는 시리얼 레지스터부(41)로부터 동기워드가 검출되었으면 카운터부(45), 패러랠 레지스터부(46)로 명령어 유효신호를 출력한다.The sync word detector 42 outputs an instruction valid signal to the counter 45 and the parallel register 46 when a sync word is detected from the serial register 41.

명령어 유효신호에 의해 카운터부(45)와 패터랠 레지스터부(46)가 액티브된다.The counter unit 45 and the pattern register unit 46 are activated by the instruction valid signal.

이와같은 데이터 변환부의 동작을 설명하면 다음과 같다.Referring to the operation of the data conversion unit as follows.

동기워드-어드레스-데이터-종료워드 순으로 이루어진 직렬 비트스트림 데이터는 항상 시리얼 레지스터(41)를 통과하게 된다.Serial bitstream data in sync word-address-data-endword order will always pass through the serial register 41.

동기워드 검출부(42)는 상기 시리얼 레지스터(41)에 동기워드가 모두 채워졌는지를 검출하여 채워졌으면 명령어 유효신호(command valid signal)를 카운터부(45) 및 패러랠 레지스터부(46)에 전달한다.The synchronizing word detector 42 detects whether the synchronizing word has been filled in the serial register 41 and transmits a command valid signal to the counter unit 45 and the parallel register unit 46.

상기 동기워드 다음에 들어오는 데이터는 어드레스인데, 상기 어드레스는 메인 칩으로부터 데이터를 받을 주변칩(12)의 어드레스이다.The data coming after the sync word is an address, which is the address of the peripheral chip 12 to receive data from the main chip.

따라서, 도 4의 어드레스 비교부(44)는 자신의 어드레스와 시리얼 버스라인을 통해 들어오는 어드레스를 비교한다.Therefore, the address comparison unit 44 of FIG. 4 compares its own address with the address coming through the serial bus line.

만일, 서로 동일하면 카운터부(45)에 제어신호를 주고, 동일하지 않으면 상기 메인 칩(11)에서 보내올 데이터는 자신이 받을 데이터가 아님을 인식하여 제어신호를 주지 않는다.If they are the same, a control signal is given to the counter 45, and if it is not the same, the data to be sent from the main chip 11 is not the data to be received and the control signal is not given.

이어, 상기 어드레스가 들어왔으면 그 다음에는 데이터비트가 들어오게 되는데 상기 데이터도 시리얼 레지스터부(41)에 저장된다.Subsequently, if the address comes in, then a data bit comes in. The data is also stored in the serial register section 41.

이때, 어드레스 비교부(44)에서 제어신호를 받은 카운터부(45)는 상기 시리얼 레지스터부(41)로 데이터 변환신호를 출력한다.At this time, the counter 45 receiving the control signal from the address comparator 44 outputs the data conversion signal to the serial register 41.

따라서, 카운터부(45)가 카운트하는 동안 시리얼 레지스터부(41)에 저장된 데이터는 상기 패러랠 레지스터부(46)에 패러랠하게 저장된다.Accordingly, data stored in the serial register section 41 is parallelly stored in the parallel register section 46 while the counter section 45 counts.

이후, 종료워드 검출부(43)가 시리얼 레지스터부(41)로부터 종료워드를 검출하게 되면 상기 패러랠 레지스터부(46)에 데이터의 전송이 모두 완료되었으므로 저장된 데이터를 출력하라는 제어신호를 출력한다.Thereafter, when the end word detector 43 detects the end word from the serial register unit 41, since the data transfer is completed to the parallel register unit 46, the control signal for outputting the stored data is output.

종료워드 검출부(43)로부터 제어신호를 받은 패러랠 레지스터부(46)가 데이터를 출력하면 해당 주변칩(12)은 데이터에 따라 자신의 기능을 수행한다.When the parallel register unit 46 receiving the control signal from the end word detector 43 outputs data, the peripheral chip 12 performs its function according to the data.

이와 같은 시리얼 버스라인을 이용한 데이터전송방법을 플로우챠트를 참조하여 설명하면 다음과 같다.The data transmission method using the serial bus line will now be described with reference to a flowchart.

도 5는 본 발명의 데이터전송방법을 설명하기 위한 플로우챠트이다.5 is a flowchart for explaining a data transmission method of the present invention.

도 5에 도시한 바와 같이, 메인 칩(11)은 시리얼 버스라인을 통해 동기워드-어드레스-데이터-종료워드순으로 데이터를 출력한다(501).As shown in FIG. 5, the main chip 11 outputs data in synchronous word-address-data-endword order through a serial bus line (501).

전술한 바와 같이, 메인 칩(11)과 주변칩(12)은 시리얼 버스라인으로 연결되어 있고, 각 주변칩(12)들간에도 시리얼 버스라인으로 연결되어 있다.As described above, the main chip 11 and the peripheral chip 12 are connected by serial bus lines, and the peripheral chips 12 are also connected by serial bus lines.

각 주변칩(12)의 신호 입력단에 위치한 데이터 변환부(32)의 동기워드 검출부(42)는 시리얼 레지스터부(41)에 동기워드가 모두 저장되었는지를 검출한다(502).The sync word detector 42 of the data converter 32 located at the signal input terminal of each peripheral chip 12 detects whether all the sync words are stored in the serial register 41 (502).

동기워드가 검출되었는지를 판단하여(503),검출되었으면 상기 동기워드 검출부(42)는 칩내 각 블록(block)으로 명령어 유효신호를 출력한다(504).It is determined whether the sync word has been detected (503), and if detected, the sync word detector 42 outputs an instruction valid signal to each block in the chip (504).

동기워드 다음으로 시리얼 레지스터부(41)에 입력되는 데이터는 어드레스이다.The data input to the serial register section 41 after the sync word is an address.

어드레스가 입력되면 상기 어드레스 비교부(44)는 자신의 고유어드레스와 입력되는 어드레스를 비교한다(505).When an address is input, the address comparison unit 44 compares its own address with the input address (505).

만일, 어드레스가 서로 동일한지를 판단하여(506), 서로 동일하면 메인 칩(11)이 자신에게 데이터를 보낸 것이라고 판단하여 카운터부(45)에 제어신호를 출력한다(507).If it is determined whether the addresses are the same (506), and if they are the same, it is determined that the main chip 11 has sent data to itself and outputs a control signal to the counter unit 45 (507).

즉, 메인 칩(11)과 각 주변칩(12)들은 시리얼 버스라인을 통해 모두 연결되어 있기 때문에 메인 칩(11)은 데이터를 보내고자 하는 주변칩(12)의 어드레스를 시리얼 버스라인으로 출력한다.That is, since the main chip 11 and each peripheral chip 12 are all connected through the serial bus line, the main chip 11 outputs the address of the peripheral chip 12 to which data is to be sent to the serial bus line. .

따라서, 각 주변칩(12)들이 시리얼 버스라인을 통해 입력되는 어드레스와 자신의 어드레스를 비교하여 보면, 어느 칩이 메인 칩(11)으로부터 데이터를 받을 것인가를 알 수가 있다.Therefore, when each peripheral chip 12 compares its own address with the address input through the serial bus line, it can be known which chip receives data from the main chip 11.

이어, 상기 어드레스 다음으로 시리얼 레지스터부(41)에 입력되는 것은 데이터이다.Next, data input to the serial register section 41 after the address.

데이터가 시리얼 레지스터부(41)에 채워지면 상기 카운터부(45)는 시리얼 레지스터부(41)로 데이터 전송신호를 출력한다(508).When the data is filled in the serial register section 41, the counter section 45 outputs a data transmission signal to the serial register section 41 (508).

따라서, 카운터부(45)가 카운트를 하는 동안 시리얼 레지스터부(41)에 저장된 데이터는 패러랠 레지스터부(46)로 옮겨져 패러랠하게 저장된다(509).Therefore, the data stored in the serial register section 41 is transferred to the parallel register section 46 and parallelly stored while the counter section 45 counts (509).

이때, 종료워드 검출부(43)는 종료워드를 검출되는지를 판단하여(510), 만일 데이터가 계속하여 시리얼 레지스터부(41)에 들어오고 있다면 종료워드는 검출되지 않는다.At this time, the end word detector 43 determines whether the end word is detected (510), and if the data continues to enter the serial register 41, the end word is not detected.

이후, 데이터가 모두 시리얼 레지스터부(41)에 들어오고 나면 종료워드가 검출되는데 종료워드 검출부(43)는 패러랠 레지스터부(46)로 데이터의 전송이 모두 완료되었음을 알리는 제어신호를 출력한다(511).Thereafter, when all data enter the serial register unit 41, an end word is detected, and the end word detector 43 outputs a control signal informing that the data transfer is completed to the parallel register unit 46 (511). .

여기서, 상기 종료워드가 검출되지 않는한, 입력되는 데이터는 유효한 데이터로 관주한다.Here, unless the end word is detected, the input data is irrelevant as valid data.

종료워드 검출부(43)로부터 제어신호를 받은 패러랠 레지스터부(46)는 클럭신호에 의해 칩내 여러 블록으로 데이터를 전달하여 자신의 기능을 수행하게 된다(512).The parallel register 46, which receives the control signal from the end word detector 43, transfers data to several blocks in the chip by the clock signal to perform its function (512).

이상 상술한 바와같이, 본 발명의 시리얼 버스라인 및 이를 이용한 데이터 전송방법은 다음과 같은 효과가 있다.As described above, the serial bus line and the data transmission method using the same have the following effects.

17비트의 버스라인을 1비트의 버스라인으로 변환하여 시스템에서 버스라인이 차지하는 면적을 최소화하고, 각 주변장치들간의 버스라인 연결루트를 감소시킨다.17-bit buslines are converted to 1-bit buslines to minimize the area occupied by buslines in the system and to reduce the busline connection route between each peripheral.

또한, 시스템 보드(board)상에서 사용할 경우, 보드(board)면적이 감소된다.In addition, when used on a system board, the board area is reduced.

Claims (6)

다수의 칩들과,A number of chips, 상기 각 칩들간에 동기워드, 어드레스워드, 데이터워드, 그리고 종료워드로 이루어진 비트스트림구조의 버스라인이 연결되는 것을 특징으로 하는 시리얼 버스라인.And a bus line having a bitstream structure including a sync word, an address word, a data word, and an end word between the chips. 제 1 항에 있어서,The method of claim 1, 상기 동기워드, 어드레스워드, 데이터워드, 그리고 종료워드는 상기 워드간의 데이터 판별을 최적화할 수 있는 조건으로 비트수를 할당하는 것을 특징으로 하는 시리얼 버스라인.Wherein the sync word, address word, data word, and end word are allotted the number of bits on condition to optimize data discrimination between the words. 제 2 항에 있어서, 상기 동기워드, 어드레스워드, 데이터워드, 그리고 종료워드에 할당된 비트수는 각각 32비트, 8비트, 8비트, 그리고 32비트인 것을 특징으로 하는 시리얼 버스라인.3. The serial bus line of claim 2, wherein the number of bits allocated to the sync word, address word, data word, and end word is 32 bits, 8 bits, 8 bits, and 32 bits, respectively. 상기 각 칩의 신호입력단에는 버스라인을 통해 입력되는 시리얼 데이터를 저장하는 시리얼 레지스터부와,A serial register unit for storing serial data input through a bus line at a signal input terminal of each chip; 상기 시리얼 레지스터부로부터 동기워드를 검출하는 동기워드 검출부와,A sync word detector for detecting a sync word from the serial register section; 상기 시리얼 레지스터부로부터 종료워드를 검출하는 종료워드 검출부와,An end word detector for detecting an end word from the serial register; 상기 시리얼 레지스터부로 입력되는 어드레스와 자신의 어드레스를 비교하는어드레스 비교부와,An address comparison unit for comparing an address inputted to the serial register unit with its own address, 상기 시리얼 레지스터부로 데이터전송신호를 출력하는 카운터부와,A counter unit for outputting a data transmission signal to the serial register unit; 상기 카운터부의 신호에 따라 시리얼 레지스터부에 저장된 시리얼 데이터를 패러랠하게 저장하는 패러랠 레지스터부를 포함하여 구성되는 데이터 변환부가 더 구성되는 것을 특징으로 하는 시리얼 버스라인.And a data converter configured to parallelly store serial data stored in a serial register according to a signal of the counter. 메인 칩이 시리얼 버스라인을 통해 주변칩의 시리얼 레지스터부로 시리얼 데이터를 출력하는 스텝과,A step in which the main chip outputs serial data through the serial bus line to the serial register of the peripheral chip; 주변칩의 시리얼 레지스터부로부터 동기워드가 검출되면 자신의 어드레스와 상기 메인 칩으로부터 보내온 어드레스를 비교하는 스텝과,Comparing the own address with the address sent from the main chip when a sync word is detected from the serial register of the peripheral chip; 상기 어드레스가 서로 동일하면, 데이터 전송신호에 의해 상기 어드레스 다음으로 상기 시리얼 레지스터부에 저장된 데이터를 패러렐 레지스터부로 패러랠하게 저장하는 스텝과,If the addresses are equal to each other, parallel storing the data stored in the serial register section next to the address by a data transmission signal in parallel; 상기 시리얼 레지스터부로부터 종료워드가 검출되면 상기 패러랠 레지스터부에 저장된 데이터를 패러랠하게 출력하는 스텝을 포함하여 이루어지는 것을 특징으로 하는 시리얼 버스라인을 이용한 데이터 전송방법.And outputting data stored in the parallel register unit in parallel when an end word is detected from the serial register unit. 제 5 항에 있어서,The method of claim 5, 상기 종료워드가 검출되기 전까지 상기 시리얼 레지스터부로 입력되는 데이터는 유효한 데이터로 관주하는 것을 특징으로 하는 시리얼 버스라인을 이용한 데이터 전송방법.The data input to the serial register until the end word is detected, the data is transmitted using the serial bus line, characterized in that the irrelevant data.
KR1019980007752A 1998-03-09 1998-03-09 Serial Bus Line and Data Transmission Method Using the Same KR19990074276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980007752A KR19990074276A (en) 1998-03-09 1998-03-09 Serial Bus Line and Data Transmission Method Using the Same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980007752A KR19990074276A (en) 1998-03-09 1998-03-09 Serial Bus Line and Data Transmission Method Using the Same

Publications (1)

Publication Number Publication Date
KR19990074276A true KR19990074276A (en) 1999-10-05

Family

ID=65908847

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980007752A KR19990074276A (en) 1998-03-09 1998-03-09 Serial Bus Line and Data Transmission Method Using the Same

Country Status (1)

Country Link
KR (1) KR19990074276A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021085786A1 (en) * 2019-10-29 2021-05-06 (주)파인디어칩 Integrated circuit and system control device including same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021085786A1 (en) * 2019-10-29 2021-05-06 (주)파인디어칩 Integrated circuit and system control device including same
KR20210050910A (en) * 2019-10-29 2021-05-10 (주)파인디어칩 Integrated circuit and system control apparatus comprising the integrated circuit

Similar Documents

Publication Publication Date Title
US4071887A (en) Synchronous serial data adaptor
US3975712A (en) Asynchronous communication interface adaptor
US4106091A (en) Interrupt status indication logic for polled interrupt digital system
US5748684A (en) Resynchronization of a synchronous serial interface
US3979732A (en) Asynchronous status interlock circuit for interface adaptor
US4468733A (en) Multi-computer system with plural serial bus loops
US7979629B2 (en) Memory module and control method of serial peripheral interface using address cache
EP0522764A2 (en) Multiplexing scheme for modem control signals
US4630295A (en) Low power consumption CMOS shift register
US20050198483A1 (en) Conversion apparatus and method thereof
US5903737A (en) Apparatus and method for serial data communication utilizing general microcomputer
US7231467B2 (en) Method and apparatus for providing an inter integrated circuit interface with an expanded address range and efficient priority-based data throughput
US5226173A (en) Integrated data processor having mode control register for controlling operation mode of serial communication unit
US4006457A (en) Logic circuitry for selection of dedicated registers
US7149932B2 (en) Serial communication device and method of carrying out serial communication
KR960006498B1 (en) Bus master
KR19990074276A (en) Serial Bus Line and Data Transmission Method Using the Same
US4644469A (en) Addressing system for electronic computer
US6282203B1 (en) Packet data transmitting apparatus, and method therefor
US6378019B1 (en) Method and system for interfacing a plurality of peripheral devices in a slave group interface device to a bus and a slave group interface device
JPH1063617A (en) Serial communication device
JPH0618373B2 (en) Data transmission method and device
EP0063140A1 (en) Data communication bus structure
JP2639248B2 (en) Communication interface device
KR19990074894A (en) Data transmission device and method using serial bus line

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination