KR100469436B1 - Data access circuit for multimedia device - Google Patents

Data access circuit for multimedia device Download PDF

Info

Publication number
KR100469436B1
KR100469436B1 KR10-2002-0069330A KR20020069330A KR100469436B1 KR 100469436 B1 KR100469436 B1 KR 100469436B1 KR 20020069330 A KR20020069330 A KR 20020069330A KR 100469436 B1 KR100469436 B1 KR 100469436B1
Authority
KR
South Korea
Prior art keywords
data
processor
map
memory
serial
Prior art date
Application number
KR10-2002-0069330A
Other languages
Korean (ko)
Other versions
KR20040040954A (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 KR10-2002-0069330A priority Critical patent/KR100469436B1/en
Publication of KR20040040954A publication Critical patent/KR20040040954A/en
Application granted granted Critical
Publication of KR100469436B1 publication Critical patent/KR100469436B1/en

Links

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
    • 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/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • G06F13/1673Details of memory controller using buffers
    • 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/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/18Handling requests for interconnection or transfer for access to memory bus based on priority control

Abstract

본 발명은 멀티미디어 기기의 데이터 액세스 회로에 관한 것으로 특히, 외부 프로세서로 전달할 데이터를 직렬 데이터로 변환하고 외부 프로세서로부터의 직렬 데이터를 FIFO와 SRAM 결합 형태의 메모리를 통해 프로세서 내부로 병렬 데이터를 입력시킴에 의해 데이터 흐름의 제어없이 프로세서 간 데이터 전달이 가능하도록 함에 목적이 있다. 이러한 목적의 본 발명은 모뎀 프로세서(210)와 MAP(Multimedia Application Processor)(220) 간의 직렬 링크에 있어서, 상기 모뎀 프로세서(210)는 MAP(220)으로 전송할 데이터를 직렬 데이터로 변환하는 포맷 변환부(521)와, 상기 MAP(220)로부터 전송되는 직렬 데이터를 저장하여 프로세서 내부로 병렬 데이터를 입력시키는 메모리(522)를 구비하고, 상기 MAP(220)은 모뎀 프로세서(210)로 전송할 데이터를 직렬 데이터로 변환하는 포맷 변환부(523)와, 상기 모뎀 프로세서(210)로부터 전송되는 직렬 데이터를 저장하여 프로세서 내부로 병렬 데이터를 입력시키는 메모리(524)를 구비하여 구성한다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data access circuit of a multimedia device, and more particularly, to convert data to be delivered to an external processor into serial data and to input parallel data into the processor through a memory in the form of a FIFO and SRAM combination. The purpose is to enable data transfer between processors without control of the data flow. The present invention for this purpose in the serial link between the modem processor 210 and the multimedia application processor (MAP) 220, the modem processor 210 converts the data to be transmitted to the MAP 220 to the serial conversion unit 521 and a memory 522 for storing serial data transmitted from the MAP 220 and inputting parallel data into the processor, wherein the MAP 220 serializes data to be transmitted to the modem processor 210. And a format converter 523 for converting data into a data, and a memory 524 for storing serial data transmitted from the modem processor 210 and inputting parallel data into the processor.

Description

멀티미디어 기기의 데이터 액세스 회로{DATA ACCESS CIRCUIT FOR MULTIMEDIA DEVICE}DATA ACCESS CIRCUIT FOR MULTIMEDIA DEVICE}

본 발명은 멀티미디어 기기에 관한 것으로 특히, 데이터 액세스 회로에 관한것이다.TECHNICAL FIELD The present invention relates to multimedia devices, and more particularly, to a data access circuit.

멀티미디어 기능을 구비한 유선 및 이동 통신 단말기는 일반적으로 통신을 담당하는 모뎀 프로세서와 음성/음향, 영상등 미디어를 처리하는 미디어 프로세서를 구비하며, VOD(Video On Demand ; 주문형 비디오) 또는 영상 전화 기능을 수행할 경우 두 프로세서가 하나의 통합된 프로세서처럼 동작하여야만 정상적인 기능 수행이 가능하다.Wired and mobile communication terminals with multimedia functions generally include a modem processor for communication and a media processor for processing media such as audio, audio, and video, and provide video on demand (VOD) or video telephony functions. In order to perform normal functions, two processors must be operated as one integrated processor.

이를 위해 2개의 프로세서간 통신은 DPRAM(dual-port RAM)을 이용하여 인터럽트(interrupt) 방식에 의해 데이터를 주고 받거나 또는 지정된 직렬 포트(serial port)를 이용하여 역시 인터럽트(interrupt) 방식에 의해 처리한다. 즉, 일반적으로 2개의 프로세서 간의 통신 기술은 통신 채널에 제공된 데이터 속도에 맞도록 규칙적으로 예로, 초당 50회~100회 정도의 상호 인터럽트(interrupt)를 발생시켜 상대 프로세서에게 타스크 처리를 요구하는 방식을 사용한다.To this end, the communication between the two processors transmits and receives data by using an interrupt method using dual-port RAM (DPRAM) or by using an interrupt method using a designated serial port. . That is, in general, a communication technology between two processors is a regular method to match the data rate provided to a communication channel, for example, a method of requesting a counterpart processor to process a task by generating mutual interruptions of about 50 to 100 times per second. use.

인터럽트는 원래 불규칙적으로 발생하는 이벤트를 상대 프로세서에게 알려주고 상대 프로세서가 요청된 인터럽트 처리를 우선순위에 따라 처리하도록 하기 위한 것이다. 인터럽트 발생 빈도는 데이터의 단위 시간당 이동 양에 의해 결정된다.Interrupts are intended to notify the other processor of events that originally occurred irregularly and to allow the other processor to process the requested interrupts in order of priority. The frequency of interrupt occurrence is determined by the amount of movement per unit time of data.

따라서, 하나의 프로세서로부터 인터럽트가 상대 프로세서에게 요구되면 인터럽트를 요구를 받은 프로세서는 수행하고 있던 타스크를 중단하고 인터럽트에 대해 우선적으로 타스크를 처리하게 된다.Therefore, when an interrupt is requested from a processor, the processor that receives the interrupt interrupts the task that was being performed and processes the task preferentially for the interrupt.

도1은 종래의 일실시예로서, DPRAM(듀얼포트램)을 구비한 멀티미디어 기기의 블록도에 도시된 바와 같이, 통신 채널의 데이터와 제어 처리를 담당하는 모뎀 프로세서(110)와, 음향/동영상 등을 복원하거나 또는 부호 처리하는 멀티미디어 어플리케이션 프로세서(Multimedia Application Processor, 이하 MAP이라 약칭함)(130)와, 상기 모뎀 프로세서(110)와 MAP(130) 간의 송수신 데이터를 저장하기 위한 듀얼 액세스 메모리(Dual Access Memory)(120)가 구비되어 상기 모뎀 프로세서(110)와 MAP(130) 간의 상호 인터럽트에 의해 상기 듀얼 액세스 메모리(120)에 저장되어 있는 데이터를 우선적으로 처리하도록 구성된다.1 is a conventional embodiment, as shown in a block diagram of a multimedia device having a DPRAM (Dual Port RAM), a modem processor (110) in charge of data and control processing of a communication channel, and audio / video A dual application memory (Multimedia Application Processor, hereinafter abbreviated as MAP) 130 for restoring or sign-processing the data; and dual access memory for storing transmission / reception data between the modem processor 110 and the MAP 130. Access Memory 120 is configured to preferentially process data stored in the dual access memory 120 by mutual interruption between the modem processor 110 and the MAP 130.

이러한 종래의 멀티미디어 기기에 대한 동작을 설명하면 다음과 같다.Referring to the operation of the conventional multimedia device as follows.

모뎀 프로세서(110)와 MAP(130) 간은 인터럽트에 의해 데이터 교환 처리를 수행하므로 데이터 단위의 크기에 따라 매 10ms 또는 20ms 마다 인터럽트를 상호간 발생시킨다.Since the modem processor 110 and the MAP 130 perform data exchange processing by interrupts, interrupts are generated every 10 ms or 20 ms depending on the size of the data unit.

즉, 모뎀 프로세서(110)는 수신 데이터를 듀얼 액세스 메모리(120)에 써 놓고 데이터를 읽어 가라는 요구로서 인터럽트를 MAP(130)으로 통지하게 된다. 그러면, MAP(130)는 인터럽트를 받아 현재 수행하고 있던 타스크 처리를 중단하고 듀얼 액세스 메모리(120)로부터 데이터를 읽는 타스크를 수행한다.That is, the modem processor 110 writes the received data in the dual access memory 120 and notifies the MAP 130 of the interrupt as a request to read the data. Then, the MAP 130 receives the interrupt, interrupts the task processing currently being performed, and performs the task of reading data from the dual access memory 120.

반대로, MAP(130)에서 모뎀 프로세서(110)으로 데이터를 전송하는 경우에도 상기와 마찬가지 방식으로 타스크를 처리한다.On the contrary, even when data is transmitted from the MAP 130 to the modem processor 110, the task is processed in the same manner as described above.

도2는 종래의 다른 실시예로서, 직렬 포트로 데이터 전송이 가능한 멀티미디어 기기의 블록도로서 이에 도시된 바와 같이, 모뎀 프로세서(210)와 MAP(220) 간이 직렬 포트로 연결되어 구성된다.FIG. 2 is a block diagram of a multimedia device capable of transmitting data to a serial port according to another exemplary embodiment. As shown in FIG. 2, the modem processor 210 and the MAP 220 are connected to the serial port.

도3은 도2의 장치에서 데이터 액세스 회로의 상세 블록도로서 이에 도시된바와 같이, 모뎀 프로세서(210)는 송수신 데이터를 저장하는 내부 또는 외부 메모리(211)와, 상기 메모리(211)로부터 전달받은 전송 데이터를 일시 저장하는 레지스터(212)와, 외부로부터의 수신 데이터를 일시 저장하여 상기 메모리(211)로 전달하는 레지스터(213)가 구비되고, MAP(220)은 송수신 데이터를 저장하는 내부 또는 외부 메모리(221)와, 상기 메모리(221)로부터 전달받은 전송 데이터를 일시 저장하는 레지스터(222)와, 외부로부터의 수신 데이터를 일시 저장하여 상기 메모리(221)로 전달하는 레지스터(223)가 구비된다.3 is a detailed block diagram of a data access circuit in the apparatus of FIG. 2, as shown in FIG. 2, in which a modem processor 210 receives an internal or external memory 211 for storing transmission / reception data and received from the memory 211. A register 212 for temporarily storing transmission data and a register 213 for temporarily storing received data from the outside and transferring the received data to the memory 211, and the MAP 220 stores an internal or external data for storing transmission / reception data. A memory 221, a register 222 for temporarily storing the transmission data received from the memory 221, and a register 223 for temporarily storing the received data from the outside and transferring the received data to the memory 221. .

따라서, 모뎀 프로세서(210)로부터 MAP(220)으로 데이터가 전달되는 경우 내부 또는 외부 메모리(211)로부터 레지스터(212)로 데이터가 이동되고 상기 레지스터(212)에 일시 저장된 데이터는 CPU(도면 미도시) 또는 DMA 호스트(도면 미도시)에 의한 인터럽트를 매개로 레지스터(222)로 전달되어 내부 또는 외부 메모리(221)로 전달된다. 역으로, MAP(220)로부터 모뎀 프로세서(210)로의 데이터 전달인 경우 내부 또는 외부 메모리(221)로부터 레지스터(223)에 일시 저장된 데이터는 레지스터(213)로 전달되고 그 전달된 데이터는 내부 또는 외부 메모리(211)로 전달된다. 상기와 같이 전달된 데이터 처리는 CPU(도면 미도시)에 의해 처리된다.Therefore, when data is transferred from the modem processor 210 to the MAP 220, the data is moved from the internal or external memory 211 to the register 212, and the data temporarily stored in the register 212 is a CPU (not shown). Or via an interrupt by a DMA host (not shown) to the register 222 and to an internal or external memory 221. Conversely, in the case of data transfer from the MAP 220 to the modem processor 210, data temporarily stored in the register 223 from the internal or external memory 221 is transferred to the register 213 and the transferred data is internal or external. Is transferred to the memory 211. The data processing delivered as above is processed by a CPU (not shown).

도4는 종래 기술에서 직렬 포트에 일반적으로 사용되는 UART 및 USB를 채용한 경우 MAP(220)의 구성도로서 이에 도시된 바와 같이, 모뎀 프로세서(210)와 MAP(220)를 UART(410) 및 USB(420)로 직렬 연결함에 있어서, 상기 MAP(220)은 UART(410)와 USB(420)에 연결되는 버스 브릿지(bus bridge)(430)와, DMA(440)와, CPU(450)가 구비되어 구성된다.4 is a block diagram of the MAP 220 when the UART and the USB are generally used in the serial port in the prior art. As shown in FIG. 4, the modem processor 210 and the MAP 220 are connected to the UART 410 and the USB port. In the serial connection with the USB 420, the MAP 220 is a bus bridge 430, DMA 440, and CPU 450 are connected to the UART 410 and USB 420 It is provided and configured.

즉, 도2와 같은 종래의 다른 실시예에 적용된 직렬 포트가 UART 또는 USB인 경우 도4의 블록도와 같이 버스 브릿지(430)를 통해 UART(410) 또는 USB(420) 내부에 저장된 데이터가 CPU(450) 또는 DMA(440)에 의해 이동된다.That is, when the serial port applied to another conventional embodiment such as FIG. 2 is UART or USB, the data stored in the UART 410 or the USB 420 through the bus bridge 430 as shown in the block diagram of FIG. 450) or by DMA 440.

그러나, 종래 기술은 두 프로세서 간에 잦은 인터럽트 발생과 DMA를 사용하여 데이터 전달에 따른 버스 추가 점유, 추가 인스트럭션(instruction) 소모로 인해 전체 성능이 저하되는 문제가 발생된다. 즉, 종래에는 우선순위가 높은 인터럽트가 자주 발생하는 경우 프로세서 상호간의 인터럽트 처리에 따른 추가 동작에 의해 기존의 타스크에 대한 처리 지연이 발생하여 결과적으로 전체 성능이 저하되거나 동일한 수준의 높은 우선도를 갖는 인터럽트가 동시에 발생할 경우 오동작이 일어날 수 있으며 또한, 전력소모도 많아지게 되는 문제점이 있다.However, the prior art has a problem that the overall performance is degraded due to the frequent interrupt generation between the two processors, the occupancy of the bus according to the data transfer using the DMA, and the consumption of additional instructions. In other words, if a high priority interrupt occurs frequently, processing delays for existing tasks are caused by additional operations due to interrupt processing between processors, and as a result, overall performance is degraded or has the same high priority. If an interrupt occurs at the same time, a malfunction may occur and power consumption may also increase.

또한, 종래에는 인터럽트를 사용하지 않을 경우 폴링(polling) 방식을 사용하지만 자주 데이터의 처리 요구 유무를 점검하는 blind accessing(blind polling) 방식을 사용함으로 상기와 동일한 문제점을 유발하게 된다.In addition, conventionally, when the interrupt is not used, a polling method is used, but a blind accessing (blind polling) method of frequently checking whether data is required to be processed causes the same problem as described above.

즉, 종래의 문제점을 상세히 설명하면 다음과 같다.That is, the conventional problem will be described in detail as follows.

1. 디램(DPRAM)을 사용하는 경우 일정량의 데이터를 쓰고 읽으면 이의 완료를 알려주는 인터럽트를 상호 간에 전달해야 하므로 프로세서는 작업 중 잦은 인터럽트를 받게 된다. 예로, 데이터 양이 384kbps로 많은 경우 64 또는 128 kbps보다 잦은 인터럽트가 발생하여 프로세서 성능을 더욱 저하시킨다.1. When using DRAM (DPRAM), the processor receives frequent interrupts during the operation because writing and reading a certain amount of data must pass each other interrupts indicating completion. For example, a large amount of data at 384kbps results in more frequent interrupts than 64 or 128 kbps, further reducing processor performance.

2. 전용 직렬 포트를 사용하는 경우 일반적으로 직렬 포트에 내장된 소형의메모리에 데이터를 순간적으로 쌓았다가 프로세서가 처리해야 하므로 잦은 인터럽트의 발생이 역시 문제가 된다. 여기서 직렬 포트는 UART, USB 등의 범용 규격이다.2. When using a dedicated serial port In general, frequent interrupts are also a problem because data must be accumulated in a small memory embedded in the serial port and processed by the processor. The serial port is a universal standard such as UART and USB.

3. 디램 또는 직렬 포트를 사용하는 경우 모두 받은 데이터를 처리하기 위해 프로세서의 주 메모리 영역으로 데이터를 이동시켜야 하는데 이때 일반적인 수단은 DMA를 이용하는 것이다. 따라서, DMA가 동작하여 데이터를 이동할 경우 추가의 전력 소모, 버스 점유에 따르는 프로세서 내의 다른 리소트(resource)의 버스 사용 제한, 시스템의 전반적인 성능 저하 등의 문제를 발생시킨다.3. When using a DRAM or serial port, the data must be moved to the main memory area of the processor to process all received data. The usual means is to use DMA. As a result, when DMA operates to move data, there are problems such as additional power consumption, limiting the bus usage of other resources in the processor due to bus occupancy, and degrading the overall performance of the system.

따라서, 본 발명은 종래의 문제점을 개선하기 위하여 외부 프로세서로 전달할 데이터를 직렬 데이터로 변환하고 외부 프로세서로부터의 직렬 데이터를 FIFO와 SRAM 결합 형태의 메모리를 통해 병렬 데이터로 입력시킴에 의해 데이터 흐름의 제어없이 프로세서 간 데이터 전달이 가능하도록 창안한 멀티미디어 장치의 데이터 액세스 회로를 제공함에 목적이 있다.Accordingly, the present invention controls the data flow by converting data to be delivered to an external processor into serial data and inputting serial data from the external processor into parallel data through a FIFO and SRAM combined memory in order to solve the conventional problems. It is an object of the present invention to provide a data access circuit of a multimedia device invented to enable data transfer between processors without a processor.

도1은 종래 기술의 일실시예로서, DPRAM을 이용한 멀티미디어 기기의 구성 블록도.1 is a block diagram of a multimedia device using DPRAM according to an embodiment of the prior art.

도2는 종래 기술의 다른 실시예로서, 직렬 포트로 데이터 전달이 가능한 멀티미디어 기기의 구성 블록도.2 is a block diagram illustrating a multimedia device capable of transferring data to a serial port according to another embodiment of the prior art.

도3은 도2에서 데이터 액세스 회로의 상세 블록도.Figure 3 is a detailed block diagram of the data access circuit in Figure 2;

도4는 도2에서 MAP의 구조를 보인 구성도.4 is a block diagram showing the structure of the MAP in FIG.

