Chinaunix首页 | 论坛 | 博客
  • 博客访问: 41308
  • 博文数量: 47
  • 博客积分: 1000
  • 博客等级: 少尉
  • 技术积分: 490
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-02 21:19
文章分类
文章存档

2010年(1)

2009年(46)

我的朋友
最近访客

分类:

2009-12-26 15:01:02

It will be complete soon...

    SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of languages including common scripting languages such as Perl, PHP, Python, Tcl and Ruby. See also

    In M5, configuration files are written in Python, while system components are written in C++. Those .hh and .cc file contains C++ objects declaration and implementation. In M5, the .cc files do not actually contains implementation files, instead, the .cc files only contains a template instantiation, while the low level implementation files are those _impl.cc files.
    To form the whole simulation system, M5 use a hierarchy of Python configuration files responsible for components connection and instantiation. This instantiated system works by invoking the low level C++ implementation. This is where the swig works.
阅读(352) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~