mirror of
https://github.com/marqs85/ossc.git
synced 2025-01-15 15:30:04 +00:00
59 lines
2.3 KiB
Tcl
59 lines
2.3 KiB
Tcl
# (C) 2001-2015 Altera Corporation. All rights reserved.
|
|
# Your use of Altera Corporation's design tools, logic functions and other
|
|
# software and tools, and its AMPP partner logic functions, and any output
|
|
# files any of the foregoing (including device programming or simulation
|
|
# files), and any associated documentation or information are expressly subject
|
|
# to the terms and conditions of the Altera Program License Subscription
|
|
# Agreement, Altera MegaCore Function License Agreement, or other applicable
|
|
# license agreement, including, without limitation, that your use is for the
|
|
# sole purpose of programming logic devices manufactured by Altera and sold by
|
|
# Altera or its authorized distributors. Please refer to the applicable
|
|
# agreement for further details.
|
|
|
|
|
|
#
|
|
# altera_epcq_controller_sw.tcl
|
|
#
|
|
|
|
# Create a new driver
|
|
create_driver altera_epcq_controller_mod_driver
|
|
|
|
# Associate it with some hardware known as "altera_epcq_controller"
|
|
set_sw_property hw_class_name altera_epcq_controller_mod
|
|
|
|
# The version of this driver
|
|
set_sw_property version 14.1
|
|
|
|
# This driver may be incompatible with versions of hardware less
|
|
# than specified below. Updates to hardware and device drivers
|
|
# rendering the driver incompatible with older versions of
|
|
# hardware are noted with this property assignment.
|
|
set_sw_property min_compatible_hw_version 14.1
|
|
|
|
# Initialize the driver in alt_sys_init()
|
|
set_sw_property auto_initialize true
|
|
|
|
# This driver only works when the following combinations of interfaces
|
|
# are enabled and connected as a group of CSR interfaces.
|
|
set_sw_property csr_interfaces "avl_mem,avl_csr"
|
|
|
|
# The EPCQ interrupt has an interrupt but it is not used in the driver.
|
|
# These assignments are still required by the Nios II SBT
|
|
set_sw_property isr_preemption_supported true
|
|
set_sw_property supported_interrupt_apis "legacy_interrupt_api enhanced_interrupt_api"
|
|
|
|
# Location in generated BSP that above sources will be copied into
|
|
set_sw_property bsp_subdirectory drivers
|
|
|
|
# Header files
|
|
add_sw_property include_source HAL/inc/altera_epcq_controller_mod.h
|
|
add_sw_property include_source inc/altera_epcq_controller_mod_regs.h
|
|
|
|
# C/C++ source files
|
|
add_sw_property c_source HAL/src/altera_epcq_controller_mod.c
|
|
|
|
|
|
# This driver supports HAL & UCOSII BSP (OS) types
|
|
add_sw_property supported_bsp_type HAL
|
|
add_sw_property supported_bsp_type UCOSII
|