KR20010063803A - Multimedia Card(MMC) To Support The Video Codec Function - Google Patents

Multimedia Card(MMC) To Support The Video Codec Function Download PDF

Info

Publication number
KR20010063803A
KR20010063803A KR1019990061897A KR19990061897A KR20010063803A KR 20010063803 A KR20010063803 A KR 20010063803A KR 1019990061897 A KR1019990061897 A KR 1019990061897A KR 19990061897 A KR19990061897 A KR 19990061897A KR 20010063803 A KR20010063803 A KR 20010063803A
Authority
KR
South Korea
Prior art keywords
mmc
command
multimedia card
data
video codec
Prior art date
Application number
KR1019990061897A
Other languages
Korean (ko)
Other versions
KR100335374B1 (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 KR1019990061897A priority Critical patent/KR100335374B1/en
Publication of KR20010063803A publication Critical patent/KR20010063803A/en
Application granted granted Critical
Publication of KR100335374B1 publication Critical patent/KR100335374B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0605Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/156Availability of hardware or computational resources, e.g. encoding based on power-saving criteria

Abstract

PURPOSE: The MMC(Multimedia Card) supporting the video codec function is provided to support the video codec function in a small terminal while adapting the interface of the smallest MMC CONSTITUTION: The MMC has a REG_FILE(Registry File)(1), which controls the state and processing of a card, and a registry is accessed by an MMC host. An IF_DRIVER(Interface Driver)(2) drives three signals like CMD(RSP), CLK, and DAT that are inputted by a MMC_IF(Multimedia Card Interface)(3). The MMC_IF recognizes and processes each command, put together the response processing, controls the data send/receive, and provides the mean for accessing to the registry information. A V_CODEC_IF(Video Codec Interface)(4) controls the exchange of the control signal and the data send/receive between the MMC_IF and a V_CODEC(Video Codec)(6). The V_CODEC processes the video compression and recovery algorithm. A FIFO(First In First Out)(5), temporary storage when the data between the V_CODEC and MMC host is exchanged, buffers the data. The REG_FILE is a gathering of registries, which include the control information for the normal operation and whole state of the MMC.

Description

비디오 코덱 기능을 지원하는 멀티미디어카드{Multimedia Card(MMC) To Support The Video Codec Function}Multimedia Card (MMC) To Support The Video Codec Function}

본 발명은 비디오 코덱 기능을 지원하는 멀티미디어 카드에 관한 것이다.The present invention relates to a multimedia card that supports the video codec function.

고밀도집적회로(VLSI), 컴퓨팅 기술의 발전과 함께 모든 제품이 소형화되는 추세에 맞추어 여러 형태의 작은 크기의 단말기가 출시되고 있다(여기서의 단말기는 PDA, HPC를 지칭한다).With the development of high density integrated circuits (VLSI) and computing technology, various types of small size terminals have been released in accordance with the trend of miniaturization of all products (terminals refer to PDA and HPC).

그런데, 단말기의 크기가 작은 이유로 인해, 이 단말기에 접속할 수 있는 인터페이스 방식도 점점 소형화되고 있다. 이런 추세에 따라 여러 형태의 작은 카드들이 개발되고 있으며, 본 발명은 그러한 카드 중의 하나인 멀티미디어 카드(MMC:MultiMediaCard)(이하, 간단히 "MMC"라함)라는 특정 카드에 비디오 코덱 기능을 구현하고자 한다.However, due to the small size of the terminal, the interface system that can be connected to the terminal is also becoming smaller. In accordance with this trend, various types of small cards have been developed, and the present invention seeks to implement video codec functions on a specific card, which is one of such cards, a multimedia card (MMC) (hereinafter simply referred to as "MMC").

우선, MMC에 대해 간단히 살펴보면, 1997년 5월, SIEMANS와 SanDisk 회사는 MMC란 이름의 새로운 데이터 저장 매체를 개발하기 시작한다. MMC는 우표만한 작은 크기의 데이터 저장 매체, 고용량, 휴대 단말 등에 쉽게 적용이 가능하며, 휴대 단말을 위한 효율적인 배터리 사용과, 저렴하고 간단한 인터페이스의 특징을 가지고 있다.First, a quick look at MMC: In May 1997, SIEMANS and SanDisk companies began developing a new data storage medium called MMC. The MMC can be easily applied to a data storage medium, a high capacity, a portable terminal, which is as small as a postage stamp, and has the characteristics of an efficient battery usage and a cheap and simple interface for the portable terminal.

현재까지 MMC 기반의 비디오 코덱기능을 구현한 기술은 전무한 실정이며, 단지 다른 PC 기반의 인터페이스를 통한 비디오 코덱 기능 지원 및 시스템 보드 상에 직접 장착하여 구현하는 방법들이 존재할 뿐이다.Until now, there are no technologies that implement the MMC-based video codec function, but there are only methods that support the video codec function through another PC-based interface and directly mount it on the system board.

즉, 기존의 화상 전화 기능을 제공하기 위한 수단은 사용환경에 따라 다양한 형태를 가진다. 이들 방법들은 기존의 PC 기반이나 전화기 단말기안에 장착되어 기능을 제공하는 단일 카드(PCB 회로) 형태의 방식과, 시스템보드 안에 직접 장착되는 방법들이 주를 이루고 있다.That is, the conventional means for providing a video telephone function has a variety of forms depending on the use environment. These methods are mainly in the form of a single card (PCB circuit) that is mounted in a conventional PC-based or telephone terminal and provides a function, and methods that are directly mounted in a system board.

그러나, 이들 방법은 소형화되는 단말기에서 옵션 형태로 외부에서 지원되야 하는 현 상황하에서는 사용될 수 없다는 문제점이 있다. 따라서, 소형 단말기가 제공하는 외부 슬롯에 장착이 가능한 소형으로의 변경이 불가피하다. 이때도 단말기가 어떤 인터페이스를 제공하는 가에 따라 차이점을 가진다.However, there is a problem that these methods cannot be used under the current situation in which the terminal to be miniaturized must be externally supported as an option. Therefore, it is inevitable to change to a small that can be mounted in the external slot provided by the small terminal. In this case, there is a difference depending on which interface the terminal provides.

