Method and device for calculating fixed point digital signal common function value
A digital signal and function value technology, which is applied in the field of fixed-point digital signal processing, can solve problems such as low accuracy, inability to accurately calculate common function values of fixed-point digital signals, redundant table contents, etc. The effect of small value range and reduced space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0073] In this embodiment, the word length of the fixed-point digital signal is 16 bits, the number of low-order data bits to be discarded is 6, and the commonly used function is the square root function. In actual application, according to the different word lengths of the hardware platform implementing the technical solution of the present invention, the fixed-point digital signal word length may be 24bits, 32bits or other lengths, and the number of low-order data bits to be discarded may also vary depending on the specific application. It can be other values depending on the different degree requirements, and it can be implemented only by adjusting the word length of the fixed-point digital signal and the number of low-order data bits to be discarded in this embodiment.
[0074] FIG. 2 is a flow chart of a method for calculating a common function value of a fixed-point digital signal in Embodiment 1 of the present invention. In this embodiment, the commonly used function ...
Embodiment 2
[0124] In this embodiment, the word length of the fixed-point digital signal is 16 bits, the number of data bits to be discarded is 5, and the common function is a natural logarithmic function with e as the base.
[0125] The method flowchart of finding natural logarithm function value in the present embodiment is identical with Fig. 2 in embodiment one, referring to Fig. 2, the present embodiment method comprises the following steps:
[0126] In step 201, according to the predetermined fixed-point digital signal word length, the number of low-order data bits to be discarded, and the type of commonly used functions, a corresponding relationship table between intermediate results and table look-up indexes is established, which is recorded as ln_table[]. In this embodiment, since the number of low-order data bits to be discarded is 5, the established ln-table[] needs 16-2-5=9bits, and there are 2 bits in the table. 9 = 512 elements.
[0127] The basis for determining the interm...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com