MPSoCBench 1.2 Virtual Machine

If you are looking for an easy way to prepare the environment to use MPSoCBench, we suggest that you use a Virtual Machine. So, you can test this infrastructure before installing MPSoCBench in your system (host).



Requirements

The following tools must be installed and properly configured:

  • VirtualBox
  • Vagrant
  • SystemC: The SystemC license does not allow distribution of the source code. So, you need to download its last version in the oficial website, and put the file systemc-2.3.1.tgz at the same folder that the Vagrant files. After this, our Vagrant script will build and install SystemC and other tools properly.
  • Vagrant Script

Preparing your virtual envinoment

  1. Choose the correct package in Vagrant website
  2. Install Vagrant:
  3. $ dpkg -i vagrant_1.5.4_x86_64.deb
  4. Go to the Vagrant folder:
  5. $ cd vagrant 
  6. Execute:
  7. $ vagrant up 
  8. All tools will be downloaded and installed correctly. The file systemc-2.3.1.tgz needs to be in the same folder that Vagrant script.
  9. So, you can start now the virtual machine and go to the correct folder:
  10. $ vagrant ssh 
    $ cd /opt/MPSoCBench 

Running your first simulation

After installing all tools, start you virtual machine and go to the MPSoCBench folder:

    $ vagrant ssh 
    $ cd /opt/MPSoCBench  

Build your first multicore platform (example: quad-core MIPS with power estimation, connected by a router, able for running dijkstra

    $ cd /opt/MPSoCBench  
    $ ./MPSoCBench -p=mips -pw -s=dijkstra -i=router.lt -n=4 -b 

Simulate your first multicore platform:

    $ ./MPSoCBench -p=mips -pw -s=dijkstra -i=router.lt -n=4 -r 

Go to How To Use to see other examples of this benchmark.

After using, you can stop the vagrant machine with:

$ vagrant halt