CPUlator Computer System Simulator 您所在的位置:网站首页 simulator CPUlator Computer System Simulator

CPUlator Computer System Simulator

#CPUlator Computer System Simulator| 来源: 网络整理| 查看: 265

CPUlator Computer System Simulator

CPUlator is a Nios II, ARMv7, and MIPS simulator of a computer system (processor and I/O devices) and debugger that runs in a modern web browser. It is designed as a tool for learning assembly-language programming and computer organization.

To start using CPUlator now, choose a computer system to simulate, then follow the link.

To learn more, try a sample program in the simulator (Help → Sample programs), or see the documentation.

Choose a system to simulate Architecture System http://cpulator.01xz.net/?sys=nios Optional I/O Devices Features Instruction sets: Nios II, ARMv7, and MIPS I/O devices:Nios II and ARMv7: Includes most devices found on a DE1-SoC (and other board models used by the Altera University Program), including interrupt support. MIPS: Includes SPIM-compatible terminal Nothing to install: Runs entirely inside a web browser Debugger: Single-step, breakpoints, watchpoints, trace, call stack, examine disassembly, memory and registers Debug assertions: Optional runtime assertions catch many potential errors Input: Accepts both assembly source code and ELF executables See more documentation... Demo (Nios II program drawing on VGA display) Nios II, ARMv7, and MIPS Simulator?

It turns out that writing a CPU simulator (or four) is relatively easy. The difficult part is creating a full-featured debugger with a usable and efficient user interface. Thus, CPUlator supports several instruction sets, while reusing the same debugging and UI infrastructure.

The simulator was first written for Nios II in January 2016, for use at the University of Toronto. Support for ARMv7 was added fall 2016, and MIPS32r6 was added in January 2018. MIPS32 release 5 was added November 2018 because it turns out release 6 is incompatible with all earlier MIPS instruction sets, and nobody teaches with r6 yet.

Comparison Chart

The following is a feature comparison of CPUlator with some popular simulators used for teaching.

CPUlatorMARS 4.5QtSPIM 9.1.20ARMSim# 1.91ARMSim# 2.1 No installation required PlatformWeb browserJava JREWindows, OSX, Linux.NET 3.0.NET 3.0 Free Open-source Editor Code completionn/an/an/a AssemblerGNUcustomcustomcustomGNU C or other languages Debugger Breakpoints Single-step Reverse step Step over function Step out of function Modify registers(except pc) Modify memory Show call stack Runtime calling convention checks Data watchpoints Instruction setsMIPS32 r5MIPS32 r6ARMv7 Nios IIMIPS32MIPS32ARMv5ARMv5 Self-modifying codemaybemaybe MMU FPU Memory model4 GB flat5 segments5 segments1 segment1 segment Maximum usable memory2042 MB4+4+4 MB data4+4 MB code4+1+0.5 MB data256+64 KB code64 KB data512 MB code96 KB data512 MB code I/O devices Terminal File I/O Other devices Simulation speed (Minst/second)1331023


【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有