habedi / SystemCAccessNoxim

All you need to build and run SystemC and AccessNoxim on your system; SystemC and AccessNoxim are tools to emulate and test network-on-chip (NOC) algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SystemC & AccessNoxim

All you need know to build and run SystemC and AccessNoxim on your system.

GitHub issues GitHub forks GitHub stars GitHub license

I assume you have downloaded AccessNoxim from (http://access.ee.ntu.edu.tw/noxim/index.html) and SystemC from (http://accellera.org/downloads/standards/systemc) and have uncompressed them in a directory, having two folders named AccessNoxim_v0.3 and systemc-2.3.1 inside it.

Note: This tutorial is tested for AccessNoxim v0.3 and SystemC 2.3.1 on Debian 8 amd64(Debian Sid, as 23 April 2015)

Building SystemC{do this inside systemc-2.3.1}

export SYSTEMC_HOME=/usr/local/systemc231
sudo mkdir $SYSTEMC_HOME
chmod +x configure
mkdir objdir
cd objdir
../configure --prefix=$SYSTEMC_HOME
make 
sudo make install

Building AccessNoxim{do this inside AccessNoxim_v0.3}

export SYSTEMC_HOME=/usr/local/systemc231
export SYSTEMC_HEADERS=$SYSTEMC_HOME/include
export C_INCLUDE_PATH=$SYSTEMC_HEADERS
export CPLUS_INCLUDE_PATH=$SYSTEMC_HEADERS
cd bin
make

To run AccessNoxim{do this inside AccessNoxim_v0.3/bin}

chmod +x noxim
./noxim

You could run bashSetup.sh to add SYSTEMC_HOME and SYSTEMC_HEADERS and C_INCLUDE_PATH and CPLUS_INCLUDE_PATH permanently to your bash start-up scrip{aka ~/.bashrc}

chmod +x bashSetup.sh
./bashSetup.sh

A screen-shot of a noxim run

AccessNoxim

About

All you need to build and run SystemC and AccessNoxim on your system; SystemC and AccessNoxim are tools to emulate and test network-on-chip (NOC) algorithms

License:GNU Affero General Public License v3.0


Languages

Language:Shell 100.0%