Coder Social home page Coder Social logo

noc_mesh's Introduction

noc_mesh


Network on Chip implemented on a Mesh Infrastructure

This is a implementation of 3x3 mesh type Network on Chip, with total 7 processing nodes implemented in Bluespec System Verilog. Each processing element is a primitive implementation of SMIPS, (from MIT 6.884) running a simple Matrix Vector Product. Each packet routing is done through a sophisticated arc routing generated from running multi commodity flow solver over the network specification to minimize congestion. The idea is to benchmark this routing process over a normal X-Y routing, and analyse the total cycle time and average packet hops taken.

Dependencies

Using Bluespec

  • Run this on machine with bluespec installed (hpc28)
  • Setup bluespec on your machine
  • Copy the /opt/Bluespec-/ directory from hpc28 to your machine
  • Add bluespec library paths as specified in .bashrc of hpc28 to .bashrc of your machine
  • To verify $ bluespec this will open GUI window of bluespec

Setting up map and route git repo

cd ..

git clone https://github.com/ssk1328/mcmf.git

mcmf and noc_mesh should be initiated in the same common directory. More information on generating these results in mcmf repository

While in the noc_mesh git directory, for the route choosen: mcf or xy

Run

cp ../mcmf/bsv/Lookupmcf.bsv ../noc_mesh/src/

mv bsv/Lookupmcf.bsv bsv/Lookup.bsv

$ cd sim

$ make

This will clean compile link and simulate the source files and give the cycle count as one of the results of system. Data and processor dump files in /dump copied to appropiate folder in scripts

Scripts

$ cd ..

$ cp -r dump/proc scripts/proc_mcf

$ cd scripts

$ python analyseProcDump.py mcf

  • Generated data report files reportSim_mcf.txt
  • This gives average packet inflight time in the network

Multi commodity flow done to generate src/Lookup.bsv, preproceesing for that done here https://github.com/ssk1328/mcmf/

This is done as a part of DDP Stage 2 project work.

Shashank Gangrade
High Performance Computing Lab
Department of Electrical Engineering
IIT Bombay

noc_mesh's People

Contributors

ssk1328 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

yuetongfang

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.