- 2
- 0
- 约1.09万字
- 约 14页
- 2022-12-26 发布于广东
- 举报
Lab 3: Simulating Y86-64 Program
1 Introduction
In this lab, you will learn about the implementation of a Y86-64 processor. When completing this lab, you will have a keen appreciation for the interactions between instruction and hardware that affect your programs. You will runtwo simple Y86-64 programs and become familiar with the Y86-64 tools.
2 Type
This is an individual project.
3 Instructions
Find Sources List:
Make sure the the link in sources.list match your ubuntu version:
For Ubuntu 14.10 utopic :
/outs/p/5182390.html
For Other Ubuntu:
/%E6%BA%90%E5%88%97%E8%A1%A8
Backup: sources.list.bak
# sudo cp?/etc/apt/sources.list?/etc/apt/sources.list.bak
Modify: Rewrite sources.list using source from the website.
# sudo gedit /etc/apt/sources.list
Update:
# sudo apt-get update (upgrade / -f install)
# sudo apt-get install flex bison
For Ubuntu18、16、14:
# sudo apt-get install tcl8.5 tcl8.5-dev tk8.5 tk8.5-dev
For Ubuntu20 and later:
# sudo apt-get install tcl tcl-dev tk tk-dev
For Ubuntu18、16、14:
In sim and seq directory, find Makefile, and modify it:
For Ubuntu20 and later:
In sim and seq directory, find Makefile, and modify it:
In seq directory, find ssim.c, and modify all interp-result to Tcl_SetResult() and Tcl_GetStringResult(). Refer to
/questionstk-h-looks-for-tcl-h-in-usr-include-but-tcl-h-is-in-usr-include-tcl-i-dont-h
Find and comment out the lines include “matherr”:
For Ubuntu22:
In misc and pipe directory,find Makefile, and modify it:
/questionsfail-to-compile-the-y86-simulatur-csapp
Start by copying the Lab3 to a directory in which you plan to do your work.
Unpacked the file using:
# tar xvf sim.tar (Or just double click and choose extract)
The directory sim contains the following subdirectories:
misc Source code files for utilities such as YAS (the Y86-64 assembler), and YIS (the Y86-64 instruction setsimulator). It also contains the isa.c source file that is used byall of the processor simulators.
y86-code Y86-64 assembly cod
您可能关注的文档
- 暨南大学计组实验报告.doc
- 暨南大学2021计组实验1.doc
- 暨南大学2021计组实验2.doc
- 暨南大学2021计组实验4.doc
- 暨南大学2021计组实验5.doc
- 2026山东大学微生物技术研究院张友明教授团队招聘1人备考题库含答案详解(培优a卷).docx
- 2026山东省阿秒科学实验室(山东省国际顶尖科学家工作室)招聘备考题库附答案详解.docx
- 2026年1月广东广州市天河区旭日雅苑幼儿园编外人员招聘2人备考题库带答案详解(精练).docx
- 2026山东枣庄市第一批次市直就业见习招聘113人备考题库及答案详解(基础+提升).docx
- 2026宁夏固原市财政局(国资委)选聘外部董事人才库人选备考题库及参考答案详解1套.docx
- 2026年2月重庆市南岸区人民政府弹子石街道办事处公益性岗位招聘8人备考题库及答案详解(全优).docx
- 2026安徽合肥技师学院招聘劳务外包辅助教学教师10人备考题库附参考答案详解(研优卷).docx
- 2026年2月绍兴银行社会招聘1人备考题库完整答案详解.docx
- 2026安徽合肥综合性国家科学中心环境研究院博士后研究人员招聘31人备考题库带答案详解(能力提升).docx
- 2026山东威海市复退军人康宁医院招聘4人备考题库附答案详解(达标题).docx
- 2026山西省太行山国有林管理局林草防火专业队招聘林草防火队员30人备考题库带答案详解(轻巧夺冠).docx
- 2026岚图汽车制造领域招聘备考题库含答案详解(培优a卷).docx
- 2026山东威海市复退军人康宁医院招聘4人备考题库及答案详解(名校卷).docx
- 2026山东药品食品职业学院博士后创新实践基地招聘备考题库带答案详解(培优).docx
- 2026山东大学微生物技术研究院张友明教授团队招聘1人备考题库带答案详解(模拟题).docx
最近下载
- 供应商审核评分表.xls VIP
- 《水库大坝安全管理条例》(2024版)培训与解读课件.pptx
- 2025年中考无锡物理试题及答案.docx VIP
- 护理不良事件登记(报告)表,护理不良事件分析讨论记录.docx VIP
- 新能源汽车发动机选型趋势.docx VIP
- T∕CPHA 33-2024 通用码头和多用途码头绿色港口等级评价指南.pdf VIP
- GB50555-2010 民用建筑节水设计标准.pdf VIP
- 危险作业审批人员与监护人员安全知识考试题(附答案).docx VIP
- 幼小衔接数学《每日计算练习一》.pdf VIP
- TCFA0310021-2023 铸造企业规范条件.docx VIP
原创力文档

文档评论(0)