[go: up one dir, main page]

KR100207015B1 - Interface chip and internal register access method of interface chip - Google Patents

Interface chip and internal register access method of interface chip Download PDF

Info

Publication number
KR100207015B1
KR100207015B1 KR1019960068791A KR19960068791A KR100207015B1 KR 100207015 B1 KR100207015 B1 KR 100207015B1 KR 1019960068791 A KR1019960068791 A KR 1019960068791A KR 19960068791 A KR19960068791 A KR 19960068791A KR 100207015 B1 KR100207015 B1 KR 100207015B1
Authority
KR
South Korea
Prior art keywords
register
internal
interface chip
access
reg
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 - Fee Related
Application number
KR1019960068791A
Other languages
Korean (ko)
Other versions
KR19980050038A (en
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 KR1019960068791A priority Critical patent/KR100207015B1/en
Publication of KR19980050038A publication Critical patent/KR19980050038A/en
Application granted granted Critical
Publication of KR100207015B1 publication Critical patent/KR100207015B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

본 발명은 인터페이스 칩 및 인터페이스 칩의 내부 레지스터 억세스 방법에 관한 것으로, 시스템 및 ASIC의 발달에 따라 많은 타겟 소자를 동시에 지원해야 하고 이를 위해 보다 많은 인터페이스 칩의 내부 레지스터를 필요로 하게 되는데, 종래에는 타겟 소자가 가진 어드레스 수 만큼의 레지스터만을 활용할 수 밖에 없었다.The present invention relates to an interface chip and an internal register access method of an interface chip, and according to the development of a system and an ASIC, it is necessary to simultaneously support a large number of target devices, and for this, more internal chip of an interface chip is required. Only registers as many as the address of the device had to be utilized.

본 발명은 타겟 소자를 제어하는 내부 레지스터와, 시스템이 미리 정해진 특정 어드레스를 두번 리드할 경우 상기 내부 레지스터에 인에이블 신호(EN)를 인가하고 내부 레지스터 억세스 모드로 들어가도록 하여 레지스터의 억세스가 이루어지도록 하고 종료신호에 따라 억세스 동작을 종료하도록 제어하는 내부 억세스 제어 블럭과, 상기 내부 레지스터 억세스 모드에서 시스템이 레지스터에 리드/라이트를 행할 때마다 1씩 카운터하여 상기 레지스터에 미리 설정한 카운터값이 되면 상기 내부 억세스 제어블럭에 종료신호를 보내는 카운터와, 상기 카운터의 출력을 받아 레지스터의 디코딩 신호를 출력하는 디코더로 구성되는 인터페이스 칩을 구성하고, 시스템이 특정 어드레스를 두번 연속하여 리드하게 되면 내부 레지스터 억세스 모드로 들어가고 그렇지 않으면 정상적으로 시스템과 타겟 소자간의 데이타 전송이 이루어지는 제1단계와, 특정 레지스터(Reg_AO)에 억세스 하고자 하는 레지스터의 범위 즉, 시작 어드레스 및 종료 어드레스를 미리 설정하는 제2단계와, 레지스터의 억세스 동작이 이루어지면서 상기 제2단계에서 미리 설정한 종료 어드레스에 카운터 값이 일치하면 내부 레지스터 억세스 모드를 빠져나와 초기 동작을 계속 수행하고, 그렇지 않으면 종료 어드레스에 이를 때까지 계속하여 레지스터를 억세스하는 제3단계로 인터페이스 칩의 내부 레지스터 억세스 방법을 제공한다.The present invention provides an internal register for controlling a target element, and when the system reads a predetermined specific address twice, an enable signal (EN) is applied to the internal register to enter the internal register access mode so that the register is accessed. And an internal access control block for controlling the access operation to be terminated according to an end signal, and each time the system reads / writes a register in the internal register access mode, the counter is set by one and the counter value is set in advance in the register. It consists of an interface chip consisting of a counter that sends an end signal to the internal access control block and a decoder that receives the output of the counter and outputs a decoded signal of the register. When the system reads a specific address twice consecutively, the internal register access mode Going into Otherwise, the first step in which data transfer is normally performed between the system and the target element, the second step in which the range of registers to be accessed, i.e., the start address and the end address, to be accessed in advance to the specific register (Reg_AO), If the counter value coincides with the end address set in the second step, it exits the internal register access mode and continues the initial operation. Otherwise, it continues to access the register until the end address is reached. An internal register access method of an interface chip is provided.

이와같은 본 발명의 타겟 소자에 할당된 어드레스 수 이상의 레지스터 사용을 가능하게 하는 효과가 있다.This has the effect of enabling the use of more registers than the number of addresses assigned to the target element of the invention.

Description

인터페이스 칩 및 인터페이스 칩의 내부 레지스터 억세스 방법Interface chip and internal register access method of interface chip

본 발명은 인터페이스 칩 및 인터페이스 칩의 내부 레지스터의 억세스 방법에 관한 것으로, 특히 타겟 소자를 제어할 수 있는 인터페이스 칩내의 내부 레지스터 사용시 타것소자에 할당된 어드레스 수 이상의 레지스터를 사용할 수 있도록 하는 데에 적당하도록 한 인터페이스칩 및 인터페이스 칩의 내부 레지스터 억세스 방법에 관한 것이다.The present invention relates to an interface chip and a method of accessing internal registers of the interface chip, and more particularly, to be able to use more registers than the number of addresses allocated to the target element when using an internal register in the interface chip that can control the target element. An interface chip and an internal register access method of the interface chip are provided.

도1은 시스템 버스(10)와 타겟 버스(20)간의 인터페이스 칩(30)을 도시한 것으로, 이에 도시한 바와 같이 인터페이스 칩(30)은 타겟 소자(미도시)를 제어하는 내부 레지스터(32)와, 시스템이 미리 정해진 특정 어드레스를 두번 리드할 경우 상기 내부 레지스터(32)에 인에이블 신호(EN)를 인가하여 내부 레지스터 억세스 모드로 들어가도록 하여 레지스터의 억세스가 이루어지도록 하고 상기 레지스터(32)에서 종료신호가 인가되면 억세스 동작을 종료하도록 제어하는 내부 억세스 제어 블럭(31)으로 구성된다.FIG. 1 illustrates an interface chip 30 between a system bus 10 and a target bus 20. As shown therein, the interface chip 30 includes an internal register 32 that controls a target element (not shown). When the system reads a predetermined address twice, the enable signal EN is applied to the internal register 32 to enter the internal register access mode so that the register is accessed. It is composed of an internal access control block 31 which controls to terminate the access operation when the end signal is applied.

상기 내부 레지스터(32)는 타겟 소자와 같은 어드레스를 갖는 레지스터로서, 레지스터(Reg_A)내의 각 비트는 내부 레지스터(32) 억세스를 완료하기 위한 완료비트(33)가 있고 레지스터(Reg_B)(Reg_C)에는 타겟 소자를 제어할 수 있는 데이타가 입력된다.The internal register 32 is a register having the same address as the target element, and each bit in the register Reg_A has a completion bit 33 for completing access to the internal register 32 and a register (Reg_B) (Reg_C). Data for controlling the target element is input.

이와같이 구성되는 종래 시스템 버스와 타겟 버스간의 인터페이스 칩(30)의 억세스 동작에 대해 설명하면 다음과 같다.Referring to the operation of the interface chip 30 between the conventional system bus and the target bus configured as described above are as follows.

보통 타겟 소자는 몇게의 억세스 어드레스를 갖는다.Usually the target element has several access addresses.

예를 들면, 하드 디스크를 억세스 하기 위해서 입/출력 포트 어드레스 중 1FO~1F7, 3F7의 어드레스를 할당하여 쓰고 있다.For example, in order to access a hard disk, addresses of 1FO to 1F7 and 3F7 are allocated and written among the input / output port addresses.

또한, 시스템과 ASIC의 발달로 많은 기능이 부가되어 타겟 소자만을 제어하던 단순성에서 좀 더 발전하여 시스템과 타겟 소자간의 인터페이스 칩(30)의 역할이 커지게 되었으며, 이러한 인터페이스 칩(30)의 역할을 수행하기 위해 인터페이스 칩(30)내에 레지스터를 두어 그 역할을 수행하도록 하였다.In addition, due to the development of the system and ASIC, many functions have been added to further develop from the simplicity of controlling only the target device, thereby increasing the role of the interface chip 30 between the system and the target device. In order to perform, a register is placed in the interface chip 30 to perform its role.

그러면, 도1와 같이 구성되는 인터페이스 칩(30)을 바탕으로 하여, 정해진 어드레스를 가지고 타겟 소자가 아닌 인터페이스 칩(30)에 레지스터(32)의 리드/라이트 방법에 대해 도2를 참조하여 설명한다.Next, a method of reading / writing the register 32 to the interface chip 30 having a predetermined address and not the target element based on the interface chip 30 configured as shown in FIG. 1 will be described with reference to FIG. 2. .

먼저, 파워가 온이 되면 시스템은 시스템 버스(10)를 통해 타겟 소자로의 억세스를 시도하는데, 시스템이 미리 정해진 특정 어드레스를 두번 리드(read)하지 않으면 인터페이스 칩(30)은 타겟 소자에 시스템의 신호를 그대로 전달한다.First, when the power is turned on, the system attempts to access the target device via the system bus 10. If the system does not read a predetermined specific address twice, the interface chip 30 is connected to the target device. Pass the signal as it is.

즉, 시스템과 타겟 소자간의 데이타 전송이 이루어진다.That is, data transfer is made between the system and the target device.

그러나, 시스템이 특정 어드레스를 두번 연속하여 리드(read)하면 인터페이스 칩(30)은 시스템이 자신과의 데이터 전송을 원함을 인지하고 타겟 소 자와의 패스를 끊고 시스템과 데이타 전송을 하게 된다.However, when the system reads a specific address twice consecutively, the interface chip 30 recognizes that the system wants to transmit data with itself, breaks the path with the target element, and transmits data with the system.

즉, 내부 레지스터 억세스 모드로 들어간다.That is, it enters the internal register access mode.

이후, 시스템이 인터페이스 칩(30) 내부 레지스터(32)의 억세를 완료하여 더 이상 인터페이스 칩(30)과의 데이타 전송이 필요없을 때, 레지스터(Reg-A)의 완료비트(33)를 셋팅(setting)시키면 인터페이스 칩(30)은 내부 레지스터 억세스 모드를 빠져나오게 되며 이후의 동작은 초기 상태에서 출발하게 된다.Thereafter, when the system completes the access of the internal register 32 of the interface chip 30 and no longer requires data transmission with the interface chip 30, setting the completion bit 33 of the register (Reg-A) ( If set, the interface chip 30 exits the internal register access mode and subsequent operations start from the initial state.

이러한 인터페이스 칩(30)의 동작을 예를 들어 설명한다.The operation of this interface chip 30 will be described by way of example.

시스템이 타겟 소자를 억세스 하기 위하여 어드레스(1F0~1F7)를 쓰고 있다고 가정하여 보면, 시스템과 타겟 소자간의 인터페이스 칩(30)을 억세스 하기 위하여 특정 어드레스(1F0)를 두번 연속 리드(read)한다.Assuming that the system writes addresses 1F0 to 1F7 to access the target device, the specific address 1F0 is read twice in succession to access the interface chip 30 between the system and the target device.

그러면, 인터페이스 칩(30)은 내부 레지스터 억세스 모드에 들어가게 되고, 이후 억세스되는 어드레스(1F0~1F7)는 타겟 소자가 아닌 인터페이스 칩(30)의 내부 레지스터(32)를 억세스 하기 위해 사용된다.Then, the interface chip 30 enters the internal register access mode, and the addresses 1F0 to 1F7 accessed thereafter are used to access the internal register 32 of the interface chip 30 and not the target device.

상기와 같은 억세스가 완료되었을 때 어드레스(1F0)의 어느 한 비트 즉, 완료비트(33)를 셋팅하게 되면, 종료신호(end signal)가 내부 억세스 제어 블럭(31)에 전달되어 인터페이스 칩(30)은 내부 레지스터 억세스 모드를 빠져나오게 되며 이후의 동작은 초기 상태에서 출발하게 된다.When one bit of the address 1F0, that is, the completion bit 33 is set when the above access is completed, an end signal is transmitted to the internal access control block 31 to transmit the interface chip 30. Exits the internal register access mode and subsequent operations start from the initial state.

그러나, 시스템 및 ASIC의 발달에 따라 많은 타겟 소자를 동시에 지원해야 하고 이를 위해 보다 많은 인터페이스 칩(30)의 내부 레지스터(32)를 필요로 하게 되는데, 상기 설명한 종래의 기술은 타겟 소자가 가진 어드레스 수 만큼의 레지스터만을 활용할 수 밖에 없는 문제가 생긴다.However, according to the development of the system and ASIC, it is necessary to support many target devices at the same time and require more internal registers 32 of the interface chip 30 for this purpose. There is a problem that only the number of registers can be utilized.

본 발명은 상기와 같은 종래의 문제를 해결하기 위하여 창안된 것으로, 시스템 버스가 특정 어드레스를 두번 리드하여 인터페이스 칩이 내부 레지스터 억세스 모드로 들어가게 되면 특정 레지스터에 억세스하고자 하는 레지스터의 수를 지정할 수 있도록 함으로써, 적은 수의 어드레스를 가지고도 내부 레지스터를 억세스할 수 있도록 한 인터페이스 칩 및 인터페이스 칩의 내부 레지스터 억세스 방법을 제공함에 그 목적이 있다.The present invention was devised to solve the above-described conventional problem. When the system bus reads a specific address twice so that the interface chip enters the internal register access mode, the number of registers to access a specific register can be specified. Therefore, an object of the present invention is to provide an interface chip and a method of accessing an internal register of the interface chip so that the internal register can be accessed even with a small number of addresses.

제1도는 종래 인터페이스 칩의 내부 구성도.1 is an internal configuration diagram of a conventional interface chip.

제2도는 종래 인터페이스 칩의 내부 레지스터 억세스 방법을 나타낸 동작 흐름도.2 is a flowchart illustrating an internal register access method of a conventional interface chip.

제3도는 본 발명 인터페이스 칩의 내부 구성도.3 is an internal configuration diagram of an interface chip of the present invention.

제4도는 본 발명 인터페이스 칩의 레지스터 억세스 방법을 나타낸 동작 흐름도.4 is an operation flowchart showing a register access method of an interface chip of the present invention.

제5도는 본 발명의 다른 실시예로, 두개의 레지스터 블럭으로 된 인터페이스 칩의 구성도.5 is another embodiment of the invention, the configuration diagram of the interface chip consisting of two register blocks.

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

100 : 시스템 버스 200 : 타겟 버스100: system bus 200: target bus

300 : 인터페이스 칩 310 : 내부 억세스 제어 블럭300: interface chip 310: internal access control block

320 : 카운터 330 : 내부 레지스터320: counter 330: internal register

340 : 디코더 400 : 인터페이스 칩340: decoder 400: interface chip

410 : 레지스터 블럭(A) 411 : 내부 레지스터(A)410: register block (A) 411: internal register (A)

412 : 카운터(A) 413 : 디코더(A)412: Counter (A) 413: Decoder (A)

420 : 레지스터 블럭(B) 421 : 내부 레지스터(B)420: register block (B) 421: internal register (B)

422 : 카운터(B) 423 : 디코더(B)422: counter (B) 423: decoder (B)

상기와 같은 목적을 달성하기 위한 본 발명 인터페이스 칩은 도3에 도시한 바와 같이, 인터페이스 칩(300)은 타겟 소자를 제어하는 내부 레지스터(330)와, 시스템이 미리 정해진 특정 어드레스를 두번 리드할 경우 상기 내부 레지스터(330)에 인에이블 신호(EN)를 인가하고 내부 레지스터 억세스 모드로 들어가도록 하여 레지스터(330)의 억세스가 이루어지도록 하고 종료신호에 따라 억세스 동작을 종료하도록 제어하는내부 억세스 제어 블럭(310)과, 상기 내부 레지스터 억세스 모드에서 시스템이 레지스터(330)에 리드/라이트를 행할 때마다 1씩 카운터하여 상기 레지스터(330)에 미리 설정한 카운터값이 되면 상기 내부 억세스 제어블럭(310)에 종료신호를 보내는 카운터(320)와, 상기 카운터(320)의 출력을 받아 레지스터(330)의 디코딩 신호를 출력하는 디코더(340)로 구성된다.The interface chip of the present invention for achieving the above object is shown in Figure 3, the interface chip 300, the internal register 330 for controlling the target element, and when the system reads a predetermined specific address twice An internal access control block for applying an enable signal EN to the internal register 330 and entering an internal register access mode to access the register 330 and to terminate the access operation according to a termination signal ( 310 and each time the system reads / writes the register 330 in the internal register access mode, and counts one by one to set the counter value preset in the register 330 to the internal access control block 310. A counter 320 for sending an end signal and a decoder 340 for receiving the output of the counter 320 and outputting the decoded signal of the register 330. It is composed.

또한, 상기 레지스터(330)는 타겟 소자와 같은 어드레스를 가지며 내부 레지스터 억세스 모드에서 억세스 하고자 하는 내부 레지스터의 범위를 설정하는 레지스터(Reg_A0)와, 타겟 소자와는 무관한 어드레스를 가지며 즉, 상기 레지스터(Reg_A0)에서 설정한 범위에 의해 어드레스가 지정되며 시스템이 활용하고자 하는 데이타가 실리게 되는 레지스터(Reg_A1~Reg_A16)로 구성된다.In addition, the register 330 has the same address as the target element and has a register Reg_A0 for setting a range of an internal register to be accessed in the internal register access mode, and an address irrelevant to the target element. It is addressed by the range set in Reg_A0) and consists of registers (Reg_A1 ~ Reg_A16) on which data to be utilized by the system is loaded.

상기와 같이 구성되는 인터페이스 칩의 내부 레지스터 억세스 방법은 도4의 동작 흐름도와 같이, 시스템이 특정 어드레스를 두번 연속하여 리드하게 되면 내부 레지스터 억세스 모드로 들어가고 그렇지 않으면 정상적으로 시스템과 타겟 소자간의 데이타 전송이 이루어지는 제1단계와, 특정 레지스터(Reg_A0)에 억세스 하고자 하는 레지스터의 범위 즉, 시작 어드레스 및 종료 어드레스를 미리 설정한 종료 어드레스에 카운터 값이 일치하면 내부 레지스터 억세스 모드를 빠져나와 초기 동작을 계속 수행하고, 그렇지 않으면 종료 어드레스에 이를 때까지 계속하여 레지스터를 억세스하는 제3단계로 이루어진다.In the internal register access method of the interface chip configured as described above, as shown in the operation flowchart of FIG. 4, when the system reads a specific address twice in succession, the internal register access mode is entered. Otherwise, data transfer is normally performed between the system and the target device. If the counter value matches the first step and the range of registers to which the specific register Reg_A0 is to be accessed, that is, the start address and the end address preset, the internal register access mode is exited and the initial operation is continued. Otherwise, the third step is to access the register continuously until the end address is reached.

이와같은 본 발명에 대해 좀 더 상세히 설명하면 다음과 같다.The present invention will be described in more detail as follows.

먼저, 파워가 온이 되면 시스템은 시스템 버스(100)를 통해 타겟 소자로의 억세스를 시도하는데, 시스템이 미리 정해진 특정 어드레스를 두번 리드(read)하지 않으면 인터페이스 칩(30)은 타겟 소자에 시스템의 신호를 그대로 전달한다.First, when the power is turned on, the system attempts to access the target device through the system bus 100. If the system does not read a predetermined specific address twice, the interface chip 30 is connected to the target device. Pass the signal as it is.

즉, 시스템과 타겟 소자간의 데이타 전송이 이루어진다.That is, data transfer is made between the system and the target device.

그러나, 시스템이 특정 어드레스(즉, 입/출력 포트 어드레스)를 두번 연속하여 리드(read)하면 인터페이스 칩(30)은 시스템이 자신과의 데이타 전송을 원함을 인지하고 타겟 소자와의 패스를 끊고 시스템과 데이타 전송을 하게 된다.However, if the system reads a particular address (ie, input / output port address) twice in succession, the interface chip 30 recognizes that the system wants to transfer data with itself, and breaks the path with the target device and And data transfer.

즉, 내부 레지스터 억세스 모드로 들어간다.That is, it enters the internal register access mode.

일단, 내부 레지스터 억세스 모드로 들어가게 되면 시스템은 내부 레지스터(330) 증 레지스터(Reg_A0)에 억세스 하고자 하는 레지스터의 범위를 쓰게 된다.Once the internal register access mode is entered, the system writes the range of registers to be accessed to the internal register 330 increment register (Reg_A0).

즉, 상위 4비트에는 시작할 레지스터의 번호를 쓰고 하위 4비트에는 종료할 레지스터의 번호를 쓰게 된다.That is, the upper 4 bits write the number of the register to start and the lower 4 bits write the number of the register to end.

예를 들어, '10001111'을 쓰게 되면 레지스터(8~16)을 억세스할 것임을 의미한다.For example, writing '10001111' means accessing registers 8-16.

이후, 시스템은 타겟 소자를 억세스 할때 사용한 어드레스를 가지고 인터페이스 칩(30) 내부의 레지스터(Reg_A1~Reg_A16)를 리드/라이트하면, 이렇게 사용되는 어드레스는 내부 레지스터의 어드레싱을 위해서는 사용하지 않으며 상기 언급한 바와 같이 레지스터(Reg_A0)의 값에 의해 어드레싱 된다.Thereafter, when the system reads / writes the registers Reg_A1 to Reg_A16 in the interface chip 30 with the address used to access the target element, the address used in this manner is not used for addressing the internal registers. As shown, it is addressed by the value of the register Reg_A0.

예를 들어, 앞에서 사용한 데이타로 레지스터(Reg_A0)가 셋팅된 후, 시스템에서의 리드/라이트 억세스는 카운터(320)로 하여금 1씩 카운팅 되고 이는 다음에 억세스 하고자 하는 내부 레지스터의 번호를 만들게 되며, 이러한 순서는 카운터(320)에 입력된 종료 어드레에스(End address)까지 이루어진다.For example, after the register (Reg_A0) is set to the data used earlier, read / write access in the system causes the counter 320 to be counted by one, which makes the number of internal registers to be accessed next. The order is made up to the end address input to the counter 320.

내부 레지스터(330)의 억세스 카운터(320)에 의해 완료된다. 즉, 내부 레지스터(330)의 레지스터(Reg_A0)에 미리 설정한 종료 어드레스와 카운터 값이 같게 되면 종료신호(end signal)를 셋팅시켜 내부 억세스 제어 블럭(310)으로 하여, 내부 레지스터 억세스 모드를 빠져나오게 한다.Completed by the access counter 320 of the internal register 330. That is, when the end address preset in the register (Reg_A0) and the counter value in the internal register 330 are the same, the end signal is set to the internal access control block 310 to exit the internal register access mode. do.

이렇게 내부 억세스 제어 블럭(310)에 종료신호(end signal)이 셋팅되어 내부 레지스터 억세스 모드를 빠져나와 시스템과 인터페이스 칩(300)과의 연결을 끊고 시스템과 타겟 소자간의 패스플 만들어 초기 상태가 되게 한다.In this way, an end signal is set in the internal access control block 310 to exit the internal register access mode to disconnect the system from the interface chip 300 and to make a path between the system and the target device to make an initial state. .

도5는 시스템이 타겟 소자를 억세스 할 때 2개의 어드레스를 가질 경우 즉, 레지스터(Reg_A0)와 레지스터(Reg_B0)의 어드레스를 가질 경우에는 이 두개의 값에 의해 억세스 가능한 레지스터의 수를 확장하고자 한 것이다.5 is intended to extend the number of registers accessible by these two values when the system has two addresses when accessing a target element, that is, when the system has addresses of registers Reg_A0 and Register_B0. .

레지스터(Reg_A0)에 카운터의 범위를 설정하고 레지스터(Reg_B0)에 또 다른 레지스터 그룹을 위한 카운터 범위를 설정하게 되며, 이의 동작은 다음과 같다.A counter range is set in the register Reg_A0 and a counter range for another register group is set in the register Reg_B0. The operation thereof is as follows.

레지스터(Reg_A0)에 의해 레지스터 블럭(A)의 억세스가 완료되었을 때 카운터(A)(412)는 종료신호(end signal)를 카운터(B)(422)에 전달하고 카운터(B)(422)가 인에이블 되면 카운팅을 시작하게 되며, 이후 카운터 값이 레지스터(Reg_B0)에 미리 설정된 값에 도달하면 종료신호(end signal)를 내부 억세스 제어 블럭(410)에 보내어 내부 레지스터 억세스 모드를 빠져 나오게 한다.When the access of the register block A is completed by the register Reg_A0, the counter (A) 412 transmits an end signal to the counter (B) 422 and the counter (B) 422 When enabled, counting starts. When the counter value reaches a preset value in the register Reg_B0, an end signal is sent to the internal access control block 410 to exit the internal register access mode.

즉, 초기 상태로 되돌아 간다.That is, return to the initial state.

상술한 바와 같이, 본 발명은 타겟 소자에 할당된 어드레스 수 이상의 레지스터 사용이 가능해지는 효과가 있다.As described above, the present invention has the effect of enabling the use of registers more than the number of addresses allocated to the target element.

즉, 1개의 타겟 어드레스에 의해 할당될 수 있는 내부 레지스터의 수는 하나의 레지스터가 8비트일 경우는 최고 16개로, n개의 타겟 어드레스가 있을 때에는 16×n개의 내부 레지스터의 어드레스가 가능하다.That is, the number of internal registers that can be allocated by one target address is a maximum of 16 when one register is 8 bits, and an address of 16 × n internal registers is possible when there are n target addresses.

Claims (6)

타겟 소자를 제어하는 내부 레지스터와, 시스템이 미리 정해진 특정 어드레스를 두번 리드할 경우 상기 내부 레지스터에 인에이블 신호(EN)를 인가하고 내부 레지스터 억세스 모드로 들어가도록 하여 레지스터의 억세스가 이루어지도록 하고 종료신호에 따라 억세스 동작을 종료하도록 제어하는 내부 억세스 제어 블럭과, 상기 내부 레지스터 억세스 모드에서 시스템이 레지스터에 리드/라이트를 행할 때마다 1씩 카운터하여 상기 레지스터에 미리 설정한 카운터값이 되면 상기 내부 억세스 제어블럭에 종료신호를 보내는 카운터와, 상기 카운터의 출력을 받아 레지스터의 디코딩 신호를 출력하는 디코더로 구성하여 된 것을 특징으로 하는 인터페이스 칩.The internal register controlling the target device, and when the system reads a predetermined predetermined address twice, the enable signal (EN) is applied to the internal register and enters the internal register access mode to enable the register access and the end signal. An internal access control block for controlling an access operation to be terminated according to the < RTI ID = 0.0 > and < / RTI > And a counter for sending an end signal to the block and a decoder for receiving the output of the counter and outputting a decoded signal of the register. 제1항에 있어서, 상기 레지스터는 타겟 소자와 같은 어드레스를 가지며 내부 레지스터 억세스 모드에서 억세스 하고자 하는 내부 레지스터의 범위를 설정하는 레지스터(Reg_A0)와, 타겟 소자와는 무관하게 상기 레지스터(Reg_A0)에서 설정한 범위에 의해 어드레스가 지정되며 시스템이 활용하고자 하는 데이타가 실리게 되는 레지스터(Reg_A1~Reg_A16)로 구성되는 것을 특징으로 하는 인터페이스 칩.The register of claim 1, wherein the register has the same address as a target element and sets a range of an internal register to be accessed in an internal register access mode, and is set in the register Reg_A0 regardless of a target element. An interface chip, which is addressed by one range and composed of registers (Reg_A1 to Reg_A16) on which data desired to be utilized by the system is loaded. 제2항에 있어서, 1개의 타겟 어드레스에 의해 할당될 수 있는 내부 레지스터의 수는 n개의 타겟 어드레스가 있을 때 16×n개의 내부 레지스터의 어드레스가 되도록 구성하는 것을 특징으로 하는 인터페이스 칩.3. The interface chip according to claim 2, wherein the number of internal registers that can be allocated by one target address is configured to be an address of 16 x n internal registers when there are n target addresses. 시스템이 특정 어드레스를 두번 연속하여 리드하게 되면 내부 레지스터 억세스 모드로 들어가고 그렇지 않으면 정상적으로 시스템과 타겟 소자간의 데이타 전송이 이루어지는 제1단계와, 특정 레지스터(Reg_A0)에 억세스 하고자 하는 레지스터의 범위인 시작 어드레스 및 정료 어드레스를 미리 설정하는 제2단계와, 레지스터의 억세스 동작이 이루어지면서 상기 제2단계에서 미리 실정한 종료 어드레스에 카운터 값이 일치하면 내부 레지스터 억세스 모드를 빠져나와 초기 동작을 계속 수행하고, 그렇지 않으면 종료 어드레스에 이를 때까지 계속하여 레지스터를 억세스 하는 제3단계로 이루어지는 것을 특징으로 하는 인터페이스 칩의 내부 레지스터 억세스 방법.If the system reads a specific address twice consecutively, it enters the internal register access mode; otherwise, the first step in which data transfer is normally performed between the system and the target device; If the counter value coincides with the end address previously determined in the second step while the register access operation is performed and the register access operation is performed in advance, the internal register access mode is exited and the initial operation is continued. And a third step of accessing the register continuously until the end address is reached. 각각의 레지스터 (Reg_A0) (Reg_B0) 어드레스를 가지는 두 개의 레지스터 블럭(A)(B)을 서로의 카운터로 연결하여 한 블럭(A)의 억세스가 종료되면 다른 한 블럭(B)의 억세스가 이루어지도록 하여 억세스 가능한 레지스터의 수를 확장할 수 있도록 구성한 것을 특징으로 하는 인터페이스 칩.By connecting two register blocks (A) (B) having respective registers (Reg_A0) (Reg_B0) addresses with each other's counters, when access of one block (A) is terminated, another block (B) is accessed. Interface chip, characterized in that configured to expand the number of accessible registers. 두 개의 레지스터 (Reg_A0) (Reg_B0) 어드레스를 가질 경우 각각의 레지스터 (Reg_A0) (Reg_B0)에 카운터의 범위를 설정한 다음, 먼저 하나의 레지스터 블럭(A)의 억세스가 종료되면 이 카운터(A)의 종료신호를 다른 카운터(B)에 보내어 다른 레지스터 블럭(B)이 억세스 되도록 하는 것을 특징으로 하는 인터페이스 칩의 내부 레지스터 억세스 방법.If you have two registers (Reg_A0) (Reg_B0), set the range of the counter in each register (Reg_A0) (Reg_B0). Then, when access to one register block (A) is finished, the counter (A) A method of accessing an internal register of an interface chip, characterized by sending an end signal to another counter (B) so that another register block (B) is accessed.
KR1019960068791A 1996-12-20 1996-12-20 Interface chip and internal register access method of interface chip Expired - Fee Related KR100207015B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960068791A KR100207015B1 (en) 1996-12-20 1996-12-20 Interface chip and internal register access method of interface chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960068791A KR100207015B1 (en) 1996-12-20 1996-12-20 Interface chip and internal register access method of interface chip

Publications (2)

Publication Number Publication Date
KR19980050038A KR19980050038A (en) 1998-09-15
KR100207015B1 true KR100207015B1 (en) 1999-07-01

Family

ID=19489657

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960068791A Expired - Fee Related KR100207015B1 (en) 1996-12-20 1996-12-20 Interface chip and internal register access method of interface chip

Country Status (1)

Country Link
KR (1) KR100207015B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040040536A (en) * 2002-11-07 2004-05-13 (주)에이엘테크 Asic chip
KR100819554B1 (en) 2006-12-04 2008-04-07 삼성전자주식회사 An electronic device having a reproducible electronic component, a manufacturing method of the electronic device and a regeneration method of the electronic component

Also Published As

Publication number Publication date
KR19980050038A (en) 1998-09-15

Similar Documents

Publication Publication Date Title
US5251303A (en) System for DMA block data transfer based on linked control blocks
KR100227419B1 (en) External memory device and memory access control method
US5109490A (en) Data transfer using bus address lines
EP0303751A1 (en) Interface mechanism for controlling the exchange of information between two devices
EP2212802B1 (en) Ethernet controller
KR900015008A (en) Data processor
KR100207015B1 (en) Interface chip and internal register access method of interface chip
EP0172523B1 (en) Microcomputer having at least one input-output unit
US5809319A (en) High speed ladder instruction process system for a programmable logic controller
KR100899514B1 (en) How to Interface a Processor to External Memory That Supports Burst Mode
KR101109600B1 (en) Data transmission method and device using direct memory access control
US6272570B1 (en) IC memory card
US6418491B1 (en) Apparatus and method for controlling timing of transfer requests within a data processing apparatus
US4570218A (en) System for the detection of programmable stop codes
RU2022344C1 (en) Digital signal input/output device
SU1587518A1 (en) Device for interfacing processor and group of memory units
JPS61265653A (en) Direct memory access method
JPS6142986B2 (en)
RU1837303C (en) Peripheral interface device
SU1501071A1 (en) Device for interfacing processor with group of memory units
JP2735112B2 (en) Data read / write method of numerical controller
SU1287159A1 (en) Priority interruption device
KR19990058930A (en) Deamic controller and method for changing priority of deamplification request signal using same
JPS61239341A (en) Memory busy checking system
JPS6126700B2 (en)

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 19961220

PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 19961220

Comment text: Request for Examination of Application

PG1501 Laying open of application
E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 19990127

N231 Notification of change of applicant
PN2301 Change of applicant

Patent event date: 19990203

Comment text: Notification of Change of Applicant

Patent event code: PN23011R01D

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 19990410

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 19990412

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
PR1001 Payment of annual fee

Payment date: 20020329

Start annual number: 4

End annual number: 4

PR1001 Payment of annual fee

Payment date: 20030219

Start annual number: 5

End annual number: 5

PR1001 Payment of annual fee

Payment date: 20040401

Start annual number: 6

End annual number: 6

PR1001 Payment of annual fee

Payment date: 20050330

Start annual number: 7

End annual number: 7

PR1001 Payment of annual fee

Payment date: 20060331

Start annual number: 8

End annual number: 8

FPAY Annual fee payment

Payment date: 20070330

Year of fee payment: 9

PR1001 Payment of annual fee

Payment date: 20070330

Start annual number: 9

End annual number: 9

LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee

Termination category: Default of registration fee

Termination date: 20090310