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

Subversion Repositories ao486

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /ao486/trunk/syn
    from Rev 4 to Rev 7
    Reverse comparison

Rev 4 → Rev 7

/soc/.qsys_edit/preferences.xml Cannot display: file marked as a binary type. svn:mime-type = application/xml
/soc/.qsys_edit/system.xml Cannot display: file marked as a binary type. svn:mime-type = application/xml
/soc/.qsys_edit/filters.xml Cannot display: file marked as a binary type. svn:mime-type = application/xml
/soc/.qsys_edit/layout.xml Cannot display: file marked as a binary type. svn:mime-type = application/xml
/soc/system.qsys Cannot display: file marked as a binary type. svn:mime-type = application/xml
/soc/components.ipx Cannot display: file marked as a binary type. svn:mime-type = application/xml
/soc/soc.qws Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
/soc/system.sopcinfo Cannot display: file marked as a binary type. svn:mime-type = application/xml
/soc/firmware/exe/main.cpp
949,7 → 949,7
runtime_menu();
//release reset - start executing
//reset cycle - start executing
IOWR(PIO_OUTPUT_BASE, 0, 0x00);
while(true) {
/soc/firmware/exe_bsp/summary.html
22,10 → 22,10
<td width="20%" bgcolor="#77BBFF">BSP Version:</td><td>default</td>
</tr>
<tr mode="wrap">
<td width="20%" bgcolor="#77BBFF">BSP Generated On:</td><td>Mar 30, 2014 5:20:07 PM</td>
<td width="20%" bgcolor="#77BBFF">BSP Generated On:</td><td>Aug 19, 2014 8:37:51 PM</td>
</tr>
<tr mode="wrap">
<td width="20%" bgcolor="#77BBFF">BSP Generated Timestamp:</td><td>1396192807247</td>
<td width="20%" bgcolor="#77BBFF">BSP Generated Timestamp:</td><td>1408473471717</td>
</tr>
<tr mode="wrap">
<td width="20%" bgcolor="#77BBFF">BSP Generated Location:</td><td>/home/alek/aktualne/github/ao486/syn/soc/firmware/exe_bsp</td>
189,7 → 189,7
<td width="20%">Description:</td><td>Build a custom version of newlib with the specified space-separated compiler flags.</td>
</tr>
<tr mode="wrap">
<td width="20%">Restrictions:</td><td>The custom newlib build will be placed in the &amp;lt;bsp root&gt;/newlib directory, and will be used only for applications that utilize this BSP.</td>
<td width="20%">Restrictions:</td><td>The custom newlib build will be placed in the &lt;bsp root&gt;/newlib directory, and will be used only for applications that utilize this BSP.</td>
</tr>
</table>
<br>
429,7 → 429,7
<td width="20%">Destination:</td><td>public_mk_define</td>
</tr>
<tr mode="wrap">
<td width="20%">Description:</td><td>Turns on HAL runtime stack checking feature. Enabling this setting causes additional code to be placed into each subroutine call to generate an exception if a stack collision occurs with the heap or statically allocated data. If true, adds -DALT_STACK_CHECK and -fstack-check to ALT_CPPFLAGS in public.mk.</td>
<td width="20%">Description:</td><td>Turns on HAL runtime stack checking feature. Enabling this setting causes additional code to be placed into each subroutine call to generate an exception if a stack collision occurs with the heap or statically allocated data. If true, adds -DALT_STACK_CHECK and -fstack-limit-register=et to ALT_CPPFLAGS in public.mk.</td>
</tr>
<tr mode="wrap">
<td width="20%">Restrictions:</td><td>none</td>
/soc/firmware/exe_bsp/settings.bsp Cannot display: file marked as a binary type. svn:mime-type = application/xml
/soc/firmware/exe_bsp/HAL/src/crt0.S
457,6 → 457,13
#endif /* ALT_SIM_OPTIMIZE */
 
/*
* Turn off the use of r1 (the assembler temporary register)
* so that call instructions can be safely relaxed across a
* 256MB boundary if needed
*/
.set at
 
/*
* The alt_load() facility is normally used when there is no bootloader.
* It copies some sections into RAM so it acts like a mini-bootloader.
*/
/soc/firmware/exe_bsp/HAL/src/alt_load.c
37,15 → 37,15
* Linker defined symbols.
*/
 
extern void __flash_rwdata_start;
extern void __ram_rwdata_start;
extern void __ram_rwdata_end;
extern void __flash_rodata_start;
extern void __ram_rodata_start;
extern void __ram_rodata_end;
extern void __flash_exceptions_start;
extern void __ram_exceptions_start;
extern void __ram_exceptions_end;
extern alt_u32 __flash_rwdata_start;
extern alt_u32 __ram_rwdata_start;
extern alt_u32 __ram_rwdata_end;
extern alt_u32 __flash_rodata_start;
extern alt_u32 __ram_rodata_start;
extern alt_u32 __ram_rodata_end;
extern alt_u32 __flash_exceptions_start;
extern alt_u32 __ram_exceptions_start;
extern alt_u32 __ram_exceptions_end;
 
/*
* alt_load() is called when the code is executing from flash. In this case
60,8 → 60,8
*/
 
alt_load_section (&__flash_rwdata_start,
&__ram_rwdata_start,
&__ram_rwdata_end);
&__ram_rwdata_start,
&__ram_rwdata_end);
 
/*
* Copy the exception handler.
/soc/firmware/exe_bsp/public.mk
78,12 → 78,12
 
# This following VERSION comment indicates the version of the tool used to
# generate this makefile. A makefile variable is provided for VERSION as well.
# ACDS_VERSION: 13.1
ACDS_VERSION := 13.1
# ACDS_VERSION: 14.0
ACDS_VERSION := 14.0
 
# This following BUILD_NUMBER comment indicates the build number of the tool
# used to generate this makefile.
# BUILD_NUMBER: 162
# BUILD_NUMBER: 200
 
# Qsys--generated SOPCINFO file. Required for resolving node instance ID's with
# design component names.
149,7 → 149,7
# setting altera_avalon_jtag_uart_driver.enable_small_driver is false
 
# Build a custom version of newlib with the specified space-separated compiler
# flags. The custom newlib build will be placed in the &lt;bsp root>/newlib
# flags. The custom newlib build will be placed in the <bsp root>/newlib
# directory, and will be used only for applications that utilize this BSP.
# setting hal.custom_newlib_flags is none
 
158,25 → 158,25
# multiple inheritance and exceptions are not supported. If false, adds
# -DALT_NO_C_PLUS_PLUS to ALT_CPPFLAGS in public.mk, and reduces code
# footprint. none
# setting hal.enable_c_plus_plus is 0
# setting hal.enable_c_plus_plus is false
ALT_CPPFLAGS += -DALT_NO_C_PLUS_PLUS
 
# When your application exits, close file descriptors, call C++ destructors,
# etc. Code footprint can be reduced by disabling clean exit. If disabled, adds
# -DALT_NO_CLEAN_EXIT to ALT_CPPFLAGS -D'exit(a)=_exit(a)' in public.mk. none
# setting hal.enable_clean_exit is 0
# setting hal.enable_clean_exit is false
ALT_CPPFLAGS += -DALT_NO_CLEAN_EXIT -D'exit(a)=_exit(a)'
 
# Add exit() support. This option increases code footprint if your "main()"
# routine does "return" or call "exit()". If false, adds -DALT_NO_EXIT to
# ALT_CPPFLAGS in public.mk, and reduces footprint none
# setting hal.enable_exit is 0
# setting hal.enable_exit is false
ALT_CPPFLAGS += -DALT_NO_EXIT
 
# Causes code to be compiled with gprof profiling enabled and the application
# ELF to be linked with the GPROF library. If true, adds -DALT_PROVIDE_GMON to
# ALT_CPPFLAGS and -pg to ALT_CFLAGS in public.mk. none
# setting hal.enable_gprof is 0
# setting hal.enable_gprof is false
 
# Enables lightweight device driver API. This reduces code and data footprint
# by removing the HAL layer that maps device names (e.g. /dev/uart0) to file
186,7 → 186,7
# devices. If true, adds -DALT_USE_DIRECT_DRIVERS to ALT_CPPFLAGS in public.mk.
# The Altera Host and read-only ZIP file systems can't be used if
# hal.enable_lightweight_device_driver_api is true.
# setting hal.enable_lightweight_device_driver_api is 1
# setting hal.enable_lightweight_device_driver_api is true
ALT_CPPFLAGS += -DALT_USE_DIRECT_DRIVERS
 
# Adds code to emulate multiply and divide instructions in case they are
194,7 → 194,7
# the compiler won't use multiply and divide instructions that aren't present
# in the CPU. If false, adds -DALT_NO_INSTRUCTION_EMULATION to ALT_CPPFLAGS in
# public.mk. none
# setting hal.enable_mul_div_emulation is 0
# setting hal.enable_mul_div_emulation is false
ALT_CPPFLAGS += -DALT_NO_INSTRUCTION_EMULATION
 
# Certain drivers are compiled with reduced functionality to reduce code
206,15 → 206,15
# access routines) to fail. You can define a symbol provided by each driver to
# prevent it from being removed. If true, adds -DALT_USE_SMALL_DRIVERS to
# ALT_CPPFLAGS in public.mk. none
# setting hal.enable_reduced_device_drivers is 1
# setting hal.enable_reduced_device_drivers is true
ALT_CPPFLAGS += -DALT_USE_SMALL_DRIVERS
 
# Turns on HAL runtime stack checking feature. Enabling this setting causes
# additional code to be placed into each subroutine call to generate an
# exception if a stack collision occurs with the heap or statically allocated
# data. If true, adds -DALT_STACK_CHECK and -fstack-check to ALT_CPPFLAGS in
# public.mk. none
# setting hal.enable_runtime_stack_checking is 0
# data. If true, adds -DALT_STACK_CHECK and -fstack-limit-register=et to
# ALT_CPPFLAGS in public.mk. none
# setting hal.enable_runtime_stack_checking is false
 
# The BSP is compiled with optimizations to speedup HDL simulation such as
# initializing the cache, clearing the .bss section, and skipping long delay
221,7 → 221,7
# loops. If true, adds -DALT_SIM_OPTIMIZE to ALT_CPPFLAGS in public.mk. When
# this setting is true, the BSP shouldn't be used to build applications that
# are expected to run real hardware.
# setting hal.enable_sim_optimize is 0
# setting hal.enable_sim_optimize is false
 
# Causes the small newlib (C library) to be used. This reduces code and data
# footprint at the expense of reduced functionality. Several newlib features
228,7 → 228,7
# are removed such as floating-point support in printf(), stdin input routines,
# and buffered I/O. The small C library is not compatible with Micrium
# MicroC/OS-II. If true, adds -msmallc to ALT_LDFLAGS in public.mk. none
# setting hal.enable_small_c_library is 1
# setting hal.enable_small_c_library is true
ALT_LDFLAGS += -msmallc
ALT_CPPFLAGS += -DSMALL_C_LIB
 
241,36 → 241,36
# application .elf file (and BSP it is linked against) corresponds to the
# hardware design on the target. If false, adds --accept-bad-sysid to
# SOPC_SYSID_FLAG in public.mk. none
# setting hal.enable_sopc_sysid_check is 0
# setting hal.enable_sopc_sysid_check is false
SOPC_SYSID_FLAG += --accept-bad-sysid
 
# Enable BSP generation to query if SOPC system is big endian. If true ignores
# export of 'ALT_CFLAGS += -meb' to public.mk if big endian system. none
# setting hal.make.ignore_system_derived.big_endian is 0
# setting hal.make.ignore_system_derived.big_endian is false
 
# Enable BSP generation to query if SOPC system has a debug core present. If
# true ignores export of 'CPU_HAS_DEBUG_CORE = 1' to public.mk if a debug core
# is found in the system. If true ignores export of 'CPU_HAS_DEBUG_CORE = 0' if
# no debug core is found in the system. none
# setting hal.make.ignore_system_derived.debug_core_present is 0
# setting hal.make.ignore_system_derived.debug_core_present is false
 
# Enable BSP generation to query if SOPC system has FPU present. If true
# ignores export of 'ALT_CFLAGS += -mhard-float' to public.mk if FPU is found
# in the system. If true ignores export of 'ALT_CFLAGS += -mhard-soft' if FPU
# is not found in the system. none
# setting hal.make.ignore_system_derived.fpu_present is 0
# setting hal.make.ignore_system_derived.fpu_present is false
 
# Enable BSP generation to query if SOPC system has hardware divide present. If
# true ignores export of 'ALT_CFLAGS += -mno-hw-div' to public.mk if no
# division is found in system. If true ignores export of 'ALT_CFLAGS +=
# -mhw-div' if division is found in the system. none
# setting hal.make.ignore_system_derived.hardware_divide_present is 0
# setting hal.make.ignore_system_derived.hardware_divide_present is false
 
# Enable BSP generation to query if SOPC system floating point custom
# instruction with a divider is present. If true ignores export of 'ALT_CFLAGS
# += -mcustom-fpu-cfg=60-2' and 'ALT_LDFLAGS += -mcustom-fpu-cfg=60-2' to
# public.mk if the custom instruction is found in the system. none
# setting hal.make.ignore_system_derived.hardware_fp_cust_inst_divider_present is 0
# setting hal.make.ignore_system_derived.hardware_fp_cust_inst_divider_present is false
 
# Enable BSP generation to query if SOPC system floating point custom
# instruction without a divider is present. If true ignores export of
277,38 → 277,38
# 'ALT_CFLAGS += -mcustom-fpu-cfg=60-1' and 'ALT_LDFLAGS +=
# -mcustom-fpu-cfg=60-1' to public.mk if the custom instruction is found in the
# system. none
# setting hal.make.ignore_system_derived.hardware_fp_cust_inst_no_divider_present is 0
# setting hal.make.ignore_system_derived.hardware_fp_cust_inst_no_divider_present is false
 
# Enable BSP generation to query if SOPC system has multiplier present. If true
# ignores export of 'ALT_CFLAGS += -mno-hw-mul' to public.mk if no multiplier
# is found in the system. If true ignores export of 'ALT_CFLAGS += -mhw-mul' if
# multiplier is found in the system. none
# setting hal.make.ignore_system_derived.hardware_multiplier_present is 0
# setting hal.make.ignore_system_derived.hardware_multiplier_present is false
 
# Enable BSP generation to query if SOPC system has hardware mulx present. If
# true ignores export of 'ALT_CFLAGS += -mno-hw-mulx' to public.mk if no mulx
# is found in the system. If true ignores export of 'ALT_CFLAGS += -mhw-mulx'
# if mulx is found in the system. none
# setting hal.make.ignore_system_derived.hardware_mulx_present is 0
# setting hal.make.ignore_system_derived.hardware_mulx_present is false
 
# Enable BSP generation to query if SOPC system has simulation enabled. If true
# ignores export of 'ELF_PATCH_FLAG += --simulation_enabled' to public.mk. none
# setting hal.make.ignore_system_derived.sopc_simulation_enabled is 0
# setting hal.make.ignore_system_derived.sopc_simulation_enabled is false
 
# Enable BSP generation to query SOPC system for system ID base address. If
# true ignores export of 'SOPC_SYSID_FLAG += --sidp=<address>' and
# 'ELF_PATCH_FLAG += --sidp=<address>' to public.mk. none
# setting hal.make.ignore_system_derived.sopc_system_base_address is 0
# setting hal.make.ignore_system_derived.sopc_system_base_address is false
 
# Enable BSP generation to query SOPC system for system ID. If true ignores
# export of 'SOPC_SYSID_FLAG += --id=<sysid>' and 'ELF_PATCH_FLAG +=
# --id=<sysid>' to public.mk. none
# setting hal.make.ignore_system_derived.sopc_system_id is 0
# setting hal.make.ignore_system_derived.sopc_system_id is false
 
# Enable BSP generation to query SOPC system for system timestamp. If true
# ignores export of 'SOPC_SYSID_FLAG += --timestamp=<timestamp>' and
# 'ELF_PATCH_FLAG += --timestamp=<timestamp>' to public.mk. none
# setting hal.make.ignore_system_derived.sopc_system_timestamp is 0
# setting hal.make.ignore_system_derived.sopc_system_timestamp is false
 
# Slave descriptor of STDERR character-mode device. This setting is used by the
# ALT_STDERR family of defines in system.h. none
/soc/firmware/exe_bsp/mem_init.mk
109,6 → 109,7
 
mem_start_address = $($(target_stem)_START)
mem_end_address = $($(target_stem)_END)
mem_span = $($(target_stem)_SPAN)
mem_width = $($(target_stem)_WIDTH)
mem_endianness = $($(target_stem)_ENDIANNESS)
mem_create_lanes = $($(target_stem)_CREATE_LANES)
144,12 → 145,12
 
# This following VERSION comment indicates the version of the tool used to
# generate this makefile. A makefile variable is provided for VERSION as well.
# ACDS_VERSION: 13.1
ACDS_VERSION := 13.1
# ACDS_VERSION: 14.0
ACDS_VERSION := 14.0
 
# This following BUILD_NUMBER comment indicates the build number of the tool
# used to generate this makefile.
# BUILD_NUMBER: 162
# BUILD_NUMBER: 200
 
# Optimize for simulation
SIM_OPTIMIZE ?= 0
173,6 → 174,7
HDL_SIM_INSTALL_FILES += $(HDL_SIM_INSTALL_DIR)/$(MEM_0).sym
$(MEM_0)_START := 0x00010000
$(MEM_0)_END := 0x00017fff
$(MEM_0)_SPAN := 0x00008000
$(MEM_0)_HIERARCHICAL_PATH := onchip_for_nios2
$(MEM_0)_WIDTH := 32
$(MEM_0)_ENDIANNESS := --little-endian-mem
190,6 → 192,7
HDL_SIM_INSTALL_FILES += $(HDL_SIM_INSTALL_DIR)/$(MEM_1).sym
$(MEM_1)_START := 0x08000000
$(MEM_1)_END := 0x0fffffff
$(MEM_1)_SPAN := 0x08000000
$(MEM_1)_HIERARCHICAL_PATH := sdram
$(MEM_1)_WIDTH := 32
$(MEM_1)_ENDIANNESS := --little-endian-mem
/soc/firmware/exe_bsp/Makefile
67,9 → 67,7
# Stash all BSP object files here
OBJ_DIR := ./obj
 
NEWLIB_DIR = $(BSP_ROOT_DIR)/newlib
 
 
#------------------------------------------------------------------------------
# MANAGED CONTENT
#
95,12 → 93,12
 
# This following VERSION comment indicates the version of the tool used to
# generate this makefile. A makefile variable is provided for VERSION as well.
# ACDS_VERSION: 13.1
ACDS_VERSION := 13.1
# ACDS_VERSION: 14.0
ACDS_VERSION := 14.0
 
# This following BUILD_NUMBER comment indicates the build number of the tool
# used to generate this makefile.
# BUILD_NUMBER: 162
# BUILD_NUMBER: 200
 
SETTINGS_FILE := settings.bsp
SOPC_FILE := ../../system.sopcinfo
733,12 → 731,8
NEWLIB_FLAGS += $(BSP_CFLAGS)
endif
 
ifneq ($(NEWLIB_FLAGS),)
ALT_LIBRARY_DIRS += $(NEWLIB_DIR)/nios2-elf/lib
endif
 
ifneq ($(NEWLIB_DIR),)
$(NEWLIB_DIR):
ifneq ($(NEWLIB_FLAGS),)
@$(ECHO) Creating $(NEWLIB_DIR)...
nios2-newlib-gen --no-multilib $(NEWLIB_DIR)-build-tmp $(NEWLIB_DIR) --custom "$(NEWLIB_FLAGS)"
@$(ECHO) Removing $(NEWLIB_DIR)-build-tmp...
/soc/firmware/exe_bsp/drivers/src/altera_avalon_jtag_uart_write.c
184,7 → 184,7
;
#endif /* __ucosii__ */
 
if (out == sp->tx_out)
if (sp->host_inactive)
break;
}
}
/soc/soc.qsf
41,7 → 41,7
set_global_assignment -name TOP_LEVEL_ENTITY soc
set_global_assignment -name ORIGINAL_QUARTUS_VERSION "13.0 SP1"
set_global_assignment -name PROJECT_CREATION_TIME_DATE "10:43:53 OCTOBER 31, 2013"
set_global_assignment -name LAST_QUARTUS_VERSION 13.1
set_global_assignment -name LAST_QUARTUS_VERSION 14.0
set_global_assignment -name PROJECT_OUTPUT_DIRECTORY output_files
set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0
set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
327,7 → 327,7
set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "23 MM HEAT SINK WITH 200 LFPM AIRFLOW"
set_global_assignment -name POWER_BOARD_THERMAL_MODEL "NONE (CONSERVATIVE)"
set_global_assignment -name ENABLE_SIGNALTAP OFF
set_global_assignment -name USE_SIGNALTAP_FILE output_files/stp_win95_ao486.stp
set_global_assignment -name QIP_FILE firmware/exe/mem_init/meminit.qip
set_global_assignment -name VERILOG_FILE ../../rtl/common/simple_single_rom.v
set_global_assignment -name VERILOG_FILE ../../rtl/common/simple_bidir_ram.v
set_global_assignment -name VERILOG_FILE ../../rtl/common/simple_rom.v
338,21 → 338,5
set_global_assignment -name VERILOG_FILE ../../rtl/soc/soc.v
set_global_assignment -name QIP_FILE altera/pll.qip
set_global_assignment -name SDC_FILE soc.sdc
set_global_assignment -name SIGNALTAP_FILE output_files/pc_bus.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_ao486_io.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_interrupt.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_floppy.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_dma.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_vga.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_ram_irq.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_vga_color.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_hdd.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_ps2.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_regs.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_win311_start.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_win311_start_eip.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_win311_tlb.stp
set_global_assignment -name SIGNALTAP_FILE output_files/stp_rtc_pit.stp
set_global_assignment -name CDF_FILE Chain1.cdf
set_global_assignment -name SIGNALTAP_FILE output_files/stp_win95_ao486.stp
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top

powered by: WebSVN 2.1.0

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