본 발명은 상기 문제점을 해결하기 위하여 안출된 것으로, 현재 가장 소형의 카드인 멀티미디어카드 형태의 인터페이스를 제공하는 단말기가 늘고 있는 시점에서 이 인터페이스를 채택하면서 동시에 비디오 코덱 기능을 지원하는 멀티미디어카드를 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and at the time of increasing number of terminals providing the multimedia card type interface, which is the smallest card, the present invention provides a multimedia card supporting the video codec function at the same time. The purpose is.

도 1 은 본 발명에 따른 비디오 코덱 기능을 지원하는 멀티미디어카드의 일실시예 구성도.1 is a configuration diagram of an embodiment of a multimedia card that supports a video codec function according to the present invention.

도 2 는 본 발명에 따른 멀티미디어카드내의 멀티미디어카드 인터페이스(MMC_IF)의 일실시예 상세 구성도.Figure 2 is a detailed block diagram of one embodiment of the multimedia card interface (MMC_IF) in the multimedia card according to the present invention.

도 3 은 본 발명에 따른 멀티미디어카드 인터페이스(MMC_IF)내의 커멘드 응답부(CMD_RSP)의 일실시예 상세 구성도.FIG. 3 is a detailed configuration diagram of an embodiment of the command response unit CMD_RSP in the multimedia card interface MMC_IF according to the present invention.

도 4 는 본 발명에 따른 멀티미디어카드 인터페이스(MMC_IF)내의 멀티미디어카드 제어부(MMC_CTRL)의 일실시예 상세 구성도.4 is a detailed configuration diagram of an embodiment of a multimedia card control unit MMC_CTRL in the multimedia card interface MMC_IF according to the present invention.

도 5 는 본 발명에 따른 멀티미디어카드 인터페이스(MMC_IF)내의 유효성 체크부(C_CRC)의 일실시예 상세 구성도.5 is a detailed configuration diagram of an embodiment of the validity check unit C_CRC in the multimedia card interface MMC_IF according to the present invention.

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

1 : 레지스터 파일 2 : 인터페이스 드라이버1: register file 2: interface driver

3 : 멀티미디어 인터페이스 4 : 비디오 코덱 인터페이스3: multimedia interface 4: video codec interface

5 : 선입선출(FIFO) 6 : 비디오 코덱5: FIFO 6: Video Codec

상기 목적을 달성하기 위한 본 발명은, 비디오 코덱 기능을 지원하는 멀티미디어카드에 있어서, 외부 멀티미디어카드 호스트와 정보를 주고받기 위한 인터페이스 드라이빙 수단; 상기 호스트가 제공하는 각종 커맨드를 상기 인터페이스 드라이빙 수단으로부터 전달받아 처리하며 그 결과를 상기 드라이빙 수단에 전달하기 위한 멀티미디어 인터페이싱 수단; 비디오 신호를 압축 및 복원하는 비디오 코덱 기능을 수행하기 위한 비디오 신호 처리 수단; 및 상기 비디오 신호 처리 수단에서 처리된 각종 데이터들을 저장하여 두었다가 순차적으로 상기 멀티미디어 인터페이싱 수단으로 전달하기 위한 비디오 신호 인터페이싱 수단을 포함한다.According to an aspect of the present invention, there is provided a multimedia card supporting a video codec function, comprising: interface driving means for exchanging information with an external multimedia card host; Multimedia interfacing means for receiving and processing various commands provided by the host from the interface driving means and transmitting the result to the driving means; Video signal processing means for performing a video codec function to compress and decompress the video signal; And video signal interfacing means for storing various data processed by the video signal processing means and sequentially transmitting the data to the multimedia interfacing means.

MMC 카드 인터페이스를 통해 비디오 코덱 기능을 구현하기 위해서는 카드 자체에서 MMC와 관련한 각종 커맨들을 인식, 처리할 수 있는 수단을 제공해야 하며, 이 인터페이스를 통해 비디오 코덱 모듈과의 데이터 교환 및 이와 관련한 제어 수단들이 갖추어져야 한다.In order to implement the video codec function through the MMC card interface, the card itself must provide a means for recognizing and processing various MMC-related commands, and through this interface, data exchange with the video codec module and related control means. Must be equipped.

좀더 자세하게 기술하면, MMC 카드 인터페이스를 채택하고 있는 호스트(단말기)에서 MMC 카드 액세스를 위한 여러 커맨드들을 출력하는 데, 이들 커맨드들을 인식, 해당 명령을 처리할 수 있는 제어 및 데이터 교환 수단을 제공해야 하며, 이 인터페이스를 통해 받은 데이터들을 비디오 코덱 모듈과 교환할 수 있는 비디오 코덱 인터페이스 수단을 갖추고 있어야 한다. 결론적으로 MMC 커맨드를 인식하며 호스트의 제어에 따라 카드가 동작하도록 하는 모든 메커니즘을 지원해야 한다.In more detail, the host (terminal) adopting the MMC card interface outputs various commands for accessing the MMC card, and it is necessary to provide a control and data exchange means for recognizing these commands and processing the commands. The video codec interface must be equipped to exchange data received through this interface with the video codec module. In conclusion, it must recognize all MMC commands and support all mechanisms for the card to operate under host control.

