Summary
The modgen (ModGen) program creates the ".c" and ".h" files for
a module to be used with the LUTEar library. It automatically generates all of
the supporting routines required for a module - only the details of the
process routine: how to create the output signal from the input, need to
be coded before the routine can be compiled. It can then be used immediately
with LUTEar in hard programming mode. The module is specified using a
simple C-like structure definition. Example module specifications can
be found in the "crl208/ModuleSpecs" directory of this release. A man
page is also available (modgen.1 is the nroff format,while modgen1.txt is a
formatted text version). You can experiment with the modgen program by
creating ".c" and ".h" files using the module specifications in the
"crl208/ModuleSpecs" directory.[6]
[6] The present version of modgen (1.8)
can be used for producing any module, but modules which define Process
Variables in the module structure, will need additional code. Process
variables are variables that need to be remembered for the segmented mode
operation, or that require memory allocation that should only be done once, on
module initialisation. It is planned to incorporatesupport for such variables
in later versions of modgen.