CN102594358A - Code system conversion circuit for converting binary-coded decimal (BCD) codes to Lee restrict competition count codes - Google Patents
Code system conversion circuit for converting binary-coded decimal (BCD) codes to Lee restrict competition count codes Download PDFInfo
- Publication number
- CN102594358A CN102594358A CN2012100845314A CN201210084531A CN102594358A CN 102594358 A CN102594358 A CN 102594358A CN 2012100845314 A CN2012100845314 A CN 2012100845314A CN 201210084531 A CN201210084531 A CN 201210084531A CN 102594358 A CN102594358 A CN 102594358A
- Authority
- CN
- China
- Prior art keywords
- codes
- bcd
- coded decimal
- binary
- lee
- 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.)
- Pending
Links
Images
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
The invention discloses a code system conversion circuit for converting binary-coded decimal (BCD) codes to Lee restrict competition count codes, which comprises an input register, a decoding logic circuit and an output register, wherein the input end of the input register is used for inputting BCD codes to be converted and inputting the BCD codes to be converted into the decoding logic circuit after the BCD codes to be converted are synchronized through synchronous clock signals; the decoding logic circuit decodes the synchronized BCD codes and then sends the synchronized BCD codes to the output register; and the output register is further connected with the synchronous clock signals and outputs four-bit Lee codes under control of the synchronous clock signals, and the output register is further connected with reset signals capable of resetting the circuit. The code system conversion circuit for converting the BCD codes to the Lee restrict competition count codes can achieve reset control and convert the input BCD codes to the Lee codes fast and accurately.
Description
Technical field
The present invention relates to the code system change-over circuit, particularly a kind of binary-coded decimal changes the code system change-over circuit of Li Shi restriction competition counting coding.
Background technology
At present, binary-coded decimal is widely used in the digital circuit field, changes simultaneously yet binary-coded decimal often has long numeric data; Cause phenomenon of competition and risk easily; Particularly particularly evident in combinational logic circuit, the maximum operating frequency that this has just limited digital circuit becomes the bottleneck that performance improves.
And the Li Shi coding is the same with Gray code, has only the one digit number certificate to change between adjacent encoder at every turn, thereby has fundamentally eliminated the race and hazard phenomenon of circuit, cooperates shown in the table 1.Different with Gray code is that the Li Shi coding has characteristic sequence B0 [0:7]=0111_1111 and B1 [0:7]=0001_1100, can produce the Li Shi coding at an easy rate through these two characteristic sequences, thereby it has higher using value than Gray code.
Table 1
16 system numbers | The Li Shi coding | Binary-coded decimal |
? | B3B2B1B0 | B3B2B1B0 |
0 | 0000 | 0000 |
1 | 0001 | 0001 |
2 | 1001 | 0010 |
3 | 1011 | 0011 |
4 | 0011 | 0100 |
5 | 0111 | 0101 |
6 | 0101 | 0110 |
7 | 1101 | 0111 |
8 | 1111 | 1000 |
9 | 1110 | 1001 |
A | 0110 | 1010 |
B | 0100 | 1011 |
|
1100 | 1100 |
D | 1000 | 1101 |
|
1010 | 1110 |
F | 0010 | 1111 |
With Li Shi coding and binary-coded decimal common application in digital circuit, with the performance that improves digital circuit widely.The patented technology that binary-coded decimal converts the Li Shi coding into does not also appear being used at present.
Summary of the invention
Technical problem to be solved by this invention provides and a kind ofly can realize the control that resets, and changes the code system change-over circuit of Li Shi restriction competition counting coding to the binary-coded decimal that the binary-coded decimal of input converts the Li Shi coding quickly and accurately into.
The present invention adopts following technical scheme for solving the problems of the technologies described above: the present invention has designed the code system change-over circuit that a kind of binary-coded decimal changes Li Shi restriction competition counting coding, it is characterized in that: comprise input register, decoding logic circuit and output register;
The input of said input register is used to import binary-coded decimal to be converted, and imports decoding logic circuit through synchronizing clock signals synchronously;
Said decoding logic circuit is sent into output register with aforementioned after synchronous binary-coded decimal is deciphered;
Said output register also is connected with synchronizing clock signals, and 4 Li Shi of output encode under its control;
Said output register also is connected with the reset signal that can make circuit reset.
The present invention adopts above technical scheme compared with prior art, has following technique effect:
1. the binary-coded decimal that the present invention designed changes the code system change-over circuit of Li Shi restriction competition counting coding can realize resetting controlled function;
2. the code system change-over circuit that the binary-coded decimal that the present invention designed changes Li Shi restriction competition counting coding has synchronization control function, can effectively reduce the race and hazard phenomenon of input signal;
3. the code system change-over circuit simplicity of design that the binary-coded decimal that the present invention designed changes Li Shi restriction competition counting coding is prone to row, and chip area is little, and cost is low;
4. the code system change-over circuit of the binary-coded decimal commentaries on classics Li Shi restriction competition counting coding that the present invention designed is changed accurately, and speed is fast.
Description of drawings
Fig. 1 is that the binary-coded decimal that the present invention designs changes the structural framing figure that the code system change-over circuit of coding is counted in Li Shi restriction competition;
Fig. 2 is that the binary-coded decimal that the present invention designs changes the functional simulation sequential chart that the code system change-over circuit of coding is counted in Li Shi restriction competition;
Fig. 3 is that the binary-coded decimal that the present invention designs changes the gate level circuit figure that the decoding logic circuit part of the code system change-over circuit of encoding is counted in Li Shi restriction competition.
Embodiment
Below in conjunction with accompanying drawing technical scheme of the present invention is done further detailed description:
As shown in Figure 1, the present invention has designed the code system change-over circuit that a kind of binary-coded decimal changes Li Shi restriction competition counting coding, comprises input register, decoding logic circuit and output register, wherein:
Deposit input register in after 4 the binary-coded decimal input, decipher through clock signal back input synchronously decoding logic circuit, and deposit decoding architecture in output register, then 4 Li Shi codings of output under the control of synchronizing clock signals.
As shown in Figure 2, when reset signal Rst_n was low level, output was reset to 0000; When reset signal was invalid, at the rising edge of synchronizing clock signals CLK, 4 BCD of input were deposited in input register, got into decoding logic circuit decoding then, and decode results deposits output register in, exported 4 Li Shi codings then.As can be seen from the figure, 4 Li Shi coding Li [3:0] of output are corresponding one by one with 4 bit code BCD [3:0] of input, explain that this circuit completes successfully the code system translation function.
As shown in Figure 3, the 3rd output L3 of Li Shi coding be 4 input signals mutually or output, and these 4 input signals are 4 binary-coded decimal interdigits with the result.Equally, L2 be 4 input signals mutually or output, and these 4 input signals are 4 binary-coded decimal interdigits with the result; L1 be 5 input signals mutually or output, and these 5 input signals are 4 binary-coded decimal interdigits with the result.L0 then be binary-coded decimal interdigit earlier mutually or, then with output.
Claims (1)
1. a binary-coded decimal changes the code system change-over circuit that Li Shi restriction competition counting is encoded, and it is characterized in that: comprise input register, decoding logic circuit and output register;
The input of said input register is used to import binary-coded decimal to be converted, and imports decoding logic circuit through synchronizing clock signals synchronously;
Said decoding logic circuit is sent into output register with aforementioned after synchronous binary-coded decimal is deciphered;
Said output register also is connected with synchronizing clock signals, and 4 Li Shi of output encode under its control;
Said output register also is connected with the reset signal that can make circuit reset.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100845314A CN102594358A (en) | 2012-03-28 | 2012-03-28 | Code system conversion circuit for converting binary-coded decimal (BCD) codes to Lee restrict competition count codes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100845314A CN102594358A (en) | 2012-03-28 | 2012-03-28 | Code system conversion circuit for converting binary-coded decimal (BCD) codes to Lee restrict competition count codes |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102594358A true CN102594358A (en) | 2012-07-18 |
Family
ID=46482613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100845314A Pending CN102594358A (en) | 2012-03-28 | 2012-03-28 | Code system conversion circuit for converting binary-coded decimal (BCD) codes to Lee restrict competition count codes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102594358A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103297063A (en) * | 2013-01-24 | 2013-09-11 | 东南大学 | Code system converting circuit for converting Gray code to Lee restricting competition count code |
CN103297062A (en) * | 2013-01-24 | 2013-09-11 | 东南大学 | 4line-16line decoding circuit based on Lipschitz restricting competition counting code |
CN103297064A (en) * | 2013-01-24 | 2013-09-11 | 东南大学 | Display decoding circuit based on Lipschitz restricting competition counting code |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1921316A (en) * | 2006-07-28 | 2007-02-28 | 东南大学 | Confinement competition digital circuit with homophase displacement mode |
CN1972131A (en) * | 2006-07-28 | 2007-05-30 | 东南大学 | Restraint competition count code circuit with mode of reverse phase shift |
CN101079636A (en) * | 2007-06-19 | 2007-11-28 | 北京中星微电子有限公司 | Method for decoding one-bit hot code into binary code and one-bit hot code encoder |
-
2012
- 2012-03-28 CN CN2012100845314A patent/CN102594358A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1921316A (en) * | 2006-07-28 | 2007-02-28 | 东南大学 | Confinement competition digital circuit with homophase displacement mode |
CN1972131A (en) * | 2006-07-28 | 2007-05-30 | 东南大学 | Restraint competition count code circuit with mode of reverse phase shift |
CN101079636A (en) * | 2007-06-19 | 2007-11-28 | 北京中星微电子有限公司 | Method for decoding one-bit hot code into binary code and one-bit hot code encoder |
Non-Patent Citations (1)
Title |
---|
YOUNG JIN JUNG等: "All-optical 4-bit Gray code to binary coded decimal converter", 《OPTICAL COMPONENTS AND MATERIALS V》, 5 February 2008 (2008-02-05), pages 1 - 10 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103297063A (en) * | 2013-01-24 | 2013-09-11 | 东南大学 | Code system converting circuit for converting Gray code to Lee restricting competition count code |
CN103297062A (en) * | 2013-01-24 | 2013-09-11 | 东南大学 | 4line-16line decoding circuit based on Lipschitz restricting competition counting code |
CN103297064A (en) * | 2013-01-24 | 2013-09-11 | 东南大学 | Display decoding circuit based on Lipschitz restricting competition counting code |
CN103297064B (en) * | 2013-01-24 | 2016-08-03 | 东南大学 | Display decoding circuit based on Li Shi restriction competition counting coding |
CN103297062B (en) * | 2013-01-24 | 2016-08-31 | 东南大学 | 4 line-16 line decoding circuits based on Li Shi restriction competition counting coding |
CN103297063B (en) * | 2013-01-24 | 2016-12-28 | 东南大学 | Gray code turns the code system change-over circuit of Li Shi restriction competition counting coding |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI530167B (en) | Methods for multi-level data transmission | |
CN104333365B (en) | A kind of three-stage time-to-digital conversion circuit | |
CN102799410B (en) | Asynchronous FIFO (first in first out) address conversion circuit based on Lee restricting competition counting coding | |
CN102594358A (en) | Code system conversion circuit for converting binary-coded decimal (BCD) codes to Lee restrict competition count codes | |
CN104202040A (en) | Detecting circuit and method for bit level | |
CN104242934A (en) | Circuit and method for eliminating metastable state of full-asynchronism SAR ADC with redundancy bits | |
CN104283561B (en) | A kind of asynchronous clock parallel-serial conversion half period output circuit | |
CN102468856B (en) | High speed parallel concatenated code coder decoder | |
CN103297054A (en) | Annular time to digital converter and method thereof | |
US9819359B1 (en) | Multi-symbol, multi-format, parallel symbol decoder for hardware decompression engines | |
CN103559161B (en) | A kind of bus many width change-over circuit for FPGA configuration | |
CN103546169A (en) | Method for achieving (2, 1, 7) convolutional coding at 3/4 rate in Field Programmable Gate Array (FPGA) | |
CN103605626B (en) | A kind of Single wire Serial Bus agreement and change-over circuit | |
CN103065188A (en) | Decoding circuit of non-contact integrated circuit (IC) card | |
CN103731241A (en) | Encoding system and method for improving spectrum efficiency of communication system | |
CN105099458B (en) | Thermometer decoder | |
CN201392538Y (en) | Decoder suitable for PIE coding | |
CN103346860B (en) | A kind of decoding unit of wireless transmitting system and interpretation method thereof | |
CN208110589U (en) | mipi communication interface circuit | |
CN103297063B (en) | Gray code turns the code system change-over circuit of Li Shi restriction competition counting coding | |
CN103684473A (en) | High-speed serial-parallel conversion circuit based on FPGA | |
CN102594359B (en) | Realization circuit of 8-bit restrict competition count codes | |
CN104469366B (en) | A kind of 0 rank Exp- Golomb decoder and coding/decoding method | |
CN102195651B (en) | High-speed analogue-digital converter | |
CN205232201U (en) | Collecting electrode encoder decoding circuit |
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 | ||
CB02 | Change of applicant information |
Address after: No. 99 road 214135 Jiangsu province Linghu Binhu District of Wuxi City Applicant after: Southeast University Address before: No. 99 road in Nanjing city of Jiangsu province 214135 Linghu Applicant before: Southeast University |
|
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120718 |