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
- Host: GitHub
- URL: https://github.com/yasnakateb/singleprocessorsystem
- Owner: yasnakateb
- Created: 2022-03-22T21:36:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-22T21:36:50.000Z (over 3 years ago)
- Last Synced: 2025-01-20T00:56:19.053Z (9 months ago)
- Topics: computer-architecture, computer-system, gem5, gem5-simulator, processor-simulator, simple-system, simulation, simulator, single-processor, system-level-simulator
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)