FPGA (Field Programmable Gate Array)-based general matrix fixed-point multiplier and calculation method thereof

A fixed-point multiplier and matrix technology, applied in the field of high-performance computing, to achieve the effect of improving computing efficiency

Active Publication Date: 2015-04-29
上海碧帝数据科技有限公司
View PDF2 Cites 50 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] By consulting relevant literature, most of the matrix multiplications currently implemented by FPGA are directly calculated using floating point numbers. Matrix multiplier, but in the calculation process, the time consumed by floating-point calculator operations is much longer than that of fixed-point calculations

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
  • FPGA (Field Programmable Gate Array)-based general matrix fixed-point multiplier and calculation method thereof
  • FPGA (Field Programmable Gate Array)-based general matrix fixed-point multiplier and calculation method thereof
  • FPGA (Field Programmable Gate Array)-based general matrix fixed-point multiplier and calculation method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The present invention will be further described below in conjunction with the embodiments and accompanying drawings, but the protection scope of the present invention should not be limited thereby.

[0052] The general-purpose matrix fixed-point multiplier based on FPGA of the present invention is mainly composed of four parts: control module, conversion module, operation module and storage module, and its overall structure and internal signal flow are as follows: figure 2 shown. The general-purpose matrix fixed-point multiplier is realized by using the Virtex IV (XC4VFX12-10-ffg668) chip of Xilinx. The specific implementation process of each module is as follows:

[0053] 1. Control module

[0054] In this embodiment, the control module is composed of digital logic circuits such as LUTs (look-up tables) and FFs (flip-flops) inside the XC4VFX12-10-ffg668 chip. The circuit controls the orderly progress of the entire matrix multiplication process, and generates various...

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 an FPGA (Field Programmable Gate Array)-based general matrix fixed-point multiplier. An internal structure of the multiplier consists of a control module, a conversion module, an operation module and a storage module. The control module is used for generating a control signal according to dimension of a to-be-operated matrix. The conversion module is responsible for performing conversion between a fixed-point number and a floating-point number during operation. The operation module is used for reading operation data from the storage module and the conversion module, performing fixed-point multiplication and fixed-point accumulating operation and storing a result in the storage module. The storage module is used for caching to-be-operated matrix data and result matrix data, providing an interface compatible with a bus signal and allowing access of other components on a bus. The characteristic of high fixed-point calculation efficiency in hardware is fully utilized; by using a unique operation structure, simultaneous conversion and operation of the data are realized to improve the overall operation speed, and a plurality of matrix fixed-point multipliers can be simultaneously used to perform parallel calculation; thus the fixed-point multiplication of an arbitrary dimension matrix can be supported, and meanwhile extremely high calculation efficiency is guaranteed. Compared with matrix multiplication performed by using the floating-point number, the multiplier has the advantage that the calculation efficiency is greatly improved.

Description

technical field [0001] The invention belongs to the field of high-performance computing, and is a design for improving the computing capability of FPGA matrix. Background technique [0002] Matrix multiplication operation is a basic operation in scientific computing, widely exists in the fields of industrial control, pattern recognition, digital signal processing, etc., especially in portable devices, often involves pattern recognition, image processing and other operations, these operations are useful A large number of matrix operations are completed, and portable devices usually have low computing configurations, and matrix multiplication has become the most time-consuming key operation in the computing process. The time complexity of matrix multiplication is high, usually O(N 3 ), its computing performance directly affects the overall performance of the system. [0003] The rapid development of FPGA technology in recent years has created opportunities for high-speed rea...

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): G06F7/52
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