Program -> clustering -> ordering -> morphism
coSimClu = (| P_SIMU | M(P) |)
- equationSolving.gpk (graphical form) equationSolving.SIG (textual form)
- coSimClu.gpk (graphical) coSimClu.SIG (textual form): contains the definition of (| P_SIMU() | P_COST() |)
Program -> ordering -> morphism by the command:
signal -tra -c -profiling equationSolving.SIG -clu
It produces the following files:
- M_equationSolving_COST.SIG: it contains the morphism of the equationSolving program and references some libraries called COSTBIB, STD:
- COSTBIB gives the definition of the "cost" of each Signal operators
- STD gives the "times" assigned to each operator on a specific processor.
- equationSolving_SIMU_sbDC_TRA.SIG Signal program with some added boolean outputs necessary for the cosimulation. It defines the process called "equationSolving_SIMU_sbDC_TRA".
The process "equationSolving_SIMU_sbDC_TRA" has been integrated in coSimClu.gpk with P_ORIG as name and M_equationSolving_COST.SIG has been renamed M_P_COST, the morphim process is called P_COST. The referenced libraries STD, COSTBIB are (by default) in the directory defined by the shell variable SignalLib_Profiling.
- Compiling (| P_ORIG | P_COST() |) by the commmand:
signal -tra -c -us coSimClu.SIG
- Simulation: goto in the coSim directory and run
make -f Makefile_coSimClu
- Execution: run the command: (gest_fen_m.c localBib.c vtracine.c are files used for graphical simulation)