Skip to content
 
 

Repository files navigation

QBox SystemC Simulator

QBox GreenSoC SystemC Simulator with Qemu for System Emulation. This repo is forked from Qbox.

Dependencies

This repo is tested on Ubuntu 22.04 Below are the required dependencies:

apt-get update && apt-get install -y \
    build-essential make cmake g++ wget flex bison unzip \
    python3 python3-dev python3-pip pkg-config git \
    vim vim-gtk3 \
    libpixman-1-dev libglib2.0-dev ninja-build \
    libusb-dev libusbredirhost-dev libusb-1.0-0-dev \
    libasio-dev libelf-dev \
    libvirglrenderer-dev libepoxy-dev libdrm-dev \
    libgl1-mesa-dev libegl1-mesa-dev libgbm-dev \
    libxkbcommon-dev ocl-icd-opencl-dev libvulkan-dev \
    libsdl2-dev libgtk-3-dev libvte-2.91-dev \
    libpulse-dev libasound2-dev libjack-jackd2-dev \
    libpipewire-0.3-dev libsndio-dev libzstd-dev \
    libseccomp-dev \
    gdb strace htop lsof \
    mesa-utils x11-apps \
    bubblewrap \
    && apt-get clean

pip install numpy meson tomli

Setup

  1. Clone the repo with the working branch. (I found v4.4.6-icount working with libqemu)
    git clone -b v4.4.6-icount https://github.com/jobin2725/qbox.git --recursive qbox_v4.4.6
  2. Compile and build.
    cmake -Bbuild -DLIBQEMU_TARGETS=riscv64 && cmake --build build -j$(nproc) 2>&1 | tee build.log

About

Qbox

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages