Unlock instant, AI-driven research and patent intelligence for your innovation.

One-hot code detection method and one-hot code detector

A detection method and one-hot code technology, applied in the field of electronic circuit design, can solve problems such as unclear code structure, lengthy code, poor repeatability, etc., and achieve superior scalability, concise code content, and convenient application

Active Publication Date: 2015-04-15
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a one-hot code detection method and a one-hot code detector, which are used to solve the problem of unclear code structure, lengthy code and low repeatability in the prior art due to the need to describe all logical expressions at one time. bad question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • One-hot code detection method and one-hot code detector
  • One-hot code detection method and one-hot code detector
  • One-hot code detection method and one-hot code detector

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order for those skilled in the art to better understand the technical solution of the present invention, the one-hot code detection method and the one-hot code detector provided in the embodiments of the present invention are described in detail below with reference to the accompanying drawings. The one-hot code detection method and the one-hot code detector can be realized by hardware (verilog / VHDL), and have excellent scalability.

[0062] see figure 1 , is a schematic flowchart of a one-hot code detection method provided by an embodiment of the present invention, as shown in figure 1 As shown, the one-hot code detection method provided by the embodiment of the present invention includes:

[0063] Step S101, cascade-connecting a plurality of minimum units into a one-hot code detector whose input number is the target number Nx; wherein, Nx is an integer greater than 2,

[0064] Step S102, using the one-hot code detector to detect the one-hot code whose input numbe...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a one-hot code detection method and a one-hot code detector. The method comprises the following steps: connecting a plurality of smallest unit cascades into the one-hot code detector of which an input bit is a target bit Nx, wherein Nx is an integer more than 2; detecting a one-hot code of which the input bit is the Nx through the one-hot code detector, wherein both a smallest unit and the one-hot code detector comprise result output ends and auxiliary output ends, the result output ends are used for providing whether the input ends are detection results of the one-hot code or not, and the auxiliary output ends are used for providing auxiliary information for one-hot code detection in the cascade connection. The one-hot code detector with any bit has excellent expandability and can be conveniently constructed through the smallest unit. In addition, when the detection of a one-hot code with a larger bit is realized, the code is enabled to be clear in structure, brief in contents and better in repeatability, so that the detection work of the one-hot code is optimized, and the application of the one-hot code is more convenient.

Description

technical field [0001] The invention relates to the field of electronic circuit design, in particular to a one-hot code detection method and a one-hot code detector. Background technique [0002] One-hot code, the English name is one-hot code, which is a coding method in which one and only one bit is 1 and all others are 0 in multi-bit coding. Compared with other encodings, the biggest advantage of one-hot encoding is that only one bit needs to be compared when comparing states, which simplifies the decoding logic to a certain extent. [0003] The one-hot code can be used to control the operation of the state machine. For example, the system has multiple states, and only one state is in operation at a time. Therefore, the operation of the state machine can be controlled by inputting the one-hot code. When the input one-hot code When the different bits in the code are 1, the corresponding control states are in operation. [0004] In order to ensure that the parallel data in...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
Inventor 甘晖童元满李仁刚
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More