KR0182182B1 - Adaptive differential pcm compression circuit - Google Patents

Adaptive differential pcm compression circuit Download PDF

Info

Publication number
KR0182182B1
KR0182182B1 KR1019960037152A KR19960037152A KR0182182B1 KR 0182182 B1 KR0182182 B1 KR 0182182B1 KR 1019960037152 A KR1019960037152 A KR 1019960037152A KR 19960037152 A KR19960037152 A KR 19960037152A KR 0182182 B1 KR0182182 B1 KR 0182182B1
Authority
KR
South Korea
Prior art keywords
data
output
step size
adder
register
Prior art date
Application number
KR1019960037152A
Other languages
Korean (ko)
Other versions
KR19980017376A (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 KR1019960037152A priority Critical patent/KR0182182B1/en
Publication of KR19980017376A publication Critical patent/KR19980017376A/en
Application granted granted Critical
Publication of KR0182182B1 publication Critical patent/KR0182182B1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/3002Conversion to or from differential modulation
    • H03M7/3044Conversion to or from differential modulation with several bits only, i.e. the difference between successive samples being coded by more than one bit, e.g. differential pulse code modulation [DPCM]
    • H03M7/3046Conversion to or from differential modulation with several bits only, i.e. the difference between successive samples being coded by more than one bit, e.g. differential pulse code modulation [DPCM] adaptive, e.g. adaptive differential pulse code modulation [ADPCM]
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M3/00Conversion of analogue values to or from differential modulation
    • H03M3/04Differential modulation with several bits, e.g. differential pulse code modulation [DPCM]
    • H03M3/042Differential modulation with several bits, e.g. differential pulse code modulation [DPCM] with adaptable step size, e.g. adaptive differential pulse code modulation [ADPCM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

이 발명은 적응차분 펄스부호변조(ADPCM : Adaptive Differential Pulse Code Modulation) 압축회로(Compress circuit)에 관한 것으로서,The present invention relates to an adaptive differential pulse code modulation (ADPCM) compression circuit,

차분 발생부(1), 압축샘플 발생부(2), 압축샘플 출력부(3), 스텝크기 발생부(4) 및 예측데이타 발생부(5)로 구성되어,A compressed sample generating unit 2, a compressed sample output unit 3, a step size generating unit 4, and a prediction data generating unit 5,

16비트 입력데이타와 예측데이타의 차분을 생성하고, 이 차분을 한 주기 이전의 출력데이타에 의해 결정되는 스텝크기와 비교한 후 압축하여 4비트 출력데이타를 생성함으로써,By generating the difference between the 16-bit input data and the prediction data, comparing the difference with the step size determined by the output data one cycle before, and compressing to generate 4-bit output data,

종래보다 더 적은 저장공간을 필요로 하고, 스텝크기를 저장하기 위한 롬을 하나만 필요로 하여 시스템이 복잡해지는 것을 방지할 수 있다.It requires less storage space than in the prior art and requires only one ROM for storing the step size, thereby preventing the system from becoming complicated.

Description

적응차분 펄스부호변조 압축회로Adaptive Differential Pulse Code Modulation Compression Circuit

이 발명은 적응차분 펄스부호변조(ADPCM : Adaptive Differential Pulse Code Modulation, 이하 ADPCM이라 한다.) 압축회로(Compress circuit)에 관한 것으로서, 더욱 상세하게 말하자면 샘플링된 리니어 코드(linear code)를 입력하여 ADPCM 코드로 변환하기 위한 압축회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an adaptive differential pulse code modulation (ADPCM) compression circuit. More specifically, the present invention relates to an ADPCM (Adaptive Differential Pulse Code Modulation) To the compression circuit.

디지탈 통신 시스템(Digital Communication system), 디지탈 오디오(Digital Audio) 및 퍼스널 컴퓨터(Personal Computer)의 사운드 카드(Sound Card) 또는 이와 유사한 장치에는 펄스부호변조(PCM : Pulse Code Modulation, 이하 PCM이라 한다.) 방식의 데이타가 많이 사용되고 있다.Pulse Code Modulation (hereinafter referred to as PCM) is applied to a sound card of a digital communication system, a digital audio system, a personal computer, or the like. Data is often used.

이러한 PCM 방식은 아날로그 신호를 2진수를 기본으로 하는 부호로 변화함으로써 정보를 보다 효율적으로 전송할 수 있는 변조방식이다. 기본적으로, PCM은 샘플링, 양자화, 부호화 과정을 가진다. 샘플링 과정은 아날로그 신호의 레벨에 대하여 일정한 샘플링 시간마다 나타나는 순시치를 검출하는 것이며, 양자화 과정은 상기 검출된 순시치를 미리 정하여 놓은 레벨에 가장 가까운 값에 근사시키는 것이며, 부호화 과정은 상기 양자화 레벨에 대하여 부호를 부가하는 것이다.Such a PCM scheme is a modulation scheme that can transmit information more efficiently by changing an analog signal to a code based on a binary number. Basically, the PCM has sampling, quantization, and encoding processes. The sampling process is to detect an instantaneous value appearing at a predetermined sampling time with respect to the level of the analog signal, and the quantization process approximates the detected instantaneous value to a value closest to a predetermined level. Is added.

상기와 같은 PCM 방식에 의해 얻어지는 코드는 2진 디지탈 데이타이므로, 위에서 언급한 디지탈 장치에 적용될 수 있는 장점을 가진다.Since the code obtained by the PCM method is binary digital data, it has an advantage that it can be applied to the above-mentioned digital device.

그런데, 상기 PCM 방식은 아날로그 신호의 절대 레벨을 부호화하므로, 아날로그 신호가 음성(Voice) 또는 사운드(Sound)와 같이 최대진폭이 평균진폭에 비해 그다지 높지 않을 때에는 효율이 떨어진다.However, since the PCM scheme encodes the absolute level of the analog signal, the efficiency becomes low when the maximum amplitude of the analog signal, such as voice or sound, is not so high as compared with the average amplitude.

위와 같은 단점을 극복하기 위하여, 신호 레벨의 차분을 부호화하는 차분 펄스부호변조(DPCM : Differential Pulse Code Modulation, 이하 DPCM이라 한다.) 방식이 제안되었다. 그러나, 상기 DPCM 방식은 신호의 레벨이 급격히 변화할 경우에는 그 변화분에 대하여 충분한 응답을 얻을 수 없는 단점이 있다.In order to overcome such disadvantages, Differential Pulse Code Modulation (DPCM) method for coding a difference in signal level has been proposed. However, in the DPCM scheme, when the level of the signal is rapidly changed, a sufficient response can not be obtained with respect to the change.

이에 따라, 상기 변화분의 차분에 해당하는 미리 정의된 가중치에 의하여 기준양자화 폭을 변화시키는 ADPCM 방식이 제안되었으며, 이 방식은 고효율의 압축 부호화를 가능하게 한다.Accordingly, an ADPCM scheme for changing the reference quantization width by a predefined weight corresponding to the difference between the changes is proposed, and this scheme enables highly efficient compression coding.

이러한 ADPCM 방식을 적용한 사운드 발생기가 미국특허 제4, 989, 246호에 개시되어 있다. 상기한 미국특허에 개시되어 있는 사운드 발생기는 음성신호를 ADPCM 코드로 변환할때 침묵구간의 길이만 카운트할 뿐 침묵구간의 데이타는 저장되지 않도록 하고, ADPCM 코드를 음성신호로 복원할때에는 상기 카운트 결과를 통해 침묵구간이 재생되도록 함으로써 메모리의 효율을 증가시키기 위한 것이다.A sound generator employing such an ADPCM scheme is disclosed in U.S. Patent No. 4,989,246. The sound generator disclosed in the above-mentioned U.S. patent only counts the length of a silence section when converting a voice signal into an ADPCM code, but does not store data of a silent section, and when restoring an ADPCM code into a voice signal, So as to increase the efficiency of the memory.

그러나, 상기와 같은 구조의 사운드 발생기는 인덱스 값(index value)을 생성하는데 있어서 두개의 롬(ROM : Read Only Memory)을 사용할 뿐만 아니라 카운터 및 별도의 제어로직이 필요하므로 회로가 복잡해지는 문제점이 있다.However, the sound generator having the above-described structure uses two ROMs (Read Only Memory) in generating an index value, and also requires a counter and a separate control logic, thus complicating the circuit .

그러므로, 이 발명의 목적은 상기한 바와 같은 종래의 기술적 문제점을 해결하기 위한 것으로서, 리니어 데이타를 입력하여 예측데이타와의 차분을 구하고, 이 차분을 스텝크기와 비교하여 축소된 비트수를 가지는 ADPCM 코드를 생성하는 압축회로를 제공하는데 있다.SUMMARY OF THE INVENTION Therefore, an object of the present invention is to solve the above-mentioned conventional technical problems, and it is an object of the present invention to provide an ADPCM code having a reduced number of bits by comparing the difference with the step size, And a compression circuit.

도1은 이 발명의 실시예에 따른 적응차분 펄스부호변조 압축회로의 구성도.1 is a configuration diagram of an adaptive differential pulse code modulation / compression circuit according to an embodiment of the present invention;

도2는 상기 도1에 도시된 압축샘플 발생부의 상세 구성도이다.2 is a detailed configuration diagram of the compressed sample generator shown in FIG.

* 도면의 주요부분에 대한 부호의 설명DESCRIPTION OF THE REFERENCE NUMERALS

1 : 차분 발생부 2 : 압축샘플 발생부1: differential generating unit 2: compressed sample generating unit

3 : 압축샘플 출력부 4 : 스텝크기 발생부3: Compressed sample output unit 4: Step size generator

5 : 예측데이타 발생부5: prediction data generator

상기한 목적을 달성하기 위한 수단으로써, 이 발명에 따른 적응차분 펄스부호변조 압축회로는,As a means for achieving the above object, an adaptive differential pulse code modulation compression circuit according to the present invention comprises:

예측데이타와 샘플링된 소정비트의 리니어 데이타를 입력하며, 두 데이타 간의 차분을 계산하여 출력하는 차분 발생부;A difference generator for inputting the predicted data and the linear data of the sampled predetermined bits, calculating a difference between the two data, and outputting the difference;

한 주기 이전의 압축샘플 데이타에 따라 상기 차분 발생부에서 출력되는 차분 데이타와 상기 한 주기 이전의 압축샘플 데이타 중에서 하나를 선택하며, 상기 선택된 데이타와 반전된 스텝크기 데이타를 가산하여 압축샘플 데이타를 생성하는 압축샘플 발생부;One of the differential data output from the difference generator and the previous compressed sample data is selected in accordance with the compressed sample data of one cycle before and the compressed data of the selected sample is added by adding the inverted step size data to the selected data A compression sample generation unit for generating a compression sample;

상기 차분 발생부에서 출력되는 차분 데이타의 최대유효비트를 출력데이타의 부호비트로서 취하고, 상기 압축샘플 발생부에서 생성되는 압축샘플 데이타를 미리 정해진 횟수만큼 받아들여 그 각각의 최대유효비트를 출력데이타의 데이타비트로서 취함으로써 출력데이타를 생성하는 압축샘플 출력부;The maximum valid bit of the difference data output from the difference generator is taken as a sign bit of the output data, the compressed sample data generated by the compressed sample generator is received a predetermined number of times, A compressed sample output section for generating output data by taking it as data bits;

상기 압축샘플 출력부의 출력데이타를 입력하여 디코딩에 의해 인덱스를 생성하고, 상기 생성된 인덱스를 한 주기 전의 인덱스와 가산하며, 이 가산된 결과에 따라 그에 대응하는 스텝크기를 찾아 반전시킨 후 상기 압축샘플 발생부에 제공하는 스텝크기 발생부; 및A step of generating an index by decoding the input data of the compressed sample output unit, adding the generated index to an index before one cycle, inverting the corresponding step size according to the added result, A step size generator for generating a step size; And

상기 압축샘플 출력부에서 생성된 출력데이타를 입력하여 디코딩하고, 상기 스텝크기 발생부에서 제공되는 스텝크기를 소정 횟수 입력하며, 상기 디코딩된 값에 따라 상기 각 스텝크기 중 대응하는 하나를 선택하여 가산함으로써 예측데이타를 생성하며, 상기 생성된 예측데이타를 상기 차분 발생부에 출력하는 예측데이타 발생부를 포함한다.A step size input unit for inputting and decoding the output data generated by the compression sample output unit, a step size input unit for inputting a step size provided by the step size generation unit, and selecting a corresponding one of the step sizes according to the decoded value, And outputs the generated prediction data to the difference generation unit.

이하, 첨부된 도면을 참조하여 이 발명의 바람직한 실시예를 상세히 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도1은 이 발명의 실시예에 따른 적응차분 펄스부호변조 압축회로의 구성도이고,1 is a configuration diagram of an adaptive differential pulse code modulation / compression circuit according to an embodiment of the present invention,

도2는 상기 도1에 도시된 압축샘플 발생부의 상세 구성도이다.2 is a detailed configuration diagram of the compressed sample generator shown in FIG.

먼저, 도1을 참조하여 이 발명의 실시예에 따른 적응차분 펄스부호변조 압축회로의 구성을 설명한다.First, the configuration of an adaptive differential pulse code modulation compression circuit according to an embodiment of the present invention will be described with reference to Fig.

도1에 도시된 바와 같이, 이 발명의 실시예에 따른 적응차분 펄스부호변조 압축회로는, 차분 발생부(1), 압축샘플 발생부(2), 압축샘플 출력부(3), 스텝크기 발생부(4) 및 예측데이타 발생부(5)로 구성된다.1, an adaptive differential pulse code modulation circuit according to an embodiment of the present invention includes a differential generating unit 1, a compressed sample generating unit 2, a compressed sample output unit 3, (4) and a prediction data generator (5).

보다 상세하게, 상기 차분 발생부(1)는 샘플링된 16비트 리니어 데이타를 입력하여 출력단에 유지시키는 제1레지스터(11); 예측데이타와 한 주기 이전의 예측데이타를 가산하는 제5가산기(12); 상기 제5가산기(12)의 출력단에 차례로 연결되는 제1리미터(13)와 제4레지스터(14); 상기 제4레지스터(14)의 출력단에 연결되는 반전기(15); 상기 제1레지스터(11)와 상기 반전기(15)의 출력을 입력하는 제1가산기(16); 상기 제1가산기(16)의 출력 중 최대유효비트와 나머지 비트를 구분하여 입력하는 배타적 논리합 유니트(17);및 상기 배타적 논리합 유니트(17)의 출력단에 연결되는 제2레지스터(18)로 구성된다.More specifically, the difference generator (1) includes a first register (11) for receiving sampled 16-bit linear data and holding it at the output stage; A fifth adder 12 for adding the predictive data and the predictive data one cycle before; A first limiter 13 and a fourth resistor 14 sequentially connected to the output terminal of the fifth adder 12; An inverter (15) connected to the output of the fourth register (14); A first adder (16) for receiving the outputs of the first register (11) and the inverter (15); An exclusive OR unit 17 for inputting the most significant bits and the remaining bits among the outputs of the first adder 16 and a second register 18 connected to the output terminal of the exclusive OR unit 17 .

상기한 압축샘플 발생부(2)는 상기 제2레지스터(18)의 출력과 피드백된 값을 입력하는 제1멀티플렉스(21); 상기 제1멀티플렉스(21)의 출력과 피드백된 값을 입력하는 제2멀티플렉스(22); 스텝크기와 상기 제2멀티플렉스(22)의 출력을 입력하여 가산하는 제2가산기(23); 상기 제2가산기(23)의 출력을 입력하여 상기 제1 및 제2멀티플렉스(21, 22)에 상기 피드백 값으로서 제공하는 제3레지스터(24);및 상기 제2가산기(23)의 출력을 입력하며, 출력신호를 상기 제1 및 제2멀티플렉스(21, 22)에 선택신호로서 제공하는 레지스터 선택로직(25)으로 구성된다.The compression sample generator 2 includes a first multiplexer 21 for receiving the output of the second register 18 and a feedback value; A second multiplex 22 for inputting the output of the first multiplex 21 and the feedback value; A second adder 23 for inputting and adding the step size and the output of the second multiplex 22; A third register 24 for receiving the output of the second adder 23 and providing it as the feedback value to the first and second multiplexes 21 and 22, And register selection logic 25 for providing an output signal to the first and second multiplexes 21 and 22 as a selection signal.

상기 압축샘플 출력부(3)는 상기 제2가산기(23)의 최대유효비트(MSB : Most Significant Bit)를 입력하는 반전기(31); 상기 반전기(31)의 출력을 순차적으로 입력하도록 연결되는 1비트의 출력 레지스터(32, 33, 34); 및 상기 제1가산기(16)의 출력데이타 중 최대유효비트를 입력하도록 연결되는 1비트의 출력 레지스터(35)로 구성된다.The compressed sample output unit 3 includes an inverter 31 for inputting a most significant bit (MSB) of the second adder 23; A 1-bit output register (32, 33, 34) connected to sequentially input the output of the inverter (31); And a 1-bit output register (35) connected to input the most significant bit among the output data of the first adder (16).

상기 스텝크기 발생부(4)는 상기 출력 레지스터(3235)의 4비트 출력데이타를 입력하는 인덱스 디코더(41); 상기 인덱스 디코더(41)의 출력과 피드백된 한 주기 이전의 인덱스 값을 입력하여 가산하는 제3가산기(42); 상기 제3가산기(42)의 출력단에 순차적으로 연결되는 제2리미터와 제9레지스터(44); 각 어드레스에 대응하는 가변 스텝크기(variable step size)를 저장하고 있으며, 상기 제9레지스터(44)의 출력단 데이타를 어드레스로서 입력하고, 상기 어드레스에 대응하는 스텝크기를 출력하는 롬(45); 상기 롬(45)에서 출력되는 스텝크기를 입력하여 상기 예측데이타 발생부(5)에 제공하는 쉬프트 레지스터(46);및 상기 쉬프트 레지스터(46)에서 출력되는 스텝크기를 입력하여 반전하며, 그 결과를 상기 제2가산기(23)에 출력하는 반전기(47)로 구성된다.The step size generator 4 includes an index decoder 41 for inputting 4-bit output data of the output register 3235; A third adder (42) for inputting and adding the output of the index decoder (41) and the previous index value of the feedback period; A second limiter and a ninth resistor 44 sequentially connected to an output terminal of the third adder 42; A ROM 45 storing a variable step size corresponding to each address, inputting the output data of the ninth register 44 as an address, and outputting a step size corresponding to the address; A shift register 46 for inputting the step size output from the ROM 45 and providing the step size to the prediction data generator 5 and a step size output from the shift register 46 to be inverted, To the second adder (23).

상기 예측데이타 발생부(5)는 상기 출력 레지스터(3235)의 4비트 데이타를 입력하는 압축샘플 디코더(55); 상기 쉬프트 레지스터(46)에서 출력되는 스텝크기를 순차적으로 입력하는 제5제8 레지스터(5154); 상기 압축샘플 디코더(55)의 출력과 상기 제5제8 레지스터(5154)의 출력을 입력하여 가산하는 제4가산기(56);및 상기 제4가산기(56)의 출력과 상기 출력 레지스터(35)의 출력을 입력하여 배타적 논리합 연산을 수행하며, 그 결과를 상기 제5가산기(12)에 제공하도록 연결되는 배타적 논리합 유니트(57)로 구성된다.The prediction data generator 5 includes a compression sample decoder 55 for inputting 4-bit data of the output register 3235; A fifth eighth register 5154 for sequentially inputting the step size output from the shift register 46; A fourth adder 56 for inputting and adding the output of the compressed sample decoder 55 and the output of the fifth eighth register 5154 and a fourth adder 56 for adding the output of the fourth adder 56 and the output of the output register 35, And an exclusive OR unit 57 for performing an exclusive-OR operation on the output of the adder 12 and providing the result to the fifth adder 12.

상기와 같이 구성되는 이 발명의 실시예에 따른 적응차분 펄스부호변조 압축회로는 IMA(Interactive Multimedia Association) ADPCM 알고리즘을 하드웨어로 구현한 것이다.The adaptive differential pulse code modulation / compression circuit according to an embodiment of the present invention configured as described above is implemented by an IMA (Interactive Multimedia Association) ADPCM algorithm in hardware.

다음으로, 상기한 구성에 의거하여 이 발명의 실시예에 따른 적응차분 펄스부호변조 압축회로의 동작을 설명한다.Next, the operation of the adaptive differential pulse code modulation / compression circuit according to the embodiment of the present invention will be described based on the above configuration.

전원이 공급되면 회로의 동작이 시작되며, 샘플링된 16비트 입력데이타가 상기 제1레지스터(11)에 입력된다. 상기 입력데이타는 리니어(linear) 데이타이다. 상기 제1레지스터(11)는 16비트 입력데이타를 출력단에 유지시킨다.When power is supplied, the operation of the circuit is started, and the sampled 16-bit input data is input to the first register 11. The input data is linear data. The first register 11 holds the 16-bit input data at the output stage.

제5가산기(12)는 현재의 예측데이타와 한 주기 이전의 예측데이타를 가산하며, 제1리미터(13)는 상기 제5가산기(12)의 출력데이타에 오버 플로우(over flow) 또는 언더 플로우(under flow)가 없는지 검사한다.The fifth adder 12 adds the current prediction data to the prediction data one cycle before and the first limiter 13 adds overflow or underflow to the output data of the fifth adder 12 under flow.

만약, 제5가산기(12)의 출력데이타에 오버 플로우가 발생하였으면, 상기 제1리미터(13)는 현재의 비트수로 표현할 수 있는 최대값을 출력하며, 언더 플로우가 발생하였으면 현재의 비트수로 표현할 수 있는 최소값을 출력한다.If an overflow occurs in the output data of the fifth adder 12, the first limiter 13 outputs a maximum value that can be represented by the current number of bits. If an underflow occurs, Outputs the minimum value that can be expressed.

상기 제4레지스터(14)는 제1리미터(13)의 출력을 입력하여 출력단에 유지시키며, 반전기(15)는 상기 제4레지스터(14)의 출력을 반전시킨다.The fourth register 14 receives the output of the first limiter 13 and holds it at the output terminal and the inverter 15 inverts the output of the fourth register 14.

상기 반전기(15)의 반전에 의해, 제1가산기(16)의 출력단에서 얻어지는 결과는 16비트 입력데이타에서 현재의 예측데이타를 감산한 값으로서, 입력데이타와 예측데이타 간의 차분이다.By the inversion of the inverter 15, the result obtained at the output of the first adder 16 is the value obtained by subtracting the current prediction data from the 16-bit input data, which is the difference between the input data and the prediction data.

상기 제1가산기(16)에서 출력되는 데이타는 최대유효비트와 나머지 비트들로 구분되어 상기 배타적 논리합 유니트(16)에 입력된다. 이에 따라, 상기 배타적 논리합 유니트(16)는 부호비트인 상기 최대유효비트와 나머지 비트들에 대한 배타적 논리합 연산을 수행한다.The data output from the first adder 16 is divided into the most significant bits and the remaining bits and is input to the exclusive OR unit 16. Accordingly, the exclusive-OR unit 16 performs an exclusive-OR operation on the maximum significant bit and the remaining bits, which are sign bits.

상기 배타적 논리합 연산에 의해, 최대유효비트가 '1'이면 나머지 비트들은 반전되며, 최대유효비트가 '0'이면 나머지 비트들은 그대로 통과한다. 이것은 상기 차분이 음수일 경우에 양수로 변환하기 위한 것이다. 상기 배타적 논리합 유니트(17)의 출력은 제2레지스터(18)에 입력되며, 상기 제2레지스터(18)는 입력데이타를 출력단에 유지시킨다.If the most significant bit is '1', the remaining bits are inverted. If the most significant bit is '0', the remaining bits are passed through. This is for converting to a positive number when the difference is negative. The output of the exclusive-OR unit 17 is input to the second register 18, and the second register 18 holds the input data at the output terminal.

한편, 상기 제1가산기(16)의 출력데이타 중 최대유효비트는 출력 레지스터(35)에 제공되며, 이 출력 레지스터(35)는 상기 입력된 비트를 4비트 출력데이타의 최대유효비트로서 출력단에 유지시킨다. 이것은 변조된 4비트 출력데이타와 16비트 입력데이타 사이의 부호를 일치시키기 위한 것이다.On the other hand, the most significant bit among the output data of the first adder 16 is provided to the output register 35, which holds the input bit as the most significant bit of the 4-bit output data at the output stage . This is to match the sign between the modulated 4-bit output data and the 16-bit input data.

상기 제2레지스터(18)의 출력은 제3레지스터(24)의 출력과 함께 상기 제1멀티플렉스(21)에 입력되며, 상기 제1멀티플렉스(21)는 레지스터 선택로직(25)의 출력신호에 따라 두 입력 중 하나를 선택한다. 상기 제3레지스터(24)의 출력은 한 주기 이전의 샘플 데이타이다.The output of the second register 18 is input to the first multiplex 21 together with the output of the third register 24 and the first multiplex 21 receives the output signal of the register selection logic 25 To select one of the two inputs. The output of the third register 24 is sample data one cycle before.

제2멀티플렉스(22)는 상기 레지스터 선택로직(25)의 출력에 따라 상기 제1멀티플렉스(21)의 출력과 상기 제3레지스터(24)의 출력 중 하나를 선택한다.The second multiplexer 22 selects one of the output of the first multiplexer 21 and the output of the third register 24 in accordance with the output of the register selection logic 25.

보다 상세하게, 첨부된 도2를 참조하여 상기 레지스터 선택로직(25)의 동작을 설명한다.More specifically, the operation of the register selection logic 25 will be described with reference to FIG. 2 attached hereto.

도2에 도시되어 있듯이, 상기 레지스터 선택로직(25)은 내부에 3개의 레지스터(mp2, mp3, mp4)를 포함하고 있으며, 제2가산기(23) 출력의 최대유효비트(MSB)와 외부에서 입력되는 위상신호(ph1∼ph4)에 따라 선택신호(SEL1, SEL2)를 생성하여 상기 제1 및 제2멀티플렉스(21, 22)에 각각 출력한다. 상기 위상신호(ph1∼ph4)는 레지스터 선택로직(25)의 내부 동작 모드를 결정하기 위한 것이며, 그 각각은 순차적인 하이 구간을 가진다. 상기 레지스터(mp2, mp3, mp4)는 상기 위상 신호(ph1∼ph4)가 결정하는 모드에 따라 소정의 데이타를 저장하며, 상기 레지스터 선택로직(25)은 상기 레지스터(mp2, mp3, mp4)에 저장된 값을 근거로 상기 선택신호(SEL1, SEL2)를 생성한다.As shown in FIG. 2, the register selection logic 25 includes three registers mp2, mp3 and mp4. The most significant bit MSB of the output of the second adder 23, And generates the selection signals SEL1 and SEL2 according to the phase signals ph1 to ph4 to be outputted to the first and second multiplexers 21 and 22, respectively. The phase signals ph1 to ph4 are for determining the internal operation mode of the register selection logic 25, each of which has a sequential high period. The registers mp2, mp3 and mp4 store predetermined data according to the mode determined by the phase signals ph1 to ph4. The register selection logic 25 stores the data in the registers mp2, mp3 and mp4. To generate the selection signals SEL1 and SEL2.

아래의 표1은 위상신호의 각 모드에서 상기 레지스터 선택로직(25)에서 생성되는 선택신호(SEL1, SEL2)가 결정되는 것을 도시하고 있다.Table 1 below shows that the selection signals SEL1 and SEL2 generated in the register selection logic 25 in each mode of the phase signal are determined.

SEL1SEL1 SEL2SEL2 mp2mp2 mp3mp3 mp4mp4 초기 모드Initial mode 00 1One 00 00 00 ph1ph1 00 1One 00 00 00 ph2ph2 MSB=0MSB = 0 00 00 00 00 00 MSB=1MSB = 1 00 1One 1One 00 00 ph3ph3 MSB=0MSB = 0 00 00 유지maintain 00 00 MSB=1MSB = 1 /mp2/ mp2 1One 유지maintain 1One 00 ph4ph4 MSB=0MSB = 0 00 00 유지maintain 유지maintain 00 MSB=1MSB = 1 mp2+/mp3mp2 + / mp3 1One 유지maintain 유지maintain 1One

상기 표1에서 선택신호(SEL1)가 0일 경우에는 도2에 도시된 제1멀티플렉스(21)의 '0' 입력단이 선택되며, 1일 경우에는 '1' 입력단이 선택된다. 선택신호(SEL2)가 0일 경우에는 도2에 도시된 제2멀티플렉스(22)의 '0' 입력단이 선택되며, 1일 경우에는 '1' 입력단이 선택된다.In Table 1, when the selection signal SEL1 is 0, the '0' input terminal of the first multiplex 21 shown in FIG. 2 is selected, and when it is 1, the '1' input terminal is selected. When the selection signal SEL2 is 0, the '0' input terminal of the second multiplex 22 shown in FIG. 2 is selected, and when it is 1, the '1' input terminal is selected.

상기 설명된 레지스터 선택로직(25)의 동작에 따라 제2가산기(23)의 한쪽 입력은 그 출력의 최대 유효비트(MSB)와 위상신호(ph1∼ph4)에 따라 제2레지스터(18)의 출력 또는 한 주기 이전의 가산기(23)의 출력이 된다.Depending on the operation of the register selection logic 25 described above, one input of the second adder 23 is connected to the output of the second register 18 in accordance with the most significant bit MSB of the output and the phase signals ph1 to ph4 Or the output of the adder 23 before one cycle.

제2가산기(23)는 반전기(47)에서 출력되는 반전된 스텝크기와 상기 제2멀티플렉스(22)의 출력을 가산하며, 가산된 결과는 제3레지스터(24)와 레지스터 선택로직(25)에 입력된다. 제2가산기(23)의 출력은 차분에서 스텝크기를 감산한 것이다.The second adder 23 adds the inverted step size output from the inverter 47 to the output of the second multiplex 22 and the added result is input to the third register 24 and the register selection logic 25 . The output of the second adder 23 is obtained by subtracting the step size from the difference.

상기 제2가산기(23)의 출력 중 최대유효비트는 반전기(31)에 입력된다. 제2가산기(23)에서 출력이 발생할때마다 최대유효비트는 반전기(31)에 입력되며, 상기 반전기(31)와 출력 레지스터(3234)는 발생하는 최대유효비트가 출력 레지스터(3234)에 순차적으로 입력되도록 연결된다. 각 출력 레지스터(3234)는 1비트 레지스터이며, 4비트 출력데이타의 최소유효비트부터 3비트 NS0, NS1, NS2를 각각 저장한다.The most significant bit among the outputs of the second adder 23 is input to the inverter 31. Each time an output occurs in the second adder 23, the most significant bit is input to the inverter 31, and the inverter 31 and the output register 3234 receive the most significant bit generated in the output register 3234 So that they are sequentially input. Each output register 3234 is a 1-bit register and stores 3 bits NS0, NS1, and NS2, respectively, from the least significant bit of the 4-bit output data.

예를 들어, 제2가산기(23)의 첫번째 출력의 최대유효비트는 반전기(31)를 거쳐 출력 레지스터(34)에 입력되고, 가산기(23)의 그 다음 출력의 최대유효비트는 출력 레지스터(33)에 입력되고, 가산기(23)의 다음 출력의 최대유효비트는 출력 레지스터(32)에 입력된다.For example, the most significant bit of the first output of the second adder 23 is input to the output register 34 via the inverter 31 and the most significant bit of the next output of the adder 23 is input to the output register 33, and the most significant bit of the next output of the adder 23 is input to the output register 32. [

위에 설명된 바와 같이 얻어지는 각 출력 레지스터(3235)의 4비트 출력데이타는 외부에 ADPCM 데이타로서 제공된다.The 4-bit output data of each output register 3235 obtained as described above is externally provided as ADPCM data.

한편, 상기 출력 레지스터(32)의 4비트 출력데이타는 인덱스 디코더(41)에 입력되며, 인덱스 디코더(41)는 상기 4비트 데이타를 디코딩하여 그 데이타 고유의 인덱스를 생성한다. 상기 생성된 인덱스는 제3가산기(42)에 입력되며, 제3가산기(42)는 제9레지스터(44) 출력단에서 생성되는 한 주기 이전의 인덱스와 상기 디코더(41)에서 생성된 인덱스를 가산한다.The 4-bit output data of the output register 32 is input to the index decoder 41, and the index decoder 41 decodes the 4-bit data to generate a data-specific index. The generated index is input to the third adder 42 and the third adder 42 adds the index of one cycle previous to the output of the ninth register 44 and the index generated by the decoder 41 .

상기 제3가산기(42)의 출력은 제2리미터(43)에 입력되며, 상기 제2리미터(43)는 이미 설명된 제1리미터(13)와 같이 입력데이타의 오버 플로우 또는 언더 플로우를 검사한다. 상기 제2리미터(43)의 출력은 제9레지스터(44)에 입력되며, 제9레지스터(44)는 입력데이타를 출력단에 유지시킨다.The output of the third adder 42 is input to the second limiter 43 and the second limiter 43 checks overflow or underflow of the input data like the first limiter 13 already described . The output of the second limiter 43 is input to the ninth register 44 and the ninth register 44 holds the input data at the output terminal.

상기 제9레지스터(44)의 출력단 데이타는 롬(45)의 어드레스로서 제공되며, 롬(45)은 입력되는 어드레스에 대응하는 데이타를 출력한다. 여기서, 롬(45)의 데이타는 스텝크기이며, 이 값은 실험에 의해 얻어져서 인덱스에 대응하여 미리 롬(45)에 저장된다.The output data of the ninth register 44 is provided as the address of the ROM 45, and the ROM 45 outputs the data corresponding to the input address. Here, the data of the ROM 45 is the step size, which is obtained by experiment and stored in advance in the ROM 45 corresponding to the index.

상기 롬(45)의 스텝크기는 쉬프트 레지스터(46)에 입력되며, 쉬프트 레지스터(46)는 스텝크기를 반전기(47)와 제5제8레지스터(5154)에 출력한다. 예를 들어, 새로운 스텝크기가 입력되면, 쉬프트 레지스터(46)는 현재 유지하고 있는 스텝크기를 제5레지스터(51)에 출력하며, 쉬프트 동작에 의해 전달되는 다음 스텝크기는 제6레지스터(52)에 출력하고, 위와 같은 방식으로 스텝크기를 제7레지스터(53) 및 제8레지스터(54)에 출력한다. 상기 쉬프트 레지스터(46)는 16비트 레지스터이며, 스텝크기의 데이타를 우측으로 한 비트씩 쉬프트하면서 데이타를 저장한다. 이것은 스텝크기의 데이타를 1/2씩 감소시키기 위한 것이다.The step size of the ROM 45 is input to the shift register 46 and the shift register 46 outputs the step size to the inverter 47 and the fifth eighth register 5154. For example, when a new step size is input, the shift register 46 outputs the currently held step size to the fifth register 51, and the next step size transferred by the shift operation is stored in the sixth register 52, And outputs the step size to the seventh register 53 and the eighth register 54 in the same manner as described above. The shift register 46 is a 16-bit register, and stores data by shifting the step size data to the right by one bit. This is to reduce the data of the step size by half.

반전기(47)는 입력된 스텝크기를 반전시켜 제2가산기(23)의 입력단에 제공한다.The inverter 47 inverts the input step size and provides it to the input of the second adder 23.

한편, 압축샘플 디코더(55)는 4비트의 출력데이타를 입력하여 디코딩하며, 디코딩된 결과를 제4가산기(56)에 출력한다. 각 레지스터(5154)는 쉬프트 레지스터(46)로부터 입력된 스텝크기를 출력단에 유지시킨다.On the other hand, the compressed sample decoder 55 receives and decodes the 4-bit output data, and outputs the decoded result to the fourth adder 56. [ Each register 5154 holds the step size input from the shift register 46 at the output stage.

제4가산기(56)는 상기 압축샘플 디코더(56)에서 출력되는 값에 따라 상기 레지스터(5154) 중 하나의 출력을 선택하여 가산하며, 가산된 데이타를 배타적 논리합 유니트(57)에 출력한다.The fourth adder 56 selects and adds one output of the register 5154 in accordance with the value output from the compression sample decoder 56 and outputs the added data to the exclusive OR unit 57.

상기 배타적 논리합 유니트(57)는 상기 제4가산기(56)의 출력과 4비트 출력데이타의 부호비트(NS3)에 대하여 배타적 논리합 연산을 수행하며, 이것은 4비트 출력데이타의 부호가 음수인 경우 양수로 변환하기 위한 것이다. 이렇게 하여 얻어지는 배타적 논리합 연산의 결과는 상기 제5가산기(12)에 제공된다.The exclusive OR unit 57 performs an exclusive-OR operation on the output of the fourth adder 56 and the sign bit NS3 of the 4-bit output data, which is a positive integer when the sign of the 4-bit output data is negative Conversion. The result of the exclusive OR operation thus obtained is provided to the fifth adder 12.

이상에서 설명된 바와 같이, 이 발명의 실시예에 따른 적응차분 펄스부호변조 압축회로는 16비트 입력데이타와 예측데이타의 차분을 생성하고, 이 차분을 한 주기 이전의 출력데이타에 의해 결정되는 스텝크기와 비교하여 압축함으로써 4비트 출력데이타를 생성한다.As described above, the adaptive differential pulse code modulation / compression circuit according to the embodiment of the present invention generates the difference between the 16-bit input data and the prediction data, and outputs the difference as a step size To produce 4-bit output data.

따라서, 이 발명에 따른 압축회로는 종래보다 더 적은 저장공간을 필요로 한다. 또한, 스텝크기를 저장하기 위한 롬이 하나만 필요하므로, 이 발명에 따른 압축회로는 시스템이 복잡해지는 것을 방지할 수 있다.Thus, the compression circuit according to the invention requires less storage space than in the prior art. In addition, since only one ROM for storing the step size is required, the compression circuit according to the present invention can prevent the system from becoming complicated.

Claims (8)

예측데이타와 샘플링된 소정비트의 리니어 데이타를 입력하며, 두 데이타 간의 차분을 계산하여 출력하는 차분 발생부;A difference generator for inputting the predicted data and the linear data of the sampled predetermined bits, calculating a difference between the two data, and outputting the difference; 한 주기 이전의 압축샘플 데이타에 따라 상기 차분 발생부에서 출력되는 차분 데이타와 상기 한 주기 이전의 압축샘플 데이타 중에서 하나를 선택하며, 상기 선택된 데이타와 반전된 스텝크기 데이타를 가산하여 압축샘플 데이타를 생성하는 압축샘플 발생부;One of the differential data output from the difference generator and the previous compressed sample data is selected in accordance with the compressed sample data of one cycle before and the compressed data of the selected sample is added by adding the inverted step size data to the selected data A compression sample generation unit for generating a compression sample; 상기 차분 발생부에서 출력되는 차분 데이타의 최대유효비트를 출력데이타의 부호비트로서 취하고, 상기 압축샘플 발생부에서 생성되는 압축샘플 데이타를 미리 정해진 횟수만큼 받아들여 그 각각의 최대유효비트를 출력데이타의 데이타비트로서 취함으로써 출력데이타를 생성하는 압축샘플 출력부;The maximum valid bit of the difference data output from the difference generator is taken as a sign bit of the output data, the compressed sample data generated by the compressed sample generator is received a predetermined number of times, A compressed sample output section for generating output data by taking it as data bits; 상기 압축샘플 출력부의 출력데이타를 입력하여 디코딩에 의해 인덱스를 생성하고, 상기 생성된 인덱스를 한 주기 전의 인덱스와 가산하며, 이 가산된 결과에 따라 그에 대응하는 스텝크기를 찾아 상기 압축샘플 발생부에 제공하는 스텝크기 발생부; 및A step of generating an index by inputting the output data of the compressed sample output unit, adding the generated index to an index before one cycle, searching for a step size corresponding to the index, A step size generator for providing a step size; And 상기 압축샘플 출력부에서 생성된 출력데이타를 입력하여 디코딩하고, 상기 스텝크기 발생부에서 제공되는 스텝크기를 소정 횟수 입력하며, 상기 디코딩된 값에 따라 상기 각 스텝크기 중 대응하는 하나를 선택하여 가산함으로써 예측데이타를 생성하며, 상기 생성된 예측데이타를 상기 차분 발생부에 출력하는 예측데이타 발생부를 포함하는 적응차분 펄스부호변조 압축회로.A step size input unit for inputting and decoding the output data generated by the compression sample output unit, a step size input unit for inputting a step size provided by the step size generation unit, and selecting a corresponding one of the step sizes according to the decoded value, And outputting the generated prediction data to the difference generation unit. The adaptive differential pulse code modulation / 제1항에 있어서, 상기한 차분발생부는2. The apparatus of claim 1, wherein the difference generator 상기 예측데이타 발생부에서 출력되는 예측데이타와 한 주기 이전의 예측데이타를 가산하는 가산기(12);An adder (12) for adding the predictive data output from the predictive data generator to the predictive data preceding one cycle; 상기 가산기(12)에서 출력되는 데이타에 오버 플로우 또는 언더 플로우가 있는지를 검사하며, 상기 데이타가 소정 범위내에 있을 경우에는 상기 데이타를 통과시키고 그렇지 않을 경우에는 상기 데이타의 비트수로 표현가능한 최대값 또는 최소값을 출력하는 리미터(13);The data output from the adder 12 is checked to see if there is an overflow or an underflow. If the data is within a predetermined range, the data is passed. Otherwise, the maximum value is represented by the number of bits of the data. A limiter 13 for outputting a minimum value; 상기 리미터(13)의 출력을 반전하는 반전기(15);An inverter (15) for inverting the output of the limiter (13); 샘플링된 소정 비트의 리니어 데이타와 상기 반전기(15)의 출력을 가산하는 가산기(16);및An adder 16 for adding the sampled bit data of the predetermined number of bits to the output of the inverter 15, 상기 가산기(16)에서 출력되는 데이타의 부호비트와 나머지 비트들에 대한 배타적 논리합 연산을 수행하는 배타적 논리합 유니트(17)로 구성되는 적응차분 펄스부호변조 압축회로.And an exclusive OR unit (17) for performing an exclusive OR operation on the sign bit and the remaining bits of the data output from the adder (16). 제2항에 있어서, 상기 가산기(16)의 입력단에 연결되어, 샘플링된 소정 비트의 리니어 데이타를 입력하여 상기 가산기(16)의 입력단에 제공하는 레지스터(11);3. The adder according to claim 2, further comprising: a register (11) connected to an input of the adder (16) for inputting sampled linear data of a predetermined bit to the input of the adder (16); 상기 리미터(13)와 반전기(15) 사이에 연결되어, 상기 리미터(13)의 출력을 상기 반전기(15)의 입력단에 제공하는 레지스터(14);및A resistor 14 connected between the limiter 13 and the inverter 15 for providing the output of the limiter 13 to the input of the inverter 15, 상기 배타적 논리합 유니트(17)의 출력단에 연결되어, 상기 배타적 논리합 연산의 결과를 차분데이타로서 출력단에 유지시키는 레지스터(18)를 부가하여 포함하는 적응차분 펄스부호변조 압축회로.And a register (18) connected to an output terminal of the exclusive-OR unit (17) for holding the result of the exclusive-OR operation as differential data at an output terminal. 제2항에 있어서, 상기한 압축샘플 발생부는3. The apparatus of claim 2, wherein the compressed sample generator 선택 제어신호에 따라 상기 차분 발생부에서 출력되는 차분데이타와 피드백된 한 주기 이전의 압축샘플 데이타 중 하나를 선택하기 위한 스위칭 수단(21, 22);Switching means (21, 22) for selecting one of differential data output from the difference generator and feedback sample data before one cycle in response to a selection control signal; 상기 스위칭 수단(21, 22)에서 선택된 데이타와 반전된 스텝크기 데이타를 가산하여 압축샘플 데이타를 생성하는 가산기(23);An adder (23) for adding the step size data inverted from the data selected by the switching means (21, 22) to generate compressed sample data; 상기 가산기(23)에서 출력되는 압축샘플 데이타로부터 소정의 선택 제어신호를 생성하여 상기 스위칭 수단(21, 22)에 제공하는 레지스터 선택로직(25);및A register selection logic (25) for generating a predetermined selection control signal from the compressed sample data output from the adder (23) and providing the selected selection control signal to the switching means (21, 22) 상기 가산기(23)에서 출력되는 압축샘플 데이타를 출력단에 유지시켜 한 주기 이전의 압축샘플 데이타로서 상기 스위칭 수단(21, 22)에 제공하는 레지스터(24)로 구성되는 적응차분 펄스부호변조 압축회로.And a register (24) for holding the compressed sample data output from the adder (23) at the output terminal and providing the same to the switching means (21, 22) as compressed sample data one cycle before. 제4항에 있어서, 상기한 압축샘플 출력부는5. The apparatus of claim 4, wherein the compressed sample output section 상기 압축샘플 발생부에서 출력되는 압축샘플 데이타의 최대유효비트를 입력하여 반전하는 반전기(31);An inverting unit 31 for inputting and inverting the most significant bit of the compressed sample data output from the compressed sample generating unit; 상기 반전기(31)에서 최대유효비트의 반전값이 입력될때마다 순차적으로 입력하여 출력단에 유지시키는 적어도 하나 이상의 레지스터(3234);및At least one register 3234 for sequentially inputting the inverted value of the most significant bit in the inverter 31 and holding it at the output terminal, 상기 차분 발생부의 가산기(16)에서 출력되는 차분데이타의 최대유효비트를 입력하여 출력단에 유지시키는 레지스터(35)로 구성되며, 상기 각 레지스터(3235)의 출력단 데이타를 변조된 출력데이타로서 외부에 제공하는 적응차분 펄스부호변조 압축회로.And a register 35 for receiving the maximum valid bit of the difference data output from the adder 16 of the difference generator and holding the same at the output terminal. The output data of each register 3235 is supplied to the outside as modulated output data Adaptive differential pulse code modulation and compression circuit. 제5항에 있어서, 상기한 스텝크기 발생부는6. The apparatus of claim 5, wherein the step size generator 상기 압축샘플 데이타에서 제공되는 출력데이타를 입력하여 디코딩함으로써 그 데이타 고유의 인덱스를 생성하는 인덱스 디코더(41);An index decoder 41 for inputting and decoding output data provided from the compressed sample data, thereby generating an index unique to the data; 상기 인덱스 디코더(41)에서 생성되는 인덱스와 한 주기 이전의 인덱스를 가산하는 가산기(42);An adder 42 for adding an index generated by the index decoder 41 and an index before one cycle; 상기 가산기(42)에서 출력되는 데이타에 오버 플로우 또는 언더 플로우가 존재하는지를 검사하며, 상기 검사 결과에 따라 결정되는 데이타를 출력하는 리미터(43);A limiter 43 for checking whether there is an overflow or an underflow in the data output from the adder 42 and outputting data determined according to the result of the check; 각 어드레스에 대응하여 스텝크기를 미리 저장하고 있으며, 상기 리미터(43)에서 출력되는 데이타를 어드레스로 입력하여 그에 대응하는 스텝크기를 출력하는 롬(45);A ROM 45 for storing a step size corresponding to each address in advance and inputting data output from the limiter 43 as an address and outputting a step size corresponding thereto; 상기 롬(45)에서 출력되는 스텝크기를 쉬프트에 의해 외부에 제공하는 쉬프트 레지스터(46);및A shift register 46 for providing the step size output from the ROM 45 to the outside by shifting; 상기 쉬프트 레지스터(46)에서 출력되는 스텝크기를 반전하여 상기 압축샘플 발생부의 가산기(23)에 제공하는 반전기(47)로 구성되는 적응차분 펄스부호변조 압축회로.And an inverter 47 for inverting the step size output from the shift register 46 and providing it to the adder 23 of the compressed sample generator. 제6항에 있어서, 상기한 리미터(43)와 롬(45) 사이에 연결되며, 상기 리미터(43)에서 출력되는 데이타를 상기 롬(45)의 어드레스로서 제공하는 레지스터(44)를 부가하여 포함하는 적응차분 펄스부호변조 압축회로.The semiconductor memory device according to claim 6, further comprising a register (44) connected between the limiter (43) and the ROM (45) and providing data output from the limiter (43) Adaptive differential pulse code modulation and compression circuit. 제6항에 있어서, 상기한 예측데이타 발생부는7. The apparatus of claim 6, wherein the prediction data generator 상기 압축샘플 출력부에서 제공되는 출력데이타를 디코딩하여 그 결과를 출력하는 압축샘플 디코더(55);A compressed sample decoder 55 for decoding the output data provided by the compressed sample output unit and outputting the result; 상기 스텝크기 발생부의 쉬프트 레지스터(46)에서 출력되는 스텝크기를 순차적으로 입력하여 출력단에 유지시키는 레지스터(5154);A register 5154 for sequentially inputting a step size output from the shift register 46 of the step size generator and holding the step size at the output stage; 상기 압축샘플 디코더(55)에서 출력되는 디코딩 결과에 의거하여 상기 레지스터(5154) 중 하나의 출력단 데이타를 선택하여 가산하며, 그 결과를 출력하는 가산기(56);및An adder 56 for selecting and adding one output stage data of the register 5154 based on the decoding result outputted from the compression sample decoder 55 and outputting the result; 상기 가산기(56)에서 출력되는 데이타와 상기 스텝크기 출력부에서 제공되는 출력데이타의 최대유효비트에 대하여 배타적 논리합 연산을 수행하며, 그 연산의 결과를 상기 차분 발생부에 예측데이타로서 제공하는 배타적 논리합 유니트(57)로 구성되는 적응차분 펄스부호변조 압축회로.An exclusive OR operation for performing an exclusive OR operation on the data output from the adder 56 and the maximum valid bit of the output data provided by the step size output unit and providing the result of the operation as predictive data to the difference generator, Unit (57).
KR1019960037152A 1996-08-30 1996-08-30 Adaptive differential pcm compression circuit KR0182182B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960037152A KR0182182B1 (en) 1996-08-30 1996-08-30 Adaptive differential pcm compression circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960037152A KR0182182B1 (en) 1996-08-30 1996-08-30 Adaptive differential pcm compression circuit

Publications (2)

Publication Number Publication Date
KR19980017376A KR19980017376A (en) 1998-06-05
KR0182182B1 true KR0182182B1 (en) 1999-04-15

Family

ID=19471961

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960037152A KR0182182B1 (en) 1996-08-30 1996-08-30 Adaptive differential pcm compression circuit

Country Status (1)

Country Link
KR (1) KR0182182B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100585637B1 (en) * 1998-12-31 2006-08-18 엘지전자 주식회사 Video compression circuit
KR100590522B1 (en) * 2000-10-20 2006-06-15 삼성전자주식회사 Coding apparatus and method for orientation interpolator node
KR20030002638A (en) * 2001-06-29 2003-01-09 주식회사 하이닉스반도체 A device for implementing adaptive differential pulse code modulation
KR100480787B1 (en) * 2001-11-27 2005-04-07 삼성전자주식회사 Encoding/decoding method and apparatus for key value of coordinate interpolator node

Also Published As

Publication number Publication date
KR19980017376A (en) 1998-06-05

Similar Documents

Publication Publication Date Title
JP3484310B2 (en) Variable length encoder
JP3995106B2 (en) Method and means for processing information
US4216460A (en) Transmission and/or recording of digital signals
KR960013080A (en) MPEG audio / video decoder
JP2002366419A (en) Data processor and data processing method
KR970025145A (en) High speed variable length decoding device
US20100017196A1 (en) Method, system, and apparatus for compression or decompression of digital signals
JP2010136420A (en) Long-term prediction encoding method, long-term prediction decoding method, device thereof, program thereof
KR0182182B1 (en) Adaptive differential pcm compression circuit
KR960036749A (en) Variable-length decoding device
US6647064B1 (en) ADPCM encoding apparatus, ADPCM decoding apparatus and delay circuit
JPH07199996A (en) Device and method for waveform data encoding, decoding device for waveform data, and encoding and decoding device for waveform data
KR0182181B1 (en) Adaptive differential pulse code modulation resetting circuit
US7916048B2 (en) Encoding a gray code sequence for an odd length sequence
KR970063944A (en) Telephone terminal with frequency division circuit and method and frequency division circuit
US4910751A (en) Method and apparatus for reversible compression of information-carrying symbols
US4549305A (en) Adaptive differential PCM decoder
KR950022178A (en) Method and apparatus for encoding / decoding digital signal
JPH07249995A (en) Data encoding device
JP3010623B2 (en) Encoding device
KR100207428B1 (en) Variable length coding apparatus and method adaptive to changes of the hoffman codes
US5151791A (en) Efficient encoding of picture signal
KR970025146A (en) Memory control signal and address generator for data companding
JP2521052B2 (en) Speech coding system
JPS6387034A (en) Coding device

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

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee