Method for decoding one-bit hot code into binary code and one-bit hot code encoder
A binary code and decoder technology, applied in code conversion, electrical components, etc., can solve the problems of multi-control logic and complexity of devices, and achieve the effects of simplified product structure, reduced product cost, and strong scalability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] Please refer to Fig. 4, which is a flow chart of decoding 16-bit one-hot codes into 8421 codes in Embodiment 1 of the present invention, which mainly includes steps:
[0048] Step S40, determine the codeword length L of the 8421 code corresponding to the 16-bit one-hot code b , due to L b =cell(log 2 (L o )), where cell(X) means to take the smallest integer greater than X, L o is the codeword length of one-hot code, so the codeword length of 8421 code corresponding to 16-bit one-hot code is equal to 5.
[0049] raw one-hot code
Corresponding to 8421 binary code
0000000000000001
0
0
0
0
1
0000000000000010
0
0
0
1
0
0000000000000100
0
0
0
1
1
0000000000001000
0
0
1
0
0
0000000000010000
0
0
1
0
1
0000000000100000
0
0
1
1
0
...
Embodiment 2
[0061] Please refer to FIG. 6, which is a flow chart of decoding 16-bit one-hot codes into Gray codes in Embodiment 2 of the present invention, which mainly includes steps:
[0062] Step S60, determine the codeword length L of the Gray code corresponding to the 16-bit one-hot code b , due to L b =cell(log 2 (L o )), where cell(X) means to take the smallest integer greater than X, L o is the codeword length of one-hot code, so the codeword length of Gray code corresponding to 16-bit one-hot code is equal to 5.
[0063] raw one-hot code
Corresponding Gray code
0000000000000001
0
0
0
0
1
0000000000000010
0
0
0
1
1
0000000000000100
0
0
0
1
0
[0064] 0000000000001000
0
0
1
1
0
0000000000010000
0
0
1
1
1
0000000000100000
0
0
1
0
...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com