KR930011348B1 - Interface circuit between scsi and decoder ic - Google Patents
Interface circuit between scsi and decoder ic Download PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/28—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
Abstract
Description
제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
한편, 데코더 IC(10)의 DDRQ단(DRQ1)의 출력을 입력으로 하는 펄스폭 발생부(40)가 구비되고, 이 펄스폭 발생부(40)의 출력단(은 SCSI IC(20)의 DMA 어크날리지단인 DACK단(/DACK)에 연결되고 또한 앤드게이트(G4)를 통해 SCSI IC(20)의 IOW단(/IOW)에 연결되었다. 상기 펄스폭 발생부(40)는 일예로 IC명 74LS123을 적용할 수 있으며, 출력단(의 펄스폭을 결정하는 저항(R1)과 콘덴서(C1)로 구성된 시정수 회로를 구비하였다.On the other hand, a
한편, 상기 게이트부(30)는 SCSI IC(20)의 SDRQ단(DRQ2)의 출력과 펄스폭 발생부(40)의 출력단(의 출력을 양입력으로 하는 앤드게이트(G3)와, 데코더 IC(10)의 DDRQ단(DRQ1)의 출력을 반전하는 인버터(In)와, 상기 앤드게이트(G3)와 인버터(In)의 출력을 입력으로하는 앤드게이트(G2)와, 상기 앤드게이트(G2)와 CPU의 CPUS1 신호를 입력으로 하는 오아게이트(G1)의 접속으로 이루어졌다.On the other hand, the
이와 같은 이 발명의 실시예는 픽업에 의해 데이타를 읽어내기 위하여 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
이 데코더 IC(10)의 DDRQ단(DRQ1)이 로직 "H"로 됨에 따라 펄스폭 발생부(40)의 입력이 로직 "H"로 되므로 그 출력단(은 로직 "L"로 되고, 상기 펄스폭 발생부(40)의 출력이 SCSI IC(20)의 DACK단(/DACK)에 입력되어 DACK단(/DACK)이 엑티브되며, 앤드게이트(G4)를 통해서 IOW단(/IOW)에는 로직 "L"이 인가되어 엑티브되게 된다.As the DDRQ stage DRQ1 of the
한편, 상기 데코더 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
이 데이타는 상기한 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
한편, 이와같은 데이타 전송시에 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
이후, 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)의 출력단(은 최초에 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
이와 같이 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
이와 같이 반복적인 회로의 동작이 행해져 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
이와같이 데코더 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
이상에서와 같이 이 발명에 따른 데코더 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)
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) |
-
1991
- 1991-01-24 KR KR1019910001204A patent/KR930011348B1/en not_active IP Right Cessation
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 |