一、ESESC简介
1、ESESC blog has these slides
http://masc.soe.ucsc.edu/esesc
2、ESESC forum
https://groups.google.com/forum/#!forum/esesc
3、ESESC repository at github
https://github.com/masc-ucsc/esesc
4、To get the code
https://github.com/masc-ucsc/esesc.git
注意:上面都是一些链接,你可以从这些网站得到一些关于ESESC仿真器的资料。
二、ESESC仿真器的安装
1、首先从官网下载源代码,上面的链接已经给出
2、建立自己的目录结构,例如:/home/ercesi/cyh/esesc
3、将下载好的源代码解压到自己的目录下,例如: /home/ercesi/cyh/esesc/esesc-master
4、ESESC版本
ESESC有两个版本,即release版本和debug版本,debug版本slower、 more information ,然而release版本 faster 、less information,在本文中采用的是release版本。
在/home/ercesi/cyh/esesc/esesc-master下面建立build目录,在build目录下建立release目录,最后结果:/home/ercesi/cyh/esesc/esesc-master/build/release
5、安装下面的软件
sudo apt-get install build-essential
sudo apt-get install cmake
sudo apt-get install libboost-dev
sudo apt-get install bison flex
sudo apt-get install g++
sudo apt-get install python
sudo apt-get install texinfo
sudo apt-get install libglib2.0-dev
sudo apt-get install libncurses5-dev
6、编译
执行下面的指令:
cmake ~/cyh/esesc/esesc-master
输出的内容:
ercesi@demo:~/cyh/esesc/esesc-master/build/release$ cmake /home/ercesi/cyh/esesc/esesc-master
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using /usr/bin/cc
-DESESC_SYSTEM=0 Enable esesc/qemu user mode simulation
-DESESC_LIVE=0 Disable esesc live compilation (default)
-DCMAKE_HOST_MARCH=native compilation
-DCMAKE_BUILD_TYPE=Release release compilation