shioyadan / Konata

Konata is an instruction pipeline visualizer for Onikiri2-Kanata/Gem5-O3PipeView formats. You can download the pre-built binaries from https://github.com/shioyadan/Konata/releases
BSD 3-Clause "New" or "Revised" License
383 stars 34 forks source link

Konata

demo

Installation

There are two ways to launch Konata. If you fail to launch a pre-built binary, please try the second way.

  1. Extract an archive and launch an executable file (konata.exe or konata).
    • Pre-built binaries are available from here.
  2. Launch from this repository.
    1. Install node.js from https://nodejs.org
    2. Clone this repository.
    3. Launch install.bat (Windows) or install.sh (Linux/MacOS).
    4. Launch Konata from konata.vbs (Windows) or konata.sh (Linux/MacOS).

Usage

Basic

  1. Generate a trace log from gem5 with the O3 CPU model
    • Execute gem5 with the following flags
    • This example is from http://www.m5sim.org/Visualization
      $ ./build/ARM/gem5.opt \
      --debug-flags=O3PipeView \
      --debug-start=<first tick of interest> \
      --debug-file=trace.out \
      configs/example/se.py \
      --cpu-type=detailed \
      --caches -c <path to binary> \
      -m <last cycle of interest>
  2. Load a generated "trace.out" to Konata
    • from a menu in a window or using drag&drop
  3. If you use O3CPUAll as well as O3PipeView as follows, Konata shows more detailed CPU log and visualizes dependency between instructions.
    --debug-flags=O3PipeView,O3CPUAll

Keyboard

Tips

Development

License

Copyright (C) 2016-2022 Ryota Shioya shioya@ci.i.u-tokyo.ac.jp

This application is released under the 3-Clause BSD License, see LICENSE.md. This application bundles ELECTRON and many third-party packages in accordance with the licenses presented in THIRD-PARTY-LICENSES.md.