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

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [sim/] [zip-sim.exp] - Blame information for rev 204

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 204 dgisselq
#
2
set_board_info target_install "{zip}"
3
 
4
# Load the generic configuration for the board.  This will define a basic
5
# set of routines needed by the tool to communicate with the board.
6
load_generic_config "sim"
7
 
8
 
9
# basic-sim.exp is a basic description for the standard Cygnus simulator
10
load_base_board_description "basic-sim"
11
 
12
# zip is the name of the sim subdir
13
setup_sim zip
14
 
15
# No multilib options needed by default
16
process_multilib_options ""
17
 
18
# The compiler used to build for this board.  This has *nothing* to do with what
19
# compiler is tested if we're testing gcc.
20
set_board_info compiler "[find_gcc]"
21
 
22
# We only support newlib on this targte.
23
# However, we include libgloss so we can find the linker scripts
24
set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"
25
set_board_info ldflags "[newlib_link_flags] -lzipbasic"
26
 
27
# For now, the simulator won't return an exit status and we'll need to indicate
28
# this, the standard GCC wrapper will work with this target.
29
set_board_info needs_status_wrapper 1
30
 
31
# The linker script for this board
32
set_board_info ldscript "-Tzipsim.ld"
33
 
34
# Can't pass arguments to this target
35
set_board_info noargs 1
36
 
37
# No signals
38
set_board_info gdb,nosignals 1
39
# Cant return results
40
set_board_info gdb,noresults 1
41
# Doesnt do inferiori
42
set_board_info gdb,noinferiorio 1
43
 
44
# And it can't call functions
45
set_board_info gdb,cannot_call_functions 1
46
 
47
 
48
#
49
#
50
# Okay, so some of my own fields here
51
#
52
# First, the command to run the ZipCPU simulator
53
set_board_info sim zip-sim
54
set_board_info objcopy  zip-objcopy
55
set_board_info is_simulator 1
56
set_board_info gdb,reload_on_run 1
57
 
58
 

powered by: WebSVN 2.1.0

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