Skip to content

yasnakateb/SingleProcessorSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Single Processor System

The goal of this project is to create a simple system using gem5. In this system, we have only one simple CPU core. This CPU core will be connected to a memory bus and we have a memory channel, also connected to the memory bus.

Building on Ubuntu

  1. The required dependencies can be installed:

    $ sudo apt-get install swig gcc m4 python python-dev libgoogle-perftools-dev mercurial scons g++ build-essential

  2. Clone gem5 source and build gem5 by using scons:

    $ hg clone http://repo.gem5.org/gem5

    $ cd gem5/

    $ scons build/X86/gem5.opt -j + NUMBER OF CPUs ON YOUR PLATFORM ( for example -j2 )

  3. Clone the repository.

  4. Run gem5 from the root gem5 directory as:

    $ gem5/build/X86/gem5.opt system/simple_system.py --cmd=test/bin/test1

Links

  1. gem5 Documentation
  2. gem5 Tutorial