KR950002316B1 - Data transmission device for fax - Google Patents

Data transmission device for fax Download PDF

Info

Publication number
KR950002316B1
KR950002316B1 KR1019920012088A KR920012088A KR950002316B1 KR 950002316 B1 KR950002316 B1 KR 950002316B1 KR 1019920012088 A KR1019920012088 A KR 1019920012088A KR 920012088 A KR920012088 A KR 920012088A KR 950002316 B1 KR950002316 B1 KR 950002316B1
Authority
KR
South Korea
Prior art keywords
output
input
gate
signal
processor board
Prior art date
Application number
KR1019920012088A
Other languages
Korean (ko)
Other versions
KR940003307A (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 KR1019920012088A priority Critical patent/KR950002316B1/en
Publication of KR940003307A publication Critical patent/KR940003307A/en
Application granted granted Critical
Publication of KR950002316B1 publication Critical patent/KR950002316B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Abstract

The circuit for transmitting an image data read from an image input board to a central control board in a G4 facsimile, includes a first processor board (26), a second processor board (27) and a data transmitter (6). The transmitter (6) includes an AND gate (16) for receiving a DMA starting signal from the board (20), a 2nd D flip-flop (14) for outputting a data request signal (DREQ), a 1st OR gate (15), a 2nd OR gate (17), a 1st inverter (18) for inverting an adress enable (AEN) signal from the board (27), an OR gate (19), a 1st D flip-flop (13) for outputting a memory data request signal (MDREQ), a latch (11), a buffer (12), a 2nd inverter (21), OR gates (20,22,25,24) and a 3rd D flip-flop (23) for outputting an interrupt request signal (IRQ).

Description

1바이트 래치를 이용한 보드간 데이타 전송장치Board-to-board data transfer device using 1 byte latch

제 1 도는 본 발명의 블럭 구성도.1 is a block diagram of the present invention.

제 2 도는 본 발명의 타이밍도.2 is a timing diagram of the present invention.

제 3 도는 데이타 전송부의 세부 구성도.3 is a detailed configuration diagram of a data transmission unit.

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

1, 7 : CPU 2, 8 : 롬(ROM)1, 7 CPU 2, 8 ROM

3, 9 : 램(RAM) 4, 10 : DMA 콘트롤러3, 9 RAM 4, 10 DMA controller

5 : 입출력부 6 : 데이타 전송부5 input / output unit 6 data transmission unit

11 : 래치 12 : 버퍼11: latch 12: buffer

13, 14, 23 : D 플립-플롭 15, 17, 19, 20, 22, 24, 25 : OR 게이트13, 14, 23: D flip-flop 15, 17, 19, 20, 22, 24, 25: OR gate

16 : 앤드게이트 18, 21 : 인버터16: end gate 18, 21: inverter

26, 27 : 프로세서 보드26, 27: processor board

본 발명은 그룹4 팩시밀리장치중에서 화상입력부 보드에서 독취한 화상데이타를 중앙제어부 보드로 전송하는 1바이트 래치를 이용한 보드간 데이타 전송장치에 관한 것이다.The present invention relates to a board-to-board data transfer apparatus using a one-byte latch that transfers image data read from an image input unit board to a central control unit board in a group 4 facsimile apparatus.

종래의 데이타 전송법은 두 보드사이에 번지를 공유하는 메모리를 두거나 듀얼 포트 램(DUAL PORT RAM)을 사용하여 데이타 전송을 하였으며 데이타의 전송속도를 빠르게 하기 위하여 직접 메모리 액세스(이하, DMA라 함)을 사용하고 있다.In the conventional data transfer method, a memory sharing address is provided between two boards or data is transferred using dual port RAM. In order to speed up data transfer, direct memory access (hereinafter, referred to as DMA) is used. I'm using.

그러나, 이러한 전송방법은 회로가 복잡할 뿐 아니라 블럭전송(BLOCK TRANSFER) 방식의 DMA를 사용하고 있기 때문에 DMA 동작중에 전혀 다른 일을 할 수가 없고, 고속으로 화상을 독취하면서 스테핑 모터를 구동하여야 하는 그룹4 팩시밀리 및 기타 장치에서는 모터의 구동펄스를 균일하게 주어야 진동, 화질 등에 영향을 주지 않는다. 블럭 전송으로 많은 데이타를 전송할 경우, 모터로 주는 구동펄스가 균일하게 되지 않아 진동 및 화질에 문제가 발생한다.However, this transfer method is not only complicated in circuit, but also uses block transfer DMA, so it can't do anything else during DMA operation. In 4 facsimile and other devices, the drive pulse of the motor should be given uniformly so as not to affect vibration, image quality, etc In the case of transmitting a lot of data by block transmission, the driving pulse to the motor is not uniform, which causes problems in vibration and image quality.

상기 문제점을 해결하기 위하여 안출된 본 발명은, 1바이트의 래치를 이용하여 보드간의 데이타 전송시의 회로를 간단하게 하였으며, DMA 도중에도 동시에 다른 일을 할 수 있게 하는 1바이트 래치를 이용한 보드간 데이타 전송장치를 제공하는 데 그 목적이 있다.In order to solve the above problems, the present invention simplifies the circuit for data transfer between boards by using a 1 byte latch, and enables to perform other tasks at the same time during DMA. The purpose is to provide a transmission device.

상기 목적을 달성하기 위하여 본 발명은, 제 1 프로세서 보드와 제 2 프로세서 보드와 데이타 전송부를 구성된 1바이트 래치를 이용한 보드간 데이타 전송장치에 있어서 ; 제 1 프로세서 보드에서 DMA 시작신호를 일입력단으로 하는 앤드게이트와, 상기 앤드게이트에서 논리곱한 출력값을 클럭단으로 입력받고 D 입력단은 전원에 연결되며 출력단(Q)으로는 데이타 요구신호(DREQ)를 내는 제 2 D 플립-플롭과, 칩선택신호(/PCS)를 일입력단으로 입력하고 쓰기(/WR)신호를 타입력으로 하여 출력을 상기 제 2 D 플립-플롭으로 보내는 제 1 OR 게이트와, 제 2 프로세서 보드로부터 데이타 응답신호(/DACK)를 일입력으로 하고 타입력단은 입출력읽기(/IOR)신호로 하여 논리합한 신호의 출력을 상기 앤드게이트의 타입력단으로 입력하는 제 2 OR 게이트와, 상기 제 2 프로세서 보드로부터 어드레스 인에이블(AEN) 신호를 반전시키는 제 1 인버터와, 상기 제 1 인버터의 출력을 일입력으로 하고 타입력단에는 상기 제 2 OR 게이트의 출력을 입력으로 하여 논리합하는 OR 게이트와, 상기 제 2 OR 게이트의 출력을 입력으로 하고 상기 제1 OR 게이트의 출력을 클럭단으로 입력받아 출력단(Q)으로 메모리 데이타 요구신호(MDREQ)를 출력하는 제 1 D 플립-플롭과, 상기 제 1 프로세서 보드로부터의 출력을 D 입력단으로 입력받고 상기 제 1 OR 게이트로부터의 출력을 클럭단으로 입력받는 래치와, 상기 래치의 출력단(Q)으로부터의 출력을 입력으로 하고 상기 제3 OR 게이트의 출력을 입력받으며 상기 제 2 프로세서 보드로부터의 입력을 받아 동작의 방향을 정하도록 구성된 버퍼와, 상기 제 1 프로세서 보드로부터의 어드레스신호(A0)를 반전시키는 제 2 인버터와, 상기 제 1 프로세서 보드로부터의 칩선택 신호(/PCS)를 일입력으로 하고 타입력단에는 상기 제 2 인버터의 출력을 입력으로 하여 논리합하는 제4 OR 게이트와, 상기 제4 OR 게이트의 출력을 일입력으로 하고 상기 제 1 프로세서 보드로부터의 쓰기(/WR)신호를 타입력으로 하여 논리합하는 제5 OR 게이트와, 상기 제 2 프로세서 보드로부터의 칩선택신호(/CS)를 일입력으로 하고 상기 제 2 프로세서 보드로부터의 어드레스신호(A0)를 타입력으로 하여 논리합하는 제6 OR 게이트와, 상기 제6 OR 게이트의 출력을 일입력으로 하고 상기 제 2 프로세서 보드로부터의 입출력 읽기(/IOR)신호를 타입력으로 하여 논리합하는 제7 OR 게이트, 및 상기 제7 OR 게이트의 출력을 클럭단으로 입력받고 상기 제5 OR 게이트의 출력을 입력으로 하여 출력단(Q)으로 인터럽트 요구신호(IRQ)를 내는 제3 D 플립-플롭을 구비한다.In order to achieve the above object, the present invention provides a board-to-board data transfer apparatus using a one-byte latch comprising a first processor board, a second processor board and a data transfer unit; The first processor board receives an AND gate having a DMA start signal as one input terminal, an output value multiplied by the AND gate as a clock terminal, and a D input terminal is connected to a power supply, and a data request signal DREQ is output to the output terminal Q. A first OR gate for inputting a second D flip-flop, a chip select signal (/ PCS) to one input terminal, and a write (/ WR) signal as a type force and sending an output to the second D flip-flop; A second OR gate for inputting the output of the OR signal to the type force terminal of the AND gate from the second processor board as a data response signal (/ DACK) as one input and the type force terminal as an input / output read (/ IOR) signal; A first inverter for inverting an address enable (AEN) signal from the second processor board, an output of the first inverter as one input, and an output of the second OR gate as an input to a type force terminal A first D flip-to-OR for inputting an OR gate and an output of the second OR gate, and receiving an output of the first OR gate as a clock terminal and outputting a memory data request signal MDREQ to an output terminal Q; A flop, a latch for inputting an output from the first processor board to a D input terminal and an output from the first OR gate to a clock terminal, and an output from an output terminal Q of the latch as an input. A buffer configured to receive an output of a 3 OR gate and receive an input from the second processor board, and to direct an operation; a second inverter to invert an address signal A0 from the first processor board; A fourth OR gate which uses a chip select signal (/ PCS) from one processor board as one input and a logic OR by inputting the output of the second inverter to the type force stage; A fifth OR gate configured to logically combine the output of the fourth OR gate as one input and a write (/ WR) signal from the first processor board as a type force, and a chip select signal (/ CS) from the second processor board ) Is the one input, and the sixth OR gate for performing logical OR using the address signal A0 from the second processor board as a type force, and the output of the sixth OR gate as one input, is input from the second processor board. A seventh OR gate that is logically ORed using an input / output read (/ IOR) signal as a type force, and an output of the seventh OR gate is input to a clock terminal, and an output of the fifth OR gate is input to interrupt the output terminal Q. And a third D flip-flop for generating the request signal IRQ.

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

제 1 도는 본 발명의 블럭 구성도로서 도면에서, 1, 7은 CPU, 2, 8은 롬(ROM), 3, 9는 램(RAM), 4, 10은 DMA 콘트롤러, 5는 입출력부, 6은 데이타 전송부, 26, 27은 프로세서 보드를 각각 나타낸다.1 is a block diagram of the present invention, 1, 7 is a CPU, 2, 8 is a ROM, 3, 9 is a RAM, 4, 10 is a DMA controller, 5 is an input / output unit, 6 Denotes a data transfer section, and 26 and 27 denote processor boards, respectively.

도면에서 도시한 바와 같이, 데이타 송수신 전체를 제어하는 CPU(1)와, 상기 CPU(1)에 데이타 버스로 연결되며 상기 CPU(1)에서 수행하기 위한 프로그램이 내장되어 있는 롬(2) 및 램(3)으로 구성되는 보드에 DMA 콘트롤러(4)를 부가하고 DMA 시작 신호를 데이타 전송부(6)에 전송하도록 입출력부(5)를 구비한 프로세서 보드(26)와, CPU(7)와, 롬(8) 및 램(9)과 DMA 콘트롤러(10)으로 상기 프로세서 보드(26)과 동일한 작용을 하도록 구성된 프로세서 보드(27)와, 상기 프로세서 보드(26)와 상기 프로세서(27)와의 데이타를 전송하기 위한 데이타 전송부(6)로 구성된다.As shown in the figure, a CPU 1 for controlling the entire data transmission and reception, a ROM 2 and a RAM connected to the CPU 1 by a data bus and having a program for executing the CPU 1 are embedded therein. A processor board 26 having an input / output unit 5 for adding a DMA controller 4 to a board composed of (3) and transmitting a DMA start signal to the data transfer unit 6, a CPU 7, A processor board 27 configured to perform the same function as the processor board 26 by the ROM 8, the RAM 9, and the DMA controller 10, and data of the processor board 26 and the processor 27. It consists of a data transmission part 6 for transmission.