도5는 본 발명의 실시예에서 제시한 데이터 액세스 회로의 구성도.5 is a configuration diagram of a data access circuit presented in an embodiment of the present invention.

도6은 도5에서 메모리의 입출력 신호를 보인 예시도.6 is an exemplary view showing an input / output signal of a memory in FIG.

도7은 도5의 회로를 적용한 MAP의 구조를 보인 블록도.FIG. 7 is a block diagram showing the structure of a MAP to which the circuit of FIG. 5 is applied; FIG.

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

521,523 : 포맷 변환부 522,524 : 메모리521,523: format converter 522,524: memory

본 발명은 상기의 목적을 달성하기 위하여 모뎀 프로세서와 MAP(Multimedia Application Processor) 간의 데이터 전달 회로에 있어서, 각각의 프로세서는 상대 프로세서로 전달할 병렬 데이터를 직렬 데이터로 변환하는 포맷 변환부와, 상대 프로세서로부터 전달되는 직렬 데이터를 저장하여 프로세서 내부로 병렬 데이터를 입력시키는 메모리(FIFO-SRAM)를 구비하여 구성함을 특징으로 한다.In order to achieve the above object, the present invention provides a data transfer circuit between a modem processor and a multimedia application processor (MAP), each processor comprising: a format converter for converting parallel data to be transmitted to a counterpart processor into serial data; And a memory (FIFO-SRAM) configured to store serial data to be transmitted and to input parallel data into the processor.

따라서, 본 발명은 규칙적으로 우선 처리해야 하는 음향/영상 데이터의 처리를 위한 프로세서 간의 데이터 통신에 있어서, 전용의 DPRAM 또는 직렬 포트로 인터럽트와 DMA 또는 CPU에 의해 데이터를 전달하는 방식이 아닌 인터럽트없이 접속 중인 상대 프로세서의 주 메모리에 직접 전달하여 저장하는 방식을 사용함을 특징으로 한다.Therefore, in the data communication between processors for processing of audio / video data that must be regularly processed first, the present invention connects without interrupts to a dedicated DPRAM or serial port, rather than a method of transferring data by a DMA or a CPU. It is characterized by using the method of transferring directly to the main memory of the opponent processor being stored.

이러한 방식을 사용하는 본 발명과 종래 기술의 차이점을 설명하면 다음과 같다.Differences between the present invention and the prior art using this method are as follows.

1. 본 발명은 모뎀 프로세서와 MAP 간의 접속에서 DPRAM을 사용하지 않으며 직렬 포트를 사용하는 경우에도 데이터 플로우 제어없이 데이터를 전달할 수 있다.1. The present invention does not use DPRAM in the connection between the modem processor and the MAP, and can transmit data without data flow control even when using a serial port.

2. 본 발명은 지연(delay), 인터럽트(interrupt)없이 블록 단위로 데이터를 전달하도록 직렬 포트를 사용한다.2. The present invention uses a serial port to transfer data in blocks without delays or interrupts.

3. 본 발명은 FIFO-SRAM을 사용함으로써 CPU 또는 DMA 호스트에 의한 데이터 전달이 필요 없어 CPU 또는 DMA를 다른 타스크(task)에 할당할 수 있다.3. The present invention eliminates the need for data transfer by the CPU or DMA host by using the FIFO-SRAM, so that the CPU or DMA can be assigned to another task.

이하, 본 발명을 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the drawings.

본 발명의 실시예에서도 기본적인 구성 블록은 도2와 같이, 모뎀 프로세서(210)와 MAP(220)으로 구성한다.Also in the embodiment of the present invention, the basic building block includes a modem processor 210 and a MAP 220, as shown in FIG.

