⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 altera_avalon_checksum_sw.tcl

📁 7.2版的altera_avalon_checksum.altera提供的自定义组件的例子
💻 TCL
字号:
# For 7.2 command line flow
# altera_avalon_checksum_driver.tcl
#

# Create a new driver - this name must be different than the 
# hardware component name
create_driver altera_avalon_checksum_driver

# Associate it with some hardware known as "altera_avalon_checksum"
set_sw_property hw_class_name altera_avalon_checksum

# The version of this driver is "7.2"
set_sw_property version 7.2

# This driver is proclaimed to be compatible with altera_avalon_checksum
# as old as version "1.0". The component hardware version is set in the 
# _hw.tcl file - If the hardware component  version number is not equal 
# or greater than the min_compatable_hw_version number, the driver 
# source files will not be copied over to the BSP driver directory
set_sw_property min_compatible_hw_version 1.0

# Location in generated BSP that sources will be copied into
set_sw_property bsp_subdirectory drivers

#
# Source file listings...
#

# C/C++ source files
# add_sw_property c_source HAL/src/altera_avalon_checksum_routines.c (Future enhancment)

# Include files
# add_sw_property include_source HAL/inc/altera_avalon_checksum_routines.h (Future enhancment)
add_sw_property include_source inc/altera_avalon_checksum_regs.h

# This driver supports HAL & UCOSII BSP (OS) types
add_sw_property supported_bsp_type HAL

# End of file

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -