GithubHelp home page GithubHelp logo

tum-ei-eda / etiss-sc Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 108 KB

SystemC/TLM2.0 productivity library wrapping the Extendable Instruction Set Simulator ETISS as a tlm cpu core.

License: Apache License 2.0

CMake 8.04% C 1.18% C++ 90.78%

etiss-sc's Introduction

etiss-sc

SystemC/TLM2.0 productivity library wrapping the Extendable Instruction Set Simulator ETISS as a tlm cpu core.

Install

Dependencies

Requires the following dependencies

  1. ETISS - tested with 36902d32ae760aa3c413ca06189e6515bc28d79c

the following infrastructure

  1. gcc - tested with v9.3.0
  2. cmake (>= 3.15)
  3. [conan - tested with v1.40.3]

Standalone

Build

After cloning the repo and entering into it:

cmake -S . -B build -DETISS_PREFIX=<path/to/etiss/install> [-DCMAKE_BUILD_TYPE={...}]
cmake --build build [--parallel $(nproc)]

Alongside SCC (as submodule in another VP)

In the VP's CMakeLists.txt add etissvp submodule after the scc submodule.

...
add_subdirectory(<path/to/scc>)
add_subdirectory(<path/to/etissvp>)
...

Compile and Run Minimal Example

  1. Minimal Target Software
export RISCV=<path/to/riscv/gnu/toolchain>
$RISCV/bin/riscv64-unknown-elf-gcc -march=rv32im -mabi=ilp32 -O3 -T examples/barebone_vp/target_software/link.ld -nostartfiles examples/barebone_vp/target_software/crt0.s examples/barebone_vp/target_software/helloworld.c examples/barebone_vp/target_software/syscall.c -DETISSVP_LOGGER=0xf0000000 -o target_software.elf
  1. Execute Target Software
build/examples/barebone_vp/barebone_vp --etiss examples/barebone_vp/ini/etiss.ini --elfs target_software.elf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.