도5는 본 발명의 실시예를 위한 데이터 액세스 회로의 블럭도로서 이에 도시한 바와 같이, 모뎀 프로세서(210)와 MAP(Multimedia Application Processor)(220) 간의 직렬 링크에 있어서, 상기 모뎀 프로세서(210)는 MAP(220)으로 전송할 데이터를 직렬 데이터로 변환하는 포맷 변환부(521)와, 상기 MAP(220)로부터 전송되는 직렬 데이터를 저장하여 프로세서 내부로 병렬 데이터를 입력시키는 메모리(FIFO-SRAM)(522)를 구비하고, 상기 MAP(220)은 모뎀 프로세서(210)로 전송할 데이터를 직렬 데이터로 변환하는 포맷 변환부(523)와, 상기 모뎀 프로세서(210)로부터 전송되는 직렬 데이터를 저장하여 프로세서 내부로 병렬 데이터를 입력시키는 메모리(FIFO-SRAM)(524)를 구비하여 구성한다.5 is a block diagram of a data access circuit for an embodiment of the present invention, as shown therein, in the serial link between a modem processor 210 and a multimedia application processor (MAP) 220, wherein the modem processor 210 is connected. Is a format conversion unit 521 for converting data to be transmitted to the MAP 220 into serial data, and a memory (FIFO-SRAM) for storing serial data transmitted from the MAP 220 and inputting parallel data into the processor ( 522, and the MAP 220 stores a format conversion unit 523 for converting data to be transmitted to the modem processor 210 into serial data, and stores serial data transmitted from the modem processor 210 to store the internal data. A memory (FIFO-SRAM) 524 for inputting parallel data is provided.

상기 메모리(522)(524)는 FIFO와 SRAM이 결합된 형태의 메모리로서, FIFO와 SRAM이 동시에 동일한 어드레스를 액세스함이 없이 리드(read)/라이트(write)가 가능한 메모리이다. 즉, 메모리(522)(524)는 도6의 예시도에 도시한 바와 같이, 10~60Kbytes 용량의 듀얼 액세스 타입 메모리이다.The memories 522 and 524 are a combination of FIFOs and SRAMs, and are memories that can be read / written without accessing the same address at the same time. That is, the memories 522 and 524 are dual access type memories having a capacity of 10 to 60 Kbytes, as shown in the exemplary diagram of FIG.

이와같이 구성한 본 발명의 실시예에 대한 동작 및 작용 효과를 설명하면 다음과 같다.Referring to the operation and effect of the embodiment of the present invention configured as described above are as follows.

우선, 모뎀 프로세서(210)로부터 MAP(220)으로 데이터를 전달하는 경우 포맷 변환부(521)는 병렬 데이터를 직렬 데이터로 변환하여 상기 MAP(220)으로 전달한다. 이에 따라, MAP(220)은 모뎀 프로세서(210)로부터 전달되는 직렬 데이터를 메모리(524)에 저장하고 CPU 또는 DMA에 의해 병렬 데이터로 읽어낸다.First, when data is transmitted from the modem processor 210 to the MAP 220, the format converter 521 converts parallel data into serial data and transmits the data to the MAP 220. Accordingly, the MAP 220 stores the serial data transmitted from the modem processor 210 in the memory 524 and reads out the parallel data by the CPU or the DMA.

또한, MAP(220)로부터 모뎀 프로세서(210)로 데이터를 전달하는 경우 포맷 변환부(523)는 병렬 데이터를 직렬 데이터로 변환하여 상기 모뎀 프로세서(210)로 전달한다. 이에 따라, 모뎀 프로세서(210)는 메모리(522)가 상기 MAP(220)로부터 전달되는 직렬 데이터를 저장하고 CPU 또는 DMA에 의해 병렬 데이터로 읽어낸다.In addition, when data is transmitted from the MAP 220 to the modem processor 210, the format converter 523 converts parallel data into serial data and transmits the data to the modem processor 210. Accordingly, the modem processor 210 stores the serial data transferred from the MAP 220 by the memory 522 and reads out the parallel data by the CPU or the DMA.

한편, 상기 메모리(522)(524)는 FIFO와 SRAM이 동시에 동일한 어드레스를 액세스함이 없이 리드(read)/라이트(write)가 가능하도록 FIFO와 SRAM이 결합된 형태의 메모리임으로 직렬 데이터를 순차적으로 FIFO에 저장하고 동시에 SRAM으로부터 병렬 데이터를 읽어낸다. 이때, 메모리(522)(524)는 일정 용량의 데이터가 저장되면 MAP(220)/모뎀 프로세서(210) 내에 구비된 CPU 또는 DMA에 의해 데이터를 읽어가도록 인터럽트를 발생시킨다. 따라서, 상기 메모리(522)(524)는 데이터 플로우의 제어없이 직렬 포트를 이용하여 데이터를 해당 프로세서로 전달할 수 있다.On the other hand, the memory 522, 524 is a type of memory that combines the FIFO and SRAM so that the FIFO and SRAM can be read / write without accessing the same address at the same time, the serial data is sequentially Store in FIFO and read parallel data from SRAM at the same time. At this time, the memory 522, 524 generates an interrupt to read the data by the CPU or DMA provided in the MAP 220 / modem processor 210 when a certain amount of data is stored. Accordingly, the memory 522 and 524 may transfer data to a corresponding processor using a serial port without controlling the data flow.

만일, 상기 메모리(522)(524)는 FIFO와 SRAM에 대해 동시에 동일한 어드레스가 액세스되는 경우 FIFO에 우선권이 주어진다. 따라서, CPU 또는 DMA는 상기 메모리(522)(524)의 FIFO로 데이터가 전달되는 동안에도 SRAM으로부터 데이터를 액세스할 수 있어 다른 타스크(task)를 수행할 수 있다.The memory 522 524 is given priority to the FIFO if the same address is accessed simultaneously for both the FIFO and the SRAM. Thus, the CPU or DMA can access the data from the SRAM while performing data transfer to the FIFO of the memory 522 524 to perform other tasks.

이와같이 본 발명에서는 FIFO와 SRAM이 결합된 형태의 메모리(522)(524)를 구비함으로 데이터를 CPU 또는 DMA에서 직접 액세스할 수 있어 통신 데이터의 지연을 최소화할 수 있다. 즉, 본 발명을 적용한 프로세서의 구조는 도7의 구성도에 도시한 바와 같이, 메모리(FIFO-SRAM)(730)가 내부 버스에 직접 연결됨으로 CPU(710) 또는 DMA(720)가 상기 메모리(730)를 직접 액세스할 수 있다. 예를 들어, 영상/음향 처리용 프로세서가 사용되는 유,무선 영상 기기에서 동영상과 음성을 동시에 주고 받는 영상 전화 또는 VOD(Video-On-Demand ; 주문형 미디오) 등의 기능이 수행될 때 모뎀 프로세서와 영상/음향 프로세서 간의 통신 데이터 지연을 최소화할 수 있다.As described above, the present invention includes the memory 522 and 524 in which the FIFO and the SRAM are combined to directly access the data from the CPU or the DMA, thereby minimizing the delay of communication data. That is, the structure of the processor to which the present invention is applied is as shown in the configuration diagram of FIG. 7, since the memory (FIFO-SRAM) 730 is directly connected to the internal bus, so that the CPU 710 or the DMA 720 is connected to the memory ( 730 can be accessed directly. For example, a modem processor when a video call or a video-on-demand video-on-demand (VOD) function is performed in a wired or wireless video device using a video / audio processing processor. Data communication delay between the video and audio processor can be minimized.

상기에서 상세히 설명한 바와 같이 본 발명은 다음과 같은 효과를 발휘할 수있다.As described in detail above, the present invention can achieve the following effects.

1. 직렬 포트의 데이터 흐름 제어를 위한 버퍼용 메모리가 필요없어 회로 구성을 단순화할 수 있다.1. Simplify circuit configuration by eliminating the need for buffer memory to control the data flow on the serial port.

2. 데이터 흐름을 제어하지 않으므로 CPU 또는 DMA에 요구하는 인터럽트가 발생되지 않아 프로세서의 성능 저하를 방지할 수 있다.2. Since the data flow is not controlled, interrupts required by the CPU or DMA are not generated, thereby preventing the processor from degrading.

3. 전송 데이터의 이동 경로 상에 버퍼용 메모리가 필요없고 전송 데이터를 직접 액세스할 수 있으므로 통신 데이터의 지연을 최소화할 수 있다.3. It is possible to minimize the delay of communication data since the buffer memory is not needed on the transfer path of the transmission data and the transmission data can be directly accessed.

4. 프로세서 간의 데이터 이동이 CPU 또는 DMA의 관여 없이 이루어지므로 시스템 성능을 향상시킬 수 있다.4. Data movement between processors is done without CPU or DMA involvement, which can improve system performance.

Claims (4)

MAP(Multimedia Application Processor)을 구비한 멀티미디어 기기에 있어서,In the multimedia device having a multimedia application processor (MAP), 외부로 전달되는 데이터를 직렬 데이터로 변환하는 포맷 변환 수단과,Format converting means for converting data transmitted to the outside into serial data; 외부로부터 전달되는 직렬 데이터를 저장하여 내부로 병렬 데이터를 입력시키는 메모리 수단을 구비하여 구성함을 특징으로 하는 멀티미디어 기기의 데이터 액세스 회로.And a memory means for storing serial data transmitted from the outside and inputting parallel data therein. 제1항에 있어서, 메모리 수단은The method of claim 1 wherein the memory means is 외부로부터의 직렬 데이터를 수신하기 위한 FIFO와 내부에서 병렬 데이터를 읽어 내기 위한 SRAM의 결합 형태로서, 상기 FIFO와 SRAM을 동시에 액세스하도록 구성함을 특징으로 하는 멀티미디어 기기의 데이터 액세스 회로.A data access circuit of a multimedia apparatus, comprising: a combination of a FIFO for receiving serial data from the outside and an SRAM for reading parallel data therein, wherein the FIFO and the SRAM are simultaneously accessed. 제2항에 있어서, FIFO와 SRAM을 동일한 어드레스로 액세스하는 경우 상기 FIFO에 우선권을 부여하도록 구성함을 특징으로 하는 멀티미디어 기기의 데이터 액세스 회로.3. The data access circuit of claim 2, wherein priority is given to the FIFO when the FIFO and the SRAM are accessed at the same address. 제1항에 있어서, 메모리 수단은The method of claim 1 wherein the memory means is 일정량의 데이터가 저장되면 CPU 또는 DMA에 의해 데이터를 액세스하도록 인터럽트를 발생시키는 회로부를 포함하여 구성함을 특징으로 하는 멀티미디어 기기의 데이터 액세스 회로.And a circuit unit for generating an interrupt to access the data by the CPU or the DMA when a certain amount of data is stored.
KR10-2002-0069330A 2002-11-08 2002-11-08 Data access circuit for multimedia device KR100469436B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0069330A KR100469436B1 (en) 2002-11-08 2002-11-08 Data access circuit for multimedia device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0069330A KR100469436B1 (en) 2002-11-08 2002-11-08 Data access circuit for multimedia device

Publications (2)

Publication Number Publication Date
KR20040040954A KR20040040954A (en) 2004-05-13
KR100469436B1 true KR100469436B1 (en) 2005-02-02

Family

ID=37338204

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0069330A KR100469436B1 (en) 2002-11-08 2002-11-08 Data access circuit for multimedia device

Country Status (1)

Country Link
KR (1) KR100469436B1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930011503A (en) * 1991-11-26 1993-06-24 정용문 Data Multiprocessing Circuits and Methods
JPH08321852A (en) * 1995-05-24 1996-12-03 Nippon Denki Ido Tsushin Kk Two signal system mixed data transmission circuit
KR970055873A (en) * 1995-12-27 1997-07-31 정장호 Processor-to-Node Matching Device
KR970056409A (en) * 1995-12-23 1997-07-31 양승택 Apparatus and method for transmitting audio / visual multiplexed signals over a Type 5 path in an ATM matching layer
KR200140952Y1 (en) * 1995-12-11 1999-04-15 김광호 Digital video disc player having set top box
JP2001119438A (en) * 1999-10-15 2001-04-27 Sekisui Chem Co Ltd Communication data high-speed processing method
KR20020022435A (en) * 2000-09-20 2002-03-27 성명기 voice adaptor for date communication of remote

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930011503A (en) * 1991-11-26 1993-06-24 정용문 Data Multiprocessing Circuits and Methods
JPH08321852A (en) * 1995-05-24 1996-12-03 Nippon Denki Ido Tsushin Kk Two signal system mixed data transmission circuit
KR200140952Y1 (en) * 1995-12-11 1999-04-15 김광호 Digital video disc player having set top box
KR970056409A (en) * 1995-12-23 1997-07-31 양승택 Apparatus and method for transmitting audio / visual multiplexed signals over a Type 5 path in an ATM matching layer
KR970055873A (en) * 1995-12-27 1997-07-31 정장호 Processor-to-Node Matching Device
JP2001119438A (en) * 1999-10-15 2001-04-27 Sekisui Chem Co Ltd Communication data high-speed processing method
KR20020022435A (en) * 2000-09-20 2002-03-27 성명기 voice adaptor for date communication of remote

Also Published As

Publication number Publication date
KR20040040954A (en) 2004-05-13

Similar Documents

Publication Publication Date Title
US6925512B2 (en) Communication between two embedded processors
US6453393B1 (en) Method and apparatus for interfacing to a computer memory
US7698474B2 (en) Virtual first in first out (FIFO) direct memory access (DMA) device, electronic device and memory access method using the same
US6526068B2 (en) Interface control of communication between a control processor and a digital signal processor
KR100944892B1 (en) Bus system and bus interface for connection to a bus
JP4696199B2 (en) USB host controller with transfer descriptor memory
KR100630071B1 (en) High speed data transmission method using direct memory access method in multi-processors condition and apparatus therefor
EP0772831B1 (en) Bidirectional parallel signal interface
KR100433149B1 (en) Usb interface device of peripheral device
KR20040041623A (en) Bus system and bus interface for connection to a bus
KR100469436B1 (en) Data access circuit for multimedia device
KR100898345B1 (en) Packet receiver hardware apparatus for tcp offload engine and system and method based on ??? packet receive hardware
KR100633120B1 (en) Method for enhancing data bandwidth of mass storage and system therefor
KR100469430B1 (en) Circuit for processing video/audio data in image communication terminal equipment
KR102260820B1 (en) Symmetrical interface-based interrupt signal processing device and method
US7392332B2 (en) Bit rate adaptation in a data processing flow
KR20070081981A (en) Interface method and apparatus in cpuless system
KR100290092B1 (en) Device for interfacing input/output bus for processing defer reply signal
JP2971006B2 (en) Serial communication method and serial communication controller
CN113867945A (en) Data processing method, FPGA (field programmable Gate array) accelerator card and computer-readable storage medium
US20050271126A1 (en) High-speed transmission apparatus
KR100590171B1 (en) Apparatus and method for processing of isdn message
KR20020051545A (en) DMA controller for the high speed image processor at real time
KR100427169B1 (en) Communication system and data transmission method thereof
KR100192960B1 (en) Dma interface having channel link function

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
LAPS Lapse due to unpaid annual fee