Binary coding addressing method and addressing device

A binary code and addresser technology, applied in the field of binary coded addressing method and addresser, can solve the problem of low efficiency of binary coded addressing

Pending Publication Date: 2019-10-18
南京风兴科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a binary-coded addressing method and addresser to solve the problem of low addressing efficiency of existing binary codes

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
  • Binary coding addressing method and addressing device
  • Binary coding addressing method and addressing device
  • Binary coding addressing method and addressing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] see figure 1 , this embodiment takes the low-order first encoder as an example to describe the addressing method of the binary code provided by this embodiment. Specifically, the method provided in this embodiment determines addresses of all non-zero values ​​of the binary code by performing the following steps S1-S3 after receiving the binary code.

[0030] Step S1, using a little bit first encoder to determine the address of the highest priority non-zero value in the binary code, and output the address.

[0031] The priority encoder allows input signals at several input terminals at the same time, and according to the priority order of the input signals, only the signal with the highest priority among the several input signals at the same time is encoded.

[0032] Exemplarily, take an 8-wire-3-wire low-order priority encoder as an example. The encoder has eight input terminals and three output terminals, and can input eight signals at the same time, and gradually red...

Embodiment 2

[0060] see figure 2 , this embodiment takes a high-order-first encoder as an example to describe the addressing method of the binary code provided in this embodiment. Specifically, the method provided in this embodiment determines addresses of all non-zero values ​​in the binary code through the following steps S0-S3 after receiving the binary code.

[0061] Step S0, flipping the high and low bits of the binary code.

[0062] For example, when the binary code to be addressed is 10000101, after flipping its high and low bits, 10100001 is obtained.

[0063] It should be noted that, generally, for a binary code, the rightmost binary bit is the lowest bit, and the leftmost binary bit is the highest bit. If the binary code is directly input into the high-order priority encoder, there will be a problem that the priority of the binary bit does not correspond to the priority of the input channel. For example, in the binary code 10000100, 1 with the highest priority is input from t...

Embodiment 3

[0091] see image 3 , based on the binary-coded addressing method provided in the above-mentioned embodiment 1, this embodiment provides a binary-coded addresser, the addresser includes an input module 301, a signal selector 302, a low-order-first encoder 303 and an encoding conversion module 304 .

[0092] The input module 301 is configured to receive binary codes.

[0093] The signal selector 302 is configured to input the binary code output by the input module 301 or the updated binary code output by the code conversion module 304 into the low order priority encoder 303 according to a preset selection signal. For example, in the first clock cycle, according to the signal 0, the binary code of the input module 301 is sent to the little bit first encoder 303 . In other clock cycles, according to the signal 1, the binary code of the code conversion module 304 is sent to the low-order first coder 303 .

[0094] The low-order priority encoder 303 is configured to determine th...

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 relates to the technical field of integrated circuits and signal processing, in particular to a binary coding addressing method and an addressing device. The method comprises the following steps: after receiving a binary code, executing the following steps S1-S1: S1, determining an address of a non-zero value with the highest priority in the binary codes by using a priority encoder,and outputting the address; S2, setting the non-zero value to be zero, and obtaining an updated binary code; S3, when the updated binary code is not equal to zero, carrying the updated binary code, and skipping to the step S1; and when the updated binary code is equal to zero, ending addressing. The binary coding addressing method and the addressing device provided by the embodiment of the invention can quickly determine the addresses of all non-zero values in the binary coding, and are suitable for scenes with strict requirements on operation speed.

Description

technical field [0001] The present application relates to the technical field of integrated circuits and signal processing, in particular to a binary-coded addressing method and an addresser. Background technique [0002] The binary code is a string composed of two numbers, 1 and 0, such as 10000101, where 1 represents a high-level electrical pulse signal, and 0 represents a low-level pulse signal. At present, the information in the computer is usually represented by binary code, and the computer recognizes the binary code by reading the pulse signal corresponding to the binary code. [0003] Usually, in the process of recognizing the binary code, the computer reads the data bit by bit, that is, reads the values ​​on the binary bits of the binary code in sequence, and each time a value is read, it judges whether the value is 1 or 0, so as to determine the Addresses of all non-zero values ​​on the binary code to complete the identification of the binary code. [0004] In th...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H03M7/04
CPCH03M7/04
Inventor 王昊楠刘文剑
Owner 南京风兴科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products