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) 说 ...
随机推荐
- k8s学习笔记之三:k8s快速入门
一.前言 kubectl是apiserver的客户端工具,工作在命令行下,能够连接apiserver上实现各种增删改查等各种操作 kubectl官方使用文档:https://kubernetes.io ...
- python下selenium自动化测试自我实践
周末实验自动化提交数据时,本来没打算写记录的,不过遇到一些问题,觉得可以提提.基本操作就不用写了,搜索过程中都发现了两个博客都出了selenium+python的书,说明操作一搜一大把. 1. 等待页 ...
- 面向连接的tcp 编程
from socket import * serverSocket=socket(AF_INET,SOCK_STREAM) serverSocket.bind(("",8899)) ...
- python 处理 https链接 socket报错 链接https
// socket 链接 https 有问题 得去看看ssl文档 用法 import socketimport ssl def https_test(url): proto = "http& ...
- 【机器学习_7】numpy
1. 定义 入门选手不抄作业了,先简单理解下,numpy最大的应用大概是方便做数学运算啥的,功劳在于一个叫ndarray(多维数组)的数据类型.numpy本身没有强大分析能力,只是pandas的基础啥 ...
- 【HQL】小技巧
case1.a与b匹配表保留一条匹配关系 背景:匹配b,b匹配a在同一张表: match_table表为: uid,m_uid 111,222 222,111 需求:只保留一条匹配关系. 结果为: u ...
- matlab-非线性拟合函数lsqcurvefit的使用和初值选取
所解决问题: 我们知道我们的表达式是y=A+B*exp(-x.^2)-C./log(x), 而且现在我们手里面有x与y对应的一大把数据. 我们需要根据x, y的值找出最佳的A.B.C值.则我们现在借助 ...
- 为何要使用ViewModel
ViewModel类是用来存储和管理与UI相关的数据,在设计之初就考虑到生命周期的影响.ViewModel允许数据在屏幕旋转等配置变化后存活. Android framework管理UI控制器(如Ac ...
- spring 大会的启示
1.事件驱动的微服务编程 2.无服务架构的编程模型 3.微服务缓存
- oracle数据链接
using System; using System.Collections.Generic; using System.Data; using System.Data.OracleClient; u ...