forked from ArchC/sparc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sparc.ac
50 lines (41 loc) · 886 Bytes
/
sparc.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**
* @file sparc.ac
* @author Sandro Rigo
* Marcus Bartholomeu
* Alexandro Baldassin (assembly information)
*
* The ArchC Team
* http://www.archc.org/
*
* Computer Systems Laboratory (LSC)
* IC-UNICAMP
* http://www.lsc.ic.unicamp.br
*
* @version 1.0
* @date Thu, 29 Jun 2006 14:49:07 -0300
*
* @brief The ArchC SPARC-V8 functional model.
*
* @attention Copyright (C) 2002-2006 --- The ArchC Team
*
*/
AC_ARCH(sparc){
ac_mem DM:512M;
ac_regbank RB:256;
ac_regbank REGS:32;
ac_reg npc;
ac_reg<1> PSR_icc_n;
ac_reg<1> PSR_icc_z;
ac_reg<1> PSR_icc_v;
ac_reg<1> PSR_icc_c;
ac_reg PSR;
ac_reg Y;
ac_reg<8> WIM;
ac_reg<8> CWP;
ac_reg id;
ac_wordsize 32;
ARCH_CTOR(sparc){
ac_isa("sparc_isa.ac");
set_endian("big");
};
};