MMC 카드가 제공해야 되는 기능을 분류하면 다음과 같다. 첫째, MMC 호스트에서 내보내는 각종 커맨드들을 인식할 수 있어야 한다. 둘째, 인식된 커맨드에 대한 올바른 응답을 해야 하며, 셋째, 카드와 호스트 사이의 데이터 교환시 정상적인 송/수신이 보장되어야 한다. 넷째, 첫째의 커맨드 인식 및 응답 시 비트스트림에대한 CRC 체크 기능 및 생성 기능이 삽입되어야 한다. 다섯째, 커맨드 인식에 따른 카드의 올바른 동작 모드 전환 과정이 일어나야 한다. 여섯째, 비디오 코덱 모듈과의 고속의 데이터 송/수신이 이루어져야 한다. 일곱째, 데이터의 카드 호스트와의 교환시 올바른 데이터 CRC 체크 및 생성이 필요하다. 이들 기능을 모두 만족하기 위한 구조가 본 특허의 내용이다.The functions that an MMC card must provide are classified as follows. First, it must be able to recognize various commands emitted from the MMC host. Second, the correct response to the recognized command must be given. Third, normal transmission / reception must be guaranteed when exchanging data between the card and the host. Fourth, the CRC check function and generation function for the bitstream should be inserted in the first command recognition and response. Fifth, the correct operation mode switching process of the card according to the command recognition should occur. Sixth, high speed data transmission / reception with the video codec module should be made. Seventh, correct data CRC check and generation are required when exchanging data with card host. The structure for satisfying all these functions is the content of this patent.

즉, 소형 단말기에서 비디오 코덱 관련 기능을 수행시키기 위해서는 별도의 외부 인터페이스 수단이 필요하며, 이 인터페이스들 역시 소형 단말기에 맞게끔 아주 적은 크기를 가진다. 따라서, 본 발명은 이런 카드 인터페이스 중의 하나인 MMC 인터페이스를 통해 비디오 코덱 관련 기능을 하드웨어로 구현시키는 수단을 제공하여 소형 단말기에서 비디오 코덱 기능을 제공하고자 하며, 이를 위한 비디오 코덱 MMC 카드 구조를 본 발명에서 제안한다.That is, in order to perform a video codec related function in a small terminal, a separate external interface means is required, and these interfaces are also very small to fit the small terminal. Accordingly, the present invention provides a video codec function in a small terminal by providing a means for implementing a video codec related function in hardware through an MMC interface, which is one of such card interfaces. Suggest.

이하, 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.Hereinafter, a preferred embodiment of the present invention will be described in detail.

도 1 은 본 발명에 따른 비디오 코덱 기능을 지원하는 멀티미디어카드의 일실시예 구성도로서, MMC 인터페이스 방식을 통해 비디오 코덱 기능을 제공하기 위한 전체 카드 구조이다.1 is a configuration diagram of a multimedia card that supports a video codec function according to an embodiment of the present invention, and is an overall card structure for providing a video codec function through an MMC interface method.

비디오 코덱(V_CODEC)(이하, 간단히 "V_CODEC"이라함)(6)과 MMC 호스트와의 데이터 교환 및 제어를 위해서는 MMC 신호의 수신 및 해석, MMC 카드의 상태 제어, 데이터 전송 및 이와 관련한 제어 수단들이 필요하며 MMC내부 제어를 위한 각종 제어 레지스터들과 상태 정보 레지스터가 필요하다.For data exchange and control between the video codec (V_CODEC) (hereinafter simply referred to as "V_CODEC") 6 and the MMC host, reception and interpretation of the MMC signal, status control of the MMC card, data transmission and related control means are provided. In addition, various control registers and status information registers are required for MMC internal control.

카드가 MMC 호스트에 직접적으로 인터페이스 되는 인터페이스드라이버(IF_DRIVER)(이하, 간단히 "IF_DRIVER"라함)(2)는 3개 신호, CMD(RSP), CLK, DAT 신호를 드라이빙한다. 이 신호들은 멀티미디어카드 인터페이스(MMC_IF)(이하, 간단히 "MMC_IF"라함)(3)에 입력된다.The interface driver IF_DRIVER (hereinafter simply referred to as "IF_DRIVER") 2 in which the card is directly interfaced to the MMC host drives three signals, CMD (RSP), CLK, and DAT signals. These signals are input to the multimedia card interface MMC_IF (hereinafter simply referred to as "MMC_IF") 3.

MMC_IF(3)는 호스트가 제공하는 각종 커맨드들을 인식, 처리하며 해당 응답 처리 과정을 총괄하며 데이터 수신, 송신을 제어한다. 또한, 각종 레지스터 정보를 액세스하기 위한 수단을 제공한다.The MMC_IF 3 recognizes and processes various commands provided by the host, manages the corresponding response processing, and controls data reception and transmission. It also provides a means for accessing various register information.

MMC_IF(3)와 V_CODEC(6)의 제어 신호 교환 및 데이터 송수신을 제어하는 부분은 비디오 코덱 인터페이스(V_CODEC_IF)(이하, 간단히 "V_CODEC_IF"라함)(4)이다. 이 모듈은 V_CODEC(6)과 DMA 전송 사이클을 통해 데이터를 송수신 및 선입선출(FIFO) 액세스를 위한 제어 신호를 생성한다. 이때 전송할 데이터는 선입선출부(FIFO:First In First Out)(이하, 간단히 "FIFO"라함)(5)에 저장되어 있고, 카드 액세스 형태, 즉 읽기나 쓰기 동작에 따라 데이터 이동이 이루어진다.The part that controls the control signal exchange and data transmission and reception between the MMC_IF 3 and the V_CODEC 6 is the video codec interface V_CODEC_IF (hereinafter simply referred to as "V_CODEC_IF") 4. The module generates control signals for sending and receiving data and first-in-first-out (FIFO) access via V_CODEC (6) and DMA transfer cycles. At this time, the data to be transmitted is stored in a first in first out (FIFO) (hereinafter simply referred to as "FIFO") 5, and data movement is performed according to a card access type, that is, a read or write operation.

