Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
5 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Designing a CPU model: from a pseudo-formal document to fast code (1109.4351v1)

Published 20 Sep 2011 in cs.SE and cs.AR

Abstract: For validating low level embedded software, engineers use simulators that take the real binary as input. Like the real hardware, these full-system simulators are organized as a set of components. The main component is the CPU simulator (ISS), because it is the usual bottleneck for the simulation speed, and its development is a long and repetitive task. Previous work showed that an ISS can be generated from an Architecture Description Language (ADL). In the work reported in this paper, we generate a CPU simulator directly from the pseudo-formal descriptions of the reference manual. For each instruction, we extract the information describing its behavior, its binary encoding, and its assembly syntax. Next, after automatically applying many optimizations on the extracted information, we generate a SystemC/TLM ISS. We also generate tests for the decoder and a formal specification in Coq. Experiments show that the generated ISS is as fast and stable as our previous hand-written ISS.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Frédéric Blanqui (40 papers)
  2. Claude Helmstetter (1 paper)
  3. Vania Joloboff (1 paper)
  4. Jean-François Monin (3 papers)
  5. Xiaomu Shi (3 papers)
Citations (11)

Summary

We haven't generated a summary for this paper yet.