KR930011348B1 - Interface circuit between scsi and decoder ic - Google Patents

Interface circuit between scsi and decoder ic Download PDF

Info

Publication number
KR930011348B1
KR930011348B1 KR1019910001204A KR910001204A KR930011348B1 KR 930011348 B1 KR930011348 B1 KR 930011348B1 KR 1019910001204 A KR1019910001204 A KR 1019910001204A KR 910001204 A KR910001204 A KR 910001204A KR 930011348 B1 KR930011348 B1 KR 930011348B1
Authority
KR
South Korea
Prior art keywords
scsi
stage
decoder
hrd
logic
Prior art date
Application number
KR1019910001204A
Other languages
Korean (ko)
Other versions
KR920015211A (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 KR1019910001204A priority Critical patent/KR930011348B1/en
Publication of KR920015211A publication Critical patent/KR920015211A/en
Application granted granted Critical
Publication of KR930011348B1 publication Critical patent/KR930011348B1/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/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Abstract

The circuit comprises a gate for gating CPUS1 signal for making HRD port of IC memory as initial step after usual and last byte transfer, invertered signal of DDRQ port to transfer DMA determine level of HRD port of decoder IC by passing input signals of SDRQ and DACK port through the gate to transfer DMA transfer of SCSI IC, and a pulse width generating part for providing active time of SCSI IC and DACK by output of DDRQ port of decoder IC, and active time of SCSI IC. The circuit provides accurate data transfer without data loss.

Description

데코더 IC와 SCSI IC간의 인터페이스 회로Interface circuit between decoder IC and SCSI IC

제1도는 이 발명에 따른 데코더 IC와 SCSI IC간의 인터페이스 회로의 실시도.1 is an embodiment of an interface circuit between a decoder IC and a SCSI IC according to the present invention.

제2도는 제1도에서의 각부의 동작 파형도이다.2 is an operational waveform diagram of each part in FIG.

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

10 : 데코더 IC(LS8951) 20 : SCSI IC(KS53C80)10: Decoder IC (LS8951) 20: SCSI IC (KS53C80)

30 : 게이트부 40 : 펄스폭 발생부(74LS123)30: gate portion 40: pulse width generation portion (74LS123)

G1 : 오아게이트 G2, G3, G4 : 앤드게이트G1: Oagate G2, G3, G4: Endgate

1n : 인버터 CPUS1, CPUS2 : CPU의 콘트롤 신호1n: Inverter CPUS1, CPUS2: CPU control signal

이 발명은 데코더 IC와 SCSI(Small Computer System Interface)IC간의 인터페이스 회로에 관한 것으로서, 보다 상세하게는 CD-ROM등의 데이타의 DMA(다이렉트 메모리 억세스) 전송을 행할때 데이타의 유실 또는 변질이 없도록 하고, 정확한 전송이 이루어지도록 한 데코더 IC와 SCSI IC간의 인터페이스 회로에 관한 것이다.The present invention relates to an interface circuit between a decoder IC and a small computer system interface (SCSI) IC. More specifically, the present invention provides a direct memory access (DMA) transfer of data such as a CD-ROM. The present invention relates to an interface circuit between a decoder IC and a SCSI IC for accurate transmission.

일반적으로, 마이크로 컴퓨터에 의한 프로그램의 운용으로 메모리내의 데이타를 읽어내어 전송을 행하는 경우, 마이크로 컴퓨터의 주클럭을 이용하기 때문에 데이타의 처리속도가 저하되었다. 이러한 문제를 해결하기 위한 것이 DMA 전송 방식이다.In general, in the case of reading and transferring data in memory by operating a program by a microcomputer, since the main clock of the microcomputer is used, the processing speed of the data is reduced. The DMA transfer method is to solve this problem.

한편 컴퓨터 내부를 보면, CD-ROM 프로세서에서 데이타를 고속 전송하여 퍼스널 컴퓨터에 인가하는 경우, CD-ROM 프로세서와 인터페이스 회로 및 DMA 프로세서와 보조 회로 및 DMA 카드가 필요하다.On the other hand, inside the computer, when a CD-ROM processor transfers data to a personal computer at high speed, a CD-ROM processor, an interface circuit, a DMA processor, an auxiliary circuit, and a DMA card are required.

여기서, 보조 회로란 DMA 전송을 행하기 위하여 DMA 프로세서를 보조하여 동작하는 회로를 말하고, DMA 카드란 DMA 전송된 데이타를 퍼스널 컴퓨터에 인가하기 위한 일종의 아답타를 말한다. 또, DMA 프로세서와 보조 회로의 기능을 모두 포함하고 있는 규격화 된 집적소자가 있는데, 이것이 SCSI IC이다. SCSI IC에 관해서는 다음에 서술하기로 한다.Here, the auxiliary circuit is a circuit that operates by assisting the DMA processor to perform DMA transfer, and the DMA card is a kind of adapter for applying the DMA transferred data to the personal computer. There is also a standardized integrated device that contains both the functionality of a DMA processor and an auxiliary circuit, which is a SCSI IC. The SCSI IC will be described later.

이 DMA 전송은 메모리내의 데이타를 마이크로 컴퓨터의 클럭 신호에 관계없이 소정의 콘트롤 신호에 의해 데이타를 전송하도록 함으로써, 데이타의 고속 전송이 가능하도록 한 것이다. 데이타 전송을 행하기 위한 CD-ROM의 데코더 IC와 SCSI IC간에 데이타가 DMA 전송될 때는 데이타를 DMA 전송하기 위한 여러개의 콘트롤 신호를 핸드 쉐이크(Handshake : 디지탈 전송 제어) 방식에 의하여 전송하게 되는데 이때 콘트롤 신호들의 상호 교환을 위해 소요되는 시간은 수십 나노초(nS)단위로서 이루어진다.This DMA transfer allows data to be transferred at high speed by means of a predetermined control signal regardless of the clock signal of the microcomputer. When data is DMA transferred between the CD-ROM decoder IC and SCSI IC for data transfer, several control signals for DMA transfer of data are transferred by the handshake method. The time required for the interchange of signals is in tens of nanoseconds (nS).

따라서 상호 교환되는 콘트롤 신호들간의 제어 시간에 에러가 발생하면 데이타가 변질되거나 유실되어 데이타의 정확한 전송이 이루어지지 않게 된다.Therefore, if an error occurs in the control time between the control signals exchanged with each other, the data is corrupted or lost, so that the accurate transmission of the data is not performed.

이 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 이 발명의 목적은, CD-ROM의 데코더 IC와 SCSI IC간에 데이타를 DMA 전송을 행할때 각 신호들간의 제어시간이 정확하게 제어되도록 콘트롤 신호들의 상호 교환을 원할하게 하여 데이타의 DMA 전송이 정확하게 이루어지도록 함으로써, 데이타의 변질이나 유실이 없도록 한 데코더 IC와 SCSI IC간의 인터페이스 회로를 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to control the mutual control signals so that the control time between the signals is accurately controlled when DMA transfers data between the decoder IC and the SCSI IC of the CD-ROM. The present invention provides an interface circuit between a decoder IC and a SCSI IC that facilitates exchange so that DMA transfer of data is performed accurately so that there is no corruption or loss of data.

상기와 같은 목적을 달성하기 위한 이 발명에 다른 데코더 IC와 SCSI IC간의 인터페이스 회로의 특징은, 데코더 IC와 SCSI IC간의 DMA 전송을 행하도록 한 인터페이스 회로 회로에 있어서; 데코더 IC가 메모리에서 픽업된 데이타를 읽어내기 위한 신호단인 HRD단(/HRD)이 엑티브된 후에, 데코더 IC와 SCSI IC사이의 데이타를 메인 컴퓨터로 전송하기 위한 신호단인 SCSI IC의 DRCK단(/DACK)이 엑티브되도록 한 로직을 구비하는 점에 있다.A feature of the interface circuit between the decoder IC and the SCSI IC according to the present invention for achieving the above object is an interface circuit circuit for performing DMA transfer between the decoder IC and the SCSI IC; After the HRD stage (/ HRD), which is the signal stage for the decoder IC to read the data picked up from the memory, is activated, the DRCK stage of the SCSI IC, which is the signal stage for transferring data between the decoder IC and the SCSI IC to the main computer ( / DACK) is to have the logic to be active.

이하, 이 발명에 따른 데코더 IC와 SCSI IC간이 인터페이스 회로의 바람직한 하나의 실시예에 대하여 첨부 도면을 참조하여 상세히 설명한다.Hereinafter, one preferred embodiment of the interface circuit between the decoder IC and the SCSI IC according to the present invention will be described in detail with reference to the accompanying drawings.

제1도는 이 발명에 따른 데코더 IC와 SCSI IC간의 인터페이스 회로의 실시도이고, 제2도는 제1도에서의 각부의 동작파형도이다.1 is an embodiment of an interface circuit between a decoder IC and a SCSI IC according to the present invention, and FIG. 2 is an operation waveform diagram of each part in FIG.

먼저, 이 발명의 일실시예에 따른 데코더 IC는 IC명 LC8951를 적용하였고 SCSI IC는 IC명 KS53C80을 적용하였다. 여기서 SCSI IC를 사용한 이유를 설명하면, 일반적인 DMA 프로세서를 사용하는 경우 후단의 퍼스널 컴퓨터와 DMA 프로세서 사이에 설치되는 아답터 즉 DMA 카드가 CD-ROM 드라이브의 갯수만큼 필요한 반면, SCSI IC를 사용하는 경우 후단의 퍼스널 컴퓨터와 SCSI IC 사이에 설치되는 아답터 즉 SCSI IC 카드는 1개의 카드로 최대 8대의 CD-ROM 드라이브에 연결하여 사용할 수 있는 이점이 있기 때문이다.First, the IC IC LC8951 is applied to the decoder IC according to the embodiment of the present invention and the IC name KS53C80 is applied to the SCSI IC. Here, the reason for using the SCSI IC is that, when using a general DMA processor, an adapter installed between the personal computer and the DMA processor in the latter stage, that is, the number of CD-ROM drives required for the DMA card, is used in the latter case. This is because the adapter installed between the personal computer and the SCSI IC, that is, the SCSI IC card, can be used by connecting up to eight CD-ROM drives with one card.

상기 데코더 IC(10)의 호스트리드 신호단인 HRD단(/HRD)에는, 평상시에 HRD단(/HRD)을 로직 "H"가 유지되도록 하고, 데이타 전송 후 최종 바이트에 로직 "H"로 만들어 주기 위한 CPU의 콘트롤 신호인 CPUS1신호와, 데코더 IC(10)의 DMA 리퀘스트단인 DDRQ단(DRQ1)의 신호와, SCSI IC(20)의 DMA 리퀘스트단인 SDRQ(DRQ2)의 신호가 게이팅되어 입력되도록 게이트부(30)가 연결되었다.In the HRD stage (/ HRD), which is the host lead signal terminal of the decoder IC 10, the HRD stage (/ HRD) is normally maintained at logic HH, and the logic byte H at the last byte after data transfer is made. The CPUS1 signal, which is the control signal of the CPU for giving, the signal of the DDRQ stage DRQ1, which is the DMA request stage of the decoder IC 10, and the signal of the SDRQ (DRQ2), which is the DMA request stage of the SCSI IC 20, are inputted. The gate part 30 is connected so that it may be.

한편, 데코더 IC(10)의 DDRQ단(DRQ1)의 출력을 입력으로 하는 펄스폭 발생부(40)가 구비되고, 이 펄스폭 발생부(40)의 출력단(

Figure kpo00001
은 SCSI IC(20)의 DMA 어크날리지단인 DACK단(/DACK)에 연결되고 또한 앤드게이트(G4)를 통해 SCSI IC(20)의 IOW단(/IOW)에 연결되었다. 상기 펄스폭 발생부(40)는 일예로 IC명 74LS123을 적용할 수 있으며, 출력단(
Figure kpo00002
의 펄스폭을 결정하는 저항(R1)과 콘덴서(C1)로 구성된 시정수 회로를 구비하였다.On the other hand, a pulse width generator 40 for inputting the output of the DDRQ stage DRQ1 of the decoder IC 10 is provided, and the output terminal of the pulse width generator 40 (
Figure kpo00001
Is connected to the DACK stage (/ DACK) which is the DMA acknowledgment stage of the SCSI IC 20, and is connected to the IOW stage (/ IOW) of the SCSI IC 20 through the AND gate G4. The pulse width generator 40 may apply the IC name 74LS123 as an example, and the output terminal (
Figure kpo00002
A time constant circuit composed of a resistor (R1) and a capacitor (C1) for determining the pulse width of the circuit was provided.

한편, 상기 게이트부(30)는 SCSI IC(20)의 SDRQ단(DRQ2)의 출력과 펄스폭 발생부(40)의 출력단(

Figure kpo00003
의 출력을 양입력으로 하는 앤드게이트(G3)와, 데코더 IC(10)의 DDRQ단(DRQ1)의 출력을 반전하는 인버터(In)와, 상기 앤드게이트(G3)와 인버터(In)의 출력을 입력으로하는 앤드게이트(G2)와, 상기 앤드게이트(G2)와 CPU의 CPUS1 신호를 입력으로 하는 오아게이트(G1)의 접속으로 이루어졌다.On the other hand, the gate portion 30 is the output of the SDRQ stage (DRQ2) of the SCSI IC 20 and the output terminal of the pulse width generator 40 (
Figure kpo00003
The output of the AND gate (G3) and the inverter (In) which inverts the output of the DDRQ stage (DRQ1) of the decoder IC 10, the output of the AND gate (G3) and the inverter (In). An AND gate G2 serving as an input and an OR gate G1 serving as the input of the AND gate G2 and the CPUS1 signal of the CPU were formed.

이와 같은 이 발명의 실시예는 픽업에 의해 데이타를 읽어내기 위하여 HRD단(HRD)을 엑티브(로우 엑티브)시킨후에 SCSI IC(20)의 DACK단(/DACK)을 엑티브되도록 하는 조건을 만족시키도록 하였는데 제2도의 동작파형도에 의거 이 발명의 상세한 작동과 그 작용효과를 설명한다. 먼저, CPU에서는 데코더 IC(10)와 SCSI IC(20)간에 핸드쉐이크를 셋팅시키는 스타트 신호를 발생하여 SCSI IC(20)의 내부 레지스터를 동작시킨다. 즉, SDRQ단(DRQ2)이 로직 "H"가 되도록 콘트롤 신호를 발생하고 CPUS1신호를 로직 "L"로 만든다. 이후 데코더 IC(10)의 DDRQ단(DRQ1)이 로직 "H"로 되어 데이타의 전송이 시작되게 된다.This embodiment of the present invention is such that the DACK stage (/ DACK) of the SCSI IC 20 is activated after the HRD stage (HRD) is activated (low active) in order to read data by pickup. The detailed operation of the present invention and its effect will be described based on the operation waveform of FIG. First, the CPU generates a start signal for setting a handshake between the decoder IC 10 and the SCSI IC 20 to operate an internal register of the SCSI IC 20. That is, the control signal is generated so that the SDRQ stage DRQ2 becomes the logic 'H' and the CPUS1 signal is made the logic 'L'. After that, the DDRQ stage DRQ1 of the decoder IC 10 becomes a logic "H" to start data transfer.

이 데코더 IC(10)의 DDRQ단(DRQ1)이 로직 "H"로 됨에 따라 펄스폭 발생부(40)의 입력이 로직 "H"로 되므로 그 출력단(

Figure kpo00004
은 로직 "L"로 되고, 상기 펄스폭 발생부(40)의 출력이 SCSI IC(20)의 DACK단(/DACK)에 입력되어 DACK단(/DACK)이 엑티브되며, 앤드게이트(G4)를 통해서 IOW단(/IOW)에는 로직 "L"이 인가되어 엑티브되게 된다.As the DDRQ stage DRQ1 of the decoder IC 10 becomes the logic "H 입력, the input of the pulse width generator 40 becomes the logic" H ", so the output stage (
Figure kpo00004
Becomes the logic "L", and the output of the pulse width generator 40 is input to the DACK terminal (/ DACK) of the SCSI IC 20 so that the DACK terminal (/ DACK) is activated, and the AND gate G4 is turned on. Through this, the logic 'L' is applied to the IOW stage (/ IOW) to be activated.

한편, 상기 데코더 IC(10)의 DDRQ단(DRQ1)이 로직 "H"이므로 인버터(In)를 통해 게이트부(30)의 앤드게이트(G2)에 로직 "L"로 반전 입력되게 된다. 이에 따라 앤드게이트(G2)의 출력이 로직 "L"로 되어 오아게이트(G1)에 인가되므로 데코더 IC(20)의 HRD단(/HRD)이 로직 "L"로 되어 데코더 IC(10)에서 1바이트분의 데이타를 읽게 된다.On the other hand, since the DDRQ stage DRQ1 of the decoder IC 10 is logic 반전 H ", it is inverted and input to the logic" L 에 of the AND gate G2 of the gate part 30 through the inverter In. As a result, the output of the AND gate G2 becomes logic "L 게이트 and is applied to the OR gate G1, so that the HRD terminal (/ HRD) of the decoder IC 20 becomes logic" L "and 1 in the decoder IC 10. Read bytes of data.

이 데이타는 상기한 SCSI IC(20)의 DACK단(/DACK)과 IOW단(/IOW)이 모두 로직 "L"로 되면 SCSI IC(20)에 전달되게 된다. 제2도에서 구간(A)은 이와같은 상태 즉, 데코더 IC(10)와 SCSI IC(20)간의 데이타를 SCSI IC(20)와 메인 컴퓨터(도시되지 않음)간의 데이타 버스상에 데이타를 전송하는 구간을 나타낸 것이다. 이후, 데코더 IC(10)와 SCSI IC(20)간의 버스상에 있는 데이타를 메인 컴퓨터의 내부 아답터간의 버스상에 전송하기 위해 SCSI IC(20)의 ACK단(/ACK)이 로직 "L"로 되어 엑티브된다. 이 SCSI IC(20)와 메인 컴퓨터의 내부 아답타간의 버스상에 전송된 데이트는 SCSI IC(20)의 REQ단(/REQ)이 로직 "L"로 엑티브되면 메인 컴퓨터의 메인 메모리로 전송되어 1바이트분의 데이타 전송이 완료된다.This data is transferred to the SCSI IC 20 when both the DACK stage (/ DACK) and the IOW stage (/ IOW) of the above-described SCSI IC 20 become logic VL. In Fig. 2, the section A is in such a state, that is, the data between the decoder IC 10 and the SCSI IC 20 is transferred to the data bus between the SCSI IC 20 and the main computer (not shown). It shows the interval. Then, the ACK terminal (/ ACK) of the SCSI IC 20 is transferred to the logic "L" to transfer data on the bus between the decoder IC 10 and the SCSI IC 20 on the bus between the internal adapters of the main computer. Become active. The data transferred on the bus between the SCSI IC 20 and the internal adapter of the main computer is transferred to the main memory of the main computer when the REQ stage (/ REQ) of the SCSI IC 20 is activated by logic "L", thereby transferring 1 byte. Minute data transfer is complete.

한편, 이와같은 데이타 전송시에 1바이트의 데이타가 메인 컴퓨터로 완전하게 전송되기 전에 데코더 IC(10)에서 데이타를 읽어내어 SCSI IC(20)간의 버스상에 데이트를 전송하게 되면 데이타 전송에 에러가 발생하며 먼저의 데이타가 유실되거나 데이타가 변질되는 문제가 있게 되는데, 이와 같은 문제는 상기 SCSI IC(20)의 REQ단(/REQ)을 ACK단(/ACK)보다 먼저 엑티브되게 함으로써 방지할 수 있다. SCSI IC(20)의 내부 로직 구성상 ACK단(/ACK)이 로직 "L"로 된후에 REQ단(/REQ)이 로직 "H"로 되어 이 REQ단(/REQ)이 로직 "H"로 되기까지의 구간(B)에 데이타 전송이 이루어져 1바이트분의 전송이 완료된다.On the other hand, if one byte of data is read out from the decoder IC 10 and data is transferred on the bus between the SCSI ICs 20 before data is completely transferred to the main computer, the data transfer error occurs. There is a problem that the first data is lost or the data is corrupted. This problem can be prevented by making the REQ stage (/ REQ) of the SCSI IC 20 active before the ACK stage (/ ACK). . In the internal logic configuration of the SCSI IC 20, the REQ stage (/ REQ) turns to logic "H" after the ACK stage (/ ACK) turns to logic "L", and this REQ stage (/ REQ) turns to logic "H". Data transmission is performed in the section B until the completion, and the transmission of one byte is completed.

이후, SCSI IC(20)의 내부 회로 구성에 의해 SDRQ단(DRQ2)이 로직 "H"로 되어 데코더 IC(10)와 SCSI IC(20)간의 버스상의 데이타를 바꿔줄 수 있도록 된다. 따라서, DDRQ단(DRQ1)이 로직 "H"이므로 게이트부(30)의 앤드게이트(G3),(G2)와 오아게이트(G1)를 통해 데코더 IC(10)의 HRD단(/HRD)에 로직 "H"가 인가되게 된다. 여기서, 앤드게이트(G3)의 다른 한 입력을 제공하는 펄스폭 발생부(40)의 출력단(

Figure kpo00005
은 최초에 SCSI IC(20)의 DACK단(/DACK)을 엑티브시키기 위해 로직 "L"을 유지한 후 다시 로직 "H"로 반전 복귀되어 SDRQ단(DRQ2)이 로직 "H"일때 데코더 IC(10)의 HRD단(/HRD)이 로직 "H"로 된다.Thereafter, the SDRQ stage DRQ2 becomes a logic HH by the internal circuit configuration of the SCSI IC 20 so that data on the bus between the decoder IC 10 and the SCSI IC 20 can be changed. Accordingly, since the DDRQ stage DRQ1 is logic "H", logic is applied to the HRD stage (/ HRD) of the decoder IC 10 through the AND gates G3, G2 and OA gate G1 of the gate unit 30. "H" will be applied. Here, the output terminal of the pulse width generator 40 which provides the other input of the AND gate G3 (
Figure kpo00005
In order to activate the DACK stage (/ DACK) of the SCSI IC 20 first, the logic IC maintains the logic L and then inverts the logic to H. The decoder IC (DQ2) is the logic IC. The HRD stage (/ HRD) of 10) becomes logic "H".

이와 같이 1바이트분의 데이타를 메인 컴퓨터로 전송한 후에 다음의 1바이트분의 데이타 전송을 위한 준비 상태로 된다. 이 HRD단(/HRD)이 로직 "H"로 되었으므로 데코더 IC(10)의 DDRQ단(DRQ1)은 로직 "H"로 되어 DMA 전송이 다시 이루어지고, 인버터(In)를 통한 반전된 DDRQ단(DRQ1)의 신호가 게이팅 되어 HRD단(HRD)을 다시 로직 "L"로 엑티브시킨다. 따라서, 전술한 1바이트분의 데이타 전송과 동일한 동작이 이루어져서 새로운 1바이트분의 데이타 전송이 행해지게 된다.In this manner, after one-byte data is transferred to the main computer, the data is ready for the next one-byte data transfer. Since the HRD stage (/ HRD) has become logic "H", the DDRQ stage (DRQ1) of the decoder IC 10 becomes logic H, and DMA transfer is performed again, and the inverted DDRQ stage ( The signal of DRQ1) is gated to activate the HRD stage (HRD) again with logic 'L'. Therefore, the same operation as that of the above-described one-byte data transfer is performed, so that a new one-byte data transfer is performed.

이와 같이 반복적인 회로의 동작이 행해져 1블록의 데이타(통상적으로 2048바이트) 전송이 이루어지면 최종적으로 데코더 IC(10)의 HRD단(/HRD)이 로직 "H"로 유지되고 CPU의 CPUS1 신호가 로직 "H"로 되어 1블록의 DMA 전송을 종료하게 된다. 이 DMA전송이 아닌 때에는 데코더 IC(20)의 DACK단(/DACK)은 로직 "H"로 되므로 IOW단(/IOW)단은 CPU의 CPUS2 신호에 의해 결정되게 되며, 이때는 CPUS2에 의해 SCSI IC(20)의 내부 레지스터를 콘트롤하게 된다.When the repetitive circuit operation is performed and one block of data (usually 2048 bytes) is transferred, the HRD stage (/ HRD) of the decoder IC 10 is maintained at logic HH and the CPUS1 signal of the CPU The logic goes to " H " to terminate DMA transfer of one block. When this DMA transfer is not carried out, the DACK stage (/ DACK) of the decoder IC 20 becomes a logic HH, so the IOW stage (/ IOW) stage is determined by the CPUS2 signal of the CPU. In this case, the SCSI IC ( 20) to control the internal register.

이와같이 데코더 IC(10)의 HRD단(/HRD)의 신호 레벨을 게이트부(30)와 CPUS1 신호에 의해 결정하게 되고, 펄스폭 발생부(40)에 의해서는 SCSI IC(20)의 DACK단(/DACK)과 IOW단(/IOW)의 신호 레벨을 결정하게 되어 데코더 IC(10)에서 데이타를 읽어내는 HRD단(/HRD)의 신호와, 데코더 IC(10)와 SCSI IC(20)간의 데이타를 메인 컴퓨터로 전송하기 위한 DACK단(/DACK)신호의 조건 즉, HRD단(/HRD)이 엑티브된 후에 DACK단(/DACK)이 엑티브되도록 하는 조건을 만족시키게 된다.In this way, the signal level of the HRD terminal (/ HRD) of the decoder IC 10 is determined by the gate unit 30 and the CPUS1 signal, and the pulse width generating unit 40 determines the DACK terminal of the SCSI IC 20 ( / DACK) and the signal level of the IOW stage (/ IOW) is determined, the signal of the HRD stage (/ HRD) to read data from the decoder IC (10), and the data between the decoder IC (10) and the SCSI IC (20) The condition of the DACK terminal (/ DACK) signal for transmitting to the main computer, that is, the condition that the DACK terminal (/ DACK) is activated after the HRD terminal (/ HRD) is activated.

이상에서와 같이 이 발명에 따른 데코더 IC와 SCSI IC간의 인터페이스 회로에 의하면, 데코더 IC의 데이타를 읽어내는 신호인 HRD단의 신호가 엑티브된 후에 데코더 IC와 SCSI IC간의 버스상에 존재하는 데이타를 호스트 컴퓨터로 전송하기 위한 신호인 DACK단의 신호가 엑티브되도록 한 로직 구성으로 되어 있으므로, 메모리에서 픽업된 데이타를 DMA 전송할 때에 데이타 유실이나 변질이 없어 정확한 데이타 전송이 이루어지게 되므로, 고속의 DMA 전송이 안전하게 행해지게 되는 효과를 갖게된다.As described above, according to the interface circuit between the decoder IC and the SCSI IC according to the present invention, the data on the bus between the decoder IC and the SCSI IC is hosted after the signal at the HRD stage, which is a signal for reading the data of the decoder IC, is activated. Since the DACK signal, which is a signal to be transmitted to the computer, is activated in a logic structure, when the data picked up from the memory is transferred to the DMA, accurate data transfer is performed without data loss or alteration. Has the effect of being done.

Claims (2)

데코더 IC와 SCSI IC간의 DMA 전송을 행하도록 한 인터페이스 회로에 있어서; 데코더 IC가 메모리에서 픽업된 데이타를 읽어내기 위한 신호단인 HRD단이 엑티브된 후에, 데코더 IC와 SCSI IC사이의 데이타를 메인 컴퓨터로 전송하기 위한 신호단인 SCSI IC의 DRCK단이 엑티브되도록 한 로직을 구비하는 데코더 IC와 SCSI IC간의 인터페이스 회로.An interface circuit for performing DMA transfer between a decoder IC and a SCSI IC; Logic that enables the DRCK stage of the SCSI IC, the signal stage for transferring data between the decoder IC and the SCSI IC, to the main computer after the HRD stage, the signal stage for the decoder IC to read the data picked up from the memory, is activated. An interface circuit between a decoder IC and a SCSI IC. 제1항에 있어서, 상기 로직은, 데코더 IC의 HRD단을 평상시와 최종 바이트 전송 후에 초기 단계로 만들기 위한 CPUS1신호와, DMA 전송을 하기 위한 DDRQ단의 인버터된 신호와, SCSI IC의 DMA 전송을 하기 위한 SDRQ단과 DACK단의 입력 신호를 게이팅 출력하여 데코더 IC의 HRD단의 레벨을 결정하는 게이트부와; 데코더 IC의 DDRQ단의 출력에 의해 SCSI IC의 DACK단의 엑티브 기간을 제공하며, 동시에 SCSI IC의 엑티브 기간을 제공하는 펄스폭 발생부로 이루어진 데코더 IC와 SCSI IC간의 인터페이스 회로.2. The logic of claim 1, wherein the logic is further configured to execute a CPUS1 signal for making the HRD stage of the decoder IC into an initial stage after the normal and last byte transfer, the inverter signal of the DDRQ stage for DMA transfer, and the DMA transfer of the SCSI IC. A gate unit for gating and outputting input signals of the SDRQ stage and the DACK stage to determine the level of the HRD stage of the decoder IC; Interface circuit between the decoder IC and the SCSI IC, which is composed of a pulse width generator which provides the active period of the DACK stage of the SCSI IC by the output of the DDRQ stage of the decoder IC and at the same time provides the active period of the SCSI IC.
KR1019910001204A 1991-01-24 1991-01-24 Interface circuit between scsi and decoder ic KR930011348B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910001204A KR930011348B1 (en) 1991-01-24 1991-01-24 Interface circuit between scsi and decoder ic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910001204A KR930011348B1 (en) 1991-01-24 1991-01-24 Interface circuit between scsi and decoder ic

Publications (2)

Publication Number Publication Date
KR920015211A KR920015211A (en) 1992-08-26
KR930011348B1 true KR930011348B1 (en) 1993-11-30

Family

ID=19310254

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910001204A KR930011348B1 (en) 1991-01-24 1991-01-24 Interface circuit between scsi and decoder ic

Country Status (1)

Country Link
KR (1) KR930011348B1 (en)

Also Published As

Publication number Publication date
KR920015211A (en) 1992-08-26

Similar Documents

Publication Publication Date Title
US4939637A (en) Circuitry for producing emulation mode in single chip microcomputer
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
IL134870A (en) Data transfer system for accomplishing data transfers in an information processing system
JPH05274259A (en) Serial input interface circuit
JPS61253555A (en) Transaction analyzer
US4878168A (en) Bidirectional serial test bus device adapted for control processing unit using parallel information transfer bus
US4809167A (en) Circuitry for emulating single chip microcomputer without access to internal buses
US5740199A (en) High speed wire-or communication system and method therefor
KR930011348B1 (en) Interface circuit between scsi and decoder ic
US6032238A (en) Overlapped DMA line transfers
US6202117B1 (en) Host adapter integrated circuit having autoaccess pause
JPH11502643A (en) Error recognition and elimination in serial data bus systems
CN101169767B (en) Access control device and access control method
KR100223096B1 (en) Method and apparatus for observing internal memory-mapped registers
EP0158774A2 (en) Data processing system with an improved storage testing device
KR910008420B1 (en) Interface circuit between cpu and peripheral i/o devices
JPH04323755A (en) Dma device
KR950002316B1 (en) Data transmission device for fax
JP2000112878A (en) Device and method for controlling timing of transfer request in data processor
KR0154470B1 (en) Circuit for interfacing between auxiliary processor and external device
JP2539064B2 (en) Microprocessor
KR930007677B1 (en) Semiconductor integrated circuit
JP2575895B2 (en) Control signal switching device for integrated circuits
KR970002400B1 (en) Control scheme of interrupt go and done in a multiprocessor interrupt requester

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
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: 19961231

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee