CN1096750C - codec device - Google Patents
codec device Download PDFInfo
- Publication number
- CN1096750C CN1096750C CN 95104264 CN95104264A CN1096750C CN 1096750 C CN1096750 C CN 1096750C CN 95104264 CN95104264 CN 95104264 CN 95104264 A CN95104264 A CN 95104264A CN 1096750 C CN1096750 C CN 1096750C
- Authority
- CN
- China
- Prior art keywords
- data
- signal
- circuit
- address array
- decoder
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
- 230000001360 synchronised effect Effects 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 3
- 230000000630 rising effect Effects 0.000 claims description 3
- 230000010355 oscillation Effects 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 abstract description 25
- 238000010586 diagram Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 4
- 230000008676 import Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 2
- 230000002950 deficient Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
Images
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
A high-efficient coding and decoding device is to use 2 positive integer power state number to achieve the purpose of increasing transmission capacity, reducing transmission data length and error rate and reducing number of pins representing data, the coding and decoding system includes two parts of coder and decoder, the coder part includes an oscillating circuit, a phase divider, an address array input device, a line scanner, a synchronizing circuit, a parallel to serial output device, the decoder includes an oscillating circuit, a frequency divider, an address array input device, a line scanner, a synchronizing signal for detecting data string, a counter decoding circuit, a comparison circuit, a 2nThe decoder of the state data generator judges the data transmitted from the encoder and outputs parallel signals.
Description
The present invention relates to a kind of encoding/decoding device, refer in particular to a kind of can reaching and improve transmission capacity, reduce the encoding/decoding device that transmits data length and the pin count of error rate and minimizing representative data with a positive integer power status number of 2.
In the coding/decoding circuit that tradition becomes with integrated circuit (IC) design, have only two condition input and two kinds of code encoding/decoding modes of ternary input at present, and the circuit arrangement that technology constituted of this kind low state input mode has following shortcoming:
1. the two condition input needs [log when transmission N kind data are counted
2N] individual input pin, more input pin causes higher cost on integrated circuit manufacturing and packing; Especially when the N value is big more, need the integrated circuit of high integration.
2. when ternary input mode is counted in transmission N kind data, need [log
3N] individual input, though the input endpoint can be few than the two condition mode, can produce the problem that efficiency of transmission reduces, because data transmit with serial mode in transport process, three-state then needs two bits to represent so, so data transfer length will reach 2[log
3N] individual bit, with 2[log4N] transmission length identical, this is because wasted the 4th kind of state institute extremely, and efficiency of transmission obviously reduces, and on identical transmission data number, also can improve because of transmitting the elongated probability that causes being disturbed of length.
Lift a simple case to above-mentioned defective to explanation: the input of two condition is to connect positive supply or ground connection to differentiate the state of its " 1 " or " 0 ".Ternary input is to connect positive supply, ground connection and do not meet (floating) differentiating its three kinds of states 11,00,10, and this moment, 01 state was not bright.The input of four attitudes is to connect positive supply, ground connection and clock, can differentiate its four kinds of states 11,00,10,01.
So the input of four attitudes will increase a pin.
Be the table of comparisons that different pins cooperates each state to produce below
The pin number | Two condition transmission number | Ternary transmission number | Four attitudes transmission number | Four attitudes/two condition compares number | Four attitudes/three-state compares number |
6 | 64 | 729 | 1024 | 16.00 | 1.40 |
7 | 128 | 2187 | 4096 | 32.00 | 1.87 |
8 | 256 | 6561 | 16384 | 64.00 | 2.50 |
9 | 512 | 19683 | 65536 | 128.00 | 3.33 |
10 | 1024 | 59049 | 262144 | 256.00 | 4.44 |
11 | 2048 | 177147 | 1048576 | 512.00 | 5.92 |
12 | 4096 | 531441 | 4194304 | 1024.00 | 7.89 |
13 | 8192 | 1594323 | 16777216 | 2048.00 | 10.52 |
14 | 16384 | 4782969 | 67108864 | 4096.00 | 14.03 |
The pin number | Two condition transmission number | Ternary transmission number | Four attitudes transmission number | Four attitudes/two condition compares number | Four attitudes/three-state compares |
15 | 32768 | 14348907 | 268435456 | 8192.00 | 18.71 |
16 | 65536 | 43046720 | 1073741824 | 16384.00 | 24.94 |
17 | 131072 | 129140160 | 4294967296 | 32768.00 | 33.26 |
18 | 262144 | 387420480 | 17179869184 | 65536.00 | 44.34 |
19 | 524288 | 1162261594 | 68719476736 | 131072.00 | 59.13 |
20 | 104875 | 3486784256 | 274877906944 | 262144.00 | 78.83 |
Last example is when 6 identical pin counts, and total transmission number of two condition is 2
6Ternary total transmission number is 3
6Total transmission number of four attitudes is 4
6-1, subtract a pin and use for clock.
If total transmission number of four attitudes is compared with total transmission number of two condition and three-state respectively, can be found really that now the load mode of four attitudes has bigger transmission capacity at same pin count.In addition, under identical transmission length, four attitudes have the higher data transfer rate.Other lifts an example so that it to be described, each pin status data of ternary input needs [log2
3]=2 bit; The input of four attitudes needs [log2
4] also be 2 and compare number; The input of five attitudes then needs [log2
5]=3 bit, if there is the serial data of one 12 bits (bit) to transmit, it transmits data and status number is listed as follows:
Status data | The status data number that can transmit in 12 bits | The valid data number | |
Ternary | [log2 3]=2 | 12/2=6 | 3 6=729 |
Four attitudes | [log2 4]=2 | 12/2=6 | 4 6=4096 |
Five attitudes | [log2 5]=3 | 12/3=4 | 5 4=625 |
Six attitudes | [log2 6]=3 | 12/3=4 | 6 4=1296 |
Seven attitudes | [log2 7]=3 | 12/3=4 | 7 4=2401 |
The objective of the invention is for a kind of encoding/decoding device is provided, its positive integer power status number with 2 reaches the purpose that improves transmission capacity, reduces the IC bond number that transmits data length and error rate and minimizing representative data, described encoder can be encoded into 2 integer power kind status data of input and can be the parallel output signal that distant place decoder can be read, and the serial data that decoder can transmit the own coding device is differentiated and send parallel output signal.Encoding/decoding device of the present invention can be applicable to the design of integrated circuit and makes.
Fig. 1 is a coding circuit of the present invention;
Fig. 2 is among the coding embodiment of encoder of the present invention under two condition, the sequential chart that each is relevant;
Fig. 3 is among the coding embodiment of encoder of the present invention under four attitudes, the sequential chart that each is relevant;
Fig. 4 is the preferred embodiment of the quadraflop figure of address array loader shown in Figure 1;
Fig. 5 is for respectively importing the sequential chart of each row signal of pin among Fig. 4 embodiment;
Fig. 6 is among Fig. 4 embodiment, the input pin connect VSS, VDD, do not connect, and S-IN signal timing diagram during column signal S;
Fig. 7 is the preferred embodiment of eight attitude circuit diagrams of address array loader shown in Figure 1;
Fig. 8 is presented at respectively to import pin among Fig. 7 embodiment and connecting VSS, VDD, and S-IN signal timing diagram when column signal S1, S2, S3, S4, S5;
Fig. 9 to Figure 12 illustrative data format of the present invention;
Figure 13 is a decoding circuit of the present invention.
As shown in Figure 1, it is the block diagram of encoder circuit of the present invention, below will elaborate to concerning between the function of each circuit among Fig. 1 and each circuit.
Oscillating circuit 11, TE controls by the enable signal end, and to produce required fundamental frequency in the code device, its fundamental frequency is sent to phase divider 12 by this oscillating circuit 11 output CL.
Can learn by Fig. 2 and two condition shown in Figure 3 and the digital coding of four attitudes,,, by that analogy, encode 2 as long as form with three bits as the data of eight attitudes of will encoding
nThe coding of attitude needs the composition of n bit.
In Fig. 4, as the signal of importing pin is during for " opening ", " 0 ", " 1 " of its data bit (Data bit) is that the signal by row signal XO decides, enter and walk in the tandem follower 16 by signal input part S-IN again, and input pin signal is not when being " opening ", and promptly the signal level by its input pin decides the S-IN signal.When for example meeting VSS, in the L of the capable signal of XO (low level) and any variation of H high level, S-IN is " low ".When meeting VDD, as long as among capable signal L of XO or H a variation is arranged, then S-IN is " height ".When meeting column signal S, as long as when the L of the capable signal of XO and H have one to change, S-IN is the anti-phase of XO signal, the input pin connect VSS, VDD, do not connect, and S-IN signal timing diagram during column signal S shown in figure six.
Eight attitude circuit diagrams of address array loader as shown in Figure 7 among Fig. 1.For example, with regard to the embodiment of 16 pins input, the signal of its eight attitude (i.e. VDD shown in the figure, VSS, S1, S2, S3, S4, S5, OPEN), can be delivered to and respectively import pin to switching switch (8 TO, 1 a switch) switch path via eight shown in the dotted line.When scanning input pin AO-A15, be to select by the capable signal of X4-X7, its sequential action is identical with four attitudes, with reference to shown in Figure 5.And the S-IN signal is made up of the XO-X3 signal, its sequential chart as shown in Figure 8, by Fig. 4 and shown in Figure 7, the mode of circuit can organize into groups 16,32 according to this ... 2
nThe encoder of the state of kind.
Sequential chart shown in Figure 8 promptly is to be presented at respectively to import pin among Fig. 7 embodiment and connecting VSS, VDD, and S-I signal timing diagram when column signal S1, S2, S3, S4, S5.
So when transmitting data, the beginning of each frame all has individual bits of original (start bit) shown in (+) among the figure, be encoder with first high level benchmark position of QM as the initial bit of decoder, and decoder is as the beginning that detects whole serial data in order to bits of original, so after detecting bits of original, whole serial data can move an OM, be signal " height " partly, and this serial data bit is when being " 0 ", its L: H is 1: 1, and bit is when being " 1 ", and its L: H is 1: 2, as Fig. 2 and Fig. 3 institute also.The serial data of being made up of bits of original and bit " 00 " or bit " 11 " is shown in (+) among the figure.
And to walk to serial follower 16 be that QM, QN signal with phase divider 12 is with the parallel input pin AO-Am of address array loader 13, with 2
nKind of state encoding, eight kinds of state encodings for example, as shown in Figure 8.By three data bit 000-111,0 or 1 waveform of each data bit as shown in Figure 2.Add synchronous circuit 15, this parallel data is changed into serial data output.
Figure 13 is the circuit of decoder of the present invention.Wherein oscillating circuit 21, and in order to produce the required fundamental frequency of decoding circuit, the frequency signal that is produced will offer the use of frequency divider 22, data string detection synchronizing signal 25 and counter decode circuit 26.Frequency divider 22 is with the fundamental frequency frequency required with the column scan device that be divided into lines.
The address array input circuit 13 of address array loader 23 and row and the circuit function of column scan device 24 and aforementioned coding circuit, capable identical with column scan device 14 is so refuse repeated description.
Data string detection synchronizing signal 25, the data of coming through medium transmission by data input pin pin received code device, and detect the bits of original (as shown in figure 10) of these data, whole serial data is made Synchronous Processing, each rising edge place at serial data, get a pulse (as Figure 12), the serial data shown in the figure is 001.The signal that this data string detection synchronizing signal 25 is exported will be sent to counter decode circuit 26, cooperate frequency signal that oscillating circuit 21 sends here again and as the counting benchmark of counter.
2
n Attitude data generator 27, its with address array loader 23 import 2
nKind of status data is represented with N bit, and the data of decoding out with counter decode circuit 26 are made comparisons in comparison circuit 28 again, promptly finish signal VT by decoding as if compare OK and export.
Aforesaid encoder and decoder have constituted code device of the present invention, and it reaches the purpose that improves transmission capacity, reduces the pin count that transmits data length and error rate and minimizing representative data integrated circuit with a positive integer power status number of 2.Its encoder can be encoded into 2 integer power data of input the serial output signal that can be read by distant place decoder, and decoder can future the data of own coding device differentiated and produced the serial output signal.Coding and decoding device of the present invention can be applicable to the design of integrated circuit and makes, and has splendid characteristic.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 95104264 CN1096750C (en) | 1995-04-25 | 1995-04-25 | codec device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 95104264 CN1096750C (en) | 1995-04-25 | 1995-04-25 | codec device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1134630A CN1134630A (en) | 1996-10-30 |
CN1096750C true CN1096750C (en) | 2002-12-18 |
Family
ID=5075062
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 95104264 Expired - Fee Related CN1096750C (en) | 1995-04-25 | 1995-04-25 | codec device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1096750C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101788967B (en) * | 2010-03-09 | 2012-02-08 | 西安电子科技大学 | Anti-crosstalk on-chip bus encoding and decoding method and encoding and decoding device |
CN101936751B (en) * | 2010-07-20 | 2012-07-04 | 兰州大学 | Method and circuit thereof for improving resolution of encoder by adopting secondary subdivision |
-
1995
- 1995-04-25 CN CN 95104264 patent/CN1096750C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1134630A (en) | 1996-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6278740B1 (en) | Multi-bit (2i+2)-wire differential coding of digital signals using differential comparators and majority logic | |
KR950003199B1 (en) | Encoding and decoding device and record carrier for information transfer method and signal conversion | |
US4675650A (en) | Run-length limited code without DC level | |
US4688016A (en) | Byte-wide encoder and decoder system for RLL (1,7) code | |
US4533957A (en) | Method of processing picture signal to increase average run length and apparatus therefor | |
JP4057650B2 (en) | Sliding window data compression system with large gap | |
CN1096750C (en) | codec device | |
US4509194A (en) | Apparatus for producing a code word | |
US4684921A (en) | RLL (1,7) encoder with single state bit | |
US7986251B2 (en) | Input/output (IO) interface and method of transmitting IO data | |
EP0276445B1 (en) | Method and apparatus for detecting transient errors | |
KR930006750B1 (en) | Image data coding device | |
CA1291822C (en) | Method and apparatus for processing an image signal | |
US4222080A (en) | Velocity tolerant decoding technique | |
CN1191420A (en) | Serial-to-parallel converter | |
US4502142A (en) | Apparatus for detecting errors in a digital data stream encoded in a double density code | |
CN101065902A (en) | Wide window decoder circuit for dual phase pulse modulation | |
EP0209671B1 (en) | Run length limited encoder and its method of operation | |
CN1538698A (en) | Memory interface system | |
JP3673222B2 (en) | Variable length encoding method and apparatus, and variable length decoding method and apparatus | |
JPH03109842A (en) | Signal transmission method between oa equipments | |
JPS6341276B2 (en) | ||
US6456742B1 (en) | Method for image processing | |
CN1389795A (en) | Dada processing apparatus with circuit for determining serial transmission data proper characteristic | |
JPH0834545B2 (en) | Image data coding device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent of invention or patent application | ||
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: HETAI SEMICONDUCTOR CO., LTD. TO: SHENGQUN SEMICONDUCTOR CO., LTD. |
|
CP03 | Change of name, title or address |
Address after: No. three, No. two, Hsinchu Science Industrial Park, Taiwan Applicant after: Shengqun Semiconductor Co., Ltd. Address before: No. five, No. two, Hsinchu Science Industrial Park, Taiwan Applicant before: Hetai Semiconductor Co., Ltd. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C19 | Lapse of patent right due to non-payment of the annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |