首页 > 其他分享 >计算机体系结构模拟器gem5

计算机体系结构模拟器gem5

时间:2023-10-16 09:45:00浏览次数:34  
标签:www gem5 system build https org 模拟器 体系结构

 

【Gem5】gem5模拟器中三种访存模式Atomic、Timing、Functional的总结对比_空空7的博客-CSDN博客

Gem5 // 谭邵杰的计算机奇妙旅程 (ustc.edu.cn)

  • GEM5是一款模块化的离散事件驱动全系统模拟器,由C++与python编写
  • 它结合了M5(多处理器模拟器)和GEMS(存储层次模拟器)中最优秀的部分,是一款高度可配置、集成多种ISA和多种CPU模型的体系结构模拟器。
    • M5是由Michigan大学开发的一款开源的多处理机模拟器,受到了业内的广泛关注,很多高水平论文都采用M5作为研究工具。
    • 另一方面,Wisconsin推出的GEMS能够对储存层次进行详细而灵活的模拟,包括对多种不同的cache一致性协议和互联模型的支持。
    • 目前的GEM5是M5和GEMS的一个紧耦合版本。
  • GEM5已经能够支持多种商用ISA,包括X86、ARM、ALPHA、MIPS、Power、SPARC等,并且能够在X86、ARM、ALPHA上加载操作系统。

 

gem5/gem5: The official repository for the gem5 computer-system architecture simulator. (github.com)

gem5: The gem5 simulator system

 

The gem5 Simulator

This is the repository for the gem5 simulator. It contains the full source code for the simulator and all tests and regressions.

The gem5 simulator is a modular platform for computer-system architecture research, encompassing system-level architecture as well as processor microarchitecture. It is primarily used to evaluate new hardware designs, system software changes, and compile-time and run-time system optimizations.

The main website can be found at http://www.gem5.org.

Getting started

A good starting point is http://www.gem5.org/about, and for more information about building the simulator and getting started please see http://www.gem5.org/documentation and http://www.gem5.org/documentation/learning_gem5/introduction.

Building gem5

To build gem5, you will need the following software: g++ or clang, Python (gem5 links in the Python interpreter), SCons, zlib, m4, and lastly protobuf if you want trace capture and playback support. Please see http://www.gem5.org/documentation/general_docs/building for more details concerning the minimum versions of these tools.

Once you have all dependencies resolved, execute scons build/ALL/gem5.opt to build an optimized version of the gem5 binary (gem5.opt) containing all gem5 ISAs. If you only wish to compile gem5 to include a single ISA, you can replace ALL with the name of the ISA. Valid options include ARMNULLMIPSPOWERSPARC, and X86 The complete list of options can be found in the build_opts directory.

See https://www.gem5.org/documentation/general_docs/building for more information on building gem5.

The Source Tree

The main source tree includes these subdirectories:

  • build_opts: pre-made default configurations for gem5
  • build_tools: tools used internally by gem5's build process.
  • configs: example simulation configuration scripts
  • ext: less-common external packages needed to build gem5
  • include: include files for use in other programs
  • site_scons: modular components of the build system
  • src: source code of the gem5 simulator. The C++ source, Python wrappers, and Python standard library are found in this directory.
  • system: source for some optional system software for simulated systems
  • tests: regression tests
  • util: useful utility programs and files

gem5 Resources

To run full-system simulations, you may need compiled system firmware, kernel binaries and one or more disk images, depending on gem5's configuration and what type of workload you're trying to run. Many of these resources can be obtained from https://resources.gem5.org.

More information on gem5 Resources can be found at https://www.gem5.org/documentation/general_docs/gem5_resources/.

Getting Help, Reporting bugs, and Requesting Features

We provide a variety of channels for users and developers to get help, report bugs, requests features, or engage in community discussions. Below are a few of the most common we recommend using.

Contributing to gem5

We hope you enjoy using gem5. When appropriate we advise charing your contributions to the project. https://www.gem5.org/contributing can help you get started. Additional information can be found in the CONTRIBUTING.md file.

   

标签:www,gem5,system,build,https,org,模拟器,体系结构
From: https://www.cnblogs.com/sinferwu/p/17653913.html

相关文章

  • Mysql 体系结构
    网上找的一张 Mysql逻辑架构图整个Mysql逻辑架构大致可以分为网络连接层、数据库服务层、存储引擎层、文件系统层一、网络连接层客户端连接器(MysqlConnectors)是Mysql官方为各种开发语言和平台提供的访问Mysql数据库的驱动程序,它实现了对应语言访问数据库的标准接......
  • Huawei模拟器的一些问题记录
    1.每次更改配置弹出的命令,使用该命令进行屏蔽。2.进入系统模式system-view命令:<Huawei>--->[Huawei]3.ctrl+z后退出后才能进行save命令4.展示命令:displayportvlandisplayvlan......
  • Quartz 体系结构
    Quartz的体系结构Quartz的重要组件Scheduler用于与调度程序交互的主程序接口。Scheduler调度程序-任务执行计划表,只有安排进执行计划的任务Job(通过scheduler.scheduleJob方法安排进执行计划),当它预先定义的执行时间到了的时候(任务触发trigger),该任务才会执行。Job我们预先定义的希......
  • 虚拟桌宠模拟器:VPet-Simulator,一个开源的桌宠软件, 可以内置到任何WPF应用程序
    虚拟桌宠模拟器:VPet-Simulator,一个开源的桌宠软件,可以内置到任何WPF应用程序虚拟桌宠模拟器一个开源的桌宠软件,可以内置到任何WPF应用程序获取虚拟桌宠模拟器OnSteam(免费)或通过Nuget内置到你的WPF应用程序1.虚拟桌宠模拟器详细介绍虚拟桌宠模拟器是一款桌宠软件,......
  • Carthage的framework不能在模拟器上工作
    RTld:warning:ignoringfile/Users/kimoji/project/NativeFlutterCordova/iOSNative/Carthage/Build/iOS/Cordova.framework/Cordova,buildingforiOSSimulator-x86_64butattemptingtolinkwithfilebuiltforiOS-arm64Undefinedsymbolsforarchitecturex86_......
  • 某某乐跑与模拟器的使用
    ​写在前面免责声明:大多操作内容是来自网络,本人仅是用自己有限的知识储备进行组装,仅供参考学习,并非倡导,如有侵权,请联系删除。绝非抄袭,如有雷同,纯属巧合。友情提示:跑步能够强壮身体、提高免疫力、预防慢性疾病、改善睡眠。跑步能增强人体的肌肉骨骼,强壮身体;跑步也能够提高人体免......
  • 前端 - HbuilderX连接模拟器运行App
    HbuilderX连接模拟器运行App最近更换了一台开发电脑,然后将电脑中的HbuilderX和MEmu(逍遥模拟器)全部更新了,结果Hbuilder使用AndroidRun在模拟器上跑不起来安装包了,一直停留在如下页面上。搜索了一大圈之后发现有不少人也遇到了我的这个问题,在官方论坛上开发人员的回复是换一个......
  • 描述 .NET MAUI 体系结构
    跨平台应用开发使用的一种常见模式是考虑用户界面中的业务逻辑,然后为每个平台开发单独的用户界面和UI逻辑。虽然每种类型的设备的业务逻辑保持不变,但驱动应用和显示数据的代码可能会有所不同。出现这种差异是因为设备所提供的功能、API和特性不相同。以这种方式构建多平台应......
  • 从安卓模拟器中获取 expo-av 库录音得到的音频文件 file:///data/user/0/mo.com.nccl.
    在使用expo-av录制音频时,录制结束通过recording.getURI()可以获取得到的音频文件的地址。想要获取该文件可以通过发送请求的方式:consturi=recording.getURI();letresponse=awaitfetch(uri);letblob=awaitresponse.blob();如果想直接根据文件路径找到这个文......
  • 【HarmonyOS】解决API6 WebView跳转外部浏览器问题、本地模拟器启动黑屏
    ​【问题描述1】HarmonyOSAPI6Java开发中使用WebView组件,如果网页中有跳转链接,点击会跳转到手机系统浏览器。 【解决方案】解决这个问题的方法就是给WebView这种自定义的WebAgent对象。具体代码如下:WebConfigwebConfig=this.webView.getWebConfig();this.webView.setWe......