상기의 구성으로 된 동작을 살펴보면, 프로세서 보드(26)에서 발생되는 데이타가 일정량 이상이 되었다고 판단되면 입출력부(5)에서 데이타 전송부(6)로 DMA 시작 신호를 보낸다. 상기 데이타 전송부(6)에서는 이 DMA 시작신호를 받아 상기 프로세서 보드(26)의 DMA 콘트롤러(4)로 데이타 요구신호를 발생한다. 상기 DMA 콘트롤러(4)는 이 신호를 받으면 상기 프로세서 보드(26)의 RAM(3)에 있는 데이타를 1바이트씩 상기 데이타 전송부(6)로 보내면서 데이타 응답신호(/DACK)를 발생한다. 상기 데이타 전송부(6)는 데이타 응답(/DACK)신호를 받으면 상기 프로세서 보드(27)의 상기 DMA 콘트롤러(10)로 데이타를 가져가라는 메모리 데이타 요구(MDRQ)신호를 발생한다. 상기 DMA 콘트롤러(10)는 이 신호를 받으면 상기 데이타 전송부(6)에 있는 1바이트의 데이타를 가지고 오면서 메모리 데이타 응답(/MDACK)신호를 발생한다. 1바이트의 데이타가 상기 프로세서 보드(26)에서 상기 프로세서 보드(27)로 전송이 완료되면 상기 데이타 전송부(6)는 다음 바이트의 데이타를 전송하기 위하여 상기 프로세서 보드(26)의 상기 DMA 콘트롤러(4)로 데이타 요구(DREQ)신호를 발생한다. 상기와 같이, 설정된 바이트수가 상기 프로세서 보드(26)에서 상기 프로세서 보드(27)로 전송되면 상기 프로세서 보드(26)의 상기 DMA 콘트롤러(4)는 상기 CPU(1)로 인터럽트를 발생한다. 인터럽트가 발생되면 인터럽트 루틴에서 DMA 시작신호를 로우로 하여 더 이상의 데이타가 전송되지 않는다.Referring to the operation having the above configuration, when it is determined that the data generated from the processor board 26 is a predetermined amount or more, the input / output unit 5 sends a DMA start signal to the data transfer unit 6. The data transfer section 6 receives this DMA start signal and generates a data request signal to the DMA controller 4 of the processor board 26. Upon receipt of this signal, the DMA controller 4 sends data in the RAM 3 of the processor board 26 to the data transfer unit 6 by one byte to generate a data response signal (/ DACK). The data transfer unit 6 generates a memory data request (MDRQ) signal for taking data to the DMA controller 10 of the processor board 27 when the data response (/ DACK) signal is received. Upon receipt of this signal, the DMA controller 10 generates a memory data response (/ MDACK) signal while bringing 1 byte of data in the data transfer section 6. When one byte of data is transferred from the processor board 26 to the processor board 27, the data transmitter 6 transmits the next byte of data to the DMA controller of the processor board 26. 4) generate a data request (DREQ) signal; As described above, when the set number of bytes is transferred from the processor board 26 to the processor board 27, the DMA controller 4 of the processor board 26 generates an interrupt to the CPU 1. When an interrupt occurs, the interrupt routine sets the DMA start signal low so no more data is transferred.

제 2 도는 본 발명의 타이밍도로서, (A)는 DMA 인터럽트 타이밍도, (B)는 DMA 시작신호 타이밍도, (C)는 데이타 요구신호 타이밍도, (D)는 데이타 인식신호 타이밍도, (E)는 메모리 데이타 요구신호, (F)는 메모리 데이타 응답신호 타이밍도를 각각 나타낸다.2 is a timing diagram of the present invention, (A) is a DMA interrupt timing diagram, (B) is a DMA start signal timing diagram, (C) a data request signal timing diagram, (D) a data recognition signal timing diagram, ( E) denotes a memory data request signal, and (F) denotes a memory data response signal timing diagram, respectively.

제 3 도는 본 발명인 데이타 전송부(6)의 세부 구성도로서, 도면에서 11은 래치, 12는 버퍼, 13, 14, 23은 D 플립-플롭, 15, 17, 19, 20, 22, 24, 25는 OR 게이트, 16은 앤드게이트, 18, 21은 인버터를 각각 나타낸다.3 is a detailed configuration diagram of the data transmission unit 6 according to the present invention, in which 11 is a latch, 12 is a buffer, 13, 14, 23 is a D flip-flop, 15, 17, 19, 20, 22, 24, 25 denotes an OR gate, 16 denotes an AND gate, and 18 and 21 denote an inverter.

