⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 trace.h

📁 RISC处理器仿真分析程序。可以用于研究通用RISC处理器的指令和架构设计。在linux下编译
💻 H
字号:
/* +-----------------------------------------+ *//* | Copyright (c) 1990 Stanford University. | *//* | All Rights Reserved.                    | *//* |                                         | *//* | Permission is given to modify this code | *//* | as long as this notice is not removed.  | *//* +-----------------------------------------+ *//* Header file for pixie trace conversion.                       **                                                                ** Adapted and used with the permission of the author, Mike Smith */#define WORD_READ 0#define DOUBLE_READ 1#define WORD_WRITE 2#define DOUBLE_WRITE 3#define BYTE_WRITE 4#define HALF_WRITE 5#define SWR 6#define SWL 7#define LWC1 8#define LDC1 9#define SWC1 10#define SDC1 11#define BASIC_BLOCK 12#define ANNUL 13#define REFTYPES 14#define IsRead(_x) (((_x)&6)==0)#define IsWrite(_x) (((_x)&6)!=0)#define IsFp(_x) (((_x)&8)!=0)#define IsDouble(_x) (((_x)&5)==1)#define IsSubword(_x) (((_x)&4)!=0)struct  ref_struct {         unsigned   addr : 24;	 unsigned   type : 4;	 unsigned   cnt  : 4;         };

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -