source: branches/v4/platforms/platform_fpga_de2-115/segmentation.h @ 1018

Last change on this file since 1018 was 274, checked in by bouyer, 12 years ago

Add a platform describing as closely as possible the hardware that
is on the de2-115 board.

File size: 2.8 KB
Line 
1/*
2   This file is part of MutekP.
3 
4   MutekP is free software; you can redistribute it and/or modify it
5   under the terms of the GNU General Public License as published by
6   the Free Software Foundation; either version 2 of the License, or
7   (at your option) any later version.
8 
9   MutekP is distributed in the hope that it will be useful, but
10   WITHOUT ANY WARRANTY; without even the implied warranty of
11   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12   General Public License for more details.
13 
14   You should have received a copy of the GNU General Public License
15   along with MutekP; if not, write to the Free Software Foundation,
16   Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 
18   UPMC / LIP6 / SOC (c) 2009
19   Copyright Ghassan Almaless <ghassan.almaless@gmail.com>
20*/
21
22
23/////////////////////////////////////////
24//   Devices mapped segments
25/////////////////////////////////////////
26#define     SIMH_BASE   0xf1000000
27#define     SIMH_SIZE   0x00010000
28
29#define     XICU_BASE   0xfd000000
30#define     XICU_SIZE   0x00001000
31
32#define     DMA_BASE    0xf2000000
33#define     DMA_SIZE    0x00000014
34
35#define     TTY_BASE    0xfc000000
36#define     TTY_SIZE    0x00000010
37
38#define     BD_BASE     0xfb000000
39#define     BD_SIZE     0x20
40
41#define FB_XSIZE 640
42#define FB_YSIZE 480
43#define      FB_BASE    0xf0000000
44#define      FB_SIZE    FB_XSIZE*FB_YSIZE*4
45////////////////////////////////////////
46
47
48//////////////////////////////////////////
49//       ROM mapped segments
50//////////////////////////////////////////
51
52#define    BOOT_BASE       0xbfc00000
53#define    BOOT_SIZE       0x00400000
54
55#define    DTB_BASE        0xbfd00000
56#define    DTB_SIZE        0x00002000
57
58#define    ROM_BASE        BOOT_BASE
59#define    ROM_SIZE        (DTB_BASE+DTB_SIZE-ROM_BASE)
60//////////////////////////////////////////
61
62//////////////////////////////////////////
63//                RAM
64//////////////////////////////////////////
65
66#define     RAM_BASE    0x00000000
67#define     RAM_SIZE    0x10000000
68//////////////////////////////////////////
69
70//////////////////////////////////////////
71//    Application mapped segments
72//////////////////////////////////////////
73
74#define  KTEXT_BASE       0x80000000
75#define  KDATA_BASE       0x80020000
76#define  KDATA_SIZE       0x003E0000
77
78#define     USR_TEXT_BASE    0x7F400000
79#define     USR_DATA_BASE    0x7F402000
80#define     USR_DATA_SIZE    0X00BFD000
81////////////////////////////////////////
82
83////////////////////////////////////////
84//      Reserved segments
85////////////////////////////////////////
86
87#define PROC0_BASE      0x11200000
88#define PROC0_SIZE      0x00000020
89
90#define PROC1_BASE      0x12200000
91#define PROC1_SIZE      0x00000020
92
93#define PROC2_BASE      0x13200000
94#define PROC2_SIZE      0x00000020
95
96#define PROC3_BASE      0x14200000
97#define PROC3_SIZE      0x00000020
98
99////////////////////////////////////////
Note: See TracBrowser for help on using the repository browser.