source: trunk/IPs/systemC/shared/mapping_memory.h @ 101

Last change on this file since 101 was 101, checked in by rosiere, 15 years ago

1) Add soc test
2) fix bug (Pc management, Decod and execute, Update prediction ...)

File size: 1.3 KB
Line 
1#  ifndef MAPPING_MEMORY_H
2#  define MAPPING_MEMORY_H
3
4#  define TEXT_BASE            0x00000000
5#  define TEXT_SIZE            0x01000000
6
7#  define DATA_CACHED_BASE     0x10000000
8#  define DATA_CACHED_SIZE     0x10000000
9
10#  define DATA_STACK_BASE      0x40000000
11#  define DATA_STACK_SIZE      0x02000000
12
13#  define DATA_UNCACHED_BASE   0x80000000
14#  define DATA_UNCACHED_SIZE   0x01000000
15
16#  define TTY_BASE             0xa0000000
17//#define TTY_SIZE             nb_tty*4*4   
18//                                          (word access)
19//                                           word 0 : write tty
20//                                           word 1 : stop
21//                                           word 2 : print word
22//                                           word 3 : unused
23
24#  define RAMLOCK_BASE         0xb0000000
25//#define RAMLOCK_SIZE         nb_ramlock   
26//                                          (char access)
27
28#  define SIM2OS_BASE          0xc0000000
29#  define SIM2OS_SIZE          0x00001000
30//                                          (word access)
31//                                           word 0 : number of service
32//                                           word 1 : result
33//                                           word 2 : error
34//                                           word 3+: arguments
35
36#endif
Note: See TracBrowser for help on using the repository browser.