도면에 도시한 바와 같이, 프로세서 보드(26)에서 DMA 시작신호를 일입력단으로 하는 앤드게이트(16)와, 상기 앤드게이트(16)에서 논리곱한 출력값을 클럭단으로 입력받고 D 입력단은 전원에 연결되며 출력단(Q)으로는 데이타 요구신호(DREQ)를 내는 D 플립-플롭(14)과, 칩선택신호(/PCS)를 일입력단으로 입력하고 쓰기(/WR)신호를 타입력으로 하여 출력을 상기 D 플립-플롭(14)로 보내는 OR 게이트(15)와, 프로세서 보드(27)로부터 데이타 응답신호(/DACK)를 일입력으로 하고 타입력단은 입출력읽기(/IOR)신호로 하여 논리합한 신호의 출력을 상기 앤드게이트(16)의 타입력단으로 입력하는 OR 게이트(17)와, 상기 프로세서 보드(27)로부터 어드레스 인에이블(AEN)신호를 반전시키는 인버터(18)와, 상기 인버터(18)의 출력을 일입력으로 하고 타입력단에는 상기 OR 게이트(17)의 출력을 입력으로 하여 논리합하는 OR 게이트(19)와, 상기 OR 게이트(17)의 출력을 입력으로 하고 상기 OR 게이트(15)의 출력을 클럭단으로 입력받아 출력단(Q)으로 메모리 데이타 요구신호(MDREQ)를 출력하는 D 플립-플롭(13)과, 상기 프로세서 보드(26)으로부터의 출력을 D 입력단으로 입력받고 상기 OR 게이트(15)로부터의 출력을 클럭단으로 입력받는 D 플립-플롭(11)과, 상기 D 플립-플롭(11)의 출력단(Q)으로부터의 출력을 입력으로 하고 상기 OR 게이트(19)의 출력을 입력받으며 상기 프로세서 보드(27)로부터의 입력을 받아 동작의 방향을 정하도록 구성된 버퍼(12)와, 상기 프로세서 보드(26)로부터의 어드레스신호(A0)를 반전시키는 인버터(21)와, 칩선택신호(/PCS)를 일입력으로 하고 타입력단에는 상기 인버터(21)의 출력을 입력으로 하여 논리합하는 OR 게이트(20)와, 상기 OR 게이트(20)의 출력을 일입력으로 하고 상기 프로세서 보드(26)로부터의 쓰기(/WR)신호를 타입력으로 하여 논리합하는 OR 게이트(22)와, 상기 프로세서 보드(27)로부터의 칩선택신호(/CS)를 일입력으로 하고 상기 프로세서 보드(27)로부터의 어드레스신호(A0)를 타입력으로 하여 논리합하는 OR 게이트(25)와, 상기 OR 게이트(25)의 출력을 일입력으로 하고 상기 프로세서 보드(27)로부터의 입출력읽기(/IOR)신호를 타입력으로 하여 논리합하는 OR 게이트(24)와, 상기 OR 게이트(24)의 출력을 클럭단으로 입력받고 상기 OR 게이트(22)의 출력을 입력으로 하여 출력단(Q)으로 인터럽트 요구신호(IRQ)를 내는 D 플립-플롭(23)으로 구성된다.As shown in the figure, the processor board 26 receives the AND gate 16 having the DMA start signal as one input terminal, and the output value multiplied by the AND gate 16 as the clock stage, and the D input terminal is connected to a power supply. As the output terminal Q, the D flip-flop 14 for generating the data request signal DREQ and the chip select signal / PCS are input to one input terminal, and the write (/ WR) signal is used as a type force. OR gate 15 to the D flip-flop 14 and the data response signal (/ DACK) from the processor board 27 as a single input and the input signal terminal is a logical sum of the input and output (/ IOR) signal OR gate 17 for inputting the output of the AND gate 16 to the type force terminal of the AND gate 16, an inverter 18 for inverting an address enable (AEN) signal from the processor board 27, and the inverter 18. The output of the OR gate 17 is used as the one input and the type force stage. OR gate 19 to be ORed with the input as the input, and the output of the OR gate 17 as the input, and the output of the OR gate 15 as the clock terminal, and receives the memory data request signal MDREQ to the output terminal Q. D flip-flop (13) outputting the D flip-flop (11) to receive the output from the processor board 26 to the D input terminal and the output from the OR gate 15 to the clock terminal And to input an output from the output terminal Q of the D flip-flop 11, receive an output of the OR gate 19, and receive an input from the processor board 27 to determine an operation direction. The buffer 12, the inverter 21 for inverting the address signal A0 from the processor board 26, and the chip select signal / PCS are input as inputs, OR gate 20 for ORing the output as an input, and the OR OR gate 22 which uses the output of byte 20 as one input and logically writes the write (/ WR) signal from the processor board 26 as a type force, and the chip select signal from the processor board 27. OR gate 25 for performing logical OR with (/ CS) as one input and address signal A0 from the processor board 27 as a type force, and the output of the OR gate 25 as one input. OR gate 24 for ORing with the input / output read (/ IOR) signal from the processor board 27 as a type force, and the output of the OR gate 24 being input to the clock terminal, and the output of the OR gate 22. Is configured as a D flip-flop 23 which outputs an interrupt request signal IRQ to the output terminal Q as an input.

상기의 구성으로 이루어진 데이타 전송부(6)의 동작을 살펴보면, 상기 프로세서 보드(26)에서 DMA 시작신호가 하이로 입력되면 상기 앤드게이트(16)의 출력은 하이가 된다. 상기 앤드게이트(16)의 출력이 로우에서 하이로 변화하면 D 플립-플롭(14)의 출력데이타 요구신호(DREQ)도 로우에서 하이로 변한다. 상기의 데이타 요구신호가 상기 프로세서 보드(26)의 DMA 콘트롤러(4)로 전송되면 상기 DMA 콘트롤러(4)는 1바이트의 데이타를 RAM(3)에서 가져와 래치(11)와 DMA 전송하면서 상기 DMA 콘트롤러(4)로 전송되어지면 상기 DMA 콘트롤러(4)의 1바이트로 데이타를 래치(11)에 쓰는 동안 OR 게이트(15)의 출력이 로우가 되어 D 플립-플롭(14)의 출력데이타 요구(DREQ)신호를 로우로 만든다. 상기 DMA 콘트롤러(4)의 DMA 동작이 끝나면 상기 OR 게이트(15)의 출력이 로우에서 하이로 바뀌며, 이때, 상기 프로세서 보드(26)에서 전송된 1바이트의 데이타는 상기 래치(11)에 저장됨과 동시에 D 플립-플롭(13)의 출력메모리 데이타 요구(MDRQ)신호를 로우에서 하이로 전환하여 상기 데이타 전송부(6)는 상기 프로세서 보드(27)의 DMA 콘트롤러(10)로 DMA 요구신호를 보낸다.Referring to the operation of the data transfer unit 6 having the above configuration, when the DMA start signal is input high from the processor board 26, the output of the AND gate 16 becomes high. When the output of the AND gate 16 changes from low to high, the output data request signal DREQ of the D flip-flop 14 also changes from low to high. When the data request signal is transmitted to the DMA controller 4 of the processor board 26, the DMA controller 4 takes one byte of data from the RAM 3 and transfers the latch 11 to the DMA controller. When the data is transmitted to (4), the output of the OR gate 15 goes low while writing data to the latch 11 in one byte of the DMA controller 4 so that the output data request of the D flip-flop 14 (DREQ) To bring the signal low. When the DMA operation of the DMA controller 4 is completed, the output of the OR gate 15 is changed from low to high. At this time, one byte of data transmitted from the processor board 26 is stored in the latch 11 and At the same time, the output memory data request (MDRQ) signal of the D flip-flop 13 is changed from low to high so that the data transfer unit 6 sends a DMA request signal to the DMA controller 10 of the processor board 27. .

상기 DMA 콘트롤러(10)는 메모리 데이타 요구(MDRQ)신호를 받으면 상기 래치(11)에 저장되어 있는 1바이트의 데이타를 읽어와 상기 RAM(9)에 저장한다. 상기 DMA 콘트롤러(10)가 데이타를 읽을 동안 상기 앤드게이트(16)의 출력은 로우로 되면 상기 D 플립-플롭(13)은 리셋이 되어 출력메모리 데이타 요구(MDRQ)는 로우가 된다. 상기 DMA 콘트롤러(10)가 1바이트의 데이타를 DMA로 읽는 것이 완료되면 상기 앤드게이트(16)의 출력은 다시 로우에서 하이로 되며 상기 D 플립-플롭(14)의 출력데이타 요구(DREQ)신호가 로우에서 하이로 되어 다음 1바이트의 데이타 전송을 요구한다. 상기와 같은 동작의 반복으로 상기 프로세서 보드(26)에 있는 데이타를 상기 프로세서 보드(27)로 전송하게 되며 데이타 양이 기 설정된 양이 되면 DMA 콘트롤러(4)는 상기 CPU(1)로 인터럽트를 발생하므로써 데이타 전송이 종료됨을 알린다. 상기 CPU(1)는 상기 인터럽트신호가 입력되오면 DMA 시작신호를 로우로 하여 다음 바이트의 전송을 차단한다. 상기 프로세서 보드(26)는 기 설정된 양의 데이타 전송이 모두 완료되었으면 상기 프로세서 보드(27)로 인터럽트 요구신호(IRQ)를 보내어 전송의 완료를 알린다. 상기 프로세서 보드(27)에서 상기 인터럽트를 인식했으면 D 플립-플롭(23)의 출력을 로우로 만든다.When the DMA controller 10 receives the memory data request (MDRQ) signal, the DMA controller 10 reads one byte of data stored in the latch 11 and stores the data in the RAM 9. If the output of the AND gate 16 goes low while the DMA controller 10 reads the data, the D flip-flop 13 is reset and the output memory data request MDRQ goes low. When the DMA controller 10 finishes reading 1 byte of data into the DMA, the output of the AND gate 16 goes from low to high again, and an output data request signal (DREQ) of the D flip-flop 14 is received. Going low in row requires the next one byte of data transfer. By repeating the above operation, data on the processor board 26 is transmitted to the processor board 27, and when the data amount reaches a preset amount, the DMA controller 4 generates an interrupt to the CPU 1 This informs the end of data transfer. When the interrupt signal is input, the CPU 1 sets the DMA start signal low to block the transmission of the next byte. The processor board 26 sends an interrupt request signal IRQ to the processor board 27 to notify the completion of the transfer when the predetermined amount of data transfer is completed. When the processor board 27 recognizes the interrupt, the output of the D flip-flop 23 is made low.

따라서, 상기와 같이 동작하는 데이타 전송부(6)를 이용함으로써 간단한 회로로 데이타의 전송을 가능하게 할 뿐 아니라, DMA 동작 사이에 간단한 다른 일을 처리할 수가 있으므로 블럭(BLOCK) 전송으로 인한 화질상의 문제점을 해결하는 효과를 얻을 수 있다.Therefore, by using the data transfer unit 6 operating as described above, not only the data can be transferred by a simple circuit but also other simple operations can be performed between the DMA operations. The effect of solving the problem can be obtained.

Claims (1)

제 1 프로세서 보드(26)와 제 2 프로세서 보드(27)와 데이타 전송부(6)로 구성된 1바이트 래치를 이용한 보드간 데이타 전송장치에 있어서, 제 1 프로세서 보드(26)에서 DMA 시작신호를 일입력단으로 하는 앤드게이트(16)와, 상기 앤드게이트(16)에서 논리곱한 출력값을 클럭단으로 입력받고 D 입력단은 전원에 연결되며 출력단(Q)으로는 데이타 요구신호(DREQ)를 내는 제2 D 플립-플롭(14)과, 칩선택신호(/PCS)를 일입력단으로 입력하고 쓰기(/WR)신호를 타입력으로 하여 출력을 상기 제2 D 플립-플롭(14)으로 보내는 제1 OR 게이트(15)와, 제 2 프로세서 보드(27)로부터 데이타 응답신호(/DACK)를 일입력으로 하고 타입력단은 입출력읽기(/IOR)신호로 하여 논리합한 신호의 출력을 상기 앤드게이트(16)의 타입력단으로 입력하는 제2 OR 게이트(17)와, 상기 제 2 프로세서 보드(27)로부터 어드레스 인에이블(AEN)신호를 반전시키는 제 1 인버터(18)와, 상기 제 1 인버터(18)의 출력을 일입력으로 하고 타입력단에는 상기 제2 OR 게이트(17)의 출력을 입력으로 하여 논리합하는 OR 게이트(19)와, 상기 제2 OR 게이트(17)의 출력을 입력으로 하고 상기 제1 OR 게이트(15)의 출력을 클럭단으로 입력받아 출력단(Q)으로 메모리 데이타 요구신호(MDREQ)를 출력하는 제1 D 플립-플롭(13)과, 상기 제 1 프로세서 보드(26)로부터의 출력을 D 입력단으로 입력받고 상기 제1 OR 게이트(15)로부터의 출력을 클럭단으로 입력받는 래치(11)와, 상기 래치(11)의 출력단(Q)으로부터의 출력을 입력으로 하고 상기 제3 OR 게이트(19)의 출력을 입력받으며 상기 제 2 프로세서 보드(27)로부터의 입력을 받아 동작의 방향을 정하도록 구성된 버퍼(12)와, 상기 제 1 프로세서 보드(26)로부터의 어드레스신호(A0)를 반전시키는 제 2 인버터(21)와, 상기 제 1 프로세서 보드(26)로부터의 칩선택신호(/PCS)를 일입력으로 하고 타입력단에는 상기 제 2 인버터(21)의 출력을 입력으로 하여 논리합하는 제4 OR 게이트(20)와, 상기 제4 OR 게이트(20)의 출력을 일입력으로 하고 상기 제 1 프로세서 보드(26)으로부터의 쓰기(/WR)신호를 타입력으로 하여 논리합하는 제5 OR 게이트(22)와, 상기 제 2 프로세서 보드(27)로부터 칩선택 신호(/CS)를 일입력으로 하고 상기 제 2 프로세서 보드(27)로부터의 어드레스신호(A0)를 타입력으로 하여 논리합하는 제6 OR 게이트(25)와, 상기 제6 OR 게이트(25)의 출력을 일입력으로 하고 상기 제 2 프로세서 보드(27)로부터의 입출력읽기(/IOR)신호를 타입력으로 하여 논리합하는 제7 OR 게이트(24), 및 상기 제7 OR 게이트(24)의 출력을 클럭단으로 입력받고 상기 제5 OR 게이트(22)의 출력을 입력으로 하여 출력단(Q)으로 인터럽트 요구신호(IRQ)를 내는 제3 D 플립-플롭(23)을 구비한 것을 특징으로 하는 1바이트 래치를 이용한 보드간 데이터 전송장치.In a board-to-board data transfer apparatus using a 1-byte latch composed of a first processor board 26, a second processor board 27, and a data transfer unit 6, the first processor board 26 receives a DMA start signal. A second D for inputting an AND gate 16 serving as an input terminal and an output value logically multiplied by the AND gate 16 as a clock terminal, the D input terminal being connected to a power supply, and outputting a data request signal DREQ to the output terminal Q. A first OR gate that inputs a flip-flop 14 and a chip select signal (/ PCS) to one input terminal and sends an output to the second D flip-flop 14 with a write (/ WR) signal as a type force (15) and the data response signal (/ DACK) from the second processor board 27 as one input, and the type-power stage is an input / output read (/ IOR) signal to output the output of the logical sum of the AND gate 16. From the second OR gate 17 and the second processor board 27 to input the type force stage The first inverter 18 which inverts the address enable (AEN) signal, the output of the first inverter 18 as one input, and the output of the second OR gate 17 as the input to the type force stage, the logic sum. The OR gate 19 and the output of the second OR gate 17 are input, and the output of the first OR gate 15 is input to the clock terminal, and the memory data request signal MDREQ is output to the output terminal Q. A first D flip-flop 13 for outputting a first output, a latch for receiving an output from the first processor board 26 to a D input terminal and an output from the first OR gate 15 to a clock terminal ( 11) and an output from the output terminal Q of the latch 11 as an input and an output of the third OR gate 19 and an input from the second processor board 27 to receive an input direction. From the first processor board 26 and the buffer 12 The second inverter 21 which inverts the response signal A0 and the chip select signal / PCS from the first processor board 26 are input as inputs, and the output of the second inverter 21 is input to the type force stage. The fourth OR gate 20 to be ORed as an input and the output of the fourth OR gate 20 are one input, and the write (/ WR) signal from the first processor board 26 is used as a type force. The fifth OR gate 22 to be ORed together with the chip select signal / CS from the second processor board 27 as one input, and the address signal A0 from the second processor board 27 is inputted. A sixth OR gate 25 that is logically summed as an input and an output of the sixth OR gate 25 are one input, and an input / output read (/ IOR) signal from the second processor board 27 is used as a type force. Receiving the OR of the seventh OR gate 24 and the output of the seventh OR gate 24 to the clock terminal And a third D flip-flop 23 for outputting the interrupt request signal IRQ to the output terminal Q as an output of the fifth OR gate 22 as an input. Data transmission device.
KR1019920012088A 1992-07-07 1992-07-07 Data transmission device for fax KR950002316B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920012088A KR950002316B1 (en) 1992-07-07 1992-07-07 Data transmission device for fax

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920012088A KR950002316B1 (en) 1992-07-07 1992-07-07 Data transmission device for fax

Publications (2)

Publication Number Publication Date
KR940003307A KR940003307A (en) 1994-02-21
KR950002316B1 true KR950002316B1 (en) 1995-03-16

Family

ID=19335981

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920012088A KR950002316B1 (en) 1992-07-07 1992-07-07 Data transmission device for fax

Country Status (1)

Country Link
KR (1) KR950002316B1 (en)

Also Published As

Publication number Publication date
KR940003307A (en) 1994-02-21

Similar Documents

Publication Publication Date Title
US4271466A (en) Direct memory access control system with byte/word control of data bus
US5068785A (en) Bus control for small computer system interface with transfer indication preceding final word transfer and buffer empty indication preceding receipt acknowledgement
EP0786726A2 (en) Interrupt sharing technique for PCMCIA cards
US5287486A (en) DMA controller using a programmable timer, a transfer counter and an or logic gate to control data transfer interrupts
US4729090A (en) DMA system employing plural bus request and grant signals for improving bus data transfer speed
US4283760A (en) Method and apparatus for controlling data transfer direction on a data bus
KR100403404B1 (en) Bidirectional parallel signal interface
KR950002316B1 (en) Data transmission device for fax
GB2060961A (en) Data processing system having memory modules with distributed address information
JP2563679B2 (en) Bidirectional input / output signal separation circuit
US5842044A (en) Input buffer device for a printer using an FIFO and data input method
KR950002306B1 (en) Data transmission device and method for fax
JPS6010948A (en) Data transmission equpment
KR950003659B1 (en) Asynchronous transmission device fitting for small computer system interface
KR930004903B1 (en) Parallel data communication system and its method between processors by using data bus
KR930011348B1 (en) Interface circuit between scsi and decoder ic
JP2692469B2 (en) Data controller
JP2000112878A (en) Device and method for controlling timing of transfer request in data processor
KR950005802B1 (en) Data transmission unit for dtb of versa module europe bus
KR0143933B1 (en) Interface control method and apparatus for bilateral communication between host and peripheral
KR910007746B1 (en) A method and apparatus for relaying unidirectional communication between processors
JP2629027B2 (en) Interface method
KR890006186Y1 (en) Direct memory access demand circuits for parallel circuits
KR100194686B1 (en) PIPO controller for DM using state machine
JPS59170933A (en) Input data control device of printer

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20000224

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee