This page describes the ALUPAS, a software developed by MODCS (Modelling of Distributed and Concurrent Systems) team , and a methodology adopted in order to estimate the energy consumption and execution time of an embedded application.
The methodology takes into account Assembly and C codes (see Figure 1) labeled with probabilities assigned to conditional instructions in order to specify the system scenarios as well as parameters for the stop criteria. The assembly or C code are provided as an input to the assembler or compiler that generates two outputs: the Binary Code (machine code) and the LST-File or C-File (files in which the probabilities and the stop criteria parameters are depicted). After that, the Binary-CPN Compiler reads these two files (generated by the Assembler or by the Compiler) and, also, the Instruction CPN Models, and generates two CPN Models to be analyzed. Finally, these two nets could be read by CPN Tools  and/or by the CPN Simulator in order to generate the evaluation Files. The estimated values are compared to the measurements conducted on the hardware platform according to the methodology described in .
Fig. 1: The proposed methodology.
An Unified environment for Low Power Application Simulation has been adopted to combine the framework functionalities into an unified environment, such that system design complexity is considerably reduced and inconsistencies related to non-functional requirements are detected earlier without great difficulty. In ALUPAS, the application file is inserted as input (see Figure 2), compiled and simulated. The compilation process executes the Binary CPN Compiler in order to generate the CPN model. The CPN model is evaluated through the CPN Simulator. The CPN Simulator then provides the estimated energy consumption and execution time values (see Figure 3).
Fig. 2: The ALUPAS’ input interface.
Fig. 3: The ALUPAS’ output interface.
If you want a copy of ALUPAS Software, please, enter in contact with Prof Paulo Maciel through prmm at cin dot ufpe dot br
 CPN Tools version 2.2.0, http://wiki.daimi.au.dk/cpntools/cpntools.wiki.
 Tavares, E., Maciel, P.: http://www.cin.ufpe.br/~eagt/tools/.
 Modelling of Distributed and Concurrent Systems, https://www.modcs.org/.