- 1、本文档共49页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Hardware Simulator Tutorial This program is part of the software suite that accompanies the book The Elements of Computing Systems by Noam Nisan and Shimon Schocken MIT Press www.idc.ac.il/tecs This software was developed by students at the Efi Arazi School of Computer Science at IDC Chief Software Architect: Yaron Ukrainitz Background The book’s software suite The Hack computer Hardware Simulation Tutorial Hardware Simulation Tutorial Chip Definition (.hdl file) Chip Definition (.hdl file) Loading a Chip Loading a Chip Exploring the Chip Logic Exploring the Chip Logic Interactive Chip Testing Interactive Chip Testing Hardware Simulation Tutorial Test Scripts Loading a Script Script Controls Running a Script Running a Script Viewing Output and Compare Files Viewing Output and Compare Files Hardware Simulation Tutorial Built-In Chips Explicit Use of Built-in Chips Implicit Use of Built-in Chips Hardware Simulation Tutorial Clocked (Sequential) Chips The D-Flip-Flop (DFF) Gate Hardware Simulation Tutorial Built-in Chips with GUI Effects The Logic of the GUIDemo Chip GUIDemo Chip in Action Hardware Simulation Tutorial System Variables The simulator recognizes and maintains the following variables: Time: the number of time-units (clock-cycles) that elapsed since the script started running is stored in the variable time Pins: the values of all the input, output, and internal pins of the simulated chip are accessible as variables, using the names of the pins in the HDL code GUI elements: the values stored in the states of GUI-empowered built-in chips can be accessed via variables. For example, the value of register 3 of the RAM8 chip can be accessed via RAM8[3]. All these variables can be used in scripts and breakpoints, for debugging. Breakpoints Scripts for Testing the Topmost Computer chip Visual Options Hardware Simulation Tutorial Hack: a General-Purpose 16-bit Computer The Hack Chip-Set and Hardware Platform Elementary logic gates (Project 1): Nand (primitive) N
您可能关注的文档
- 2016年电大财政学期末考核说明小抄.doc
- 2016年电大财政学期末考试资料小抄.doc
- 2016年电大公共部门人力资源管理复习资料小抄.doc
- 2016年电大会计学本科货币银行学课程设计方案小抄.doc
- 2016年电大计算机网络(本)练习题考试资料小抄【必备复习资料】.doc
- 2016年电大计算机网络(本)期末复习必备参考资料小抄.doc
- 2016年电大计算机网络(本科)期末必备复习题及答案资料小抄汇总.doc
- 2016年电大计算机网络(本科)往届试题及答案汇总小抄.doc
- 2016年电大计算机网络(本科)小蓝本及其答案小抄.doc
- 2016年电大计算机网络技术专科历年试题和答案资料小抄.doc
文档评论(0)