Method and device for realizing any data bit width conversion

A technology of data bit width and counting method, applied in data conversion, code conversion, electrical digital data processing, etc., can solve the problems of complex data selection output circuit, difficulty in increasing the design clock frequency, and inability to realize n-beat data conversion, etc. The effect of reducing logic resources and area, increasing clock frequency, and simplifying device structure

Active Publication Date: 2015-02-04
ANHUI WANTONG POSTS & TELECOMM CO LTD
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Secondly, its conversion can only realize the conversion from n-shot data to 1-shot data, but cannot realize the conversion from n-shot data to m-shot data, but in fact, there are many such needs

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
  • Method and device for realizing any data bit width conversion
  • Method and device for realizing any data bit width conversion
  • Method and device for realizing any data bit width conversion

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] see Figure 1 ~ Figure 2 , a method for realizing arbitrary data bit width conversion of the present invention comprises the following steps:

[0029] Step 1: Simplify the input and output data bit width conversion ratio to an irreducible conversion ratio;

[0030] Step 2: Read the data conversion storage status of this channel, then read out the remaining data from the last conversion, and merge the remaining data from the last conversion with the input data;

[0031] Step 3: adopt the beat counting method to perform beat counting on the merged data, and count the beats to an irreducible conversion ratio;

[0032] Step 4: Output in sequence according to the corresponding beats.

[0033] In the step 3, after counting the number of beats to the irreducible conversion ratio, if there is remaining data, the remaining data needs to be written into a state storage module.

[0034] The device for implementing the method for realizing arbitrary data bit width conversion inc...

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 discloses a method and a device for realizing any data bit width conversion. The method is as follows: simplifying an input/output data bit width conversion ratio into an irreducible conversion ratio; reading a channel data conversion storage state; then reading residual data of last-time conversion and combining the residual data of last-time conversion with input data; performing beat counting on the combined data by use of a beat counting method, and counting beats till the irreducible conversion ratio; and sequentially outputting according to the corresponding beats. The device comprises a data bit width conversion ratio simplification module, a data conversion control module, a state storage module and a data output module. The method and the device for realizing any data bit width conversion have the advantages of realizing any data bit width conversion, simplifying a data conversion device structure, obviously reducing logical resources and area, improving the clock frequency, and the like.

Description

technical field [0001] The invention relates to a data conversion method, in particular to a method and device for realizing arbitrary data bit width conversion. Background technique [0002] Arbitrary bit width conversion technology is widely used in the design of logic circuits or large-scale integrated circuits, for example, it is necessary to convert input 8-bit wide data into 16-bit wide data. Bit-width conversion operations are required for a number of reasons, possibly due to the need to reduce the internal clock frequency of a logic circuit or an ASIC (Application Specific Integrated Circuit). According to the principle that the input data flow is equal to the output data flow, clk1*n(bit)=clk2*m(bit), if m is greater than n, clk2 must be smaller than clk1. From this equation, we can know that through the data bit width conversion, the small By converting the bit width into data with a large bit width, the clock frequency can be reduced, thereby reducing the design ...

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): G06F5/00H03M9/00
Inventor 周能强
Owner ANHUI WANTONG POSTS & TELECOMM CO LTD
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