// -------------------------------------------------------------------- // Copyright (c) 2007 by Terasic Technologies Inc. // -------------------------------------------------------------------- // // Permission: // // Terasic grants permission to use and modify this code for use // in synthesis for all Terasic Development Boards and Altera Development // Kits made by Terasic. Other use of this code, including the selling // ,duplication, or modification of any portion is strictly prohibited. // // Disclaimer: // // This VHDL/Verilog or C/C++ source code is intended as a design reference // which illustrates how these types of functions can be implemented. // It is the user's responsibility to verify their design for // consistency and functionality through the use of formal // verification methods. Terasic provides no warranty regarding the use // or functionality of this code. // // -------------------------------------------------------------------- // // Terasic Technologies Inc // 356 Fu-Shin E. Rd Sec. 1. JhuBei City, // HsinChu County, Taiwan // 302 // // web: http://www.terasic.com/ // email: support@terasic.com // // -------------------------------------------------------------------- #ifndef MY_INCLUDES_H_ #define MY_INCLUDES_H_ #include #include // malloc, free #include #include #include // usleep (unix standard?) #include #include "sys/alt_flash.h" #include "sys/alt_flash_types.h" #include "alt_types.h" // alt_u32 #include "altera_avalon_pio_regs.h" //IOWR_ALTERA_AVALON_PIO_DATA #include "sys/alt_irq.h" // interrupt #include "sys/alt_alarm.h" // time tick function (alt_nticks(), alt_ticks_per_second()) #include "sys/alt_timestamp.h" #include "sys/alt_stdio.h" #include "system.h" #include #include "terasic_debug.h" //#define DEBUG_DUMP /*printf */ typedef int bool; #define TRUE 1 #define FALSE 0 #endif /*MY_INCLUDES_H_*/