graph.c, getopt.c and scheduler.c were moved out.
-graph.c indirectly redefines int32_t, which is defined within stdlib.
(stdlib is automatically included by the mb-gcc).
-getopt.c is also used within stdlib.
-schedule.c indirectly includes 'threads.h' which is undesirable
for this backend.
Inclusion of scheduler.h suppressed within the actors' source files.
- getFileContent() from InstancePrinter is overriden so that
a main function is added to the instances' codes.
- The network's top is no longer generated.
- srcCMakeContent() from CMakePrinter is overriden so that top_<..>.c
is not included in the sources.
- Previous modifications are reverted (__MICROBLAZE__ macro )
- Some methods are defined as protected so they can be seen from
..compa/InstancePrinter class.
Grammar corrections.
A copy of the runtime files for the COMPA backend.
Maybe it is not necessary for all files but just for the CMakeLists.txt
- The top level was removed. Each actor generates a main.c
and calls its scheduler.
- The orcc is generated as a separate project. It must be compiled (as static
library) before the actor's project.
- The CMakeLists.txt links the actor' project with the orcc library.
It is assumed that liborcc.a is in root_path/libs.
cmake module for finding orcc library is added
Actors' cmakelist uses find_package() to find the orcc library
Adding a repertory for the cmake modules
Merge branch 'master' into bckendCOMPAmicroblaze
Fifos are allocated within the actor's code
fifos.c is added to the orcc lib sources.
fifos.c is generated by the COMPA backend and contains the fifos'
allocations and pointers so that they can be used within the actors'
code.
Fields are declared protected so that it can be seen by the COMPA backend'
InstancePrinter class
cmake' modules path corrected.
- cmake' modules source folder corrected.
- instead of printing a top_...c file into the project sources, fifos.c is
printed into the orcc lib sources. fifos.c contains the fifos' allocations
and pointers.
Content of an instance source file corrected. It just adds the printing
of the main function.
The added functions print the fifos.c file which contains fifos' allocations
and pointers. fifos.c is printed into the orcc lib' sources.
Fifos are allocated sequentially in a shared memory.
The shared memory's base address is statically assigned.
Looks for the orcc library in the cmake binary directory. This is because
one may need to compile liborcc.a with different compilers