The World's Source For Fuzzy Logic Solutions
The Fuzzy-C Compiler converts a fuzzy system from FPL into C source code which may then be compiled and linked with other modules to produce an executable application.
The Fuzzy-C Compiler is implemented as both a Windows DLL and as a DOS executable. This allows the compiler to be called from TILShell under Windows, or from a batch or makefile under DOS.
The Fuzzy-C Compiler is specifically designed to provide the maximum possible flexibility in terms of trading between speed, space, and precision in the output C source code. When we speak of speed and space here, we are talking about the execution speed of the final compiled result, and its final size,not the Fuzzy-C Compiler's speed or memory usage.
The most important interaction between the fuzzy system and the rest of the program from the point of view of the user are the calls to the fuzzy system by the rest of the program. FPL makes this interface very simple. The program simply calls the name of the Project object specified in the FPL file with the appropriate parameters as if it were a C routine (which by this time it has been compiled to).
ANSI-C is the default C format for the code generated by the Fuzzy-C Compiler. However, Kernighan & Ritchie (K&R) and Keil 8051 code generation options are also included in TILShell.
The Fuzzy-C Development System (FCDS) implements basic fuzzy processing routines in the FCDS Run Time Library. The code generated by the Fuzzy-C Compiler calls the basic functions in the Run Time Library to carry out the actual processing of the fuzzy system, in the same way that functions in the standard C libraries are used in everyday C applications. The FCDS Run Time Library includes the Online Communications Library also. This library contains all the necessary communications routines for using online debugging with TILShell.
The complete source code for the FCDS Run Time Library is provided with TILShell, and the library may be built for various memory models, compiler types, and computing platforms by modifying the included makefile and rebuilding the library.
The FCA Development System (FCADS) is a software development system which provides a way to describe fuzzy logic systems in FPL and then convert those systems into a hex format knowledge base that can be used by a processor based on the Fuzzy Computational Accelerator (FCA) technology.
The FCADS is implemented in two versions of the FCA Compiler -- a standalone DOS-based compiler and a Windows-based compiler plug-in for TILShell. Both the Standard and Professional editions of TILShell include the FCADS plug-in.
The resultant hex file can be saved in a variety of formats including VLSI Hex, Intel Hex, Motorola Hex, and several others. The file can be programmed into ROM for permanent storage or downloaded into RAM by the target processor using the FCA.
The FCADS further provides features that permit more than one
fuzzy system to be stored into FCA knowledge base memory at the
same time. The host processor can then select which fuzzy system
to execute at run-time.
This site is http://www.ortech-engr.com/fuzzy/fuzzy-c.html.
Send inquiries, comments, or suggestions to webmaster@ortech-engr.com.
| Page Stats: Visitors -- Last Modified on: -- Thanks for visiting from: . |