V_CODEC(6)는 비디오 압축 및 복원 알고리즘을 처리한다. 이때 필요한 데이터나 처리된 데이터들은 V_CODEC_IF(4)를 통해 일단 FIFO(5)에 저장된 후 순차적으로 MMC_IF(3)를 통해 MMC 호스트와 교환된다. MMC 카드에는 카드의 상태 및 처리 제어를 위한 레지스터 파일(REG_FILE)(이하, 간단히 "REG_FILE"이라함)(1)들을 가지고 있고 이들 레지스터는 MMC 호스트에 의해 액세스된다.V_CODEC (6) handles the video compression and decompression algorithm. At this time, necessary data or processed data are first stored in the FIFO 5 through V_CODEC_IF (4) and sequentially exchanged with the MMC host through MMC_IF (3). The MMC card has register files REG_FILE (hereinafter simply referred to as "REG_FILE") 1 for controlling the status and processing of the card, and these registers are accessed by the MMC host.

V_CODEC_IF(4)은 V_CODEC(6)과 멀티미디어카드 제어부(MMC_CTRL)(이하, 간단히 "MMC_CTRL"라함)(9) 사이에서 각종 데이터의 전송을 담당하며, 전송은 DMA 절차를 통해 이루어지며, 필요한 데이터들은 선입선출부(FIFO)(11)에 저장되어 있고,DMA를 위한 각종 제어 신호와 FIFO 액세스를 위한 제어 신호들을 생성하는 수단을 제공한다.V_CODEC_IF (4) is responsible for the transfer of various data between the V_CODEC (6) and the multimedia card control unit (MMC_CTRL) (hereinafter referred to simply as "MMC_CTRL") (9), the transfer is made through the DMA procedure, necessary data Stored in a first-in first-out (FIFO) 11, it provides a means for generating various control signals for DMA and control signals for FIFO access.

V_CODEC(6)는 H.263 기능을 수행하는 부분으로 MMC 호스트로부터 압축을 위한 이미지 프레임 데이터와 복원을 위한 비트스트림을 공급받는다. 또한, 압축된 코드를 출력시킨다. 이와 관련 데이터 이동이 MMC 카드의 인터페이스를 통해 MMC 호스트와의 사이에서 이루어진다.The V_CODEC (6) performs an H.263 function and receives image frame data for compression and a bitstream for reconstruction from the MMC host. It also outputs the compressed code. This data movement is made with the MMC host through the interface of the MMC card.

FIFO(11,5)는 V_CODEC과 MMC 호스트간의 데이터 교환시 임시 저장장소로 데이터를 버퍼링한다. 마지막으로 REG_FILE(1)는 MMC 카드의 전반적인 상태 및 MMC 카드의 정상적인 동작을 위한 각종 제어 정보를 담고 있는 레지스터들이 모아져 있다.The FIFOs 11 and 5 buffer the data to temporary storage when data is exchanged between the V_CODEC and the MMC host. Finally, REG_FILE (1) is a register that contains the overall status of the MMC card and various control information for normal operation of the MMC card.

도 2 는 본 발명에 따른 멀티미디어카드내의 멀티미디어카드 인터페이스(MMC_IF)의 일실시예 상세 구성도이며, 도 3 은 본 발명에 따른 멀티미디어카드 인터페이스(MMC_IF)내의 커멘드 응답부(CMD_RSP)의 일실시예 상세 구성도이다.FIG. 2 is a detailed configuration diagram of an embodiment of a multimedia card interface (MMC_IF) in a multimedia card according to the present invention. FIG. 3 is a detailed diagram of a command response unit (CMD_RSP) in a multimedia card interface (MMC_IF) according to the present invention. It is a block diagram.

도면에 도시된 바와 같이, MMC_IF(3)는 CMD_RSP(7), C_CRC(8), MMC_CTRL(9), D_PATH(10), FIFO(11), D_CRC(12)로 구성된다..As shown in the figure, MMC_IF (3) is composed of CMD_RSP (7), C_CRC (8), MMC_CTRL (9), D_PATH (10), FIFO (11), D_CRC (12).

커멘드 응답부(CMD_RSP)(이하, 간단히 "CMD_RSP"이라함)(7)은 MMC 호스트에서 제공하는 각종 커맨드의 래치 및 커맨드에 대한 응답 신호의 이동 통로서, 입력 커맨드의 입력 처리를 지원하는 데이터이동 제어부(Dir Ctrl)(13), 시프트 레지스터부(Shift reg)(16)로 구성된다.The command response unit CMD_RSP (hereinafter, simply referred to as “CMD_RSP”) 7 is a latch of various commands provided by the MMC host and a movement of response signals to commands, and supports data movement for supporting input processing of input commands. A control section (Dir Ctrl) 13 and a shift register section (Shift reg) 16 are included.

데이터이동 제어부(Dir Ctrl)(이하, 간단히 "Dir Ctrl"라함)(13)는 커맨드 입력과 응답 비트스트림 출력의 방향 제어를 수행해서 데이터 이동을 제어한다.The data movement control unit (Dir Ctrl) (hereinafter simply referred to as "Dir Ctrl") 13 controls the data movement by performing direction control of the command input and the response bitstream output.

시프트 레지스터부(Shift reg)(이하, 간단히 "Shift reg"라함)(16)은 커맨드 입력시 비트 시프트 연산을 8클럭 동안 수행한다.The shift register section (hereinafter, simply referred to as "Shift reg") 16 performs a bit shift operation for eight clocks upon command input.

토큰 발생부(TOKEN_GEN)(이하, 간단히 "TOKEN_GEN"이라함)(17)는 Shift reg(16)의 데이터를 입력받아 "01" 탐지를 수행한 후 토근 발생 신호를 출력한다.The token generating unit TOKEN_GEN (hereinafter, simply referred to as “TOKEN_GEN”) 17 receives data of the shift reg 16 and performs detection of “01”, and then outputs a token generating signal.

지연 커멘드부(DLY_CMD)(이하, 간단히 "DLY_CMD"라함)(15)는 시프트된 데이터의 3클럭 지연을 수행하여 동기를 맞춘다.The delay command unit DLY_CMD (hereinafter, simply referred to as "DLY_CMD") 15 performs a three clock delay of shifted data to synchronize.

CMD_RSP(7)의 출력 신호는 유효성 체크부(C_CRC)(이하, 간단히 "C_CRC"라함)(8)부와 MMC_CTRL(9)과 인터페이스 된다.The output signal of the CMD_RSP 7 is interfaced with the validity check unit C_CRC (hereinafter simply referred to as "C_CRC") 8 and the MMC_CTRL 9.

액세스 판단부(Card bus wins)(이하, 간단히 "Card bus wins"라함)(14)는 본 카드가 내보내는 값과 실제 CMD라인에 실리는 값을 비교하여 현 카드가 액세스되고 있는 지를 판단해준다. 커맨드 디코딩을 위한 여러 신호가 CMD_RSP블록에서 생성되어 MMC_CTRL부로 입력된다.An access determining unit (Card bus wins) (hereinafter simply referred to as "Card bus wins") 14 compares the value exported by this card with the value displayed on the actual CMD line to determine whether the current card is being accessed. Several signals for command decoding are generated in the CMD_RSP block and input to the MMC_CTRL unit.

결론적으로 커맨드 및 응답 비트스트림의 입출력 경로로서 커맨드 인식을 위한 커맨드 번호 및 아규먼트 정보, 끝비트 신호로 분류하여 MMC_CTRL(9)에 입력시키고, 커맨드의 유효성을 체크하기 위해 C_CRC(8)에 데이터를 입력시키며, 응답 비트스트림의 출력 경로로 이용된다. 이때는 C_CRC(8)의 출력을 입력으로 받아 CMD 라인에 연결시킨다.In conclusion, it is classified into command number, argument information and end bit signal for command recognition as input / output paths of command and response bitstreams and input into MMC_CTRL (9), and data is input into C_CRC (8) to check the validity of commands. It is used as the output path of the response bitstream. At this time, the output of C_CRC (8) is received as an input and connected to the CMD line.

도 4 는 본 발명에 따른 멀티미디어카드 인터페이스(MMC_IF)내의 멀티미디어카드 제어부(MMC_CTRL)(9)의 일실시예 상세 구성도이다.4 is a detailed configuration diagram of an embodiment of the multimedia card control unit MMC_CTRL 9 in the multimedia card interface MMC_IF according to the present invention.

MMC_CTRL(9)는 MMC 카드의 동작을 위한 전반적인 제어를 수행하는 곳으로 MMC 인터페이스를 통한 커맨드 래치, 인식, 디코딩, 커맨드의 아규먼트 정보 래치, 커맨드에 따른 응답 유형의 결정, 응답 비트 스트림 생성 후 출력, MMC 카드의 상태 유지 및 천이, 데이터 전송과 관련한 각종 제어 수단들을 제공한다.MMC_CTRL (9) is a general control for the operation of the MMC card, command latch, recognition, decoding through the MMC interface, command argument information latch, determination of the response type according to the command, output after generating the response bit stream, It provides various control means related to the state maintenance and transition of the MMC card and data transfer.

커맨드 래칭부(CMD_REG)(이하, 간단히 "CMD_REG"라함)(18)는 입력되는 커맨드를 래치하고 있다가, C_CRC(8)에서 CRC_OK, 유효 커맨드로 판별되면 현재 래치된 커맨드를 유효 커맨드로 사용한다. 유효 커맨드로 래치되면서 이 커맨드에 관련된 모든 처리가 시작된다.The command latching unit (CMD_REG) (hereinafter simply referred to as "CMD_REG") 18 latches the input command and uses the currently latched command as a valid command when it is determined to be a CRC_OK and a valid command in C_CRC 8. . All processing related to this command is started while latching as a valid command.

아규먼트 저장부(ARG_LATCH)(이하, 간단히 "ARG_LATCH"라함)(20) 수단은 커맨드와 함께 실려오는 정보를 저장하고 있다가 유효 커맨드로 확인이 되면 이 아규먼트의 저장 및 처리를 시작한다. 이 값은 아규먼트 저장 제어부(ARG_LATCH_ CTRL)(이하, 간단히 "ARG_LATCH_CTRL"라함)(24)를 통해 외부 REG_FILE(1)로 이동한다.Argument storage unit ARG_LATCH (hereinafter simply referred to as "ARG_LATCH") means 20 stores information carried with the command and starts storing and processing this argument when it is confirmed as a valid command. This value is moved to the external REG_FILE (1) via the argument storage control unit ARG_LATCH_CTRL (hereinafter simply referred to as "ARG_LATCH_CTRL") 24.

종단 탐지부(END_DETECT)(이하, 간단히 "END_DETECT"라함)(21)는 커맨드의 마지막임을 알리는 신호를 탐지하기 위한 수단을 제공한다. 이 비트의 탐지를 통해 유효 커맨드로 재차 식별된다.The end detector END_DETECT (hereinafter simply referred to as "END_DETECT") 21 provides a means for detecting a signal indicating the end of the command. The detection of this bit identifies the valid command again.

카드 선택부(CARD_SEL)(이하, 간단히 "CARD_SEL"라함)(22)는 여러 MMC 카드들 중에서 현 카드가 선택되고 있음을 나타내는 정보와 도 3 의 Card Bus Wins(14)에 생성된 신호가 입력되고, MMC 고유의 번호를 카드 인식 과정에서 부여받는데 그번호와 커맨드에서 오는 아규먼트 필드의 정보가 일치하는 것을 탐지한다.The card selector CARD_SEL (hereinafter, simply referred to as “CARD_SEL”) 22 receives information indicating that the current card is being selected among several MMC cards and a signal generated in the Card Bus Wins 14 of FIG. 3. In this case, the MMC is given a unique number during the card recognition process and detects that the number matches the argument field information from the command.

상태 제어부(MMC_CTRL_STATE_MACHINE)(이하, 간단히 "MMC_CTRL_STATE_ MACHINE "라함)(25)는 MMC 카드의 인식을 위한 상태머신, MMC 카드의 데이터 전송과 관련한 상태머신으로 구성된다. 이 상태머신들은 유효 커맨드와 각종 유효 신호가 입력되어야만 내부 상태머신의 상태 천이가 발생한다. 그렇지 않으면 현재의 상태를 계속 유지하게 된다. 이 머신들은 카드의 전반적인 제어를 총괄한다.The state control unit MMC_CTRL_STATE_MACHINE (hereinafter simply referred to as "MMC_CTRL_STATE_MACHINE") 25 is composed of a state machine for recognizing an MMC card and a state machine related to data transfer of the MMC card. These state machines require a valid command and various valid signals to be entered to cause a state transition of the internal state machine. Otherwise, the current state will be maintained. These machines oversee the overall control of the card.

유효성 체크 제어부(CRC_CTRL)(이하, 간단히 "CRC_CTRL"라함)(23)는 커맨드의 유효성 체크를 위한 C_CRC(8)부의 시작 신호 생성과 C_CRC부의 에러 발생으로 인해 현재 래치된 커맨드가 유효하지 않음을 체크한다. 또한 응답 비트스트림에 대한 CRC 생성과 CRC 동작이 필요하지 않는 경우 비트스트림을 바이패스시킨다. 그리고, 상호 교환되는 데이터의 유효성 및 정확성을 위해 D_CRC(12)를 제어한다.The validity check control unit CRC_CTRL (hereinafter, simply referred to as "CRC_CTRL") 23 checks that the command currently latched is not valid due to the generation of the start signal of the C_CRC (8) unit for checking the validity of the command and the occurrence of an error in the C_CRC unit. do. In addition, if the CRC generation and CRC operation for the response bitstream is not required, the bitstream is bypassed. In addition, the D_CRC 12 is controlled for validity and accuracy of the interchanged data.

아규먼트 래치 제어부(ARG_LATCH_CTRL)(이하, 간단히 "ARG_LATCH_CTRL"라함)(24)는 커맨드와 함께 온 아규먼트 정보의 해당 위치로의 저장과 해당 레지스터의 상태 정보값을 읽어오기 위한 동작 신호들을 생성한다.The argument latch control unit ARG_LATCH_CTRL (hereinafter, simply referred to as "ARG_LATCH_CTRL") 24 generates operation signals for storing the argument information on command with the command and reading the state information value of the register.

레지스터 제어부(RES_CTRL)(이하, 간단히 "RES_CTRL"라함)(28)는 커맨드 유형에 따른 해당 응답 비트스트림 정보를 생성하여 C_CRC부로 출력시킨다.The register controller RES_CTRL (hereinafter simply referred to as "RES_CTRL") 28 generates corresponding response bitstream information according to the command type and outputs the corresponding bitstream information to the C_CRC unit.

현 카드가 MMC 호스트가 제공하는 전원 레벨에서 동작가능한 지의 여부는 전원 체크부(VDD_CHECK)(이하, 간단히 "VDD_CHECK"라함)(27)에서 이루어지고 MMC_CTRL_STATE_MACHINE(25)의 상태 천이를 위한 조건으로 사용된다.Whether the current card is capable of operating at the power level provided by the MMC host is made at the power check unit (VDD_CHECK) (hereinafter simply referred to as "VDD_CHECK") 27 and used as a condition for the state transition of the MMC_CTRL_STATE_MACHINE 25. .

커맨드 디코딩부(CMD_DEC)(이하, 간단히 "CMD_DEC"라함)(19)는 입력된 유효커맨드를 디코딩 하여 MMC_CTRL_STATE_MACHINE(25), CRC_CTRL(23), ILL_CMD(26)에 입력되어 카드를 제어하기 위한 신호를 제공한다.The command decoding unit CMD_DEC (hereinafter, simply referred to as “CMD_DEC”) 19 decodes an input valid command and inputs the signals to MMC_CTRL_STATE_MACHINE 25, CRC_CTRL 23, and ILL_CMD 26 to control signals. to provide.

부적합 커멘드 체크부(ILL_CMD)(이하, 간단히 "ILL_CMD"라함)(26)는 카드의 임의 상태에서 적합하지 않은 커맨드가 입력되었을 때 이를 체크하는 수단이며 이 값은 REG_FILE(1)의 상태 레지스터에 기록된다.The non-compliant command check unit (ILL_CMD) (hereinafter simply referred to as "ILL_CMD") 26 is a means of checking when an invalid command is input in any state of the card and this value is written to the status register of REG_FILE (1). do.

데이터 이동 신호 제어부(D_PATH_CTRL)(이하, 간단히 "D_PATH_CTRL"라함)(31)는 커맨드에 따른 데이터 이동부(D_PATH)(이하, 간단히 "D_PATH"라함)(10)의 제어를 위한 것으로 데이터 이동과 관련한 신호를 생성하여 공급한다.The data movement signal control unit D_PATH_CTRL (hereinafter, simply referred to as "D_PATH_CTRL") 31 is for controlling the data movement unit D_PATH (hereinafter, simply referred to as "D_PATH") 10 according to a command and related to data movement. Generate and supply a signal.

이때, 도 2 의 D_PATH(10)는 MMC_CTRL(9)의 D_PATH_CTRL(31)과 연계되어 MMC 호스트와 카드간의 데이터(DAT) 이동을 제어받는 곳이며, D_CRC(12)는 입력되는 블록 비트스트림의 CRC 체크 및 출력 블록 비트스트림의 CRC생성 기능을 수행한다.At this time, the D_PATH 10 of FIG. 2 is a place where data (DAT) movement between the MMC host and the card is controlled in connection with the D_PATH_CTRL 31 of the MMC_CTRL 9, and the D_CRC 12 is a CRC of an input block bitstream. Performs CRC generation of the check and output block bitstreams.

D_CRC(12)는 MMC_CTRL(9)의 CRC_CTRL(23)의 제어 신호를 입력받는다. D_CRC (23)의 데이터는 IF_DRIVER(2)와 연결되어 있다.The D_CRC 12 receives a control signal of the CRC_CTRL 23 of the MMC_CTRL 9. Data of the D_CRC 23 is connected to the IF_DRIVER (2).

도 5 는 본 발명에 따른 멀티미디어카드 인터페이스(MMC_IF)내의 유효성 체크부(C_CRC)의 일실시예 상세 구성도이다.5 is a detailed block diagram of an embodiment of the validity check unit C_CRC in the multimedia card interface MMC_IF according to the present invention.

C_CRC(8)는 CRC_CTRL(23)로부터 CRC 관련 제어신호를 입력받아 커맨드의 CRC 체커 기능과 응답 비트스트림의 CRC 생성 기능을 수행하며 또한 CRC 동작이 필요하지 않는 경우, 바로 바이패스 시키는 수단(29,30)을 포함하고 있다. 이는 MMC 인터페이스를 통한 올바른 커맨드 및 커맨드에 따른 응답 비트스트림를 보장하기 위한수단으로 이용된다.The C_CRC 8 receives the CRC-related control signal from the CRC_CTRL 23 to perform the CRC checker function of the command and the CRC generation function of the response bitstream, and immediately bypasses the CRC operation if the CRC operation is not necessary. 30). This is used as a means to ensure the correct command through the MMC interface and the response bitstream according to the command.

즉, 상기한 도 1 에서 도 5 까지의 구조를 통해 비디오 코덱 모듈이 MMC와 인터페이스되어 소형 단말기에서 비디오 코덱 기능 구현이 가능하게 된다.That is, the video codec module is interfaced with the MMC through the structure of FIGS. 1 to 5 to implement the video codec function in the small terminal.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the spirit of the present invention for those skilled in the art to which the present invention pertains, and the above-described embodiments and accompanying It is not limited to the drawing.

상기와 같은 본 발명은, 현재 가장 소형의 카드인 멀티미디어카드 형태의 인터페이스를 제공하는 단말기가 늘고 있는 시점에서 이 인터페이스를 채택하면서 동시에 비디오 코덱 기능을 지원하기 위한, 비디오 코덱 기능을 지원하는 멀티미디어카드를 제공하므로써, 소형 단말기에서도 비디오 코덱 기능을 제공할 수 있는 우수한 효과가 있다.As described above, the present invention provides a multimedia card that supports a video codec function for adopting this interface and at the same time supporting a video codec function at an increasing number of terminals providing an interface in the form of a multimedia card, which is the smallest card. By doing so, there is an excellent effect that even a small terminal can provide a video codec function.

또한, 본 발명은 MMC 인터페이스를 통한 7핀 드라이브 회로와 MMC의 정상적인 동작을 위한 제어와 비디오 코덱과의 데이터 교환 및 제어를 담당할 수 있는 기능들을 포함하고 있으며, 따라서 MMC 인터페이스를 제공하는 어떤 호스트와도 연결이 가능하며, 이 기반하에서 비디오 코덱 기능을 통한 화상 전화를 사용할 수 있다는 우수한 효과가 있다.In addition, the present invention includes a 7-pin drive circuit through the MMC interface, and the functions for controlling the normal operation of the MMC and data exchange and control with the video codec, so that any host that provides the MMC interface It is also possible to connect, and on this basis, there is an excellent effect of using video telephony through the video codec function.

Claims (4)

비디오 코덱 기능을 지원하는 멀티미디어카드에 있어서,In the multimedia card that supports the video codec function, 외부 멀티미디어카드 호스트와 정보를 주고받기 위한 인터페이스 드라이빙 수단;Interface driving means for exchanging information with an external multimedia card host; 상기 호스트가 제공하는 각종 커맨드를 상기 인터페이스 드라이빙 수단으로부터 전달받아 처리하며 그 결과를 상기 드라이빙 수단에 전달하기 위한 멀티미디어 인터페이싱 수단;Multimedia interfacing means for receiving and processing various commands provided by the host from the interface driving means and transmitting the result to the driving means; 비디오 신호를 압축 및 복원하는 비디오 코덱 기능을 수행하기 위한 비디오 신호 처리 수단; 및Video signal processing means for performing a video codec function to compress and decompress the video signal; And 상기 비디오 신호 처리 수단에서 처리된 각종 데이터들을 저장하여 두었다가 순차적으로 상기 멀티미디어 인터페이싱 수단으로 전달하기 위한 비디오 신호 인터페이싱 수단Video signal interfacing means for storing various data processed by the video signal processing means and sequentially transmitting the data to the multimedia interfacing means. 을 포함하는 비디오 코덱 기능을 지원하는 멀티미디어카드.Multimedia card that supports the video codec function, including. 제 1 항에 있어서,The method of claim 1, 상기 멀티미디어 인터페이싱 수단은,The multimedia interfacing means, 상기 호스트가 제공하는 각종 커맨드 및 그 결과를 상기 인터페이스 드라이빙 수단과 주고받기 위한 커맨드 응답 수단;Command response means for exchanging various commands provided by the host and the result with the interface driving means; 상기 커맨드에 대한 유효성 여부를 체크하기 위한 유효성 체크 수단;Validity checking means for checking validity of the command; 상기 커맨드에 대한 작업을 수행하기 위한 멀티미디어카드 제어 수단; 및Multimedia card control means for performing a task on the command; And 상기 멀티미디어카드 제어 수단의 제어를 받으며 상기 비디오 신호 처리 수단에서 처리된 각종 데이터를 상기 비디오신호 인터페이싱 수단으로부터 전달받기 위한 데이터 전달 수단Data transfer means for receiving various data processed by the video signal processing means under the control of the multimedia card control means from the video signal interfacing means. 을 포함하는 비디오 코덱 기능을 지원하는 멀티미디어카드.Multimedia card that supports the video codec function, including. 제 2 항에 있어서,The method of claim 2, 상기 커맨드 응답 수단은,The command response means, 상기 호스트가 제공하는 각종 커맨드에 따른 데이터 이동을 제어하기 위한 데이터 이동 제어 수단;Data movement control means for controlling data movement according to various commands provided by the host; 상기 커맨드 입력시 비트 시프트 연산을 수행하기 위한 시프팅 수단;Shifting means for performing a bit shift operation on the command input; 상기 시프팅 수단에 의하여 시프팅된 데이터에 대하여 지연을 수행하여 동기를 맞추어 상기 유효성 체크 수단에 전달하기 위한 지연 수단; 및Delay means for performing a delay on the data shifted by the shifting means and synchronizing it with the validity checking means; And 상기 시프팅 수단으로부터 데이터를 입력받아 토큰 발생 신호를 상기 멀티미디어 카드 제어 수단으로 출력하기 위한 토큰 발생 수단Token generating means for receiving data from the shifting means and outputting a token generating signal to the multimedia card control means; 을 포함하는 비디오 코덱 기능을 지원하는 멀티미디어카드.Multimedia card that supports the video codec function, including. 제 2 항 또는 제 3 항에 있어서,The method of claim 2 or 3, 상기 멀티미디어카드 제어 수단은,The multimedia card control means, 상기 커맨드가 유효 커맨드로 판정될때까지 상기 커맨드를 래치하기 위한 커맨드 래칭 수단;Command latching means for latching the command until the command is determined to be a valid command; 상기 커맨드에 대하여 유효성을 체크하도록 상기 유효성 체크 수단을 제어하기 위한 유효성 체크 제어 수단; 및Validity checking control means for controlling said validity checking means to check validity with respect to said command; And 상기 유효성 체크 수단에서 그 유효성이 판정된 상기 커맨드에 대하여 해당하는 작업을 수행하는 과정을 제어하기 위한 상태 제어 수단State control means for controlling a process of performing a corresponding operation on the command whose validity is determined by the validity checking means 을 포함하는 비디오 코덱 기능을 지원하는 멀티미디어카드.Multimedia card that supports the video codec function, including.
KR1019990061897A 1999-12-24 1999-12-24 To MultimediaCard base Video Codec Control Apparatus KR100335374B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990061897A KR100335374B1 (en) 1999-12-24 1999-12-24 To MultimediaCard base Video Codec Control Apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990061897A KR100335374B1 (en) 1999-12-24 1999-12-24 To MultimediaCard base Video Codec Control Apparatus

Publications (2)

Publication Number Publication Date
KR20010063803A true KR20010063803A (en) 2001-07-09
KR100335374B1 KR100335374B1 (en) 2002-05-06

Family

ID=19629460

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990061897A KR100335374B1 (en) 1999-12-24 1999-12-24 To MultimediaCard base Video Codec Control Apparatus

Country Status (1)

Country Link
KR (1) KR100335374B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200074883A (en) * 2018-12-14 2020-06-25 뉴 센츄리 테크놀로지스 리미티드 Peripheral device with embedded video codec functionality
US11422956B2 (en) 2018-12-05 2022-08-23 Rongming Microelectronics (Jinan) Co., Ltd. Peripheral device with embedded video codec functionality
US11868284B2 (en) 2018-12-05 2024-01-09 Rongming Microelectronics (Jinan) Co., Ltd. Peripheral device with embedded video codec functionality

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980044990A (en) * 1996-12-09 1998-09-15 양승택 Structure of Portable Multimedia Data Input / Output Processor and Its Driving Method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11422956B2 (en) 2018-12-05 2022-08-23 Rongming Microelectronics (Jinan) Co., Ltd. Peripheral device with embedded video codec functionality
US11868284B2 (en) 2018-12-05 2024-01-09 Rongming Microelectronics (Jinan) Co., Ltd. Peripheral device with embedded video codec functionality
KR20200074883A (en) * 2018-12-14 2020-06-25 뉴 센츄리 테크놀로지스 리미티드 Peripheral device with embedded video codec functionality

Also Published As

Publication number Publication date
KR100335374B1 (en) 2002-05-06

Similar Documents

Publication Publication Date Title
US5878234A (en) Low power serial protocol translator for use in multi-circuit board electronic systems
US6718449B2 (en) System for data transfer between different clock domains, and for obtaining status of memory device during transfer
JP2002175261A (en) Data transfer control circuit
US6418501B1 (en) Memory card
JP2002323995A (en) Trace circuit
JP2002073522A (en) Memory card bridge
JP2006250824A (en) Semiconductor integrated circuit and data analysis method for the semiconductor integrated circuit
KR100241514B1 (en) Microcomputer
US20050228929A1 (en) Bridge circuit
JP2000066994A (en) Lpc/isa bridge and its bridge method
KR100335374B1 (en) To MultimediaCard base Video Codec Control Apparatus
US5432914A (en) Scanner interface system for transferring data to main and secondary processing units
US6301182B1 (en) Semiconductor memory device
JPH0342732A (en) Semiconductor integrated circuit
US7822957B2 (en) Method for carrying out an information processing in accordance with firmware in a plurality of chips
US8291270B2 (en) Request processing device, request processing system, and access testing method
JP2002183692A (en) Ic card and ic card system
US6721838B1 (en) Apparatus and method for bus interface for matching optical module
US5247622A (en) Id processing dedicated scsi bus interface logic circuit
US6405260B2 (en) Data transmission method and apparatus for interfacing between main system and microcomputer
US7853843B2 (en) Method and system for testing chips
US6839857B2 (en) Interrupt controller in an interface device or information processing system
US6292908B1 (en) Method and apparatus for monitoring internal bus signals by using a reduced image of the internal bus
US6629262B1 (en) Multiplexed storage controlling device
JP3741182B2 (en) Microcomputer, electronic equipment and debugging system

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
FPAY Annual fee payment

Payment date: 20080328

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee