KR100259139B1 - Input buffer controlling apparatus for audio decorder - Google Patents

Input buffer controlling apparatus for audio decorder Download PDF

Info

Publication number
KR100259139B1
KR100259139B1 KR1019930030563A KR930030563A KR100259139B1 KR 100259139 B1 KR100259139 B1 KR 100259139B1 KR 1019930030563 A KR1019930030563 A KR 1019930030563A KR 930030563 A KR930030563 A KR 930030563A KR 100259139 B1 KR100259139 B1 KR 100259139B1
Authority
KR
South Korea
Prior art keywords
signal
input buffer
ram
data
audio
Prior art date
Application number
KR1019930030563A
Other languages
Korean (ko)
Other versions
KR950020645A (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 KR1019930030563A priority Critical patent/KR100259139B1/en
Publication of KR950020645A publication Critical patent/KR950020645A/en
Application granted granted Critical
Publication of KR100259139B1 publication Critical patent/KR100259139B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Television Receiver Circuits (AREA)

Abstract

PURPOSE: An apparatus for controlling an input buffer for an audio decoder is provided to reduce a time for decoding by using an input buffer for storing an audio bit stream in a memory and constructing a device writing in a memory in short time and accessing to a memory directly and performing a time sharing control. CONSTITUTION: A signal detecting unit(10) generates a frame pulse by analyzing an inputted and encoded audio bit stream and detecting a synchronizing signal included in the bit stream. A buffer control unit(20) supplies 24-bit data in an input buffer(30) and generates an input buffer writing clock. The input buffer(30) consists of 128*24-bit FIFO memory. A buffer control unit 2(40) reads data from the input buffer(30) and controls a writing operation in a RAM(50). The RAM(50) stores data generated from an audio 2 frame and an audio decoder. A memory reading/writing control unit(60) controls a RAM writing/reading operation. A decoding unit(70) inputs and decodes audio 1 frame data being stored in the RAM(50) by an audio data algorithm. A 33MHz oscillator(80) offers a decoder and a RAM reading/writing clock. A 10-frequency divider(90) adjusts a data processing time of the input buffer(30) and the RAM(50).

Description

오디오 디코더용 입력 버퍼 제어장치Input Buffer Control for Audio Decoder

제 1도는 오디오 디코더 입력버퍼제어장치의 전체 구성도,1 is an overall configuration diagram of an audio decoder input buffer control device,

제 2도는 제 1도의 동기신호검출부에 대한 구성도,2 is a block diagram of a synchronization signal detector of FIG.

제 3도는 제 1도의 버퍼제어부 1에 대한 구성도,3 is a configuration diagram of the buffer control unit 1 of FIG.

제 4도는 제 1도의 버퍼 제어부 2에 대한 구성도,4 is a configuration diagram of the buffer control unit 2 of FIG.

제 5도는 제 1도의 메모리 읽기/쓰기 제어부에 대한 구성도,5 is a configuration diagram of the memory read / write control unit of FIG.

제 6도는 제 1도의 동작파형도,6 is an operating waveform diagram of FIG.

(a)는 동기신호검출부의 동작파형도,(a) is an operation waveform diagram of a synchronization signal detector;

(b)는 램 동작 및 디코더 동작 파형도이다.(b) is a waveform diagram of a RAM operation and a decoder operation.

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

10 : 동기신호 검출부 11 : 비교기10: synchronization signal detection unit 11: comparator

12 : 기준데이타 13 : 프레임 카운터12: reference data 13: frame counter

14 : 비동기 제어부 15 : 프레임 카운터 제어부14: asynchronous control unit 15: frame counter control unit

16 : 프레임 펄스 카운터 17 : 비트 지연부16: frame pulse counter 17: bit delay unit

20 : 버퍼제어부 1 21 : 시리얼/패러렐 변환부20: buffer controller 1 21: serial / parallel converter

22, 62 : 플립플롭 23 : 24 분주기22, 62: flip-flop 23: 24 divider

24 : 16 분주기 25 : 쓰기완료 신호발생부24: 16 divider 25: Write completion signal generator

30 : 입력 버퍼 40 : 버퍼제어부 230: input buffer 40: buffer control unit 2

41 : 로직엔드 42 : 리셋신호 발생부41: logic end 42: reset signal generator

50 : 램 60 : 메모리 쓰기/읽기 제어부50: RAM 60: Memory Write / Read Control

61 : 10비트 카운터 63 : 어드레스 디코더61: 10-bit counter 63: address decoder

64 : 선택기 65 : 램칩선택 신호 발생부64: selector 65: ram chip select signal generator

66 : 쓰기/읽기 제어부 70 : 디코더66: write / read control 70: decoder

80 : 33MHz 오실레이터부 90 : 10분주기80: 33 MHz oscillator 90: 10 minute period

본 발명의 차세대 텔레비젼인 고화질 텔레비젼의 오디오 분야에서, 오디오 디코더의 직접적인 하드웨어 제작 및 응용집적회로(Application Specific Integrated Circuits:ASIC)설계에 적용 가능하며, 다른 디지탈 오디오 데이타 압축 신장 장치에도 적용 가능한 오디오 디코더용 입력버퍼 제어장치에 관한 것이다.In the field of audio of high-definition television, the next-generation television of the present invention, the audio decoder is applicable to direct hardware production and application specific integrated circuits (ASIC) design of the audio decoder, and also applicable to other digital audio data compression extension devices. It relates to an input buffer control device.

일반적으로 디코더는 특정의 부호와 신호를 수신하고, 여기서 원래의 정보신호를 찾아 내기 위해 사용되는 장치로서, 본 발명은 오디오디코더를 설계, 제작시 오디오 비트 스트림을 메모리에 저장하기 위하여 입력버퍼를 사용하고, 짧은 시간내에 메모리에 쓰기 작업을 하는 장치를 구성하며, 직접적인 메모리 접근 및 시분할 제어에 의하여 디코딩시간을 줄임을 특징으로 한다.Generally, a decoder is a device used to receive a specific code and signal, and to find an original information signal. The present invention uses an input buffer to store an audio bit stream in a memory when designing and manufacturing an audio decoder. In addition, a device for writing to a memory in a short time is configured, and the decoding time is reduced by direct memory access and time division control.

즉, 본 발명 오디오 디코더용 입력버퍼제어장치는 입력된 엔코딩된 오디오 비트 스트림을 분석, 비트스트림에 포함되어 있는 동기 신호를 검출하여, 프레임 펄스를 발생시키는 동기 신호 검출부와; 입력 버퍼에 24비트의 데이타를 공급하고, 입력 버퍼 쓰기 클럭을 발생시키는 버퍼 제어부 1과; 128*24 비트의 선입선출 메모리로 구성되는 입력 버퍼와; 입력 버퍼로 부터 데이타를 읽어 램에 쓰기 동작을 제어하는 버퍼 제어부 2와; 오디오 2 프레임 및 오디오 디코더에서 발생되는 데이타를 저장하는 램과; 램 쓰기/읽기 동작을 제어 하는 메모리 읽기/쓰기 제어부와; 오디오 데이타 신장 알고리즘에 의하여 램에 저장되어 있는 오디오 1 프레임 데이타를 입력 디코딩을 하는 디코더부와; 디코더 및 램읽기/쓰기 클럭을 제공하는 33MHZ 오실레이터와 : 33MHZ 오실레이터를 분주하여, 입력 버퍼 및 램의 데이타 처리 시간을 조정하는 10 분주기로 구성된다.That is, the input buffer control apparatus for an audio decoder according to the present invention comprises: a sync signal detector for analyzing the input encoded audio bit stream and detecting a sync signal included in the bit stream to generate a frame pulse; A buffer controller 1 for supplying 24-bit data to the input buffer and generating an input buffer write clock; An input buffer consisting of a 128 * 24 bit first-in first-out memory; A buffer controller 2 which reads data from an input buffer and controls a write operation to RAM; A RAM for storing data generated from an audio 2 frame and an audio decoder; A memory read / write controller configured to control a RAM write / read operation; A decoder which input-decodes the audio 1 frame data stored in the RAM by an audio data extension algorithm; 33MHZ oscillator, which provides a decoder and RAM read / write clock, and a 10M frequency divider that adjusts the input buffer and RAM data processing time by dividing the 33MHZ oscillator.

이하, 본 발명의 일실시예를 첨부도면을 참조로 하여 설명하면 다음과 같다.Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.

제 1도는 오디오 디코더용 입력 버퍼 제어 자치의 전체 구성도로서, 입력된 엔코딩된 오디오 비트 스트림을 분석, 비트스트림을 분석, 비트스트림에 포함되어 있는 동기 신호를 검출하여, 프레임 펄스를 발생 시키는 동기 신호 검출부(10)와; 입력 버퍼(30)에 24비트의 데이타를 공급하고 입력 버퍼 쓰기 클럭을 발생시키는 버퍼 제어부(20)와; 128*24 비트의 선입선출 메모리로 구성되는 입력 버퍼(30)와; 입력 버퍼(30)로 부터 데이타를 읽어 램(50)에 쓰기 동작을 제어하는 버퍼 제어부 2(40)와; 오디오 2 프레임 및 오디오 디코더에서 발생되는 데이타를 저장하는 램(50)과; 램쓰기/읽기 동작을 제어 하는 메모리 읽기/쓰기 제어부(60)와; 오디오 데이타 신장 알고리즘에 의하여 램(50)에 저장되어 있는 오디오 1 프레임 데이타를 입력 디코딩을 하는 디코더부(70)와; 디코더 및 램 읽기/쓰기 클럭을 제공하는 33MHz 오실레이터와; 33MHz 오실레이터(80)를 분주하여, 입력 버퍼(30)및 램(50)의 데이타 처리 시간을 조정하는 10 분주기(90)로 구성된다.1 is an overall configuration diagram of an input buffer control autonomy for an audio decoder. A sync signal for generating a frame pulse by analyzing an input encoded audio bit stream, analyzing a bit stream, and detecting a sync signal included in the bit stream. A detection unit 10; A buffer controller 20 for supplying 24-bit data to the input buffer 30 and generating an input buffer write clock; An input buffer 30 composed of a 128 * 24 bit first-in first-out memory; A buffer control unit 2 (40) which reads data from the input buffer 30 and controls a write operation to the RAM 50; A RAM 50 for storing the audio 2 frames and the data generated in the audio decoder; A memory read / write control unit 60 for controlling a RAM write / read operation; A decoder 70 for input decoding audio 1 frame data stored in the RAM 50 by an audio data extension algorithm; A 33 MHz oscillator providing a decoder and a RAM read / write clock; A 33 MHz oscillator 80 is divided into 10 dividers 90 which adjust the data processing time of the input buffer 30 and the RAM 50.

제 2도는 제 1도의 동기신호 검출부(10)에 대한 구성도로서, 입력된 엔코딩된 오디오 비트 스트림신호(S1)를 에프에프에이취(FFFH) 값을 갖는 기준데이타(12)와 비교하여 같으면 동기일치신호(S3)을 출력하는 비교기(11)와; 6144카운트를 시작하여 카운트가 완료되면 카운트완료신호(S4)를 출력하는 프레임 카운터(13)와; 상기 동기일치신호(S3)와 카운트완료신호(S4)를 입력하여 두 신호 모두'0'일때, 아이에프피(IFP)신호 (S5)를 출력하는 비동기 제어부(14)와; 상기 아이에프피(IFP) 신호(S5)를 입력하여 프레임카운터(13)를 리셋신호(S6)로 재동작시키는 프레임카운터제어부(15)와; 프레임카운터 제어부(15)의 출력신호 이에프피(EFP)신호 (S7)를 입력하여 에프피(FP) 신호(S8)로 출력하는 에프피(FP)카운터(16)와; 입력된 오디오 비트 스트림 신호(S1)를 데이타1(S9)으로 출력하는 12비트 지연부(17)로 구성된다.FIG. 2 is a block diagram of the synchronization signal detecting unit 10 of FIG. 1, and compares the input encoded audio bit stream signal S1 with the reference data 12 having the FFFH value, if the synchronization is equal. A comparator 11 for outputting a signal S3; A frame counter 13 which starts counting 6144 and outputs a count completion signal S4 when the count is completed; An asynchronous controller 14 for inputting the synchronization match signal S3 and the count completion signal S4 and outputting an IFP signal S5 when both signals are '0'; A frame counter controller 15 for inputting the IFP signal S5 to reactivate the frame counter 13 with a reset signal S6; An FFP counter 16 which inputs an output signal EFP signal S7 of the frame counter control unit 15 and outputs it as an FFP signal S8; And a 12-bit delay section 17 for outputting the input audio bit stream signal S1 as data 1 S9.

제 3도는 제 1 도의 버퍼제어부1(20)에 대한 구성도로서, 동기신호 검출부(10)에서 출력된 1비트 시리얼 데이타 (S9)를 24비트 페러렐 데이타로 변환시키는 시리얼/페러렐 변환부(21)와; 상기 출력된 24비트 패러렐 데이타를 24분주기(23)의 클럭신호(S1)로 래치하는 플립플롭(12)과; 에프피(FP) 카운터(16)의 출력신호 에프피(FP) 신호 (S8)에 의해 동기되는 24 분주기(23)와; 상기 24분주된 클럭신호(S1)를 16분주하여 쓰기완료 신호발생부(25)로 입력하는 16분주기(24)와; 클럭신호(S2)로 쓰기/16 시간 단위로 입력버퍼(30)의 출력신호인 풀플래그(FF) 신호(S14)가 발생할 때 쓰기동작이 완료되었다는 쓰기 완료신호(S13)를 출력하는 쓰기완료신호발생부(25)로 구성된다.3 is a configuration diagram of the buffer control unit 1 (20) of FIG. 1, and a serial / parallel conversion unit 21 for converting 1-bit serial data S9 output from the synchronization signal detection unit 10 into 24-bit parallel data. Wow; A flip-flop (12) for latching the output 24-bit parallel data with a clock signal (S1) of a 24 divider (23); A 24 divider 23 synchronized with the output signal FFP signal S8 of the FFP counter 16; A 16 divider 24 which divides the 24 divided clock signals S1 into 16 and inputs them to the write completion signal generator 25; Write completion signal outputting a write completion signal S13 indicating that a write operation is completed when the full flag FF signal S14, which is an output signal of the input buffer 30, is generated as the clock signal S2 / 16-hour unit. It is comprised by the generation part 25.

제 4도는 제 1도의 버퍼제어부2(40)에 대한 구성도로서, 입력된 쓰기 완료신호(S13)가 로직'1'일때, 클럭 시스(CK SYS)(S16)의 3318 MHZ의 클럭을 입력하여 쓰기완료신호(S13)를 읽기신호1(S17)로 출력하는 로직엔드(41)와; 입력버퍼(30)의 오동작을 방지하기 위해 입력버퍼(30)의 엠프티플래그(EF)신호(S15)와 클럭신호(S2)에 의해 리셋신호(S18)를 입력버퍼(30)로 출력하는 리셋신호발생부(42)로 구성된다.4 is a block diagram of the buffer control unit 2 40 of FIG. 1. When the write completion signal S13 is logic '1', the clock of the 3318 MHZ of the clock sheath CK SYS S16 is inputted. A logic end 41 for outputting a write completion signal S13 as a read signal 1 S17; Reset to output the reset signal S18 to the input buffer 30 by the empty flag EF signal S15 and the clock signal S2 of the input buffer 30 to prevent a malfunction of the input buffer 30. It consists of a signal generator 42.

제 5도는 제 1도의 메모리 읽기/쓰기 제어부(60)에 대한 구성도로서, 에프피(FP)신호(S20)에 의해 동기되어, 시리얼 입력 클럭 읽기 신호1(S17)을 카운트하여 10비트의 패러렐어드레스(S21)를 만드는 10비트 카운터(61)와; 쓰기완료신호(S19)와 읽기 신호1(S17)을 입력하여 램칩선택신호1(S22)를 램칩선택신호 발생부(61)로 출력하는 플립플롭(62)과; 디코더(70)에서 출력되는 어드레스데이타(S23)를 분석하여 램접근어드레스(S24)를 만들어 선택기(64)로 출력하고, 램 칩선택신호2(S25)와 읽기신호2(S26)을 만드는 어드레스 디코더(63)와; 셀렉트신호를 제어신호로 하여, 입력된 10비트의 패러렐어드레스(S21)와 램 접근어드레스(S24)를 선택하여 어드레스(S30)로 출력하는 선택기(64)와; 플립플롭(62)의 출력신호 램칩선택신호1(S22)와 어드레스디코더(63)의 출력신호 램칩선택신호 2(S25)를 선택기(64)의 제어 신호에 의해 선택하는 램칩선택 신호 발생부(65); 읽기 신호1(S17)과 읽기신호2(S26)을 입력받아 선택기(64)의 제어신호에 따라 램(50)의 쓰기신호선(S28)과 읽기 신호선(S29)으로 선택하여 출력하는 쓰기/읽기 제어부(66)로 구성된다.FIG. 5 is a block diagram of the memory read / write control unit 60 of FIG. 1, which is synchronized with the FFP signal S20 to count the serial input clock read signal 1 S17 to parallel 10 bits. A 10-bit counter 61 for generating an address S21; A flip-flop 62 for inputting the write completion signal S19 and the read signal 1 S17 to output the RAM chip select signal 1 S22 to the RAM chip select signal generator 61; Analyzing the address data (S23) output from the decoder 70 to make a RAM access address (S24) to output to the selector 64, the address decoder for creating a RAM chip select signal 2 (S25) and read signal 2 (S26) 63; A selector 64 which selects the input 10-bit parallel address S21 and the RAM access address S24 as the control signal and outputs them to the address S30; RAM chip select signal generator 65 for selecting the output signal RAM chip select signal 1 (S22) of flip-flop 62 and the output signal RAM chip select signal 2 (S25) of address decoder 63 by the control signal of selector 64. ); A write / read control unit which receives the read signal 1 (S17) and the read signal 2 (S26) and selects and outputs the write signal line S28 and the read signal line S29 of the RAM 50 according to the control signal of the selector 64. It consists of (66).

상기와 같이 구성된 본 발명은, 동기신호검출부(10)에서 입력된 엔코딩된 오디오 비트 스트립(S1)은 비교기(11)에서, 에프에프에이취(FFFH)값을 갖는 기준 데이타(12)와 비교 같으면, 동기 일치 신호(S3)가 출력된다. 이때 이 신호는 로직'0'이 된다. 한편 프레임 카운터(13)에서는 6144 카운트를 시작하여 카운트가 완료되면 카운트완료신호(S4)를 출력한다. 이와 같이 출력된 동기일치신호(S3)및, 카운트완료신호(S4)는 비동기 제어부(14)에 입력되어 두 신호 모두 '0'일때, 아이에프피(IFP)신호(S5)가 출력되고 이것은 로직 '0'이 된다. 이 신호(S5)는 프레임 카운터 제어부(15)에 입력되고, 출력단을 통하여, 프레임 카운터(13)를 재 동작 시키는 기능을 갖는다. 프레임 카운터 제어부(15)에서는 아이에프피(IFP)신호(S5) 카운트 3회 이상 연속으로 입력되면, 이에프피(EFP)신호(S7)를 출력하여 에프피(FP)카운터(16)에서 에프피(FP)신호(S8)를 출력하도록 한다. 한편으로 입력된 오디오 신호(S1)는 12비트 지연부(17)에 의해 데이타1(S9)로 출력된다. 버퍼제어부1(20)은 동기 신호 검출부(10)에서 출력된 데이타1(S9)과 에프피(FP)신호(S8)와 클럭신호(S2)및 입력 버퍼(30)에서 출력된 입력 버퍼 풀플래그(FF)신호(S14)를 입력 받는다. 시리얼/패러렐변환부(21)에서는 1비트 시리얼 데이타(S9)를 24비트 페러렐 데이타로 변환시키며, 이것은 24 분주기(23)에서 출력되는 클럭을 이용하여 플립플롭(22)에서 입력된 24비트 에이타를 래치시킨다. 이 출력은 데이타2(S10)로 나타난다. 이때 24분주기(23)는 에프피(FP) 신호(S8)에 의해 동기된다. 24 분주된 클럭(S11)은 쓰기신호가 되어 입력 버퍼(30)의 쓰기 클럭(S12)으로 상용된다. 또한 이 신호(S11)은 다시 16 분주기(24)에 의해 16 분주되어 쓰기 완료 신호 발생부(25)에 입력된다. 쓰기 완료 신호 발생부(25)는, 클럭 단위로 쓰기/16시간 단위로 입력 버퍼 출력 신호 플플래그(FF)가 발생 할때 쓰기 동작이 완료 되었음을 나타내는 쓰기완료 신호(S13)를 출력한다.According to the present invention configured as described above, if the encoded audio bit strip S1 input from the synchronization signal detection unit 10 is equal to the reference data 12 having the FFFH value in the comparator 11, The synchronization coincidence signal S3 is output. This signal is then logic '0'. On the other hand, the frame counter 13 starts counting 6144 and outputs a count completion signal S4 when the count is completed. When the synchronization match signal S3 and the count completion signal S4 output as described above are input to the asynchronous control unit 14 and both signals are '0', the IFP signal S5 is output and this is a logic. Is '0'. This signal S5 is input to the frame counter control unit 15 and has a function of reactivating the frame counter 13 through an output terminal. In the frame counter control unit 15, if the IFP signal S5 is input three or more times in a row, the EFP signal S7 is output and the FFP counter 16 is connected to the FFP. Outputs the (FP) signal S8. On the other hand, the input audio signal S1 is output as the data 1 S9 by the 12-bit delay unit 17. The buffer control unit 1 (20) is the data buffer (S9) and FFP (S8) and the clock signal (S2) output from the synchronization signal detection unit 10 and the input buffer full flag output from the input buffer (30) The (FF) signal S14 is input. The serial / parallel converter 21 converts 1-bit serial data S9 into 24-bit parallel data, which is a 24-bit signal inputted from the flip-flop 22 using a clock output from the 24 divider 23. Latch. This output is represented by data 2 (S10). At this time, the 24 divider 23 is synchronized by the FFP signal S8. The 24 divided clock S11 becomes a write signal and is commonly used as the write clock S12 of the input buffer 30. The signal S11 is further divided into 16 by the 16 divider 24 and input to the write completion signal generator 25. The write completion signal generator 25 outputs a write completion signal S13 indicating that a write operation is completed when the input buffer output signal flag FF is generated in units of clocks and in units of 16 hours.

버퍼제어부2(40)는 입력된 쓰기완료 신호(S13)가 로직'1'일때, 즉, 입력 버퍼(30)에서 동작이 끝났을때, 클럭시스(S16)의 33/8MHZ의 클럭을 입력하고, 쓰기 완료 신호(S13)는 로직 엔드(41)에 의해, 입력버퍼(30)읽기 클럭인 읽기신호1(S17)을 출력한다. 리셋 신호 발생부(42)에서는 입력버퍼(30)의 오동작을 방지하기 위하여 순차적인 쓰기, 읽기 동작이 완료 되면 입력버퍼(30)인 선입선출 메모리를 리셋하고자 신호리셋(S18)을 출력한다. 이 신호(S18)는 입력 버퍼(30)의 엠프티플래그(EP)신호(S15)를 입력 받아, 클럭신호(S2)기간동안 리셋신호, 즉 로직 '0'을 출력하도록 제어 한다.When the input write completion signal S13 is logic '1', that is, when the operation is completed in the input buffer 30, the buffer control unit 2 40 inputs a clock of 33 / 8MHZ of the clock system S16, The write completion signal S13 outputs the read signal 1 S17, which is the input buffer 30 read clock, by the logic end 41. In order to prevent a malfunction of the input buffer 30, the reset signal generator 42 outputs a signal reset S18 to reset the first-in, first-out memory that is the input buffer 30 when the sequential write and read operations are completed. The signal S18 receives the empty flag EP signal S15 of the input buffer 30 and controls to output a reset signal, that is, a logic '0', during the clock signal S2 period.

메모리 읽기/쓰기 제어부(60)는 10비트 카운터 (61)가 에프피(FP)신호(S20)에 의해 동기되어, 시리얼 입력 클럭 읽기신호1(S17)을 카운트하여 10비트의 패러렐 어드레스(S21)를 만든다. 이 장치(61)에서 출력된 10비트 출력 데이타(S21)는 선택기(64)에 입력된다. 또한, 디코더(70)에서 출력되는 어드레스 데이타(S23)를 분석하여, 램 접근 어드레스(S4)를 만들어 선택기(64)에 출력한다. 또한, 어드레스 디코더(63)에서는 램칩선택 신호2(S25)를 만들고, 읽기신호2(S26)를 만든다. 램칩선택신호 발생부(65)에서는 플립플롭(62)에서 출력되는 램칩선택신호1(S22)와 어드레스 디코더(63)에서 출력되는 램칩선택신호 2(S25)를 입력받아 램칩선택신호1(S22)이 로직 '0'일때는 램칩선택신호1(S22)을 램칩선택신호(S27)로 출력하고, 램칩선택신호1(S22)이 로직'1'이고, 램칩선택신호2(S25)가 로직 '0'일때, 램칩선택신호(S27)이 로직'0'을 출력하며, 선택기(64)의 셀렉트 신호는 램칩선택 신호1(S22)이 로직 '0'이면 로직 '0'을, 램칩선택신호1(S22)이 로직 '1'이면 로직 '1'을 출력하도록 제어한다. 선택기(64)에서는, 셀렉트신호를 제어신호로 입력된 10비트의 패러렐어드레스(S21)와 램접근어드레스(S4) 신호를 선택하여, 어드레스(S30)로 출력한다. 즉, 셀렉트신호가 로직'0'이면, 10비트의 패러렐어드레스(S21)를 선택하고, 신호가 로직 '1'이면, 램접근어드레스(S24)를 선택하여, 어드레스(S30)에 출력한다. 쓰기/읽기 제어부(66)에서는 입력된 읽기신호1(S17) 및 읽기신호2(S26)를, 셀렉트신호의 로직 상태에 따라 그 제어 신호를 쓰기신호선(S28)과 읽기신호선(S29)에 출력한다. 셀렉트신호가 로직 '0'이면, 쓰기 신호선(S28)에는 입력 읽기 신호1(S17)을 그대로 출력하고, 읽기신호선(S29)에는 로직 '1'을 출력하며, 셀렉트신호가 로직'1'이면, 쓰기신호선(S28)에는 로직'1'이 출력되고, 읽기신호선(S29)에는 입력읽기신호2(S26)가 그대로 출력하게 된다.In the memory read / write control unit 60, the 10-bit counter 61 is synchronized with the FFP signal S20 to count the serial input clock read signal 1 S17 so that the 10-bit parallel address S21 is used. Make The 10-bit output data S21 output from this device 61 is input to the selector 64. In addition, the address data S23 output from the decoder 70 is analyzed to generate a RAM access address S4 and output to the selector 64. In addition, the address decoder 63 generates a RAM chip select signal 2 (S25) and a read signal 2 (S26). The RAM chip select signal generator 65 receives the RAM chip select signal 1 (S22) output from the flip-flop 62 and the RAM chip select signal 2 (S25) output from the address decoder 63, and then the ram chip select signal 1 (S22). When this logic is '0', the RAM chip select signal 1 (S22) is output as the RAM chip select signal S27, the RAM chip select signal 1 (S22) is logic '1', and the RAM chip select signal 2 (S25) is logic '0'. When the RAM chip select signal S27 outputs a logic '0', the select signal of the selector 64 selects a logic '0' when the RAM chip select signal 1 (S22) is a logic '0' and a RAM chip select signal 1 ( If S22) is a logic '1', the controller 22 outputs a logic '1'. The selector 64 selects the 10-bit parallel address S21 and the RAM access address S4 signal input as the control signal, and outputs them to the address S30. That is, when the select signal is logic '0', the 10-bit parallel address S21 is selected. When the signal is logic '1', the RAM access address S24 is selected and output to the address S30. The write / read control unit 66 outputs the input read signal 1 (S17) and read signal 2 (S26) to the write signal line S28 and the read signal line S29 according to the logic state of the select signal. . If the select signal is logic '0', the input read signal 1 (S17) is directly output to the write signal line S28, and the logic '1' is output to the read signal line S29, and if the select signal is logic '1', The logic '1' is output to the write signal line S28, and the input read signal 2 (S26) is output to the read signal line S29 as it is.

상기와 같이 동작하는 본 발명 입력버퍼제어장치는 제6도와 같은 동작 파형도를 만들면서 동작한다.The input buffer control device of the present invention operating as described above operates while making an operating waveform diagram as shown in FIG.

(a)는 동기신호 검출부(10)의 동작 파형도로서, 입력데이타(S1)는 오디오 압축 신장 알고리즘에 의하여, 컴퓨터 모의시험으로 엔코딩된 비트스트림으로 여기에는, 동기신호를 포함하는 32 비트 헤더데이타 및, CRC-16 에러 체크 데이타, 스케일 팩터 정보, 스케일 팩터, 비트 할당 정보, 오디오 데이타, 그리고, 부가 데이타 등으로 1 프레임을 구성하고, 이것은 6144비트의 크기를 갖는다. 클럭신호(S2)는 입력되는 오디오 비트스트림(S1)의 전송클럭으로, 256KHZ 주파수를 갖는 클럭이다. 프레임펄스(EP)(S8)는 오디오 1프레임의 선두 12비트에 동기 신호가 들어 있는데, 이 출력신호(S8)는 오디오 프레임의 선두를 알리는 프레임 펄스(FP)(S8)를 나타낸다.(a) is an operation waveform diagram of the synchronization signal detection unit 10. The input data S1 is a bit stream encoded by a computer simulation test by an audio compression decompression algorithm, and includes 32-bit header data including a synchronization signal. And one frame of CRC-16 error check data, scale factor information, scale factor, bit allocation information, audio data, and additional data, which has a size of 6144 bits. The clock signal S2 is a transmission clock of the input audio bitstream S1 and is a clock having a 256KHZ frequency. The frame pulse (EP) S8 contains a synchronization signal in the first 12 bits of one audio frame, and this output signal S8 represents a frame pulse FP (S8) indicating the beginning of the audio frame.

(b)는 프레임 펄스를 기준으로, 램쓰기 동작및 램 읽기 동작, 디코딩 동작 파형을 나타낸 것이다. 램쓰기 동작은 오디오 1 프레임당 일정시간 간격(1/162msec)으로 16회 이루어진다. 1회 쓰기동작은 (10/(33*106)*163.9usec)동안 이루어진다. 디코더(70)에서 디코딩을 하기 위하여, 램(50)의 데이타를 읽는 시간은 1 프레임 내에 램 쓰기 동작외의 어느 시간에도 가능하다. 오디오 데이타를 저장하는 램 읽기/쓰기 동작외의 시간에 디코딩을 할수 있다.(b) shows a RAM write operation, a RAM read operation, and a decoding operation waveform based on the frame pulse. The RAM write operation is performed at regular intervals per frame of audio (1/16). 2 msec) 16 times. One write operation is (10 / (33 * 10 6 ) * 16 3.9usec). For decoding at the decoder 70, the time for reading the data of the RAM 50 can be any time other than the RAM write operation in one frame. You can decode at a time other than the RAM read / write operation that stores the audio data.

이상에서 살펴본 바와 같이 본 발명에 따르면, 입력 버퍼용 선입선출 메모리의 크기를 최대한 줄이고, 이를 시간/분할 메모리 접근 및 디코딩 동작을 하고, 직접 메모리 접근 방식을 사용하여 디코더의 동작 시간을 단축시킴으로써, 하드웨어적으로 많은 양의 하드웨어를 줄이고, 실시간 단축시킴으로써, 하드웨어적으로 많은 양의 하드웨어를 줄이고, 실시간 디코딩 처리를 가능하게 하여 응용직접적회로(ASIC)하드웨어 설계시 게이트의 수를 줄이고, 칩설계를 간단히 할 수 있어 비용을 절감할 수 있으며, 오디오데이타 압축/신장 알고리즘을 사용하는 디지탈 위성방송과 데이타 전송장치에도 사용할 수 있다.As described above, according to the present invention, by reducing the size of the first-in, first-out memory for the input buffer as much as possible, the time / partition memory access and decoding operation, and shorten the operation time of the decoder using a direct memory approach, By reducing a large amount of hardware and shortening in real time, a large amount of hardware can be reduced in hardware and real-time decoding processing can be performed, thereby reducing the number of gates and simplifying chip design in ASIC hardware design. It can be used for digital satellite broadcasting and data transmission devices that use audio data compression / extension algorithms.

Claims (5)

입력 엔코딩된 오디오 비트스트림의 동기 신호(S1)를 검출하는 동기 신호 검출 장치(10)와; 입력 버퍼(30)의 쓰기 동작을 제어하는 버퍼 제어부1(20)과; 입력 데이타를 패러렐 24비트 16워드를 가지는 입력 버퍼(30)와; 입력 버퍼(30)에 저장된 데이타를 읽어내는 버퍼 제어부2(40)와; 디코딩을 위해 2 프레임의 오디오 데이타 및 디딩시 발생되는 여분의 데이타 저장용의 램(50)과; 램(50)메모리의 읽고 쓰는 동작을 제어하는 메모리 쓰기/읽기 제어부(60)와; 엔코딩된 오디오 데이타를 디코더하는 디코더부(70)와; 33MHZ의 시스템 클럭을 발생시키는 33MHZ 오실레이터부(80)와; 입력버퍼(30) 및 램(50) 동작 클럭을 제공하기 위하여 33MHZ클럭을 1분주하는 10분주기부(90)로 구성됨을 특징으로하는 오디오 디코더 입력버퍼 제어 장치.A synchronization signal detection device 10 for detecting a synchronization signal S1 of an input encoded audio bitstream; A buffer controller 1 (20) for controlling a write operation of the input buffer 30; An input buffer 30 having the input data in parallel 24-bit 16 words; A buffer control unit 2 (40) for reading data stored in the input buffer (30); RAM 50 for storing two frames of audio data for decoding and the extra data generated when diding; A memory write / read control unit 60 for controlling read / write operations of the RAM 50 memory; A decoder unit 70 for decoding the encoded audio data; A 33MHZ oscillator section 80 for generating a 33MHZ system clock; An audio decoder input buffer control device comprising: a 10-dividing unit (90) for dividing a 33 MHZ clock in order to provide an input buffer (30) and a RAM (50) operation clock. 제 1 항에 있어서,The method of claim 1, 동기신호검출장치(10)는 입력된 엔코딩된 오디오 비트 스트림신호(S1)를 에프에프에이취(FFFh) 값을 갖는 기준 데이타(12)와 비교하여 같으면 동기일치신호(S3)를 출력하는 비교기(11)와; 6144카운트를 시작하여 카운트가 완료되면 카운트완료신호(S4)를 출력하는 프레임 카운터(13)와; 상기 동기일치신호(S3)와 카운트완료신호(S4)를 입력하여 두 신호 모두 '0'일때, 아이에프피(IFP)신호 (S5)를 출력하는 비동기 제어부(14)와; 상기 아이에피(IFP)신호(S5)를 입력하여 프레임카운터(13)를 리셋신호(S6)로 재동작시키는 프레임카운터제어부(15)와; 프레임카운터제어부(15)의 출력신호 이에프피(EFP)신호(S7)를 입력하여 에프피(FP)신호(S8)로 출력하는 에프피(FP)카운터(16)와; 입력된 오디오 비트 스트림 신호(S1)를 데이타1(S9)으로 출력하는 12비트 지연부(17)로 구성됨을 특징으로 하는 오디오 디코더 입력버퍼 제어장치.The synchronization signal detecting apparatus 10 compares the input encoded audio bit stream signal S1 with the reference data 12 having the FFFh value and outputs a synchronization match signal S3 if it is equal. )Wow; A frame counter 13 which starts counting 6144 and outputs a count completion signal S4 when the count is completed; An asynchronous control unit 14 for inputting the synchronization matching signal S3 and the count completion signal S4 and outputting an IFP signal S5 when both signals are '0'; A frame counter controller 15 for inputting the IEP signal S5 to reactivate the frame counter 13 with the reset signal S6; An FFP counter 16 which inputs an output signal EFP signal S7 of the frame counter control unit 15 and outputs the signal as an FFP signal S8; And a 12-bit delay unit (17) for outputting the input audio bit stream signal (S1) as data 1 (S9). 제 1 항에 있어서,The method of claim 1, 버퍼제어부1(20)은 동기신호검출부(10)에서 출력된 1비트 시리얼 데이타인 1(S9)을 24비트 페러렐 데이타로 변환시키는 시리얼/페러렐 변환부(21)와; 상기 출력된 24비트 패러렐데이타를 24분주기(23)의 클럭신호(S11)로 래치하는 플립플롭(12)과;에프피(FP) 카운터(16)의 출력신호 에프피(FP)신호(S8)에 의해 동기되는 24분주기(23)와; 상기 24분주된 클럭신호(S11)를 16분주하여 쓰기완료신호발생부(25)로 입력하는 16분주기(24)와; 클럭신호(S2)로 쓰기/16시간단위로 입력버퍼(30)의 출력신호인 풀플래그(FF)신호(S14)가 발생할때 쓰기동작이 완료되었다는 쓰기완료신호(S13)를 출력하는 쓰기완료신호발생부(25)로 구성됨을 특징으로 하는 오디오 디코더용 입력버퍼 제어장치.A buffer controller 1 (20) includes a serial / parallel converter 21 for converting 1 (S9), which is 1-bit serial data output from the synchronization signal detector 10, into 24-bit parallel data; A flip-flop 12 for latching the output 24-bit parallel data into the clock signal S11 of the 24 divider 23; and an output signal FP signal S8 of the FFP counter 16; A 24 divider 23 synchronized by); A 16 divider 24 which divides the 24 divided clock signal S11 into 16 and inputs them to the write completion signal generator 25; Write completion signal outputting a write completion signal S13 indicating that a write operation is completed when the full signal FF, S14, which is an output signal of the input buffer 30, is written as the clock signal S2 / 16-hour unit. Input buffer control device for an audio decoder, characterized in that consisting of a generator (25). 제 1 항에 있어서,The method of claim 1, 버퍼제어부2(40)는 입력된 쓰기완료신호(S13)가 로직'1'일때, 클럭 시스 (CKSYS)(S16)의 33/8MHZ의 클럭을 입력하여 쓰기완료신호(S13)를 읽기신호1(S17)로 출력하는 로직엔드(41)와; 입력버퍼(30)의 오동작을 방지하기 위해 입력버퍼(30)의 엠프티플래그(EF)신호 (S15)와 클럭신호(S2)에 의해 리셋신호(S18)를 입력버퍼(30)로 출력하는 리셋신호발생부(42)로 구성됨을 특징으로 하는 오디오 디코더용 입력버퍼 제어장치.When the input write completion signal S13 is logic '1', the buffer control unit 2 40 inputs a clock of 33 / 8MHZ of the clock system CKSYS S16 to read the write completion signal S13 into a read signal 1 ( A logic end 41 outputted to S17); Reset to output the reset signal S18 to the input buffer 30 by the empty flag EF signal S15 and the clock signal S2 of the input buffer 30 in order to prevent malfunction of the input buffer 30. Input buffer control device for an audio decoder, characterized in that consisting of a signal generator (42). 제 1 항에 있어서,The method of claim 1, 메모리 읽기/쓰기 제어부(60)는 에프피(FP)신호(S20)에 의해 동기되어, 시리얼입력클럭읽기신호1(S17)을 카운트하여 10비트의 패러렐어드레스(S21)를 만드는 10비트 카운터(61)와; 쓰기완료신호(S19)와 읽기 신호1(S17)을 입력하여 램칩선택신호1(S22)을 램칩선택신호 발생부(65)로 출력하는 플립플롭(62)과; 디코더(70)에서 출력되는 어드레스 데이타(S23)를 분석하여 램접근어드레스(S24)를 만들어 선택기(64) 으로 출력하고, 램칩선택신호2(S25)와 읽기신호2(S26)를 만드는 어드레스 디코더(63)와; 셀렉트 신호를 제어신호로 하여, 입력된 10비트의 패러렐어드레스(S21)와 램접근어드레스(S24)를 선택하여 어드레스(S30)로 출력하는 선택기(64)와; 플립플롭(62)의 출력신호 램칩선택신호1 (S22)과 어드레스디코더(63)의 출력신호 램칩선택신호2 (S25)를 선택기(64)의 제어신호에 의해 선택하는 램칩선택신호 발생부(65)와; 읽기신호1(S17)과 읽기신호2(S26)를 입력받아 선택기(64)의 제어신호에 따라 램(50)의 쓰기신호선(S28)과 읽기신호선(S29)으로 선택하여 출력하는 쓰기/읽기 제어부(66)로 구성됨을 특징으로 하는 오디오 디코더용 입력버퍼 제어장치.The memory read / write control unit 60 is synchronized with the FFP signal S20 to count the serial input clock read signal 1 S17 to form a 10-bit parallel address S21, which is a 10-bit counter 61. )Wow; A flip-flop 62 for inputting a write completion signal S19 and a read signal 1 S17 to output the RAM chip select signal 1 S22 to the RAM chip select signal generator 65; Analyzing the address data (S23) output from the decoder 70 to create a RAM access address (S24) to output to the selector 64, the address decoder (2) to create a RAM chip select signal 2 (S25) and read signal 2 (S26) ( 63); A selector 64 that selects the input 10-bit parallel address S21 and the RAM access address S24 as the control signal and outputs the address to the address S30; Ram chip select signal generator 65 for selecting the output signal of the flip-flop 62, the ram chip select signal 1 (S22) and the address decoder 63, the ram chip select signal 2 (S25), by the control signal of the selector 64. )Wow; A write / read control unit which receives the read signal 1 (S17) and the read signal 2 (S26) and selects and outputs the write signal line S28 and the read signal line S29 of the RAM 50 according to the control signal of the selector 64. Input buffer control device for an audio decoder, characterized in that consisting of (66).
KR1019930030563A 1993-12-29 1993-12-29 Input buffer controlling apparatus for audio decorder KR100259139B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930030563A KR100259139B1 (en) 1993-12-29 1993-12-29 Input buffer controlling apparatus for audio decorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930030563A KR100259139B1 (en) 1993-12-29 1993-12-29 Input buffer controlling apparatus for audio decorder

Publications (2)

Publication Number Publication Date
KR950020645A KR950020645A (en) 1995-07-24
KR100259139B1 true KR100259139B1 (en) 2000-06-15

Family

ID=19373570

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930030563A KR100259139B1 (en) 1993-12-29 1993-12-29 Input buffer controlling apparatus for audio decorder

Country Status (1)

Country Link
KR (1) KR100259139B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101071303B1 (en) 2009-07-17 2011-10-07 한국과학기술원 The embedded window compact edition multimedia player for unsing direct memory access

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000034253A (en) * 1998-11-28 2000-06-15 전주범 Method for recording/playing audio for digital television

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101071303B1 (en) 2009-07-17 2011-10-07 한국과학기술원 The embedded window compact edition multimedia player for unsing direct memory access

Also Published As

Publication number Publication date
KR950020645A (en) 1995-07-24

Similar Documents

Publication Publication Date Title
JPH08172624A (en) Mpeg signal decoding and its method
US4797746A (en) Digital image interface system
US4893308A (en) Method and apparatus for time companding a digital voice signal
KR100259139B1 (en) Input buffer controlling apparatus for audio decorder
US5504752A (en) Pulse stuffing synchronization control system
US4888768A (en) Frame format for video codec
US6870856B1 (en) Circuit for transmitting plesiochronous signals in a SDH system
US5524183A (en) Data transmitting apparatus for the thermal print head of high density
JP2612004B2 (en) Teletext data reception circuit
JP3108008B2 (en) Video signal real-time processing method and device using flash memory
JPS58181346A (en) Data multiplexing circuit
JP2957432B2 (en) Demapping circuit
KR100285420B1 (en) Variable length coder in HDTV
US7068280B1 (en) Method and apparatus to provide overlay buffering
KR0176635B1 (en) Parallel-serial conversion circuit of bit stream
KR100222077B1 (en) Codec interface circuit
KR960012495B1 (en) Macro block address memory for hdtv
KR910002357B1 (en) Channel alloting circuit in digital exchange
JP3118518B2 (en) Digital communication equipment
KR960003451B1 (en) Image data decompression circuit
KR0140918B1 (en) Overhead timing detection circuit of the synchronous transport apparatus
JPH08139694A (en) Multiplex encoding device
JPH05227137A (en) Digital data line reception equipment
KR940004480Y1 (en) Corresponding signal adding apparatus
KR100231153B1 (en) Method and apparatus for control line-memory

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20030218

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee