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

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [sim/] [zip-sim.exp] - Rev 204

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 simulator
load_base_board_description "basic-sim"

# zip is the name of the sim subdir
setup_sim zip

# No multilib options needed by default
process_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 scripts
set_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 board
set_board_info ldscript "-Tzipsim.ld"

# Can't pass arguments to this target
set_board_info noargs 1

# No signals
set_board_info gdb,nosignals 1
# Cant return results
set_board_info gdb,noresults 1
# Doesnt do inferiori
set_board_info gdb,noinferiorio 1

# And it can't call functions
set_board_info gdb,cannot_call_functions 1


#
#
# Okay, so some of my own fields here
#
# First, the command to run the ZipCPU simulator
set_board_info sim zip-sim
set_board_info objcopy  zip-objcopy
set_board_info is_simulator 1
set_board_info gdb,reload_on_run 1


Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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