KR100262692B1 - Method for control of device in a process - Google Patents

Method for control of device in a process Download PDF

Info

Publication number
KR100262692B1
KR100262692B1 KR1019970072774A KR19970072774A KR100262692B1 KR 100262692 B1 KR100262692 B1 KR 100262692B1 KR 1019970072774 A KR1019970072774 A KR 1019970072774A KR 19970072774 A KR19970072774 A KR 19970072774A KR 100262692 B1 KR100262692 B1 KR 100262692B1
Authority
KR
South Korea
Prior art keywords
signal
processor
data
address
selection
Prior art date
Application number
KR1019970072774A
Other languages
Korean (ko)
Other versions
KR19990053183A (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 KR1019970072774A priority Critical patent/KR100262692B1/en
Publication of KR19990053183A publication Critical patent/KR19990053183A/en
Application granted granted Critical
Publication of KR100262692B1 publication Critical patent/KR100262692B1/en

Links

Images

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/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine

Abstract

PURPOSE: A method for controlling an external device of a processor is provided to prevent a malfunction of the device, and make it easy to expand the device, by enabling the processor to combine many selection signals and thereby select the device, allowing the processor to use a confirming signal as a reference signal for controlling the device and thereby stabilize the operation timing of the device. CONSTITUTION: An address strobe signal, a selection signal and an operation signal are activated in response to a clock signal of the processor, and an address signal and a data signal are applied to the device via an interface part. When a cycle of the clock signal expires, the processor applies the signal for confirming an active state to the device via the interface part. When the processor receives an acknowledgement signal responsive to data transmission and its size from the device via the interface part, it changes the state of the confirming signal to a reactive state.

Description

프로세서에서의 디바이스 제어 방법Device control method on processor

본 발명은 프로세서에서의 디바이스 제어 방법에 관한 것으로, 특히 프로세서가 빠른 속도로 동작하는 경우, 프로세서에서 선택신호를 조합하여 디바이스 선택하고, 해당 디바이스가 원거리에 위치해 있으면 해당 프로세서의 제어신호 출력동작에 대한 타이밍을 확인신호를 이용하여 안정화시킬 수 있도록 하는 프로세서에서의 디바이스 제어 방법에 관한 것이다.The present invention relates to a method of controlling a device in a processor. In particular, when the processor operates at a high speed, the processor selects a device by combining a selection signal, and when the device is located at a remote location, the control signal output operation of the processor is performed. The present invention relates to a method for controlling a device in a processor that enables the timing to be stabilized using an acknowledgment signal.

일반적으로, 프로세서가 외부 회로부에 존재하는 디바이스들을 제어하기 위해 사용되는 기본적인 제어신호는 제어할 디바이스를 선택하는 선택신호(CS/)와, 디바이스의 특정 레지스터나 메모리를 지정하기 위한 어드레스(Address) 신호 및 프로세서와 메모리 혹은 인터페이스부 및 디바이스간의 데이터(Data) 신호와, 프로세서가 프로세서 이외의 디바이스로부터 데이터를 읽어 들이는 경우와 프로세서 이외의 디바이스에 데이터를 기록할 경우 즉, 프로세서의 현재 동작을 나타내는 동작신호(RD/ 신호, WR/ 신호)가 있다.In general, the basic control signal used by the processor to control devices present in the external circuitry includes a selection signal (CS /) for selecting a device to be controlled and an address signal for designating a specific register or memory of the device. And a data signal between the processor and the memory or the interface unit and the device, and when the processor reads data from a device other than the processor and writes data to a device other than the processor, that is, an operation indicating a current operation of the processor. There is a signal (RD / signal, WR / signal).

한편, 종래의 프로세서와 디바이스간의 신호 전송을 위한 구성은 도면 도 1에 도시된 바와 같이 각종 제어신호의 송수신에 대한 전반적인 동작을 제어하는 프로세서(11)와, 송수신되는 제어신호를 정합하여 주는 인터페이스부(12)와, 인터페이스부(12)를 통해 프로세서(11)와 제어신호 및 데이터를 송수신하는 다수개의 디바이스(13)로 구성되는데, 프로세서(11)와 디바이스(13)는 프로세서(11)에서 디바이스(13)에 인가하는 어드레스 신호를 전송하는 어드레스 버스와, 프로세서(11)에서 디바이스(13)에 데이터를 송신하거나 디바이스(13)로부터 프로세서(11)에 인가되는 데이터를 수신하기 위한 데이터 신호를 전송하는 데이터 버스와, 프로세서(11)가 디바이스(13)로부터 데이터를 읽어 들이는 경우의 RD/ 신호나 디바이스(13)에 데이터를 기록하는 경우의 WR/ 신호를 전송하는 RW/ 버스와, 프로세서(11) 내부에서 어드레스 신호를 디코딩하여 생성하는 선택신호를 전송하는 CS/ 버스로 연결된다.On the other hand, the conventional configuration for signal transmission between the processor and the device, as shown in Figure 1 processor 11 for controlling the overall operation for the transmission and reception of various control signals and the interface unit for matching the control signals transmitted and received And a plurality of devices 13 for transmitting and receiving control signals and data to and from the processor 11 through the interface unit 12, wherein the processor 11 and the device 13 are devices in the processor 11. An address bus for transmitting an address signal applied to (13) and a data signal for transmitting data from the processor 11 to the device 13 or for receiving data applied from the device 13 to the processor 11; The data bus to be read, and the RD / signal when the processor 11 reads data from the device 13 and the WR / signal when the data is written to the device 13. And RW / bus for transmission, and is connected to a selection signal produced by decoding the address signals from the internal processor 11 to the CS / bus transfer.

전술한 바와 같이 구성된 종래의 프로세서(11)와 디바이스(13)간의 데이터 송수신 동작은 다음과 같이 수행된다.The data transmission / reception operation between the conventional processor 11 and the device 13 configured as described above is performed as follows.

먼저, 프로세서(11)에서 인터페이스부(12)를 통해 디바이스(13)에 데이터를 전송하고자 하는 경우, 프로세서(11)는 어드레스 신호를 디코딩하여 생성된 선택신호를 CS/ 버스를 이용하여 인터페이스부(12)를 통하여 해당 선택신호에 대응되는 디바이스(13)를 선택한다. 이후, 어드레스 신호의 송신개시를 통보하는 프레임 동기신호를 해당 디바이스(13)에 인가한 후 대략 1.5 주기의 클럭신호가 경과하면, 데이터 전송을 지정하는 n비트의 어드레스 신호(A0-An)와 WR/ 신호를 각각 어드레스 버스와 RW/ 버스를 이용하여 인터페이스부(12)에 인가하면, 해당 인터페이스부(12)는 인가되는 신호를 정합하여 해당 디바이스(13)에 인가한다. 이후, 데이터의 수신측인 디바이스(13)는 프로세서(11)로부터 인가되는 프레임 동기신호와 어드레스 신호 및 WR/ 신호를 인지한 후, 대략 2주기의 클럭신호가 경과한 후에 데이터 수신준비가 되었음을 통보하는 준비완료 신호를 프로세서(11)에 인가하면, 해당 프로세서(11)는 수신되는 준비완료 신호에 따라 데이터 버스를 이용하여 인터페이스부(12)를 통해 디바이스(13)에 데이터를 전송하면 된다.First, when the processor 11 intends to transmit data to the device 13 through the interface unit 12, the processor 11 may decode the selection signal generated by decoding the address signal using the CS / bus interface unit ( 12 selects the device 13 corresponding to the selection signal. Subsequently, when a clock signal of approximately 1.5 cycles has passed since the frame synchronization signal for notifying the start of the transmission of the address signal was applied to the corresponding device 13, the n-bit address signal A0-An and WR for specifying data transmission were passed. When the / signal is applied to the interface unit 12 using the address bus and the RW / bus, respectively, the interface unit 12 matches and applies the applied signal to the device 13. Subsequently, the device 13, which is the receiving side of the data, recognizes the frame synchronization signal, the address signal, and the WR / signal applied from the processor 11, and notifies that the data reception is ready after approximately two cycles of the clock signal have passed. When the ready signal is applied to the processor 11, the processor 11 may transmit data to the device 13 through the interface unit 12 using a data bus according to the received ready signal.

다음으로, 프로세서(11)가 디바이스(13)로부터 전송되는 데이터를 판독하고자 하는 경우, 프로세서(11)에 의해 선택된 디바이스(13)는 해당 프로세서(11)의 동작신호가 RD 신호일 때 데이터 버스를 이용하여 자신의 데이터를 전송하게 되는데, 프로세서(11)는 어드레스 신호의 송신개시를 통보하는 프레임 동기신호를 해당 디바이스(13)에 인가한 후 대략 1.5주기의 클럭신호가 경과하면, 디바이스(13)로부터 데이터를 판독하고자 하는 n비트의 어드레스 신호와 RD 신호를 각각 어드레스 버스와 RW/ 버스를 이용하여 인터페이스부(12)에 인가하면, 해당 인터페이스부(12)는 인가되는 신호를 정합하여 해당 디바이스(13)에 인가한다. 이후, 데이터 송신측인 디바이스(13)는 프로세서(11)로부터 인가되는 프레임 동기신호와 어드레스 신호 및 RD 신호를 인지한 후, 대략 2 주기의 클럭신호가 경과한 후에 데이터 송신준비가 되었음을 통보하는 준비완료 신호를 프로세서(11)에 인가한 후, 데이터 버스를 이용하여 송신할 데이터를 인터페이스부(12)를 통해 프로세서(11)에 인가하면, 해당 프로세서(11)는 인터페이스부(12)를 통해 데이터 버스로 전송되는 데이터를 판독한다.Next, when the processor 11 wants to read data transmitted from the device 13, the device 13 selected by the processor 11 uses the data bus when the operation signal of the processor 11 is an RD signal. The processor 11 transmits its own data. When the clock signal of approximately 1.5 cycles has elapsed after the frame synchronization signal for notifying the start of transmission of the address signal is applied to the device 13, the processor 13 When the n-bit address signal and the RD signal to read data are applied to the interface unit 12 using the address bus and the RW / bus, respectively, the interface unit 12 matches the applied signal and the corresponding device 13 ) Is applied. Thereafter, the device 13 on the data transmission side recognizes the frame synchronization signal, the address signal, and the RD signal applied from the processor 11, and after the clock signal of approximately two cycles has elapsed, it is ready to notify that the data transmission is ready. After the completion signal is applied to the processor 11 and the data to be transmitted using the data bus is applied to the processor 11 through the interface unit 12, the processor 11 transmits data through the interface unit 12. Read data sent to the bus.

전술한 바와 같은 종래의 프로세서는 제어되는 디바이스가 원거리에 위치해 있는 경우, 해당 프로세서에 의해 출력되는 제어신호가 디바이스에 전송되는 도중에 신호감쇄가 발생하여 해당 디바이스가 오동작하는 문제점이 있고, 선택신호가 제한되어 있어서 디바이스를 추가할 때마다 하드웨어 부분을 변경해야 한다는 문제점이 있다.In the conventional processor as described above, when the controlled device is located at a long distance, a signal attenuation occurs while the control signal output by the processor is transmitted to the device, thereby causing the corresponding device to malfunction, and the selection signal is limited. The problem is that each time you add a device, you must change the hardware part.

본 발명은 전술한 바와 같은 문제점을 해결하기 위한 것으로 그 목적은, 프로세서가 빠른 속도로 동작하는 경우, 프로세서에서 다수개의 선택신호를 조합하여 디바이스 선택할 수 있도록 함과 동시에 원거리에 위치해 있는 디바이스에 대하여 프로세서가 확인신호를 외부의 디바이스를 제어하는 기준신호로 사용하여 디바이스의 동작 타이밍을 안정화시킴으로써, 해당 디바이스의 오동작을 방지함과 동시에 디바이스 확장 편의성을 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and an object thereof is to provide a device selection by combining a plurality of selection signals in a processor when the processor operates at a high speed, and at the same time, for a device located at a remote location. By using the confirmation signal as a reference signal for controlling the external device to stabilize the operation timing of the device, to prevent malfunction of the device and at the same time provide device convenience.

상기와 같은 목적을 달성하기 위한 본 발명의 특징은, 프로세서에서의 디바이스 제어 방법에 있어서, 상기 프로세서의 클럭신호에 맞추어 어드레스 스트로브 신호와, 선택신호와, 동작신호가 액티브 상태로 됨과 동시에 어드레스 신호와 데이터 신호를 인터페이스부를 통해 상기 디바이스에 인가하는 제 1과정과; 상기 프로세서의 클럭신호가 1 주기 경과하면 상기 프로세서에서 인터페이스부를 통해 상기 디바이스에 액티브 상태의 확인신호를 인가하는 제 2과정과; 상기 디바이스로부터 인터페이스부를 통해 상기 프로세서에 데이터 전송과 크기에 대한 ACK 신호가 액티브 상태로 인가되면 상기 확인신호를 리액티브 상태로 변환하는 제 3과정을 포함하는데 있다.A feature of the present invention for achieving the above object is, in a device control method in a processor, an address strobe signal, a selection signal, and an operation signal are activated in accordance with a clock signal of the processor, Applying a data signal to the device through an interface unit; A second step of applying, by the processor, an active confirmation signal to the device through an interface unit when a clock signal of the processor has passed one cycle; And a third process of converting the confirmation signal into a reactive state when an ACK signal for data transmission and size is applied to the processor from the device to the processor in an active state.

상기 선택신호는 상기 프로세서로부터 다수개가 출력되고, 해당 다수개의 선택신호 중에서 액티브 상태로 출력되는 2개의 신호를 선택신호의 조합에 의하여 대응되는 디바이스를 선택하는 것을 특징으로 한다.A plurality of selection signals are output from the processor, and a corresponding device is selected by a combination of selection signals from two signals output in an active state among the plurality of selection signals.

상기 확인신호는 상기 프로세서의 디바이스 제어를 위한 어드레스 신호와, 데이터 신호와, 선택신호 및 동작신호를 출력할 때 기준신호로 사용되어 타이밍을 안정화시키는데, 상기 프로세서의 상태천이에 따라 동기화되어 발생되며, 데이터 전송과 크기에 대한 ACK 신호와 연관되어 발생되는 것을 특징으로 한다.The confirmation signal is used as a reference signal when outputting an address signal, a data signal, a selection signal, and an operation signal for controlling the device of the processor, and stabilizes timing. The confirmation signal is generated in synchronization with the state transition of the processor. It is characterized in that it is generated in association with the ACK signal for data transmission and size.

도 1은 종래의 프로세서와 디바이스간의 신호 전송을 위한 구성 블록도.1 is a block diagram illustrating a signal transmission between a conventional processor and a device.

도 2는 본 발명에 따른 프로세서와 디바이스간의 신호 전송을 위한 구성 블록도.2 is a block diagram illustrating a signal transmission between a processor and a device according to the present invention;

도 3은 본 발명에 따른 프로세서에서의 디바이스 제어신호 타이밍도.3 is a device control signal timing diagram in a processor in accordance with the present invention.

도 4는 도2에 도시된 프로세서의 실시예를 도시한 블록도.4 is a block diagram illustrating an embodiment of the processor shown in FIG.

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

11, 21 : 프로세서 12, 22 : 인터페이스부11, 21: processor 12, 22: interface unit

13, 23 : 디바이스13, 23: device

이하, 본 발명의 실시예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에 따른 프로세서와 디바이스간의 신호 전송을 위한 구성은 도면 도 2에 도시된 바와 같이 각종 제어신호의 송수신에 대한 전반적인 동작을 제어하는 프로세서(21)와, 송수신되는 제어신호를 정합하여 주는 인터페이스부(22)와, 인터페이스부(22)를 통해 프로세서(21)와 제어신호를 송수신하는 다수개의 디바이스(23)로 구성되는데, 프로세서(21)와 디바이스(23)는 프로세서(21)에서 디바이스(23)에 인가하는 어드레스 신호를 전송하는 어드레스 버스와, 프로세서(21)에서 디바이스(23)에 데이터를 송신하거나 디바이스(23)로부터 프로세서(21)에 인가되는 데이터를 수신하기 위한 데이터 신호를 전송하는 데이터 버스와, 프로세서(21)가 디바이스(23)로부터 데이터를 읽어 들이는 경우의 RD 신호나 디바이스(23)에 데이터를 기록하는 경우의 WR/ 신호를 전송하는 RW/ 버스와, 프로세서(21) 내부에서 어드레스 신호를 디코딩하여 생성하는 선택신호를 전송하는 CS/ 버스와, 프로세서(21)가 디바이스(23)를 제어시 타이밍을 취하기 위한 확인신호를 전송하는 STB/ 버스로 연결된다.In the configuration for signal transmission between the processor and the device according to the present invention, as shown in Figure 2, the processor 21 for controlling the overall operation of the transmission and reception of various control signals and the interface unit for matching the control signals transmitted and received And a plurality of devices 23 for transmitting and receiving control signals to and from the processor 21 through the interface unit 22. The processor 21 and the device 23 are devices 23 in the processor 21. Address bus for transmitting an address signal to be applied to the device), and data for transmitting a data signal for transmitting data from the processor 21 to the device 23 or for receiving data applied from the device 23 to the processor 21. The bus and the RD signal when the processor 21 reads data from the device 23 and the WR / signal when writing data to the device 23 are transmitted. RW / bus, a CS / bus for transmitting a selection signal generated by decoding an address signal inside the processor 21, and an STB for transmitting a confirmation signal for timing the control of the device 23 by the processor 21. / Connected by bus.

이와 같이 구성된 본 발명에 따른 프로세서(21)와 디바이스(23)간의 데이터 송수신을 위한 제어신호로는 디바이스(23)를 선택하기 위한 8개의 선택신호(CS/)와, 디바이스(23)의 특정 레지스터나 메모리를 지정하기 위한 8비트의 어드레스(Address) 신호와, 프로세서(21)가 프로세서(21) 이외의 디바이스(23)로부터 데이터를 읽어 들이는 경우와 프로세서 이외의 디바이스에 데이터를 기록할 경우 즉, 프로세서의 현재 동작을 나타내는 동작신호(RD, WR/)와, 프로세서(21)가 디바이스(23)를 제어시 타이밍을 취하기 위한 확인신호(STB/)가 사용된다.한편, 프로세서(21)의 시리시예를 살표보면, 프로세서(21)는 도4에 도시된 바와 같이 CPU(31), 버퍼(32), 선택신호 발생로직(33), 확인신호 발생로직(34) 및 클럭발생부(35)를 구비하여 이루어진다. CPU(31)는 데이터 버스를 통해 데이터를 송수신하고, 어드레스 버스를 통해 어드레스를 전송하고, 어드레스 스트로브 신호(AS/)와 동작신호(RD, WR/)를 전송하고, 외부의 디바이스(23)로부터 인가되는 데이터 전송과 크기에 대한 ACK 신호(DSACK/)를 입력받는다. 클럭발생부(35)는 CPR(31)를 동작시키기 위한 클럭을 생성하고, 버퍼(32)는 어드레스 신호, 데이터 신호, 어드레스 스트로브 신호(AS/), 동작신호(RD, WR/) 및 데이터 전송크기 ACK신호(DSACK/)를완충하여 전달하는 역할을 담당한다. 선택신호 발생로직(33)은 FPGA(Field Programmable Gate Array)로 구성되는데, 클럭발생부(35)로부터 인가되는 클럭신호와, CPU(31)로 부터 인가되는 어드레스(A0~A3)와 어드레스 스트로브 신호(AS/)에 따라 다수개의 선택신호(CS0/~CS7/)를 생성하여 인터페이스부(22)를 경유하여 디바이스(23)측에 전송한다. 확인신호 발생로직(34)은 FPGA로 구성되는데, 클럭발생부(35)로부터 인가되는 클럭신호와, CPU(31)로부터 인가되는 어드레스 스트로브 신호(AS/)와, 선택신호 발생로직(33)으로부터 인가되는 선택신호(CS0/~CS7)와, 디바이스(23)로부터 인가되는 데이터 전송과 크기에 대한 ACK신호(DSACK/)에 따라 확인신호(STB/)를 생성하여 인터페이스부(22)를 경유하여 디바이스(23)측에 전송한다.As control signals for data transmission and reception between the processor 21 and the device 23 according to the present invention configured as described above, eight selection signals CS / for selecting the device 23 and specific registers of the device 23 are provided. Or an address signal of 8 bits for designating a memory, when the processor 21 reads data from a device 23 other than the processor 21, and when data is written to a device other than the processor. The operation signals RD and WR / indicating the current operation of the processor and the confirmation signal STB / for timing the processor 21 in controlling the device 23 are used. As shown in the example, the processor 21 includes a CPU 31, a buffer 32, a selection signal generation logic 33, a confirmation signal generation logic 34, and a clock generator 35 as shown in FIG. ) Is made. The CPU 31 transmits and receives data via a data bus, transmits an address via an address bus, transmits an address strobe signal AS / and an operation signal RD, WR /, and receives an external device 23 from an external device 23. Receives an ACK signal (DSACK /) for the data transmission and size applied. The clock generator 35 generates a clock for operating the CPR 31, and the buffer 32 transmits an address signal, a data signal, an address strobe signal AS /, an operation signal RD, WR / and data transmission. It plays a role of buffering and transmitting the magnitude ACK signal (DSACK /). The selection signal generation logic 33 is composed of a field programmable gate array (FPGA), which includes a clock signal applied from the clock generator 35, addresses A0 to A3 and an address strobe signal applied from the CPU 31. According to AS /, a plurality of selection signals CS0 / to CS7 / are generated and transmitted to the device 23 side via the interface unit 22. The confirmation signal generation logic 34 is composed of an FPGA, and includes a clock signal applied from the clock generator 35, an address strobe signal AS / applied from the CPU 31, and a selection signal generation logic 33. The acknowledgment signal STB / is generated according to the selection signals CS0 / to CS7 applied and the ACK signal DSACK / corresponding to the data transmission and magnitude applied from the device 23, and then via the interface unit 22. Transfer to the device 23 side.

이상과 같은, 프로세서(21)에서의 디바이스(23) 제어 동작을 설명하면 다음과 같다. 먼저, 클럭발생부(35)에 의해 생성되는 프로세서(21)를 가동시키기 위한 클럭신호에 맞추어 어드레스 스트로브 신호(AS/)와, 선택신호(CS/)와, 동작신호(RD, WR/)가 액티브 상태로 됨과 동시에 어드레스 신호와 데이터 신호를 인터페이스부(22)를 통해 해당 디바이스(23)에 인가한 후, 해당 프로세서(21)의 클럭신호가 1 주기 경과하면 해당 프로세서(21)에서 인터페이스부(22)를 통해 디바이스(23)에 액티브 상태의 확인신호(STB/)를 인가한다. 이후, 해당 디바이스(23)로부터 인터페이스부(22)를 통해 프로세서(21)에 데이터 전송과 크기에 대한 ACK신호(DSACK/)가 액티브 상태로 인가되면 해당 확인신호(STB/)를 리액티브 상태로 변환한다.The control operation of the device 23 in the processor 21 as described above is as follows. First, the address strobe signal AS /, the selection signal CS /, and the operation signals RD and WR / correspond to a clock signal for operating the processor 21 generated by the clock generation unit 35. After being in an active state and applying an address signal and a data signal to the device 23 through the interface unit 22, when the clock signal of the processor 21 passes one cycle, the interface unit ( The confirmation signal STB / of the active state is applied to the device 23 through 22. Subsequently, when the ACK signal DSACK / is transmitted to the processor 21 from the device 23 through the interface unit 22 in the active state, the acknowledgment signal STB / is set to the reactive state. Convert.

해당 선택신호(CS/)는 프로세서(21) 회로부에서 외부로 8개의 신호(CS0/∼CS7/)가 출력되고, 이 8개의 신호 중에서 로우레벨로 출력되는 2개의 CS/ 신호를 조합하여 디바이스(23)를 선택하기 위한 선택신호로 사용되는데, 8개 신호 중에서 2개의 CS/ 신호 조합은 모두 28이 되어 28개의 디바이스(23)를 선택할 수 있다.The select signal CS / is outputted from the processor 21 circuit unit to eight signals CS0 / to CS7 / to the outside, and a combination of two CS / signals output at a low level among the eight signals is performed. It is used as a selection signal for selecting 23), and the two CS / signal combinations among the eight signals are all 28 so that 28 devices 23 can be selected.

