URL
https://opencores.org/ocsvn/zipcpu/zipcpu/trunk
Subversion Repositories zipcpu
[/] [zipcpu/] [trunk/] [sim/] [zip-sim.exp] - Rev 208
Go to most recent revision | Compare with Previous | Blame | View Log
#set_board_info target_install "{zip}"# Load the generic configuration for the board. This will define a basic# set of routines needed by the tool to communicate with the board.load_generic_config "sim"# basic-sim.exp is a basic description for the standard Cygnus simulatorload_base_board_description "basic-sim"# zip is the name of the sim subdirsetup_sim zip# No multilib options needed by defaultprocess_multilib_options ""# The compiler used to build for this board. This has *nothing* to do with what# compiler is tested if we're testing gcc.set_board_info compiler "[find_gcc]"# We only support newlib on this targte.# However, we include libgloss so we can find the linker scriptsset_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"set_board_info ldflags "[newlib_link_flags] -lzipbasic"# For now, the simulator won't return an exit status and we'll need to indicate# this, the standard GCC wrapper will work with this target.set_board_info needs_status_wrapper 1# The linker script for this boardset_board_info ldscript "-Tzipsim.ld"# Can't pass arguments to this targetset_board_info noargs 1# No signalsset_board_info gdb,nosignals 1# Cant return resultsset_board_info gdb,noresults 1# Doesnt do inferioriset_board_info gdb,noinferiorio 1# And it can't call functionsset_board_info gdb,cannot_call_functions 1### Okay, so some of my own fields here## First, the command to run the ZipCPU simulatorset_board_info sim zip-simset_board_info objcopy zip-objcopyset_board_info is_simulator 1set_board_info gdb,reload_on_run 1
Go to most recent revision | Compare with Previous | Blame | View Log
