mirror of
				https://github.com/marqs85/ossc
				synced 2025-10-27 14:06:02 +03:00 
			
		
		
		
	 9e81fb5922
			
		
	
	
		9e81fb5922
		
	
	
	
	
		
			
			* Enable overlay pattern customization * Fix non-alternating mode with line4x interlace sources * Add alternate interval option for pre-linedoubled sources
		
			
				
	
	
		
			55 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Tcl
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Tcl
		
	
	
	
	
	
| #
 | |
| # opencores_i2c_sw.tcl
 | |
| #
 | |
| 
 | |
| # Create a new driver
 | |
| create_driver sc_config_driver
 | |
| 
 | |
| # Associate it with some hardware known as "opencores_i2c"
 | |
| set_sw_property hw_class_name sc_config
 | |
| 
 | |
| # The version of this driver
 | |
| set_sw_property version 1.0
 | |
| 
 | |
| # 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.
 | |
| #
 | |
| # Multiple-Version compatibility was introduced in version 7.1;
 | |
| # prior versions are therefore excluded.
 | |
| set_sw_property min_compatible_hw_version 7.1
 | |
| 
 | |
| # Initialize the driver in alt_sys_init()
 | |
| set_sw_property auto_initialize false
 | |
| 
 | |
| # Location in generated BSP that above sources will be copied into
 | |
| set_sw_property bsp_subdirectory drivers
 | |
| 
 | |
| 
 | |
| # Interrupt properties:
 | |
| # This peripheral has an IRQ output but the driver doesn't currently
 | |
| # have any interrupt service routine. To ensure that the BSP tools
 | |
| # do not otherwise limit the BSP functionality for users of the
 | |
| # Nios II enhanced interrupt port, these settings advertise 
 | |
| # compliance with both legacy and enhanced interrupt APIs, and to state
 | |
| # that any driver ISR supports preemption. If an interrupt handler
 | |
| # is added to this driver, these must be re-examined for validity.
 | |
| set_sw_property isr_preemption_supported true
 | |
| set_sw_property supported_interrupt_apis "legacy_interrupt_api enhanced_interrupt_api"
 | |
| 
 | |
| #
 | |
| # Source file listings...
 | |
| #
 | |
| 
 | |
| # C/C++ source files
 | |
| 
 | |
| # Include files
 | |
| add_sw_property include_source inc/sc_config_regs.h
 | |
| 
 | |
| # This driver supports HAL & UCOSII BSP (OS) types
 | |
| add_sw_property supported_bsp_type HAL
 | |
| add_sw_property supported_bsp_type UCOSII
 | |
| 
 | |
| # End of file
 |