KR100218280B1 - Packet identification filter of demultiplexer in mpeg system decoder - Google Patents

Packet identification filter of demultiplexer in mpeg system decoder Download PDF

Info

Publication number
KR100218280B1
KR100218280B1 KR1019960062035A KR19960062035A KR100218280B1 KR 100218280 B1 KR100218280 B1 KR 100218280B1 KR 1019960062035 A KR1019960062035 A KR 1019960062035A KR 19960062035 A KR19960062035 A KR 19960062035A KR 100218280 B1 KR100218280 B1 KR 100218280B1
Authority
KR
South Korea
Prior art keywords
pid
bit
stored
match
storing
Prior art date
Application number
KR1019960062035A
Other languages
Korean (ko)
Other versions
KR19980044024A (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 KR1019960062035A priority Critical patent/KR100218280B1/en
Priority to JP28212197A priority patent/JPH10174072A/en
Publication of KR19980044024A publication Critical patent/KR19980044024A/en
Application granted granted Critical
Publication of KR100218280B1 publication Critical patent/KR100218280B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 엠펙 시스템 디코더의 디멀티플렉서의 패킷 식별 필터를 공개한다. 그 필터는 소정수의 소정 비트의 PID를 저장하고, 저장된 소정수의 소정 비트의 PID와 입력되는 소정 비트의 PID의 매칭 여부를 비교하여 소정수의 비교 결과들을 저장하는 메모리 장치, 상기 소정수의 소정 비트의 PID를 저장하기 위한 어드레스를 발생하는 어드레스 발생수단, 상기 PID를 저장하고 상기 메모리 장치로 입력하기 위한 PID 저장수단, 및 상기 메모리 장치로부터의 비교 결과들을 논리합하여 최종 결과를 발생하기 위한 논리합 수단으로 구성되어 있다. 따라서, PID 비교동작시에 수행시간이 단축된다.The present invention discloses a packet identification filter of a demultiplexer of an MPEG system decoder. The filter stores a predetermined number of PIDs of a predetermined bit, compares a stored PID of a predetermined number of predetermined bits with a PID of an input predetermined bit, and stores a predetermined number of comparison results. An address generating means for generating an address for storing a PID of a predetermined bit, a PID storing means for storing the PID and inputting it to the memory device, and a logical sum for generating a final result by ORing the comparison results from the memory device It consists of means. Therefore, the execution time is reduced during the PID comparison operation.

Description

엠펙(MPEG) 시스템 디코더의 디멀티플렉서의 패킷 식별(PID)필터Packet Identification (PID) Filter of Demultiplexer in MPEG System Decoder

본 발명은 엠펙 시스템 디코더에 관한 것으로, 특히 엠펙 시스템 디코더의 디멀티플렉서의 패킷 식별 필터에 관한 것이다.The present invention relates to an MPEG system decoder, and more particularly, to a packet identification filter of a demultiplexer of an MPEG system decoder.

일반적으로, 엠펙 시스템 디코더의 멀티플렉서는 기본 스트림에 프로그램 맵 테이블(PMT;program map table)에 지시된 PID(program identification)정보를 부가한 패킷들과 프로그램 맵 PID를 가지고 프로그램 맵 테이블을 전송하는 패킷을 멀티플렉싱함에 의해서 트랜스포트 스트림을 발생한다. 그리고, 이와 같이 발생된 각각의 트랜스포트 스트림과 그 스트림에 해당하는 프로그램 맵 PID 정보를 가진 프로그램 관련 테이블(PAT;program associaion table)을 전송하는 PID(=0)의 패킷을 멀티플렉싱함에 의해서 시스템 비트 스트림을 발생한다.In general, the multiplexer of the MPEG system decoder adds packets to which a PID (program identification) information indicated in a program map table (PMT) is added to an elementary stream and a packet transmitting a program map table with a program map PID. Multiplexing generates a transport stream. The system bit stream is obtained by multiplexing a packet of PID (= 0) that transmits a program associaion table (PAT) having each transport stream and program map PID information corresponding to the generated stream. Occurs.

엠펙 시스템 디코더의 디멀티플렉서는 엔코더로부터 입력되는 시스템 비트 스트림을 입력하여 디멀티플렉싱함에 의해서 기본 스트림을 만들게 된다. 기본 스트림을 만들기 위하여 PAT와 PMT가 필요하다. 프로그램 관련 테이블(PAT)은 PID=0인 패킷의 페이로드 부분에 실려 전송된다. 엠펙 시스템 디코더에서는 PID=0인 비트 스트림이 입력되면 이 비트 스트림의 페이로드 부분에 실려있는 PAT로부터 프로그램 맵 PID를 얻는다. 그리고, 다음 입력되는 비트 스트림의 PID와 검출된 프로그램 맵 PID가 동일한지를 비교하여 만일 동일하면 이 비트 스트림의 페이로드 부분으로부터 프로그램 맵 테이블(PMT)을 얻는다. 이 PMT로부터 얻어진 13비트의 PID들은 메모리에 저장되고, 이 PID들과 입력 비트 스트림의 PID를 비교함에 의해서 디멀티플렉싱을 수행한다. 그래서, 엠펙 시스템 디코더의 디멀티플렉서는 PID 비교 기능을 수행하기 위하여 PID 필터를 구비하고 있다.The demultiplexer of the MPEG system decoder generates an elementary stream by inputting and demultiplexing a system bit stream input from an encoder. PAT and PMT are needed to create an elementary stream. The program related table (PAT) is carried in the payload portion of the packet with PID = 0. In the MPEG system decoder, when a bit stream with PID = 0 is input, the program map PID is obtained from the PAT carried in the payload portion of the bit stream. Then, the PID of the next input bit stream and the detected program map PID are compared to obtain the program map table PMT from the payload portion of the bit stream. The 13-bit PIDs obtained from this PMT are stored in memory and demultiplexed by comparing these PIDs with the PID of the input bit stream. Therefore, the demultiplexer of the MPEG system decoder is provided with a PID filter to perform a PID comparison function.

제1도는 일반적인 트랜스포트 스트림의 데이터 포맷을 나타내는 것으로, 트랜스포트 패킷(transport packet)은 188바이트로 구성되고, 각각의 트랜스포트 패킷은 4바이트로 구성된 헤더(header), 가변 길이 적응 헤더(variable length adaptation header), 및 페이로드(payload)로 구성된다. 그리고, 각 트랜스포트 패킷의 헤더에는 13비트의 PID 정보가 들어있다. 이 PID 정보는 스트림 식별 정보로서 해당 패킷의 스트림의 속성을 나타낸다. 즉, 오디오, 비디오, 시스템중 어느 것에 관련된 정보인지를 나타내는 정보이다.1 shows a data format of a general transport stream, in which a transport packet consists of 188 bytes, and each transport packet consists of a 4-byte header and a variable length adaptive header. an adaptation header, and a payload. The header of each transport packet contains 13 bits of PID information. This PID information is stream identification information and represents the attribute of the stream of the packet. That is, information indicating whether the information is related to audio, video, or system.

제2도는 종래의 엠펙 시스템 디코더의 디멀티플렉서의 PID 필터의 블록도로서, 프로그램 맵 테이블을 저장하기 위한 메모리 장치(10), 메모리 장치(10)의 어드레싱을 위한 어드레스 발생기(20), 메모리 장치(10)로부터 출력되는 데이터를 저장하기 위한 레지스터(30), 입력 비트 스트림으로부터 추출된 PID를 저장하기 위한 레지스터(40), 및 레지스터들(30,40)로 부터의 PID값이 동일한지, 다른지를 비교하여 플래그(flag) 신호를 발생하기 위한 비교기(50)로 구성되어 있다.2 is a block diagram of a PID filter of a demultiplexer of a conventional MPEG system decoder, which includes a memory device 10 for storing a program map table, an address generator 20 for addressing the memory device 10, and a memory device 10. Registers 30 for storing data outputted from the < RTI ID = 0.0 >), < / RTI > registers 40 for storing PIDs extracted from the input bit stream, and whether PID values from the registers 30, 40 are the same or different. And a comparator 50 for generating a flag signal.

상기 구성의 동작을 설명하면 다음과 같다.The operation of the configuration is as follows.

먼저, N개의 13비트 PID로 구성된 프로그램 맵 테이블(PMT)을 메모리 장치(10)에 저장한다. 어드레스 발생기(20)는 N개의 PID를 저장하기 위한 어드레스를 순차적으로 발생하고, 레지스터(30)는 PMT의 PID를 순차적으로 저장하고 출력한다. 그래서, 메모리 장치(10)의 해당 어드레스에 PMT의 PID가 순차적으로 저장된다. 이 저장된 N개의 PID들은 다음 패킷의 PID와의 비교를 위하여 사용된다. 즉, 다음 패킷의 PID가 레지스터(30)에 저장되고, 메모리 장치(10)가 리드 동작을 수행하여 N개의 PID중의 첫 번째 어드레스에 저장된 PID를 레지스터(40)로 출력한다. 비교기(50)는 레지스터들(30,40)의 출력신호를 비교하여 동일한지 아닌지를 비교하여 동일하면 플래그 신호(FLAG)를 1로 하고, 동일하지 않으면 플래그 신호를 0로 한다. 만일 플래그 신호가 0이면, 어드레스 발생기(20)의 어드레스를 증가하여 다음 어드레스에 저장된 PID를 레지스터(30)에 저장하고, 두 개의 레지스터들(30,40)로부터의 PID를 비교기(50)에 비교하게 된다. 이와 같은 비교 동작은 메모리 장치(10)에 저장된 N번째까지의 PID와 레지스터(40)에 저장된 PID에 대하여 반복적으로 수행되며, 이러한 비교 동작중에 만일 두 개의 PID가 일치하면 플래그 신호를 1로 하고, 만일 일치하지 않으면 플래그 신호를 0으로 한다. 플래그 신호가 1이면 레지스터(40)에 저장된 PID를 포함하는 패킷은 해당 디코딩 동작을 수행하고, 플래그 신호가 0이면 레지스터(40)에 저장된 PID를 포함하는 패킷에 대한 디코딩 동작을 수행하지 않는다. 이와 같이 하여 레지스터(30)에 저장된 하나의 패킷에 대한 PID 필터링 동작이 수행되면 다음 패킷에 대한 PID를 레지스터(30)에 저장하여 상술한 PID 필터링 동작을 수행하게 된다.First, a program map table (PMT) composed of N 13-bit PIDs is stored in the memory device 10. The address generator 20 sequentially generates addresses for storing N PIDs, and the register 30 sequentially stores and outputs PIDs of the PMT. Thus, the PID of the PMT is sequentially stored at the corresponding address of the memory device 10. These stored N PIDs are used for comparison with the PID of the next packet. That is, the PID of the next packet is stored in the register 30, and the memory device 10 performs a read operation to output the PID stored at the first address among the N PIDs to the register 40. The comparator 50 compares the output signals of the registers 30 and 40, compares whether they are the same, and sets the flag signal FLAG to 1 if they are the same, and sets the flag signal to 0 if they are not the same. If the flag signal is 0, the address of the address generator 20 is increased to store the PID stored in the next address in the register 30, and the PID from the two registers 30 and 40 is compared to the comparator 50. Done. This comparison operation is repeatedly performed for the Nth PID stored in the memory device 10 and the PID stored in the register 40. During the comparison operation, if two PIDs match, the flag signal is set to 1, If it does not match, the flag signal is set to zero. If the flag signal is 1, the packet including the PID stored in the register 40 performs the corresponding decoding operation. If the flag signal is 0, the packet including the PID stored in the register 40 is not performed. In this manner, when the PID filtering operation for one packet stored in the register 30 is performed, the PID for the next packet is stored in the register 30 to perform the above-described PID filtering operation.

즉, 상술한 종래의 엠펙 시스템 디코더의 디멀티플렉서의 PID 필터는 프로그램 맵 테이블에 저장된 N개의 PID들을 메모리 장치에 순서대로 저장하여 두고 입력 비트 스트림으로 부터 검출된 PID과 메모리 장치에 저장된 PID들을 순서대로 비교하여 일치하는지를 비교한다. 이 비교 결과 일치하면 입력 비트 스트림을 해당 디코더로 보내고, 다음 입력 비트 스트림의 PID를 검출하여 동일한 비교 동작을 반복적으로 수행한다. 만일 PID가 메모리 장치에 저장된 PID와 하나도 일치하지 않으면 입력 비트 스트림에 대한 디코딩 동작을 수행하지 않게 된다.That is, the PID filter of the demultiplexer of the conventional MPEG system decoder stores N PIDs stored in the program map table in the memory device in order, and compares the PIDs detected from the input bit stream with the PIDs stored in the memory device in order. To match. If the result of the comparison matches, the input bit stream is sent to the corresponding decoder, the PID of the next input bit stream is detected, and the same comparison operation is repeatedly performed. If the PID does not match any of the PIDs stored in the memory device, the decoding operation on the input bit stream is not performed.

따라서, 종래의 엠펙 시스템 디코더의 디멀티플렉서의 PID 필터는 최악의 경우에는 메모리 장치에 저장된 N개의 PID와 입력 비트 스트림으로 부터 검출된 PID의 매칭 여부를 N번 비교하여야 하므로 동작 수행시간이 길다는 단점이 있었다.Therefore, in the worst case, the PID filter of the demultiplexer of the MPEG system decoder needs to compare N PIDs stored in the memory device with PIDs detected from the input bit stream N times, so that the operation execution time is long. there was.

본 발명의 목적은 프로그램 맵 테이블로부터의 PID들과 입력 비트 스트림으로 부터 검출된 PID를 비교하는데 걸리는 동작 수행시간이 줄일 수 있는 엠펙 시스템 디코더의 디멀티플렉서의 PID 필터를 제공하는데 있다.It is an object of the present invention to provide a PID filter of a demultiplexer of an MPEG system decoder that can reduce the operation time taken to compare PIDs from a program map table with PIDs detected from an input bit stream.

상기 목적을 달성하기 위한 본 발명의 엠펙 시스템 디코더의 디멀티플렉서의 PID 필터는 소정수의 소정 비트의 PID를 저장하고, 저장된 소정수의 소정 비트의 PID와 입력되는 소정 비트의 PID의 매칭 여부를 비교하여 소정수의 비교 결과들을 저장하는 메모리 장치, 상기 소정수의 소정 비트의 PID를 저장하기 위한 어드레스를 발생하는 어드레스 발생수단, 상기 PID를 저장하고 상기 메모리 장치로 입력하기 위한 PID 저장수단, 및 상기 메모리 장치로부터의 비교 결과들을 논리합하여 최종 결과를 발생하기 위한 논리합 수단을 구비한 것을 특징으로 한다.The PID filter of the demultiplexer of the MPEG system decoder of the present invention for achieving the above object stores a PID of a predetermined number of predetermined bits, and compares the PID of the predetermined number of predetermined bits with the PID of an input predetermined bit A memory device for storing a predetermined number of comparison results, an address generating means for generating an address for storing the predetermined number of PIDs, a PID storage means for storing the PID and inputting the memory device, and the memory And ORing means for ORing the comparison results from the device to produce the final result.

그리고, 메모리 장치는 복수개의 비트 라인 쌍들, 복수개의 워드 라인들, 상기 워드 라인과 비트 라인 쌍 사이에 연결되고 프로그랩 맵 테이블의 소정수의 소정 비트의 PID를 저장하기 위한 복수개의 메모리 셀들, 복수개의 매치 라인들, 비교동작시에 상기 매치 라인들을 각각 프리차아지하기 위한 복수개의 프리차아지 수단들, 상기 비트 라인 쌍 사이에 연결되고 상기 비교 동작시에 상기 메모리 셀들에 저장된 소정수의 소정 비트의 PID들과 상기 비트 라인 쌍으로부터 전송되는 소정 비트의 PID를 동시에 비교하여 소정수의 비교 결과를 상기 매치 라인으로 전송하기 위한 복수개의 비교 수단들, 및 상기 복수개의 매치 라인들로부터의 비교 결과들을 저장하기 위한 레지스터를 구비한 것을 특징으로 한다.The memory device may include a plurality of bit line pairs, a plurality of word lines, a plurality of memory cells connected between the word line and the bit line pair, and configured to store a predetermined number of predetermined PIDs of the bitmap table table. A plurality of match lines, a plurality of precharge means for precharging the match lines respectively in a comparison operation, a predetermined number of predetermined bits connected between the pair of bit lines and stored in the memory cells in the comparison operation A plurality of comparison means for simultaneously comparing the PIDs of the bit line and the PID of the predetermined bit transmitted from the pair of bit lines to transmit a predetermined number of comparison results to the match line, and comparison results from the plurality of match lines. And a register for storing.

제1도는 일반적인 트랜스포트 스트림의 데이터 포맷을 나타내는 것이다.1 shows the data format of a general transport stream.

제2도는 종래의 엠펙 시스템 디코더의 디멀티플렉서의 패킷 식별 필터의 블록도이다.2 is a block diagram of a packet identification filter of a demultiplexer of a conventional MPEG system decoder.

제3도는 본 발명의 엠펙 시스템 디코더의 디멀티플렉서의 패킷 식별 필터의 블록도이다.3 is a block diagram of a packet identification filter of the demultiplexer of the MPEG system decoder of the present invention.

제4도는 제3도에 나타낸 블록도의 동작을 설명하기 위한 동작 흐름도이다.4 is an operation flowchart for explaining the operation of the block diagram shown in FIG.

이하, 첨부된 도면을 참고로 하여 본 발명의 엠펙 시스템 디코더의 디멀티플렉서의 PID 필터를 설명하면 다음과 같다.Hereinafter, a PID filter of a demultiplexer of an MPEG system decoder of the present invention will be described with reference to the accompanying drawings.

제3도는 본 발명의 엠펙 시스템 디코더의 디멀티플렉서의 PID 필터의 블록도로서, 레지스터(110), SRAM 셀(120), 비교기(130), 및 프리차아지 트랜지스터들(140)을 구비한 캠(CAM; content-addressable memory)(100), 레지스터(200), 어드레스 발생기(300), 및 논리합 수단(400)으로 구성되어 있다.3 is a block diagram of a PID filter of a demultiplexer of an MPEG system decoder according to the present invention, and includes a cam CAM having a register 110, an SRAM cell 120, a comparator 130, and precharge transistors 140. a content-addressable memory (100), a register (200), an address generator (300), and a logical sum means (400).

캠(100)은 미리 저장되어 있는 N개의 n비트 데이터와 입력되는 n비트 데이터를 병렬로 비교하는 기능을 가진 메모리 장치이다. 제3도에 나타낸 캠은 하나의 실시예로서의 구성을 나타내는 것이고, 다르게 설계될 수 있다. 그러나, 이와 같은 기능을 수행할 수 있는 메모리 장치이면 된다. 그리고, 이와 같은 기능을 미리 구비한 캠을 사용하지 않는다면 일반 메모리 장치에 이와 같은 비교기능을 추가하여 사용하면 된다. 또한, 제3도에 나타낸 캠은 본 발명의 동작 설명을 위하여 필요한 기본적인 구성만을 개략적으로 나타낸 것이다.The cam 100 is a memory device having a function of comparing N n-bit data stored in advance and n-bit data input in parallel. The cam shown in FIG. 3 shows a configuration as one embodiment, and can be designed differently. However, any memory device capable of performing such a function may be used. If a cam having such a function is not used in advance, the comparison function may be added to a general memory device. In addition, the cam shown in FIG. 3 schematically shows only the basic configuration necessary for explaining the operation of the present invention.

제4도는 제3도에 나타낸 블록도의 동작을 설명하기 위한 동작 흐름도로서, 제4도를 이용하여 제3도에 나타낸 블록도의 동작을 설명하면 다음과 같다.FIG. 4 is an operation flowchart for explaining the operation of the block diagram shown in FIG. 3. The operation of the block diagram shown in FIG. 3 using FIG. 4 will be described below.

먼저, 프로그램 맵 테이블의 N개의 PID들을 캠(100)에 저장한다(제500단계). 이 동작은 종래의 메모리 장치의 동작과 동일한 방법으로 수행된다. 즉, 어드레스 발생기(300)로부터 어드레스가 입력되면 모든 비트 라인 쌍들(BLO, BLBO, BL1, BLB1, ..., BL12, BLB12)이 프리차아지되고, 하나의 워드라인(WLO)이 선택된다. 그러면, 워드라인(WLO)에 연결된 모든 메로리 셀들로 비트 라인쌍들을 통하여 13비트의 PID가 동시에 입력된다. 이와 같은 동작이 어드레스를 증가하면서 수행하여 마직막으로, 워드라인(WLN-1)에 연결된 모든 메모리 셀들에 마지막 13비트의 PID를 저장한다. 이와 같이 하여 프로그램 맵 테이블내의 N개의 PID들을 저장하는 동작이 완료된다.First, N PIDs of the program map table are stored in the cam 100 (operation 500). This operation is performed in the same manner as that of the conventional memory device. That is, when an address is input from the address generator 300, all the bit line pairs BLO, BLBO, BL1, BLB1, ..., BL12, BLB12 are precharged, and one word line WLO is selected. Then, 13 bits of PID are simultaneously inputted through pairs of bit lines to all memory cells connected to the word line WLO. This operation is performed by increasing the address. Finally, the last 13 bits of the PID are stored in all memory cells connected to the word line WLN-1. In this way, the operation of storing the N PIDs in the program map table is completed.

다음으로, 트랜스포트 패킷의 PID를 검출하여 레지스터(200)에 저장한다(제510단계).Next, the PID of the transport packet is detected and stored in the register 200 (step 510).

레지스터(200)에 저장된 PID를 캠(100)에 입력한다(제520단계).The PID stored in the register 200 is input to the cam 100 (step 520).

캠(100)에 저장된 N개의 PID들과 입력 PID의 비교동작을 동시에 수행하여 N개의 비교 결과를 발생한다(제530단계), 비교 동작 수행시에 어드레스 발생기(300)의 동작을 필요하지 않다. 레지스터(200)는 PID를 저장하고 캠(100)으로 전송한다. 캠(100)은 비교 동작 수행시에 모든 비트 라인 쌍들을 프리차아지하고 프리차아지 트랜지스터들(140)에 로우 레벨을 인가하여 매치 라인들(MLO, ML1, ..., MLN-1)을 프리차아지한다. 그리고, 13비트의 PID가 입력되면 각각의 비트 라인쌍들로 데이터를 전송한다. 비교기(13)는 메모리 셀에 저장된 데이터와 비트 라인쌍에 전송된 데이터가 동일하면 NMOS트랜지스터(N7)을 오프하고, 동일하지 않으면 NMOS트랜지스터(N7)를 온하여 매치 라인(ML)에 접지전압이 걸리도록 한다. 즉, 13비트의 PID값중 하나의 비트라도 일치하지 않을 때, 매치 라인에는 접지전압이 걸리게 된다. 그리고, 13비트의 PID값과 입력 PID값이 모든 비트가 일치하는 경우에, 매치 라인에는 전원전압이 걸리게 된다. 이와 같이 비교된 결과는 레지스터(110)에 저장되고 출력된다.The comparison operation between the N PIDs stored in the cam 100 and the input PID is simultaneously performed to generate N comparison results (operation 530). The operation of the address generator 300 is not required when the comparison operation is performed. The register 200 stores the PID and transmits it to the cam 100. The cam 100 precharges all bit line pairs and applies a low level to the precharge transistors 140 to perform match operation (MLO, ML1, ..., MLN-1). Precharge. When a 13-bit PID is input, data is transmitted to each bit line pair. The comparator 13 turns off the NMOS transistor N7 when the data stored in the memory cell and the data transmitted to the bit line pair are the same, and turns on the NMOS transistor N7 when the data stored in the memory cell are the same. Take it. In other words, when any one of the 13-bit PID values does not match, a match voltage is applied to the ground voltage. When all bits of the 13-bit PID value and the input PID value coincide with each other, the power supply voltage is applied to the match line. The result of the comparison is stored in the register 110 and output.

N개의 비교 결과를 논리합하여 플래그 신호(FLAG)를 발생한다(제540단계). 즉, 논리합 수단(400)은 레지스터(110)의 값중 1의 값이 하나 이상인 경우에는 플래그 신호(FLAG)를 1로 하고, 모두 0인 경우에는 플래그 신호(FLAG)를 0으로 한다.In operation 540, the flag signal FLAG is generated by ORing the N comparison results. That is, the logical sum means 400 sets the flag signal FLAG to 1 when the value of one of the values of the register 110 is one or more, and sets the flag signal FLAG to 0 when all of the values of the register 110 are zero.

다음으로, 플래그 신호(FLAG)가 1인지를 판단한다(제550단계).Next, it is determined whether the flag signal FLAG is 1 (operation 550).

만일, 플래그 신호가 1인 경우에는 레지스터(200)에 저장된 PID를 가진 패킷에 대한 해당 디코딩 동작을 수행하도록 한다(제560단계).If the flag signal is 1, the corresponding decoding operation on the packet having the PID stored in the register 200 is performed (operation 560).

그리고, 만일 플래그 신호가 0인 경우에는 레지스터(200)에 저장된 PID를 가진 패킷에 대한 디코딩 동작을 수행하지 않고 버리게 된다(제570단계).If the flag signal is 0, the flag signal is discarded without performing a decoding operation on the packet having the PID stored in the register 200 (step 570).

이제 메모리 셀에 저장된 데이터와 비트 라인쌍을 통하여 입력되는 데이터와의 비교 동작을 좀 더 상세하게 설명하면 다음과 같다.A comparison operation between data stored in a memory cell and data input through a bit line pair will now be described in more detail.

