I use GTK+2.x to implement GUI and the detail description is at the webpage of the program.
If there are any questions or suggestions, please feel free to email to me. Thanks
Program webpage: LINK
I put some problems I solved while doing some research or project.
It can be complied with pisa version, however there are some error inforamation pop out using alpha configuraiton.simplescalar
There are two files need to be midified
1.machine.h a. (line 223)
= orginal =
/* internal decoder state */
extern enum md_opcode md_mask2op[];
extern unsigned int md_opoffset[];
extern unsigned int md_opmask[];
extern unsigned int md_opshift[];
= change into =
extern enum md_opcode md_mask2op[MD_MAX_MASK+1];
extern unsigned int md_opoffset[OP_MAX];
extern unsigned int md_opmask[OP_MAX];
extern unsigned int md_opshift[OP_MAX];
b. codes below part a
/* global opcode names, these are returned by the decoder (MD_OP_ENUM()) */
enum md_opcode {
OP_NA = 0, /* NA */
#define DEFINST(OP,MSK,NAME,OPFORM,RES,FLAGS,O1,O2,I1,I2,I3) OP,
#define DEFLINK(OP,MSK,NAME,MASK,SHIFT) OP,
#define CONNECT(OP)
#include "machine.def"
OP_MAX /* number of opcodes + NA */ };
move them before part a
2.mae-mem.c (line 132)
= orginal =
static unsigned int /* total latency of access */
= change into =
unsigned int /* total latency of access */
There some bugs that have been discoveried.
Reference by:http://www.cc.gatech.edu/~loh/mase/