Skip to content

xcore/tool_xcore_systemc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SystemC/XCore integration repository

Stable release

unrelease

Status

draft

Maintainer

davelxmos

Description

This repository contains code for simulating and modelling an XMOS device within a SystemC modelling environment.

It is currently at a very early stage but allows you to plug the XMOS simulator (xsim) into a SystemC model and provide stimulus and measure output through SystemC ports.

Usage

This repository currently only works on Linux/Mac systems.

You need to get the SystemC 2.2.0 Library, extract it into the same directory as the repo and build the library.

You also need to obtain the TinyXML library and extract that into a tinyxml directory in the repo.

Your workspace should end up looking like this:

tool_xcore_systemc/
   build/
   src/
   include/
   examples/
   systemc-2.2.0/
   tinyxml/

You can then do:

cd examples/xsim/simple
xcc hello.xc -o a.xe
make all
./simple

To run a simple example that runs a simulation within a SystemC simulation.

Support

This repository is not officially supported by XMOS Ltd.

About

Integration of XMOS devices into SystemC models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published