An open API service indexing awesome lists of open source software.

https://github.com/yasnakateb/singleprocessorsystem

💻 A Single Processor System With Gem5
https://github.com/yasnakateb/singleprocessorsystem

computer-architecture computer-system gem5 gem5-simulator processor-simulator simple-system simulation simulator single-processor system-level-simulator

Last synced: 7 months ago
JSON representation

💻 A Single Processor System With Gem5

Awesome Lists containing this project

README

          

# 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](https://www.gem5.org/documentation/)
2. [gem5 Tutorial](https://course.ece.cmu.edu/~ece740/gem5/index.html)