또한, 확인신호(STB/)는 프로세서(21)가 외부 회로의 디바이스(23)를 제어할 때 사용하는 신호 중에서 어드레스 신호, 데이터 신호, 선택신호 및 동작신호가 감쇄 되거나 지연되면 해당 프로세서(21)가 오동작을 하게 되므로 이러한 오동작을 방지하기 위해 프로세서(21)의 확인신호 생성로직(34)에 의해 생성되는 확인신호(STB/)가 사용되는데, 첫째로, 확인신호(STB/)는 프로세서(21)를 구동시키는 클럭신호로 함께 동작하여 신호를 생성하고, 둘째로, 혹인신호(STB/)는 프로세서(21)가 선택신호와 어드레스 선택신호(CS0/~CS7)와 어드레스 신호를 출력할 때 기준신호로 사용하는 어드레스 스트로브 신호(AS/)를 사용하여 생성되며, 셋째로, 확인신호(STB/)는 프로세서(21)가 실제 동작을 수행할 때 사용하는 데이터 전송과 크기에 대한 ACK신호(DSACK0/, DSACK1/)와 연관되어 생성되는 특징을 가지고 있다. 즉, 확인신호(STB/)는 프로세서(21)의 동작과 동기가 일치되어 있으며, 선택신호와 어드레스 신호의 동작을 감지하여 동작하며, 프로세서(21)가 실제 동작하는 순간과도 관련되어 동작한다. 따라서, 확인신호(STB/)는 프로세서(21)가 외부 회로부의 디바이스(23)를 제어하는 기준신호로 사용할 수 있는 것이며, 기본적인 제어신호에 부가하여 타이밍을 안정화시키게 된다.In addition, the confirmation signal STB / may be used when the address signal, data signal, selection signal, and operation signal among the signals used by the processor 21 to control the device 23 of the external circuit are depleted or delayed. Since a malfunction occurs, a confirmation signal STB / generated by the confirmation signal generation logic 34 of the processor 21 is used to prevent such a malfunction. First, the confirmation signal STB / is used as a processor 21. (2) generates a signal by operating together with a clock signal for driving the second signal. Second, the hob signal STB / is a reference when the processor 21 outputs a selection signal, an address selection signal CS0 / to CS7, and an address signal. Generated using the address strobe signal AS /, which is used as a signal, and third, the acknowledgment signal STB / is an ACK signal DSACK0 for data transmission and size used when the processor 21 performs an actual operation. /, Associated with DSACK1 /) It has a feature that. That is, the acknowledgment signal STB / is synchronized with the operation of the processor 21, operates by sensing the operation of the selection signal and the address signal, and operates in relation to the actual operation of the processor 21. . Therefore, the confirmation signal STB / can be used as a reference signal for the processor 21 to control the device 23 of the external circuit section, and stabilizes the timing in addition to the basic control signal.

이러한 제어신호들의 타이밍은 도면 도 3에 도시된 바와 같은데, 프로세서(21)의 클럭신호에 맞추어 AS/ 신호와 함께 데이터 신호도 출력된다. 이때 프로세서(21) 내부에서 CS/ 신호를 만들고, AS/ 신호를 인에이블 한다. AS/ 신호, 어드레스 신호로 만든 CS/ 신호들과 프로세서(21)의 클럭신호에 맞추어서 확인신호(STB/)를 만든다. 이 확인신호(STB/)는 AS/ 신호가 출력된 후 프로세서(21)의 클럭신호로 1 주기 후에 시작된다. 프로세서(21)는 데이터 전송과 크기에 대한 ACK신호(DSACK/ )가 인가될 때 동작을 수행하고 종료하므로, 이때, 확인신호(STB/)도 동작을 종료한다. 이렇게 확인신호(STB/)는 프로세서(21)와 연관되어 여러 가지 의미를 가지고서 디바이스(23)로 인가되므로 이 확인신호(STB/)의 사용은 고속으로 동작하는 프로세서(21) 회로의 제어에서 외부 회로에 효과적으로 사용할 수 있다.The timing of these control signals is shown in FIG. 3, in which a data signal is also output along with the AS / signal in accordance with the clock signal of the processor 21. At this time, the processor 21 creates the CS / signal and enables the AS / signal. The acknowledgment signal STB / is generated in accordance with the CS / signals made of the AS / signal and the address signal and the clock signal of the processor 21. This confirmation signal STB / starts as one clock cycle after the AS / signal outputs the clock signal of the processor 21. Since the processor 21 performs and terminates the operation when the ACK signal DSACK / for data transmission and size is applied, the confirmation signal STB / also terminates the operation. Since the confirmation signal STB / is applied to the device 23 in various ways in association with the processor 21, the use of the confirmation signal STB / is external to the control of the processor 21 circuit operating at high speed. It can be used effectively in a circuit.

이상과 같이, 본 발명은 프로세서가 빠른 속도로 동작하는 경우, 프로세서에서 다수개의 선택신호를 조합하여 디바이스 선택할 수 있도록 함과 동시에 원거리에 위치한 디바이스에 대하여 프로세서가 확인신호를 외부의 디바이스를 제어하는 기준신호로 사용하여 디바이스의 동작 타이밍을 안정화시키므로, 해당 디바이스의 오동작을 방지함과 동시에 디바이스 확장 편의성을 제공할 수 있게 된다.As described above, according to the present invention, when the processor operates at a high speed, the processor may combine a plurality of selection signals to select a device, and at the same time, the processor controls the external device to confirm the confirmation signal with respect to a remote device. By using the signal to stabilize the operation timing of the device, it is possible to prevent malfunction of the device and to provide device expansion convenience.

Claims (3)

프로세서에서의 디바이스 제어 방법에 있어서,In the device control method in the processor, 상기 프로세서의 클럭신호에 맞추어 어드레스 스트로브 신호와, 선택신호와, 동작신호가 액티브 상태로 됨과 동시에 어드레스 신호와 데이터 신호를 인터페이스부를 통해 상기 디바이스에 인가하는 제 1과정과; 상기 프로세서의 클럭신호가 1 주기 경과하면 상기 프로세서에서 인터페이스부를 통해 상기 디바이스에 액티브 상태의 확인신호를 인가하는 제 2과정과; 상기 디바이스로부터 인터페이스부를 통해 상기 프로세서에 데이터 전송과 크기에 대한 ACK 신호가 액티브 상태로 인가되면 상기 확인신호를 리액티브 상태로 변환하는 제 3과정을 포함하는 것을 특징으로 하는 프로세서에서의 디바이스 제어 방법.A first step of applying an address signal and a data signal to the device through an interface unit while an address strobe signal, a selection signal, and an operation signal become active in accordance with a clock signal of the processor; A second step of applying, by the processor, an active confirmation signal to the device through an interface unit when a clock signal of the processor has passed one cycle; And converting the acknowledgment signal into a reactive state when an ACK signal for data transmission and magnitude is applied from the device to the processor through an interface unit in an active state. 제 1 항에 있어서, 상기 선택신호는 상기 프로세서로부터 다수개가 출력되고, 해당 다수개의 선택신호 중에서 액티브 상태로 출력되는 2개의 선택신호의 조합하여 대응되는 디바이스를 선택하는 것을 특징으로 하는 프로세서에서의 디바이스 제어 방법.The device of claim 1, wherein a plurality of the selection signals are output from the processor, and a corresponding device is selected by combining two selection signals output in an active state among the plurality of selection signals. Control method. 제 1 항에 있어서, 상기 확인신호는 상기 프로세서의 디바이스 제어를 위한 어드레스 신호와, 데이터 신호와, 선택신호 및 동작신호를 출력할 때 기준신호로 사용되어 타이밍을 안정화시키되, 상기 프로세서의 상태천이에 따라 동기화되어 발생되며, 데이터 전송과 크기에 대한 ACK 신호와 연관되어 발생되는 것을 특징으로 하는 프로세서에서의 디바이스 제어 방법.The method of claim 1, wherein the confirmation signal is used as a reference signal when outputting an address signal, a data signal, a selection signal, and an operation signal for controlling the device of the processor to stabilize the timing. And generated in synchronization with the ACK signal for data transmission and size.
KR1019970072774A 1997-12-23 1997-12-23 Method for control of device in a process KR100262692B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970072774A KR100262692B1 (en) 1997-12-23 1997-12-23 Method for control of device in a process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970072774A KR100262692B1 (en) 1997-12-23 1997-12-23 Method for control of device in a process

Publications (2)

Publication Number Publication Date
KR19990053183A KR19990053183A (en) 1999-07-15
KR100262692B1 true KR100262692B1 (en) 2000-08-01

Family

ID=19528387

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970072774A KR100262692B1 (en) 1997-12-23 1997-12-23 Method for control of device in a process

Country Status (1)

Country Link
KR (1) KR100262692B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5451347A (en) * 1977-09-29 1979-04-23 Nec Corp Fault detection system of data processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5451347A (en) * 1977-09-29 1979-04-23 Nec Corp Fault detection system of data processor

Also Published As

Publication number Publication date
KR19990053183A (en) 1999-07-15

Similar Documents

Publication Publication Date Title
JPH0816513A (en) Interface circuit assembled into processor for serial exchange of digital data with peripheral equipment
KR100262692B1 (en) Method for control of device in a process
TW520500B (en) Semiconductor memory device using dedicated command and address strobe signal and associated method
JPS6234252A (en) Transfer of data between microprocessor and memory and apparatus for implementation thereof
JP2007141255A (en) Hardware initialization with or without processor intervention
JPH05108554A (en) Operating system for bus controller housed in main controller
KR100266963B1 (en) Method and apparatus for reducing latency rime on an interface by overlapping transmitted packets
JPH08147964A (en) Semiconductor storage
KR100200767B1 (en) Column address buffer control circuit
KR100366049B1 (en) Device for direct memory access using serial communication controller
KR100388204B1 (en) Circuit for read domain control in high speed memory device
KR100317329B1 (en) DMA(Direct Memory Access) controller
GB2234372A (en) Mass memory device
JPH03254257A (en) Controller
SU1418720A1 (en) Device for checking programs
KR100223032B1 (en) Digital communication system
KR0118651Y1 (en) Interface apparatus between pc and image processor
KR0127559Y1 (en) Memory access apparatus using buffer
KR200230591Y1 (en) Serial conversion data transmission device using memory
KR100690597B1 (en) Single mode direct memory access application method using cpu applying dual mode direct memory access
JP2000099195A (en) Timer device
KR20000038480A (en) Control circuit for data output buffer having small chip area and low power consumption and synchronous dram of dual data rate with same
KR0128197Y1 (en) Pulse adding value input circuit of distributed control system
JPS6121637A (en) Timing generating device
JPS5844426Y2 (en) Inter-processor information transfer device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20030219

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee