gem5 Build

The gem5 simulator is a modular platform for computer system architecture research, encompassing system-level architecture as well as processor microarchitecture.

gem5 simulator를 설치해보았다. [2]에서 알려주는대로 설치하면 잘 되었다. scons 명령의 인자가 왜 그렇게 되는지 이해하지 못해서 어려움을 약간 겪었지만, 알고 보니 쉬웠다.

$sudo apt-get install mercurial swig m4 libgoogle-perftools-dev protobuf-compiler libprotobuf-dev
$hg clone
$cd gem5-stable
$scons build/ARM/gem5.opt

빌드한 다음, 아래와 같은 결과이면 제대로 빌드한 것이다.

$./build/ARM/gem5.opt configs/example/ -c ./tests/test-progs/hello/bin/arm/linux/hello
gem5 Simulator System.
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Jul 27 2014 14:25:20
gem5 started Jul 27 2014 15:04:03
gem5 executing on gumdaeng-desktop
command line: ./build/ARM/gem5.opt configs/example/ -c ./tests/test-progs/hello/bin/arm/linux/hello
Global frequency set at 1000000000000 ticks per second
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
info: Entering event queue @ 0.  Starting simulation...
Hello world!
Exiting @ tick 3114000 because target called exit()

References :
[1] gem5 Main Page,
[2] Build System,
[3] How can I install gem5?, ask Ubuntu,
[4] Running gem5,

Tagged with: , , ,
Posted in 2) Computer Engineering
2 comments on “gem5 Build
  1. […] 연구 1. Cache and Memory Hierarchy Design A Performance-directed Approach – DRAM 읽기 2. GEM5 알아보기 3. Simics 공부하기 4. SPEC을 사용할 때 trace를 사용한다 하는데, […]

  2. […] 빌드하는 방법은 이전에 확인한 적이 있다 (2014/07/27). system call emulation만 확인한 다음, 그 이상은 확인해보지 […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Recent Posts
누적 방문자 수
  • 126,815 hits
%d bloggers like this: