Noxim配置运行
Noxim - the NoC Simulator that is implemented by SystemC
第一步:
C++ compiler installation
第二步:
YAML installation
The name of the package depends on the Unix version you are using. On Ubuntu 14.04, for example, it is possible to install yaml (and the required boost
libraries) with: sudo apt-get install libyaml-cpp-dev libboost-dev If the packet libyaml-cpp-dev is not available just build yaml-cpp:
Prerequisites:
- CMake
sudo apt-get install cmake - Boost libs
sudo apt-get install libboost-dev Then download the code at https://github.com/jbeder/yaml-cpp/archive/master.zip
and execute the folloqing commands: unzip yaml-cpp-master.zip
mv yaml-cpp-master yaml-cpp
cd yaml-cpp
mkdir lib
cd lib
cmake ..
make
sudo make install On MacOSX, when using macports, just type: sudo port install yaml-cpp Please also set properly the YAML path in the Makefile, as follows:
YAML := /opt/local/
第三步:
SystemC installation
- Download SystemC (currently at version 2.3.) from
http://www.accellera.org/downloads/standards/systemc (a free registration is required).
- Unpack it:
tar -xzf systemc-2.3..tgz - Enter the newly created directory and refer to the file INSTALL which details all the steps
required for building. Basically they are: mkdir objdir
cd objdir
export CXX=g++
../configure
make
make install
cd ..
rm -rf objdir Once you have installed SystemC correctly, you may then jump to the next step.
第四步:
Build Noxim
If SystemC is installed correctly, then you just have to compile Noxim. ) Extract the source files and go to the "bin" directory. ) In that directory edit the file Makefile to modify "SYSTEMC" and "YAML"
environment variables according to your installation paths. Please, note that the
values already set in the Makefile should be fine if you are using Ubuntu ) Just run "make". [cp@Server203 bin]$ export LD_LIBRARY_PATH=/home/cp/SystemC/systemc-2.3.1a/lib-linux64 (非常重要,
当路径改变的时候都要运行一下,防止systemc-2.3.1.so库在当前工程文件外面。)
解决问题:./noxim: error while loading shared libraries: libsystemc-2.3.1.so: cannot open shared object file: No such file or directory
You may ignore warning messages (if any), so if you don't get any error you are
ready to run Noxim for the first time using the command: ./noxim -config ../config_examples/default_config.yaml If everything works fine, it is now safe for you to copy or move this executable
elsewhere; if you are a maniac of cleaning please note that "make clean" will also delete the executable... so move it before cleaning! That's all, folks!
Noxim配置运行的更多相关文章
- IntelliJ IDEA 配置运行程序
IntelliJ IDEA 对于Javaer开发来说还是很nice的,就是第一次用可能配置项有点生疏,这里就记录一下IntelliJ IDEA 配置运行程序. 1. 点击Edit Config... ...
- pycharm配置运行django项目步骤
1:在django项目的跟目录下执行:这是直接在Linux系统中直接运行 python manage.py runserver 0:8000 然后在浏览器中输入IP端口即可访问 pycharm配置运行 ...
- 【Mac + Android】之Android Studio 环境搭建,AVD模拟器运行(包括:命令行运行AVD,并且Genymotion模拟器插件配置运行)
目录: 前提.Mac环境下手动配置Android SDK 一. Android Studio下载及配置 二.AVD模拟器配置运行 扩展:命令行运行AVD模拟器 三.在Android Studio 中配 ...
- 记pytorch版faster rcnn配置运行中的一些坑
记pytorch版faster rcnn配置运行中的一些坑 项目地址 https://github.com/jwyang/faster-rcnn.pytorch 一般安装配置参考README.md文件 ...
- Webstorm配置运行React Native
Webstorm配置运行React Native 1.选择配置 2.选择npm,设置package等参数 3.添加拓展工具 4.配置拓展工具(核心啊) 5.运行测试,ok的.
- caffe学习二:py-faster-rcnn配置运行faster_rcnn_end2end-VGG_CNN_M_1024 (Ubuntu16.04)
本文的主要目的是学习记录. 原文连接:https://blog.csdn.net/samylee/article/details/51099508 本博客中我将对py-faster-rcnn配置运行f ...
- ntsysv - 用于配置运行级别的简单接口
总览 SYNOPSIS ntsysv [--back] [--level <levels>] 描述 DESCRIPTION ntsysv 是个用于配置运行级别服务(也可通过 chkconf ...
- centos8安装fastdfs6.06集群方式三之:storage的安装/配置/运行
一,查看本地centos的版本 [root@localhost lib]# cat /etc/redhat-release CentOS Linux release 8.1.1911 (Core) 说 ...
- centos8安装fastdfs6.06集群方式二之:tracker的安装/配置/运行
一,查看本地centos的版本 [root@localhost lib]# cat /etc/redhat-release CentOS Linux release 8.1.1911 (Core) 说 ...
随机推荐
- 总结:Java 集合进阶精讲1
知识点:Java 集合框架图 总结:Java 集合进阶精讲1 总结:Java 集合进阶精讲2-ArrayList 集合进阶1---为集合指定初始容量 集合在Java编程中使用非常广泛,当容器的量变得非 ...
- Promise事件比timeout优先
Promise, setTimeout 和 Event Loop 下面的代码段,为什么输出结果是1,2,3,5,4而非1,2,3,4,5?(function test() { setTimeout(f ...
- postgresql模糊查询json类型字段内某一属性值
需求场景: 目录以jsonb格式存储在数据库表t的chapter字段中,需要菜单路径中包含指定字符串(比如“语文”或者“上学期”)的menu 以下为chapter字段存储json示例: { " ...
- js解决转义字符问题
数据“\\s=7\\c=1\\j=1\\p=1”, 转义出来变成“\s=7\c=1\j=1\p=1” 结果:可以这样转换str=str.replace(/\\/g,'\\\\');
- ORACLE中用户等系统信息操作
1.查看所有用户:select * from dba_users; select * from all_users; select * from user_users; 2.查看用户或角色系统 ...
- Bash常用快捷键及其作用
在 Bash 中有非常多的快捷键,如果可以熟练地使用这些快捷键,可有效地提高我们的工作效率.只是快捷键相对较多,不太好记忆,这就要多加练习和使用.这些快捷键如表 1 所示. 表 1 Bash 常用快捷 ...
- centos密码策略
centos7密码策略 https://blog.csdn.net/qq_36896749/article/details/80264280 centos7设置密码规则 https://blog.cs ...
- 10 dict嵌套与升级
dic = { 'name':['alex','wusir','taibai'], 'py9':{ ', 'learm_money':19800, 'addr':'CBD', }, 'age':21 ...
- kudu导入文件(基于impala)
kudu是cloudera开源的运行在hadoop平台上的列式存储系统,拥有Hadoop生态系统应用的常见技术特性,运行在一般的商用硬件上,支持水平扩展,高可用,集成impala后,支持标准sql语句 ...
- JS数组存储(两个数组相等,一个改变,另一个跟着改变)
数组是一种引用数据类型,数组引用变量只是一个引用,数组元素和数组变量在内存里是分开存放的实际的数组元素被存储在堆(heap)内存中:数组引用变量是一个引用类型的变量,被存储在栈(stack)内存中. ...