KR970057882A - Fixed Length Code Bit Packing Device Using Barrel Shifter - Google Patents

Fixed Length Code Bit Packing Device Using Barrel Shifter Download PDF

Info

Publication number
KR970057882A
KR970057882A KR1019950053166A KR19950053166A KR970057882A KR 970057882 A KR970057882 A KR 970057882A KR 1019950053166 A KR1019950053166 A KR 1019950053166A KR 19950053166 A KR19950053166 A KR 19950053166A KR 970057882 A KR970057882 A KR 970057882A
Authority
KR
South Korea
Prior art keywords
code
signal
bit
data
outputting
Prior art date
Application number
KR1019950053166A
Other languages
Korean (ko)
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 KR1019950053166A priority Critical patent/KR970057882A/en
Publication of KR970057882A publication Critical patent/KR970057882A/en

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 배럴 쉬프트를 이용하여 병렬로 입력되는 가변 길이의 코드를 고정 길이의 병렬 코드로 변환하여 출력하는 비트 패킹 장치에 관한 것으로서, 가변길이 유효 신호와 유효 길이 그리고 시작 코드 위치신호를 외부로부터 입력받아 제어신호를 생성하여 출력하는 배럴 쉬프트 제어 수단(1); 상기 배럴 쉬프트 제어 수단(1)의 쉬프트 횟수 제어 신호[5:0]에 의해 외부로부터 입력된 가변 길이 코드를 이동시켜 이동돈 24비트 데이터인 쉬프트 데이터[23:0]를 출력하는 배럴 쉬프트 수단(2); 상기 배럴 쉬프트 수단(2)으로부터 쉬프트 데이터를 입력받고, 상기 배럴 쉬프트 제어수단(1)으로 부터 누적 상태 신호와 비트 접합 제어 신호[4:0]를 입력받아 입력된 데이터를 접합하여 접합된 고정 길이 코드를 출력하는 비트 접합 수단(3); 및 외부로부터 시작 코드 위치신호를 입력받고 상기 배럴 쉬프트 제어수단(1)으로부터 'Zero' 데이타의 삽입을 위한 정렬 제어 신호와 코드 유효 신호, 누적 상태 신호를 입력받고, 상기 비트 접합 수단(3)으로부터 접합된 고정 길이 코드를 입력받아 시작코드 앞까지 접합된 코드의 비트수가 24가 되지 않으면 접합되지 않고 남은 수 만큼의 비트를 영(zero)으로 대체하고, 시작 코드를 바이트 정렬시켜 외부로 고정 길이 코드를 출력하는 시작 코드 바이트 정렬수단(4)을 구비하여 MPEG-2 신택스를 따르는 가변길이 부호화기에 병렬 입력의 24비트 가변 길이 코드를 24비트 고정길이 코드로 바꾸며 MPEG-2에 명시된 시작 코드의 바이트 정렬 기능을 가지는 효과가 있다.The present invention relates to a bit packing apparatus for converting a variable length code input in parallel using a barrel shift to a fixed length parallel code, and outputting a variable length valid signal, an effective length, and a start code position signal from an external source. A barrel shift control means (1) which receives and generates and outputs a control signal; Barrel shift means (2) which outputs shift data [23: 0] which is shifted 24-bit data by shifting the variable length code inputted from the outside by the shift count control signal [5: 0] of the barrel shift control means (1) ); A fixed length joined by receiving shift data from the barrel shift means 2, receiving a cumulative state signal and a bit junction control signal [4: 0] from the barrel shift control means 1, and joining the input data Bit concatenation means (3) for outputting a code; And a start code position signal from the outside, an alignment control signal for inserting 'Zero' data, a code valid signal, and a cumulative state signal from the barrel shift control means 1, and from the bit junction means 3; If the number of bits of the code that have been spliced up to the start code before inputting the spliced fixed length code does not reach 24, the remaining number of bits that are not spliced are replaced by zero, and the start code is byte-aligned and fixed length code to the outside. And a start code byte alignment means (4) for outputting a code, and converting the 24-bit variable length code of the parallel input into a 24-bit fixed length code in a variable length coder that conforms to the MPEG-2 syntax. It is effective to have a function.

Description

배럴 수프터를 이용한 고정길이 부호 비트 패킹 장치Fixed-length code bit packing device using barrel souper

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음Since this is an open matter, no full text was included.

제1도는 본 발명의 일실시예에 따른 비트 패킹 장치의 블럭 구성도.1 is a block diagram of a bit packing apparatus according to an embodiment of the present invention.

Claims (7)

가변길이 코드의 유효 구간을 나타내는 가변길이 유효 신호와 유효한 길이를 나타내는 유효 길이 그리고 시작 코드의 위치를 나타낸는 시작코드 위치 신호를 외부로부터 입력받아 쉬프트할 횟수를 나타내는 쉬프트 횟수 제어 신호[5:0], 고정 길이 코드의 유효함을 나타내는 고정 길이 유효 신호, 비트 접합에 필요한 비트 접합 제어 신호[4:0], 유효 길이를 누적하여 24가 되면 코드를 출력하여야 함을 알리는 누적 상태 신호, 유효한 출력 신호 표시에 쓰이는 코드 유효 신호, 시작 코드의 바이트 정렬의 제어 신호인 정렬 제어 신호[5:0]를 출력하는 배럴 쉬프트 제어 수단(1); 상기 배럴 쉬프트 제어수단(1)의 쉬프트 횟수 제어 신호[5:0]에 의해 외부로부터 입력된 가변 길이 코드를 이동시켜 이동된 24비트 데이터인 쉬프트 데이터[23:0]를 출력하는 배럴 쉬프트 수단(2); 상기 배럴 쉬프트 수단(2)으로부터 쉬프트 데이터를 입력받고, 상기 배럴 쉬프트 제어 수단(1)으로부터 누적 상태 신호와 비트 접합 제어신호[4:0]를 입력받아 유효 길이의 누적값이 24를 넘지 않을 경우 그때까지 접합된 데이터와 새로이 입력되는 쉬프트 데이터를 접합하고, 누적값이 24를 넘을 경우는 쉬프트 데이터의 새로운 입력과 이전의 쉬프트 데이터를 접합하여 접합된 고정 길이 코드를 출력하는 비트 접합 수단(3); 및 외부로부터 시작 코드 위치 신호를 입력받고, 상기 배럴 쉬프트 제어 수단(1)으로부터 'Zero' 데이타의 삽입을 위한 정렬 제어 신호와 코드 유효 신호, 누적 상태 신호를 입력받고, 상기 비트 접합 수단(3)으로부터 접합된 고정 길이 코드를 입력받아 시작 코드 앞까지 접합된 코드의 비트수가 24가 되지 않으면 접합되지 않고 남은 수만큼의 비트를 영(zero)으로 대체하고, 시작 코드를 바이트 정렬시켜 외부로 고정 길이 코드를 출력하는 시작 코드 바이트 정렬 수단(4)을 구비한 것을 특징으로 하는 배럴 쉬프터를 이용한 고정길이 부호 비트 패킹 장치.Shift count control signal [5: 0], which indicates the number of times the variable length valid signal indicating the effective length of the variable length code, the effective length indicating the valid length, and the start code position signal indicating the position of the start code are received from the outside and shifted. Fixed length valid signal indicating validity of fixed length code, bit splicing control signal [4: 0] required for bit splicing, cumulative status signal indicating that the code should be output when the effective length is accumulated to 24, and valid output signal indication Barrel shift control means (1) for outputting an alignment control signal [5: 0] that is a code valid signal for use in and a byte alignment control signal of a start code; Barrel shift means for outputting shift data [23: 0], which is 24-bit data moved by shifting the variable length code inputted from the outside by the shift count control signal [5: 0] of the barrel shift control means 1 ( 2); When the shift data is input from the barrel shift means 2 and the cumulative state signal and the bit junction control signal [4: 0] are input from the barrel shift control means 1, and the cumulative value of the effective length does not exceed 24. Bit concatenation means (3) for concatenating the concatenated data and the newly input shift data until the accumulated value exceeds 24, concatenating the new input of the shift data and the old shift data and outputting the concatenated fixed length code. ; And a start code position signal from an external source, an alignment control signal for inserting 'Zero' data, a code valid signal, and an accumulated state signal from the barrel shift control means 1, and the bit junction means 3. If a fixed length code is inputted from the input code and the number of bits of the code coded up to the start code is not 24, the remaining number of bits that are not spliced are replaced by zero, and the start code is byte-aligned to fix the external length. A fixed length code bit packing device using a barrel shifter, characterized by comprising a start code byte alignment means (4) for outputting a code. 제1항에 있어서, 상기 배럴 쉬프트 제어수단(1)은 외부로부터 유효길이와 자체 저장된 '0'을 입력받아 외부의 가변 길이 유효 신호에 의해 입력된 데이타를 선택하여 출력하는 제1다중화 수단(10); 누적된 데이터에서 '24'의 값을 감산하여 출력하는 감산 수단(14); 누적된 데이터와 '24'의 값을 비교하여 그 비교 신호를 출력하는 비교 수단(15); 누적 데이터와 상기 감산 수단(14)의 출력과 '24'의 값을 입력받아 외부로부터 시작 코드 위치 신호와 상기 비교수단(15)의 비교 신호에 의해 선택하요 출력하는 제2다ㅈ중화 수단(16); 상기 제1다중화수단(10)의 출력과 상기 제2다중화 수단(16)의 출력을 입력받아 입력된 값을 가산하여 출력하는 가산 수단(12), 및 상기 가산 수단(12)의 출력과 외부의 시작 코드 위치 신호와 상기 비교 수단(15)의 비교 신호를 입력받아 제어 신호를 생성하여 출력하는 제어 신호 발생 수단(19)을 구비한 것을 특징으로 하는 배럴 쉬프터를 이용한 고정길이 부호 비트 패킹 장치.The apparatus of claim 1, wherein the barrel shift control means (1) receives the effective length and its own stored '0' from the outside and selects and outputs data input by an external variable length valid signal (10). ); Subtraction means 14 for subtracting and outputting a value of '24' from the accumulated data; Comparison means (15) for comparing the accumulated data with the value of '24' and outputting the comparison signal; Second multiplication means (16) which receives cumulative data, an output of the subtraction means (14), and a value of '24' and selects and outputs the signal by a start code position signal and a comparison signal of the comparison means (15) from the outside; ); An adder (12) for receiving an output of the first multiplexing means (10) and an output of the second multiplexing means (16), and adding and outputting the input value; And a control signal generating means (19) for receiving a start code position signal and a comparison signal of said comparing means (15) to generate and output a control signal. 제2항에 있어서, 상기 제1다중화 수단(10)의 출력을 1클럭 지연시켜 상기 가산 수단(12)에 출력하는 제1플립플롭 수단(11); 상기 가산 수단(12)의 출력을 1클럭 지연시켜 상기 제어 신호 발생 수단(19)에 출력하는 제2플립플롭수단(13); 외부의 시작 코드 위치 신호를 1클럭 지연시켜 상기 제2다중화 수단(16)과 제어 신호 발생수단(19)에 출력하는 제3플립플롭 수단(17); 및 상기 비교 수단(15)의 출력을 1클럭 지연시켜 상기 제어 신호 발생 수단(19)에 출력하는 제4플립플롭 수단(18)을 더 구비한 것을 특징으로 하는 배럴 쉬프터를 이용한 고정길이 부호 비트 패킹 장치.3. The apparatus according to claim 2, further comprising: first flip-flop means (11) for delaying the output of said first multiplexing means (1) by one delay and outputting it to said adding means (12); Second flip-flop means (13) for delaying the output of said adding means (12) by one clock and outputting it to said control signal generating means (19); Third flip-flop means (17) for delaying an external start code position signal by one clock to output to the second multiplexing means (16) and the control signal generating means (19); And fourth flip-flop means (18) for delaying the output of the comparison means (15) by one clock to output to the control signal generating means (19). Device. 제1항에 있어서, 상기 배럴 쉬프트 수단(2)은, 최대 23비트까지 오른쪽으로 이동시킬 수 있는 24비트 배럴 쉬프터인 것을 특징으로 하는 배럴 쉬프터를 이용한 고정길이 부호 비트 패킹장치.The fixed length code bit packing device according to claim 1, wherein the barrel shifting means (2) is a 24-bit barrel shifter capable of moving to the right by up to 23 bits. 제1항에 있어서, 상기 비트 접합 수단(3)은, 상기 배럴 쉬프트 수단(2)의 쉬프트 데이타와 최종 출력의 접합된 고정 길이 코드를 피드백 받아 상기 배럴 쉬프트 제어 수단(1)의 누적 상태 신호의 선택 제어 신호에 선택하여 출력하는 다중화 수단(32); 및 상기 다중화 수단(32)의 출력과 상기 배럴 시프트 수단(2)의 쉬프트 데이터를 입력받아 상기 배럴 쉬프트 제어 수단(1)의 비트 접합 제어 신호의 제어에 의해 접합하여 출력하는 코드접합 수단(33)을 구비한 것을 특징으로 하는 배럴 쉬프터를 이용한 고정길이 부호 비트 패킹 장치.2. The bit joining means (3) according to claim 1, wherein the bit joining means (3) receives feedback of the shift data of the barrel shifting means (2) and the fixed fixed length code of the final output. Multiplexing means (32) for selecting and outputting the selection control signal; And a code joining means (33) for receiving the output of the multiplexing means (32) and the shift data of the barrel shifting means (2) to be bonded and output by the control of the bit joining control signal of the barrel shift control means (1). Fixed-length coded bit packing device using a barrel shifter, characterized in that provided with. 제5항에 있어서, 상기 배럴 쉬프트 수단(2)의 쉬프트 데이터를 1클럭 지연시켜 상기 다중화 수단(32)에 출력하는 제1플립플롭 수단(30); 상기 배럴 쉬프트 제어 수단(1)의 비트 접합 제어 신호를 1클럭 지연시켜 상기 코드 접합 수단(33)에 출력하는 제2플립플롭 수단(31); 및 상기 코드 접합 수단(33)에 출력을 1클럭 지연시켜 출력하는 제3플립플롭 수단(34)을 더 구비한 것을 특징으로 하는 배럴 쉬프터를 이용한 고정길이 부호 비트 패킹 장치.6. The apparatus of claim 5, further comprising: first flip-flop means (30) for delaying the shift data of the barrel shift means (2) by one clock and outputting it to the multiplexing means (32); Second flip-flop means (31) for delaying the bit junction control signal of the barrel shift control means (1) by one clock delay and outputting it to the code junction means (33); And a third flip-flop means (34) for delaying the output by one clock to the cord bonding means (33). 제1항에 있어서, 상기 시작 코드 바이트 정렬 수단(4)은 상기 비트 접합 수단(3)의 접합된 고정길이 코드와 상기 배럴 쉬프트 제어 수단(1)의 정렬 제어 신호를 입력받아 접합된 고정길이 코드의 최하위 비트로부터 정렬 제어 신호의 수만큼 'Zero'를 삽입하여 출력하는 제로 삽입 수단(40); 외부로부터 시작 코드 위치 신호와 상기 배럴 쉬프트 제어 수단(1)의 코드 유효 신호와 누적 상태 신호를 입력받아 시작 코드 앞의 데이터가 유효 데이터일 경우 그 위치에 '1'을 출력하는 유효신호와 시작 코드 앞의 데이터가 유효 데이터가 아닐 경우 그 위치에 '1'을 출력하는 무효 신호, 시작 코드 앞까지의 유효 길이 누적값이 24보다 클 경우에 '1'을 출력하는 비교 유효 신호, 시작 코드의 위치를 나타내는 시작 코드 표시 신호를 출력하는 스터핑 제어 수단(41); 및 상기 제로 삽입 수단(40)의 출력과 상기 스터핑 제어 수단(41)의 출력을 입력받아 고정 길이 코드를 출력하는 고정 길이 데이터 출력 수단(42)을 구비한 것을 특징으로 하는 배럴 쉬프터를 이용한 고정길이 부호 비트 패킹 장치.The fixed length code according to claim 1, wherein the start code byte alignment means (4) receives the bonded fixed length code of the bit joining means (3) and the alignment control signal of the barrel shift control means (1). Zero insertion means 40 for inserting and outputting 'Zero' by the number of alignment control signals from the least significant bit of? A valid signal and a start code for receiving a start code position signal, a code valid signal of the barrel shift control means 1 and a cumulative state signal from the outside, and outputting a '1' at that position if the data before the start code is valid data. Invalid signal outputting '1' at the previous position if the previous data is not valid data; Comparative valid signal outputting '1' when the effective length cumulative value up to the start code is greater than 24, the position of the start code Stuffing control means (41) for outputting a start code indication signal indicative of a; And fixed length data output means 42 which receives the output of the zero insertion means 40 and the output of the stuffing control means 41 and outputs a fixed length code. Code bit packing device. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.
KR1019950053166A 1995-12-21 1995-12-21 Fixed Length Code Bit Packing Device Using Barrel Shifter KR970057882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950053166A KR970057882A (en) 1995-12-21 1995-12-21 Fixed Length Code Bit Packing Device Using Barrel Shifter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950053166A KR970057882A (en) 1995-12-21 1995-12-21 Fixed Length Code Bit Packing Device Using Barrel Shifter

Publications (1)

Publication Number Publication Date
KR970057882A true KR970057882A (en) 1997-07-31

Family

ID=66645988

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950053166A KR970057882A (en) 1995-12-21 1995-12-21 Fixed Length Code Bit Packing Device Using Barrel Shifter

Country Status (1)

Country Link
KR (1) KR970057882A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100460758B1 (en) * 2001-12-31 2004-12-09 매그나칩 반도체 유한회사 Method for packing and unpacking variable length code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100460758B1 (en) * 2001-12-31 2004-12-09 매그나칩 반도체 유한회사 Method for packing and unpacking variable length code

Similar Documents

Publication Publication Date Title
KR0160668B1 (en) Detector for the start code of image compression bit stream
KR950024069A (en) Variable length code decoding device
KR970014351A (en) Variable length decoding device
KR960024952A (en) Circular line encoder for error correction and frame recovery
KR940013216A (en) Versatile variable length coder for digital, video, coder
KR970057882A (en) Fixed Length Code Bit Packing Device Using Barrel Shifter
KR970009422A (en) Variable-length encoder
KR940017121A (en) Variable length code decoding device
KR880008546A (en) Digital Code Inverter and Method
KR960036748A (en) Variable-length decoding device
KR920020860A (en) A / D Converter
KR960701537A (en) METHOD AND DEVICE FOR DETECTING A CYCLIC CODE
KR890015244A (en) Digital clip circuit
KR970019660A (en) Variable-length encoder
AU2003233331A1 (en) Random signal generator
KR970057898A (en) Decoding time information generator of system encoder
KR950010383A (en) High speed variable code decoder
KR940012959A (en) Data transmission circuit
KR0121104B1 (en) Variable length corder
KR970057896A (en) Program Reference Clock Generator in System Encoder
KR970057900A (en) Time information data generator of system encoder
KR950007304A (en) Weaving encoder
KR950022339A (en) Delay-free channel alignment circuit
KR940003195A (en) Code Detection Apparatus and Method of Variable Length Decoder
KR970004496A (en) Pseudorandom Noise Offset Automatic Generator and Its Control Method in Digital Mobile Communication System

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
SUBM Submission of document of abandonment before or after decision of registration