6.3 Agent Platform and Hardware Synthesis 203
6.2.5 Simulation Platform
In addition to real hardware and software implemented agent processing
platforms there is the capability of the simulation of the agent behaviour,
mobility, and interaction on a functional level. The SeSAm simulation frame-
work [KLU09] offers a platform for the modelling, simulation, and visualization
of mobile multi-agent systems employed in a two-dimensional world. The
behaviours of agents are modelled with activity graphs (specifying the agent
reasoning machine) close to the AAPL model. Activity transitions depend on
the evaluation of conditional expressions using agent variables. Agent varia-
bles can have a private or global (shared) scope. Basically SeSAm agent
interaction is performed by modification and access of shared variables and
resources (static agents).
Simulation of complex MAS on behavioural level and the methodology
using the SeSAm simulator was already demonstrated in [BOS14B], mapping
AAPL agents of the MAS one-to-one on SeSAm agents. The RPCSP agent pro-
cessing platform simulation with the agent-based SeSAm simulation
framework is discussed in detail in Section 11.4. This simulation provides the
testing and profiling of the proposed processing platform architecture in a
distributed network world.
The simulator is also fully compatible to the software and hardware plat-
forms on behavioural and interface level and can be integrated in an existing
real-world network, offering simulation-in-the-loop capabilities.
6.3 Agent Platform and Hardware Synthesis
The database driven synthesis flow consists of an AAPL front end, the core
compiler, and several back-ends targeting different platforms. The AAPL pro-
gram is parsed and mapped on an abstract syntax tree (AST). The first
compiler stage analyses, checks, and optimizes the agent specification AST.
The second stage is split in three parts: an activity to process-queue pair map-
per with sub-state expansion, a transition network builder, manager
generators, and a message generator supporting agent and signal migration.
Different outputs can be produced: a hardware description enabling SoC syn-
thesis using the ConPro high-level synthesis framework (details in Section 7), a
software description (C) which can be embedded in application programs, and
the SeSAm simulation model (XML). The ConPro programming model reflects
an extended CSP with atomic guarded actions on shared resources. Each pro-
cess is implemented with an FSM and an RT data path. The simulation design
flow includes an intermediate representation using the SEM programming lan-
guage, providing a textual representation of the entire SeSAm simulation
model, which can be used independently, too.
S. Bosse, Unified Distributed Sensor and Environmental Information Processing with Multi-Agent Systems
epubli, ISBN 9783746752228 (2018)