下载 > 资源分类 >  开发技术 >  C > ICS Lab4

ICS Lab4

2004-06-28 上传大小:141KB
Y86 Tools (Student Distribution)

Copyright (c) 2002, R. Bryant and D. O Hallaron, All rights reserved.
May not be used, modified, or copied without permission.
This directory contains the student
 distribution of the Y86 tools.  It
is a proper subset of the master distribution, minus the solution
files found in the master distribution.
yas		Y86 assembler
yis		Y86 instruction (ISA) simulator 
hcl2c		HCL to C translator
ssim		SEQ simulator
ssim+		SEQ+ simulator
psim		PIPE simulator
y86-code/	Examples programs and and benchmark testing scripts
ptest/		Scripts for detailed automated regression testing

1. Building the Y86 tools
The Y86 simulators can be configured to support TTY and GUI
interfaces. A simulator running in TTY mode prints all information
about its run-time behavior on the terminal.  Hard to understand what s
going on, but useful for automated testing, and doesn t require any
special installation features.  A simulator running in GUI mode uses a
fancy graphical user interface.  Nice for visualizing and debugging,
but requires installation of Tcl/Tk on your system.

To build the Y86 tools, perform the following steps:

NOTE: If your instructor prepared this distribution for you, then you
can skip Step 1 and proceed directly to Step 2. The Makefile will
already have the proper values for GUIMODE, TKLIBS, and TKINC for your
system.

Step 1. Decide whether you want the TTY or GUI form of the simulators,
and then modify ./Makefile in this directory accordingly. (The changes
you make to the variables in this Makefile will override the values
already assigned in the Makefiles in the seq and pipe directories.)

Building the GUI simulators: If you have Tcl/Tk installed on your
system, then you can build the GUI form by initializing the GUIMODE,
TKLIBS, and TKINC variables, as appropriate for your system. (The
default values work for Linux systems.) 

Assigning GUIMODE=-DHAS_GUI causes the necessary GUI support code in
the simulator sources to be included.  The TKLIBS variable tells gcc
where to look for the libtcl.so and libtk.so libraries. And the TKINC
variable tells gcc where to find the tcl.h and tk.h header files.

Building the TTY simulators: If you don t have Tcl/Tk installed on
your system, then build the TTY form by commenting out all three of
these variables (GUIMODE, TKLIBS, and TKINC) in the Makefile.

Step 2: Once you ve modified the Makefile to build either the GUI or
TTY form, then you can construct the entire set of Y86 tools by typing 

	unix> make clean; make
2. Files

Makefile
	Builds the Y86 tools

README
	This file

misc/	
	Source files for the Y86 assembler yas, the Y86 instruction
	simulator yis, and the isa.c file that is used by the -t option
	of the processor simulators to check the results against the
	ISA simulation.

seq/	
	Code for the SEQ and SEQ+ simulators.  Contains HCL files for
	labs and homework problems that involve modifying SEQ.

pipe/	
	Code for the PIPE simulator.  Contains HCL files for labs and
	homework problems that involve modifying PIPE.

y86-code/
	Example .ys files from CS:APP and scripts for conducting
	automated benchmark teseting of the new processor designs.

ptest/
	Automated regression testing scripts for testing processor designs.
...展开收缩
综合评分:4.1(68位用户评分)
直接下载 开通VIP会员 免积分下载

评论共有15条

name
mycroft01212015-11-29 12:46:39
对于lab有帮助,谢谢了
name
aiaiaiai12342014-10-20 20:41:26
只是资源没有解答哦。。
name
magicrp2014-03-21 22:11:36
对LAB很有启发!不错
name
hongchi1102013-12-21 20:19:13
非常不错 推荐~
name
lmyz_112013-12-21 12:42:44
发现我想下的其实不是这个lab,囧。。
name
u0109234252013-11-24 15:06:53
没有答案啊,只是原版文件
name
u0113305312013-11-03 19:13:48
这是lab源题 并无解答
name
wizardforcel2013-10-26 17:37:53
只是原版的文件 不是答案
name
yufxq2013-10-13 12:51:24
对lab有一定帮助~
name
u0108119672013-07-07 14:31:18
对lab帮助很大

评论资源

您不能发表评论,可能是以下原因:

登录后才能评论

待评论资源
 

热门专辑

关闭
img

spring mvc+mybatis+mysql+maven+bootstrap 整合实现增删查改简单实例.zip

CSDN VIP年卡 4000万程序员的必选现在开通,立省522元
下载
img

ICS Lab4

会员到期时间: 剩余下载个数: 剩余C币:0 剩余积分:
VIP下载

积分不足!

资源所需积分 当前拥有积分
您可以选择
开通VIP年卡
4000万
程序员的必选
600万
绿色安全资源
现在开通
立省522元
或者
购买C币兑换积分 C币抽奖
img
资源所需积分 当前拥有积分 当前拥有C币
5 4 45
(仅够下载10个资源)
VIP年卡
全站1200个资源免积分下载
下载
img
资源所需积分 当前拥有积分 当前拥有C币
5 0 0
VIP年卡
全站1200个资源免积分下载
C币充值开通VIP年卡
img
资源所需积分 当前拥有积分 当前拥有C币
5 4 45
您的积分不足,将扣除 10 C币
VIP年卡
全站1200个资源免积分下载
下载
下载

兑换成功

你当前的下载分为234开始下载资源
你还不是VIP会员
开通VIP会员权限,免积分下载
立即开通

你下载资源过于频繁,请输入验证码

你下载资源过于频繁,请输入验证码

您因违反CSDN下载频道规则而被锁定帐户,如有疑问,请联络:webmaster@csdn.net!

举报

若举报审核通过,可奖励20下载分

  • 举报人:
  • 被举报人:
  • 举报的资源分:
  • *类型:
  • *详细原因: