OpenCores
URL https://opencores.org/ocsvn/ion/ion/trunk

Subversion Repositories ion

[/] [ion/] [trunk/] [src/] [common/] [bram.lds] - Blame information for rev 217

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 181 ja_rd
 
2
 
3
MEMORY
4
{
5
    BRAM    : ORIGIN = 0xbfc00000, LENGTH = 16K
6
    ROM     : ORIGIN = 0xb0000000, LENGTH = 4M
7
    RAM     : ORIGIN = 0x00000000, LENGTH = 512K
8
}
9
 
10
REGION_ALIAS("REGION_TEXT", BRAM);
11
REGION_ALIAS("REGION_RODATA", BRAM);
12
REGION_ALIAS("REGION_DATA", RAM);
13
REGION_ALIAS("REGION_BSS", RAM);
14
 
15
 
16
SECTIONS
17
{
18
    .text :
19
    {
20
        *(.text)
21
    } > REGION_TEXT
22
    .rodata :
23
    {
24
        *(.rodata)
25
        *(.rodata.*);
26
        rodata_end = .;
27
    } > REGION_RODATA
28
    .data : AT (rodata_end)
29
    {
30
        data_start = .;
31
        _gp = . + 0x7ff0; /* 0x7ff0 -> middle of 64K area */
32
        *(.data)
33
    } > REGION_DATA
34
 
35
    data_size = SIZEOF(.data);
36
    data_load_start = LOADADDR(.data);
37
    .bss :
38
    {
39
        __bss_start = .;
40
        *(.bss)
41
        _end = .;
42
    } > REGION_BSS
43
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.