摘要 |
An automated method for the development of fixed-point algorithms which ha ve been initially implemented as floating-point code which advantageously hides most of the tedious operations that need to be performed across the various stages of su ch a conversion procedure inside the definitions of a set of C++ classes. With the aid of these C++ class definitions, the fixed-point design process (i.e., the conversion from floating-point code to equivalent fixed-point code) is substantially simplified. Specifically, in accordance with the preferred embodiment of the present invention, a programmer need only to include and/or exclude certain previously defined header files, and to change the variable declarations within the floating-point code, in order to simulate the source codes across various stages of the conversion process.
|