KR930007593Y1 - Control signal oscillating circuit for data input & output between apparatus - Google Patents

Control signal oscillating circuit for data input & output between apparatus Download PDF

Info

Publication number
KR930007593Y1
KR930007593Y1 KR2019900021408U KR900021408U KR930007593Y1 KR 930007593 Y1 KR930007593 Y1 KR 930007593Y1 KR 2019900021408 U KR2019900021408 U KR 2019900021408U KR 900021408 U KR900021408 U KR 900021408U KR 930007593 Y1 KR930007593 Y1 KR 930007593Y1
Authority
KR
South Korea
Prior art keywords
signal
unit
output
data
data input
Prior art date
Application number
KR2019900021408U
Other languages
Korean (ko)
Other versions
KR920014099U (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 KR2019900021408U priority Critical patent/KR930007593Y1/en
Publication of KR920014099U publication Critical patent/KR920014099U/en
Application granted granted Critical
Publication of KR930007593Y1 publication Critical patent/KR930007593Y1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/10Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
    • G11C7/1072Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers for memories with random access ports synchronised on clock signal pulse trains, e.g. synchronous memories, self timed memories

Abstract

내용 없음.No content.

Description

장치간 데이타 입출력 인터페이스 회로Device I / O Interface Circuit

제 1 도는 장치간 데이타 전송을 설명하는 블록도면.1 is a block diagram illustrating data transfer between devices.

제 2 도는 본 고안에 따른 회로 구성도이다.2 is a circuit diagram according to the present invention.

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

1 : D형 플립플롭 2 : 쉬프트 레지스터1: D flip-flop 2: Shift register

3 : NOR 게이트 4 : 반전기3: NOR gate 4: inverter

본 고안은 CPU와 외부 기기와의 데이타 입출력에 관계된 인터페이싱에 관한 것으로, 특히 장치간 데이타 입출력을 제어하기 위한 제어신호를 하드웨어적으로 구현한 인터페이스회로에 관한 것이다.The present invention relates to an interface related to data input / output between a CPU and an external device, and more particularly, to an interface circuit implementing hardware control signals for controlling data input / output between devices.

통상, 디지탈 시스템은 펄스 발생기로부터 공급되는 공통의 클럭펄스에 의해 동기화되나, CPU와 I/O 인터페이스와 같은 유닛에 있어서는 그 펄스 발생원이 상호 독립적으로 운영된다. 그러나, 상기 2개의 유닛이 공통의 클럭을 사용하는 경우에는 이들 유닛은 동기 방식으로 운영되는 것이나, 대부분 이와는 반대로 비동기 상태로 운영되고 있다. 따라서, 비동기적으로 독립적으로 운영된다는 점에서 상호 유닛간에는 제어 신호가 필요하게 되고 제1유닛으로부터 제2유닛으로 데이타 전송이 일어날 때 이것이 유효함을 알리기 위해 스트로브 제어펄스의 수단에 의해 상호 통신이 원활히 되도록 하는 것이 일반적이다.Typically, digital systems are synchronized by a common clock pulse supplied from a pulse generator, but in units such as the CPU and the I / O interface, the pulse generators operate independently of each other. However, when the two units use a common clock, these units are operated in a synchronous manner, but in most cases, they are operated asynchronously. Therefore, the mutual communication is smoothly carried out by means of the strobe control pulse to inform that the control signals are required between the mutual units in that they are operated asynchronously and independently and that this is valid when data transfer from the first unit to the second unit occurs. It is common to make it possible.

이러한 제어 신호내지는 그외의 필요한 통신을 위한 제어 신호를 포함하여 헨드쉐이킹으로 호칭되고 있는데 특히 이 스트로브 제어에 대하여 첨부한 제 1 도에는 블록도면이 도시되어 있는데, 제1 유닛(소스 유닛)(10)으로부터 제2유닛(20)으로, 데이타 버스에 의한 데이타 전송이 유효할 때, 제2유닛(20)에 상기 사실을 알리기 위해 제1유닛(10)으로 부터 발생되는 통신 제어 신호인스트로브 신호가 제2유닛(20)으로 출력된다.These control signals, including control signals for other necessary communications, are called handshaking. In particular, a block diagram is shown in FIG. 1 attached to this strobe control, and the first unit (source unit) 10 is shown. From the first unit 10 to inform the second unit 20 of the fact that the data transfer by the data bus is effective, It is output to the unit 20.

이러한 방식이 적용되는 일예로서 CPU로부터 외부장치인 프린터에 데이타를 전송하는 경우를 고찰하여 보면, 마이컴측과 프린터측은 공히 데이타 전송을 위해 데이타 버스와 통상 제어 신호인BUSY,의 신호를 갖고 있는데 개략적인 동작관계는 다음과 같다.As an example in which this method is applied, in the case of transferring data from the CPU to an external printer, both the microcomputer side and the printer side use a data bus and a normal control signal for data transmission. BUSY, It has a signal of, and the general operation relation is as follows.

마이컴측이 데이타를 전송하고자 할 때, 프린터측이 동작불가능한 경우에는 프린터측의 'BUSY' 신호를, 예를 들어 온 신호로서 마이컴에 보내오면 마이컴은 이 신호를 우선적으로 처리하도록 프로그램된 내용에 따라 판단한다. 오프신호가 접수되면 마이컴은 마이컴측의 프린터 포트에 할당된 출력 포트로 데이타를 출력하고 이어서 마이컴은 스트로브신호를 모두 레벨로하여 프린터측에 보낸다. 앞에서 언급하였듯이 이 신호는 데이타 버스의 데이타 전송이 유효한 것을 의미하므로 프린터측에서는 이를 접수함과 아울러신호를 보내어 데이타 전송이 이루어지도록 한다.When the microcomputer wants to transmit data, if the printer cannot operate, it sends a 'BUSY' signal on the printer side, for example, as an on signal to the microcomputer. To judge. When the off signal is received, the microcomputer outputs data to the output port assigned to the microcomputer's printer port, and then the microcomputer strobes. Send all signals to the printer side. As mentioned earlier, this signal means that the data transfer on the data bus is valid. Send a signal to allow data transfer.

그러나, 이를 실현하기 위해 통상은 스트로브 신호를 소프트 웨어적으로 발생시키고 있기 때문에 소프트웨어 처리 루틴의 낭비가 초래되고 있다.However, in order to realize this, since the strobe signal is usually generated in software, a waste of software processing routines is caused.

즉, 채용된 처리루틴에 있는 스트로브 신호 처리는 데이타 전송후 소정시간의 지연이 경과된 후에 스트로브를 인에이블 시키고 다시 상기와 같은 소정시간 후에 스트로브 신호를 디저블(disable)시키는 일련의 처리루틴을 갖고 있다.That is, the strobe signal processing in the adopted processing routine has a series of processing routines that enable the strobe after a delay of a predetermined time after data transmission and disable the strobe signal again after the predetermined time as described above. have.

이러한 이유로 소프트 웨어의 부담이 크고 또한 스트로브 신호가 인에이블된 상태에서 CPU에 인터럽트가 발생된 경우에는 상기 인에이블된 스트로브 신호가 필요 이상으로 지연되는 것이다.For this reason, if the load of the software is heavy and the CPU is interrupted while the strobe signal is enabled, the enabled strobe signal is delayed more than necessary.

이러한 문제는 소프트 웨어적 처리방법이 적용된 그 자체에 원인이 있는 것이기 때문에 이러한 처리 방식에는 한계가 있는 것이므로 본 고안에서는 이러한 점을 감안하여 소프트 웨어가 아닌 하드웨어적으로 장치간 데이타 입출력을 위한 제어신호 발생 기능을 갖는 인터페이스 회로를 제공함을 그 목적으로 한다.Since this problem is caused by the software processing method itself, there is a limitation in this processing method. Therefore, in the present design, the control signal for data input / output between devices is generated in hardware rather than software in consideration of this point. It is an object to provide an interface circuit having a function.

본 고안의 목적에 따라 구성된 회로의 구성 및 작용 효과를 첨부한 도면인 제 2 도를 참조하여 이하 상세히 설명한다.The configuration and effect of the circuit constructed in accordance with the object of the present invention will be described in detail below with reference to FIG.

본 고안의 제1유닛(10)과 제2유닛(20)간 디지탈 데이타 입출력 인터페이스 회로는 데이타 생성원으로서의 제1유닛(10)으로 부터의 데이타(D0-D7)를 제1유닛(10)의 WR(write신호)에 의해 동기되어 제2유닛(20)으로 출력되도록 구비된 D플립플롭(1)과, 상기의 반전된 신호를 입력으로 하고 또 클럭신호(ck')를 받아 지연된 상기 입력신호를 출력하는 쉬프트 레지스터(2)와, 이 쉬트프 레지스터(2)의 두 출력(Qc, Qn)을 NOR 논리연산하여 제2유닛(20)으로 스트로브신호를 출력하는 NOR 게이트(3)로 연결 구성된 것을 특징으로 한다.The digital data input / output interface circuit between the first unit 10 and the second unit 20 according to the present invention receives data D 0 -D 7 from the first unit 10 as a data generation source. D flip-flop (1) provided to be output to the second unit 20 in synchronization with the WR (write signal) of A NOR logic operation is performed on the shift register 2 for inputting the inverted signal of? And receiving the clock signal ck 'and outputting the delayed input signal, and the two outputs Qc and Qn of the shift register 2. Strobe signal to the second unit 20 It is characterized in that it is configured to be connected to the NOR gate (3) for outputting.

제1유닛(10) CPU는 제2유닛(20), 예를들면 프린터와 같은 기기에 소정의 데이타를 출력하기 위해 제 2 도에 도시된 D형 플립플롭(1) 각각의 입력단자(D)에 데이타(Q0∼Q7)를 보내면 이 플립플롭(1)은 제1유닛(10)으로부터의신호에 따라 이에 동기하여 데이타 전송을 하게된다. 이러한 사실을 제2의 유닛(20)에 알리기 위한 스트로브신호 발생은 본고안에 따라 회로적으로 이루어지는데 상기 신호는 반전기(4)에 의해 반전되어 예를들면 칩 일련번호인 '74164'와 같은 8비트 직렬 입력/병렬 출력 쉬프트 레지스터(2)의 A, B 입력단자로 동시에 입력된다.The CPU of the first unit 10 inputs each of the input terminals D of the D-type flip-flop 1 shown in FIG. 2 to output predetermined data to the second unit 20, for example, a device such as a printer. Sends the data Q 0 to Q 7 to the flip-flop 1 from the first unit 10. According to the signal, data transmission is synchronized with this. Strobe to inform this to the second unit 20 Signal generation is done circuitically according to this proposal. Is inverted by the inverter 4 and is simultaneously input to the A and B input terminals of the 8-bit serial input / parallel output shift register 2, for example, the chip serial number '74164'.

여기 사용된 쉬프트 레지스터(2)는 8개의 지연된 입력 데이타를 병렬로 출력하는 쉬프트 레지스터로서, 그 출력중 QC와 QD는 각각 클럭신호(ck')에 대해 2ck' 지연된 출력 및 3ck' 지연된 출력, 즉 Qc에 대해 1ck'지연된 출력신호이다. 본 실시예에서 사용된 클럭신호(ck')는 4MHz로서 이 클럭에 동기하여 쉬프트 레지스터(2)에 입력된 데이타가 지연되어 출력된다.The shift register 2 used here is a shift register for outputting eight delayed input data in parallel, among which Q C and Q D are 2ck 'delayed output and 3ck' delayed output with respect to the clock signal ck ', respectively. That is, the output signal is 1ck 'delayed for Qc. The clock signal ck 'used in this embodiment is 4 MHz, and the data input to the shift register 2 is delayed and output in synchronization with this clock.

쉬프트 레지스터(2)로 부터 출력된 2개의 출력신호(Qc,Qn)는 이어서 NOR 게이트(3)로 입력되어 제 2b 도와 같이 스트로브신호를 발생한다. 도면에서 보듯이, 샘플링한신호를 2ck' 지연하여 하이상태의 QC와 다음 ck'에 의해 QD가 하이일 때 즉, Qc와 QD가 모두 하이상태로 되는 2ck' 기간동안 스트로브신호가 로우가 되는 것이다.The two output signals Qc and Qn output from the shift register 2 are then input to the NOR gate 3 to strobe as shown in FIG. 2b. Generate a signal. As you can see in the drawing, When the 'high state by the delay of Q C and then ck, the signal Q D 2ck is high by the other words, the strobe signals for both the Q and D 2ck Qc' period in which a high state Becomes low.

따라서, 스트로브 신호가 하드웨어적으로 발생되므로 소프트웨어의 부담이 경감되고 CPU가 인터럽트되더라도 이에 상관없이 일정시간의 스트로브 신호를 발생시킬 수 있다.Therefore, since the strobe signal is generated in hardware, the burden on software can be reduced and the strobe signal can be generated for a certain time regardless of the interruption of the CPU.

본 고안의 또 다른 실시예가 얻어질 수 있는데 그것은신호의 샘플링에 따른 주파수 변조가 가능한 것이다. 따라서, 본 고안 회로는 카세트 테이프를 위한 인터페이스 회로와 같은 주파수 변조에 위한 직렬 데이타의 출력을 소프트웨어의 부담없이 간단히 실현 가능케한다.Another embodiment of the present invention can be obtained Frequency modulation is possible by sampling the signal. Therefore, the inventive circuit makes it possible to simply realize the output of serial data for frequency modulation, such as an interface circuit for a cassette tape, without the burden of software.

Claims (1)

제1유닛(10)과 제2유닛(20) 사이의 디지탈 데이타 입, 출력 인터페이스 회로에 있어서, 데이타 생성원이 상기 제1유닛(10)으로 부터 동기하여 데이타(D0-D7)를 제1유닛(10)으로부터의 기록신호에 의해 동기되어 제2유닛(20)으로 출력하기 위한 D플립플롭(1)과, 상기 기록신호를 반전시키기 위한 반전기(4)와, 상기 반전된 기록신호를 공통 입력(A, B)으로 하고 클럭신호(ck')를 받아 2클록 및 3클록 지연된 입력신호를 병렬 출력(QC, QD)하는 쉬프트 레지스터(2)와, 이 쉬프트 레지스터(2)의 두 출력(QC, QD)을 NOR논리 연산하여 제2유닛(20)으로 스트로브신호를 출력하는 NOR 게이트(3)로 구성된 것을 특징으로 하는 장치간 데이타 입출력 인터페이스회로.In the digital data input / output interface circuit between the first unit 10 and the second unit 20, the data generation source synchronizes the data D 0 -D 7 from the first unit 10. Recording signal from one unit 10 D flip-flop 1 for outputting to the second unit 20 in synchronization with An inverter 4 for inverting the signal and the inverted recording signal Is a common input (A, B), a shift register (2) for receiving a clock signal (ck ') and a two- and three-clock delayed input signal in parallel (Q C , Q D ), and the shift register (2). NOR logic operation of two outputs (Q C , Q D ) of the strobe signal to the second unit 20 An inter-device data input / output interface circuit, comprising: a NOR gate (3) for outputting a signal;
KR2019900021408U 1990-12-28 1990-12-28 Control signal oscillating circuit for data input & output between apparatus KR930007593Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019900021408U KR930007593Y1 (en) 1990-12-28 1990-12-28 Control signal oscillating circuit for data input & output between apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019900021408U KR930007593Y1 (en) 1990-12-28 1990-12-28 Control signal oscillating circuit for data input & output between apparatus

Publications (2)

Publication Number Publication Date
KR920014099U KR920014099U (en) 1992-07-27
KR930007593Y1 true KR930007593Y1 (en) 1993-11-05

Family

ID=19308139

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019900021408U KR930007593Y1 (en) 1990-12-28 1990-12-28 Control signal oscillating circuit for data input & output between apparatus

Country Status (1)

Country Link
KR (1) KR930007593Y1 (en)

Also Published As

Publication number Publication date
KR920014099U (en) 1992-07-27

Similar Documents

Publication Publication Date Title
US5708801A (en) Apparatus and method for operating chips synchronously at speeds exceeding the bus speed
US4965884A (en) Data alignment method and apparatus
US4811364A (en) Method and apparatus for stabilized data transmission
US5335337A (en) Programmable data transfer timing
US5535343A (en) Method and apparatus for generating write signals
EP0549334B1 (en) A data input and output control device and a one-chip microcomputer integrating the same
GB2235995A (en) Apparatus for read handshake in high-speed asynchronous bus interface
US4823365A (en) Synchronization method and elastic buffer circuit
EP0319184B1 (en) Two stage synchronizer
KR930007593Y1 (en) Control signal oscillating circuit for data input & output between apparatus
US6823413B2 (en) Interrupt signal processing apparatus
US6205192B1 (en) Clock input control circuit
CA2104070C (en) Synchronous communication system having multiplexed information transferand transition phases
US5828872A (en) Implementation of high speed synchronous state machines with short setup and hold time signals
KR100241765B1 (en) Apparatus for generating id in atm communication system
EP1683031B1 (en) Method and apparatus for maintaining data density for derived clocking
JP2596336B2 (en) Asynchronous digital communication device
KR100220388B1 (en) Asynchronous data interfacing apparatus
KR970007157Y1 (en) Interface apparatus between system bus and multiple parallel port
KR19980050372A (en) Clock generator for data transmission synchronization
KR910006000B1 (en) High speed data-clock synchronization processor
JPH0738386A (en) Data latch circuit
JP2001308940A (en) Communication speed changeover device
JPS6128132B2 (en)
JPH04282930A (en) Asynchronous trigger transmission circuit

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
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 19980327

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee