Floating-point number conversion circuit
A technology for converting circuits and floating-point numbers, which is applied in the field of data processing, can solve the problems of large floating-point numbers, multiple storage resources, read and write resources, and occupancy, and achieve the effects of improving efficiency, reducing resources, and reducing data bit width
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] Please refer to figure 2 , which exemplarily shows a schematic structural diagram of a floating-point number conversion circuit provided by an embodiment of the present application. Such as figure 2 As shown, the circuit includes a data input unit 101, a first data output unit 102, an LOD unit 103, an LZD unit 104, a first left shifter 105, a first multiplexer 106, a first data conversion unit 107, a first The second multiplexer 108 , the third multiplexer 109 , the second left shifter 110 , the second data output unit 111 , the third data output unit 112 and the combination unit 113 .
[0048] Wherein, the data input unit 101 is used to input a first floating point number, the first floating point number is a floating point number in posit data format, and the total bit width of the first floating point number is N;
[0049] The first data output unit 102 is used to discard the binary code of the last N-1 bits in the first floating-point number to obtain the binary...
Embodiment 2
[0064] Based on the above examples, please refer to image 3 , which exemplarily shows a schematic structural diagram of another floating-point number conversion circuit provided by the embodiment of the present application. Such as image 3 As shown, the circuit further includes a second data conversion unit 114 and a selection signal determination unit 115 .
[0065] Wherein, the second data conversion unit 114 is used for according to the highest bit of the first floating point number, if the highest bit is 0, then the first floating point number is a positive number, outputting the binary code of the last N-1 bits Original code; if the highest bit is 1, the first floating point number is a negative number, and the binary code of the last N-1 bits in the first floating point number is output after performing two's complement. Among them, the complementary code operation is about adding 1 after inverting the original code.
[0066] The selection signal determining unit 11...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


