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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [mn10300/] [sim/] [current/] [cdl/] [hal_mn10300_am31_sim.cdl] - Blame information for rev 851

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

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      hal_mn10300_am31_sim.cdl
4
#
5
#      MN10300/AM31 SIM HAL package configuration data
6
#
7
# ====================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
12
##
13
## eCos is free software; you can redistribute it and/or modify it under
14
## the terms of the GNU General Public License as published by the Free
15
## Software Foundation; either version 2 or (at your option) any later
16
## version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT
19
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21
## for more details.
22
##
23
## You should have received a copy of the GNU General Public License
24
## along with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26
##
27
## As a special exception, if other files instantiate templates or use
28
## macros or inline functions from this file, or you compile this file
29
## and link it with other works to produce a work based on this file,
30
## this file does not by itself cause the resulting work to be covered by
31
## the GNU General Public License. However the source code for this file
32
## must still be made available in accordance with section (3) of the GNU
33
## General Public License v2.
34
##
35
## This exception does not invalidate any other reasons why a work based
36
## on this file might be covered by the GNU General Public License.
37
## -------------------------------------------
38
## ####ECOSGPLCOPYRIGHTEND####
39
# ====================================================================
40
######DESCRIPTIONBEGIN####
41
#
42
# Author(s):      jskov
43
# Original data:  bartv
44
# Contributors:
45
# Date:           1999-11-02
46
#
47
#####DESCRIPTIONEND####
48
#
49
# ====================================================================
50
 
51
cdl_package CYGPKG_HAL_MN10300_AM31_SIM {
52
    display  "AM31 minimal simulator"
53
    parent        CYGPKG_HAL_MN10300
54
    requires CYGPKG_HAL_MN10300_AM31
55
    define_header hal_mn10300_am31_sim.h
56
    include_dir   cyg/hal
57
    description   "
58
           The minimal simulator HAL package is provided for use when
59
           only a simple simulation of the processor architecture is
60
           desired, as opposed to detailed simulation of any specific
61
           board. In particular it is not possible to simulate any of
62
           the I/O devices, so device drivers cannot be used."
63
 
64
    compile       hal_diag.c plf_misc.c
65
 
66
    define_proc {
67
        puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H "
68
        puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H "
69
 
70
        puts $::cdl_header "#define CYG_HAL_MN10300_MN103002"
71
    }
72
 
73
    cdl_component CYG_HAL_STARTUP {
74
        display       "Startup type"
75
        flavor        data
76
        legal_values  {"RAM"}
77
        default_value {"RAM"}
78
        no_define
79
        define -file system.h CYG_HAL_STARTUP
80
        description   "
81
            Only supports RAM startup."
82
    }
83
 
84
    # Real-time clock/counter specifics
85
    cdl_component CYGNUM_HAL_RTC_CONSTANTS {
86
        display       "Real-time clock constants."
87
        flavor        none
88
 
89
        cdl_option CYGNUM_HAL_RTC_NUMERATOR {
90
            display       "Real-time clock numerator"
91
            flavor        data
92
            default_value 1000000000
93
        }
94
        cdl_option CYGNUM_HAL_RTC_DENOMINATOR {
95
            display       "Real-time clock denominator"
96
            flavor        data
97
            default_value 100
98
        }
99
        # Isn't a nice way to handle freq requirement!
100
        cdl_option CYGNUM_HAL_RTC_PERIOD {
101
            display       "Real-time clock period"
102
            flavor        data
103
            default_value 999
104
        }
105
    }
106
 
107
    cdl_component CYGBLD_GLOBAL_OPTIONS {
108
        display "Global build options"
109
        flavor  none
110
        parent  CYGPKG_NONE
111
        description   "
112
            Global build options including control over
113
            compiler flags, linker flags and choice of toolchain."
114
 
115
 
116
        cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
117
            display "Global command prefix"
118
            flavor  data
119
            no_define
120
            default_value { "mn10300-elf" }
121
            description "
122
                This option specifies the command prefix used when
123
                invoking the build tools."
124
        }
125
 
126
        cdl_option CYGBLD_GLOBAL_CFLAGS {
127
            display "Global compiler flags"
128
            flavor  data
129
            no_define
130
            default_value { CYGBLD_GLOBAL_WARNFLAGS . " -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions " }
131
            description   "
132
                This option controls the global compiler flags which
133
                are used to compile all packages by
134
                default. Individual packages may define
135
                options which override these global flags."
136
        }
137
 
138
        cdl_option CYGBLD_GLOBAL_LDFLAGS {
139
            display "Global linker flags"
140
            flavor  data
141
            no_define
142
            default_value { "-g -nostdlib -Wl,--gc-sections -Wl,-static" }
143
            description   "
144
                This option controls the global linker flags. Individual
145
                packages may define options which override these global flags."
146
        }
147
    }
148
 
149
    cdl_component CYGHWR_MEMORY_LAYOUT {
150
        display "Memory layout"
151
        flavor data
152
        no_define
153
        calculated { "mn10300_am31_sim_ram" }
154
 
155
        cdl_option CYGHWR_MEMORY_LAYOUT_LDI {
156
            display "Memory layout linker script fragment"
157
            flavor data
158
            no_define
159
            define -file system.h CYGHWR_MEMORY_LAYOUT_LDI
160
            calculated { "" }
161
        }
162
 
163
        cdl_option CYGHWR_MEMORY_LAYOUT_H {
164
            display "Memory layout header file"
165
            flavor data
166
            no_define
167
            define -file system.h CYGHWR_MEMORY_LAYOUT_H
168
            calculated { "" }
169
        }
170
    }
171
}

powered by: WebSVN 2.1.0

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