Cycle precise core based hardware/software system simulation with predictable event propagation
Frédéric Pétrot, D. Hommais, Alain Greiner · 2002
We present a simple technique for efficient cycle precise core based system simulator implementation. We first examine the current communication mechanisms in state-of-the-art digital embedded systems, and notice that few signals depend on signals set during the same cycle. Using a system model based on communicating finite state machines, we build a directed graph whose vertices are the FSMs, and whose arcs are the combinational, also known as Mealy, signals connecting them. We show that it is possible to schedule the order of evaluation of each FSM at compile-time as long as there is no cycle in this graph. We also show that using a topological sort on the graph provides a correct schedule. A system modeled in C including a MIPS R3000 microprocessor core, memories and a few other components interconnected on a PI-Bus simulated using this technique runs at around 150 K cycles per second on a Pentium 120.
Cited by 36 works. doi:10.1109/eurmic.1997.617257
Authors
References
- Computer Architecture: A Quantitative Approach
- Graph Algorithms
- Communicating sequential processes
- Shade: a fast instruction-set simulator for execution profiling
- Hardware/software co-simulation
- A Unified Model for Co-simulation and Co-synthesis of Mixed Hardware/Software Systems
- A case against event-driven simulation for digital system design
- A case against event-driven simulation for digital system design
- Evaluation of trade-offs in the design of embedded systems via co-simulation
- A flexible technique for OS-support in instruction level simulators