该文档详细介绍了GEM5的搭建步骤,以及如何实现搭建多核系统来运行多线程程序
User Manual
version 1.0
2014-11-27
Author: Junhui Wang
Step 1 Set up environment
1. Download and install ubuntu 14.04 LTS
2. Download and install Gem5 development version
hg clone
3. External tools and required versions
To build gem5, you will need the following software:
g++ version 4.6 or newer or clang version 3.0 or newer.
Python, version 2.5 - 2.7 (we don't support Python 3.X). gem5 links in the Python interpreter, so you need the Python header files and shared library (e.g., /usr/lib/libpython2.5.so) in addition to the interpreter executable. These may or may not be installed by default. For example, on
Debian/Ubuntu, you need the "python-dev" package in addition to the "python" package. If you need a newer or different Python installation but can't or don't want to upgrade the default Python on your system, see our page on using a non-default Python installation.
Remember to do this : sudo apt-get install python-dev
SCons, version 0.98.1 or newer. SCons is a powerful replacement for make. See here to download SCons. If you don't have administrator privileges on your machine, you can use the
"scons-local" package to install scons in your m5 directory, or install SCons in your home directory using the '--prefix=' option.
SWIG, version 2.0.4 or newer.
zlib, any recent version. For Debian/Ubuntu, you will need the "zlib-dev" or "zlib1g-dev" package to get the zlib.h header file as well as the library itself.
m4, the macro processor.
protobuf, version 2.1 or newer for trace capture and playback support.
首先得到 protobuf 相应的包文件 ,在终端上输入如下 wget
doc.guandang.net
下载完毕后进行解压 tar zxvf protobuf-2.5.0.tar.gz
进入到解压目录 cd protobuf-2.5.0
进行执行 ./configure
中间可能会出错,估计是G++没装好,因为安装的时候要进行编译
安装G++ 另外最好把Vim、make 也装了,不然的后面的就很容易出问题apt-get install vim make
./configure 成功之后,接下来 就如下几步
make
make check
make install
安装完成后在终端下执行
vim ~/.profile
On one hand, the 1 Hewlett-Packard 2 Advanced emergence of multicore ...The gem5 user community is active and communicates through three mailing ...
gem port T-CONT T-CONT service port GPBC ETH Core ONT1 OLT HUAWEI ...gemport 1 multi-service user-vlan 10 rxcttr 8 tx-cttr 5---配置业务流。...
首先参阅 Fuji Flexa Manual 的 Part 24 ”Network...[Next]。 在执行 multi-client 的安装时,对于各个...安装时, ? 总是首先在指定为 User Server 的...
manual auto-backup period auto-cost enable auto-...user display accounting-scheme display acl display ...multi-portid display norollback time display ntp-...
ID 查Data manual Table 7-38得到CSL_GEM_TINT5H ...(CIC) User Guide---SPRUGW4A 47 4.2 参考程序 ...//e2e.ti.com/support/dsp/c6000_multi-core_...
Manual Finish Goods Inventory Control &For Export...User Presentation Based on 3 Layer Application ...Y Approve? Multi-Column Ledger Company Report ? ...
Manual Finish Goods Inventory Control &For Export...User Presentation Based on 3 Layer Application ...Y Approve? Multi-Column Ledger Company Report ? ...
or when the program initiates a manual coherence...User maintains coherency of program paging schemes ...multi-cycle cache penalty on access DMA Slave I...
or when the program initiates a manual coherence...User maintains coherency of program paging schemes ...multi-cycle cache penalty on access DMA Slave I...
热门文档