비교 동작시에는 워드 라인은 디스에이블되기 때문에 NMOS트랜지스터(N3,N4)는 오프상태이고, 만일 메모리 셀(120)에 저장된 데이터가 1이고, 비트 라인쌍을 통하여 입력되는 데이터가 1이라면, NMOS트랜지스터(N6)가 온되고 NMOS트랜지스터(N5)는 오프된다. 따라서, 반전 비트 라인(BLB)으로 전송되는 0의 데이터가 NMOS트랜지스터(N7)의 게이트 전극에 인가되어 NMOS트랜지스터(N7)는 오프된다. 따라서, 매치 라인(ML)의 상태에 영향을 끼치지 않게 된다. 반대로, 만일 메모리 셀(120)에 저장된 데이터가 1이고, 비트 라인쌍을 통하여 입력되는 데이터가 0이라면, NMOS트랜지스터(N6)가 오프되고, NMOS트랜지스터(N5)는 온된다. 따라서, 비트 라인(BL)으로 전송되는 1의 데이터가 NMOS트랜지스터(N7)의 게이트 전극에 인가되어 NMOS트랜지스터(N7)는 온된다. 따라서, 매치 라인에 전하가 접지를 통해 빠져나가게 된다.In the comparison operation, since the word lines are disabled, the NMOS transistors N3 and N4 are off, and if the data stored in the memory cell 120 is 1 and the data input through the bit line pair is 1, the NMOS transistors are disabled. N6 is turned on and the NMOS transistor N5 is turned off. Accordingly, zero data transmitted to the inverting bit line BLB is applied to the gate electrode of the NMOS transistor N7 to turn off the NMOS transistor N7. Therefore, the state of the match line ML is not affected. In contrast, if the data stored in the memory cell 120 is 1 and the data input through the bit line pair is 0, the NMOS transistor N6 is turned off and the NMOS transistor N5 is turned on. Therefore, the data of 1 transmitted to the bit line BL is applied to the gate electrode of the NMOS transistor N7, so that the NMOS transistor N7 is turned on. Thus, the charge on the match line is drawn through ground.

따라서, 캠(100)은 입력되는 PID와 미리 저장된 N개의 PID들과의 비교동작을 동시에 수행함으로써 동작 수행시간을 줄일 수 있게 된다. 즉, 종래 기술에서는 최악의 경우에는 N번의 비교동작이 필요하지만, 본 발명에서는 한 번의 비교동작만 수행하면 된다.Accordingly, the cam 100 can reduce the operation execution time by simultaneously performing a comparison operation between the input PID and N PIDs stored in advance. That is, in the prior art, in the worst case, N comparison operations are required, but in the present invention, only one comparison operation needs to be performed.

본 발명의 엠펙 시스템 디코더의 디멀티플렉서의 PID 필터는 프로그램 맵 테이블에 저장된 PID들과 입력 패킷의 PID를 비교하는 동안 수행시에 캠을 이용하여 한 번의 비교 동작만으로 캠에 미리 저장된 PID들과 입력 패킷의 PID를 일치여부를 알 수 있다.The PID filter of the demultiplexer of the MPEG system decoder according to the present invention compares the PIDs stored in the program map table with the PIDs of the input packet. You can see if the PID matches.

따라서, PID 필터의 동작 수행시간이 단축되는 장점이 있다.Therefore, there is an advantage that the operation execution time of the PID filter is shortened.

Claims (2)

복수개의 비트 라인쌍들, 복수개의 워드 라인들, 상기 워드 라인과 비트 라인 쌍 사이에 연결되고 프로그램 맵 테이블의 소정수의 소정 비트의 PID를 저장하기 위한 복수개의 메모리 셀들, 복수개의 매치 라인들, 비교 동작시에 상기 매치 인들을 각각 프리차아지하기 위한 복수개의 프리차아지 수단들, 상기 비트 라인쌍 사이에 연결되고 상기 비교 동작시에 상기 메모리 셀들에 저장된 소정수의 소정 비트의 PID들과 상기 비트 라인쌍으로부터 전송되는 소정 비트의 PID를 동시에 비교하여 소정수의 비교 결과를 상기 매치 라인으로 전송하기 위한 복수개의 비교 수단들, 및 상기 복수개의 매치 라인들로 부터의 비교 결과들을 저장하기 위한 레지스터를 구비한 메모리 장치 ; 상기 소정 비트의 PID를 저장하기 위한 PID 저장수단 ; 상기 메모리 장치로 어드레스를 발생하기 위한 어드레스 발생수단 ; 및 상기 레지스터 부터의 출력 데이터를 논리합PID를 저장하고 상기 메모리 장치로 입력하기 하여 최종 결과를 출력하는 논리합 수단을 구비한 것을 특징으로 하는 엠펙 시스템 디코더의 디멀티플렉서의 패킷 식별 필터.A plurality of bit line pairs, a plurality of word lines, a plurality of memory cells connected between the word line and the bit line pair, for storing a predetermined number of predetermined bits of PID of a program map table, a plurality of match lines, A plurality of precharge means for precharging the match ins respectively during a compare operation, a predetermined number of predetermined number of PIDs stored between the bit line pairs and stored in the memory cells during the compare operation; A plurality of comparison means for simultaneously comparing a PID of a predetermined bit transmitted from a pair of bit lines to transmit a predetermined number of comparison results to the match line, and a register for storing comparison results from the plurality of match lines A memory device having a; PID storage means for storing the PID of the predetermined bit; Address generating means for generating an address to the memory device; And a logical sum means for storing the logical sum PID from the register and inputting the output data to the memory device to output a final result. 제1항에 있어서, 상기 비교 수단은 상기 메모리 셀에 저장된 데이터에 응답하여 온되어 상기 비트 라인쌍 중반전 비트 라인으로 부터의 데이터를 전송하는 제1NMOS트랜지스터 ; 상기 메모리 셀에 저장된 데이터의 반전된 데이터에 응답하여 온되어 상기 비트 라인쌍 중 비트 라인으로 부터의 데이터를 전송하는 상기 제2NMOS트랜지스터 ; 및 상기 제1 및 제2NMOS트랜지스터로 부터 전송되는 데이터에 응답하여 온되고 온시에 접지전압을 상기 매치 라인으로 연결하기 위한 제3NMOS트랜지스터를 구비한 것을 특징으로 하는 엠펙 시스템 디코더의 디멀티플렉서의 패킷 식별 필터.2. The apparatus of claim 1, wherein the comparing means comprises: a first NMOS transistor that is turned on in response to data stored in the memory cell to transfer data from the bit line pair inverted bit line; The second NMOS transistor being turned on in response to inverted data of data stored in the memory cell to transfer data from a bit line of the pair of bit lines; And a third NMOS transistor configured to connect a ground voltage to the match line when turned on in response to data transmitted from the first and second NMOS transistors and connected to the match line.
KR1019960062035A 1996-12-05 1996-12-05 Packet identification filter of demultiplexer in mpeg system decoder KR100218280B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1019960062035A KR100218280B1 (en) 1996-12-05 1996-12-05 Packet identification filter of demultiplexer in mpeg system decoder
JP28212197A JPH10174072A (en) 1996-12-05 1997-10-15 Packet identifier filter for mpeg2 demultiplexer and method for filtering the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960062035A KR100218280B1 (en) 1996-12-05 1996-12-05 Packet identification filter of demultiplexer in mpeg system decoder

Publications (2)

Publication Number Publication Date
KR19980044024A KR19980044024A (en) 1998-09-05
KR100218280B1 true KR100218280B1 (en) 1999-09-01

Family

ID=19485944

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960062035A KR100218280B1 (en) 1996-12-05 1996-12-05 Packet identification filter of demultiplexer in mpeg system decoder

Country Status (2)

Country Link
JP (1) JPH10174072A (en)
KR (1) KR100218280B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19841371B4 (en) * 1998-09-10 2006-04-20 Grundig Multimedia B.V. Method and device for evaluating a digital data stream
KR100390812B1 (en) * 2000-08-19 2003-07-10 주식회사 하이닉스반도체 PSI data filtering device for MPEG-2 system and control method thereof

Also Published As

Publication number Publication date
JPH10174072A (en) 1998-06-26
KR19980044024A (en) 1998-09-05

Similar Documents

Publication Publication Date Title
US6137707A (en) Method and apparatus for simultaneously performing a plurality of compare operations in content addressable memory device
JP4487237B2 (en) Semiconductor device
US4965767A (en) Associative memory having simplified memory cell circuitry
US20020080638A1 (en) Content addressable memory device capable of being used as binary CAM device or as ternary CAM device and structure method therefor
JPH04325996A (en) Associated semiconductor memory device
EP1376607B1 (en) Content addressable memory device and method of operating same
JPH06259973A (en) Associative storage device
US7068527B2 (en) Match line sensing amplifier for content addressable memory
EP0618589B1 (en) Nonvolatile storage device
JPH0512870A (en) Multi-port ram memory cell
US7251707B1 (en) Content based content addressable memory block enabling using search key
KR100218280B1 (en) Packet identification filter of demultiplexer in mpeg system decoder
KR970017013A (en) Content addressable memory for data processing systems
JP2004295967A (en) Association memory
JPH10134584A (en) Associative memory
KR100684115B1 (en) Range-matching cell and content adressable memories using the same
KR970003244A (en) Semiconductor memory device
US7187570B2 (en) Content addressable memory architecture providing improved speed
JPH07105689A (en) Associative memory
US6804132B2 (en) Circuit for multiple match hit CAM readout
JP2007004888A (en) Semiconductor memory device and its control method
US20050262403A1 (en) Apparatus and method for single operation read-modify-write in a bit-accessible memory unit memory
JPH05151785A (en) Content-addressable memory
JP4482958B2 (en) Multi data storage memory
JPH10199279A (en) Decoder circuit for flash memory

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: 20070514

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee