EP2S90

所属分类:DSP编程
开发工具:Visual C++
文件大小:14870KB
下载次数:5
上传日期:2011-05-10 16:33:49
上 传 者水兵
说明:  dSP编程相关例程,对于初学者有用,有兴趣请下载
(dSP related programming routines helpful for beginners)

文件列表:
low_cost_lcd\bht_ram.mif (2392, 2005-03-17)
low_cost_lcd\button_pio.v (5348, 2006-10-04)
low_cost_lcd\cmp_state.ini (2, 2007-02-10)
low_cost_lcd\connector_pll.bsf (3521, 2006-06-14)
low_cost_lcd\connector_pll.v (9872, 2006-06-14)
low_cost_lcd\connector_pll_bb.v (8261, 2006-06-14)
low_cost_lcd\cpu.ocp (808, 2006-10-04)
low_cost_lcd\cpu.v (189568, 2006-10-04)
low_cost_lcd\cpu_gen_log_0.txt (208, 2005-03-23)
low_cost_lcd\cpu_jtag_debug_module.v (11258, 2006-10-04)
low_cost_lcd\cpu_jtag_debug_module_wrapper.v (9455, 2006-10-04)
low_cost_lcd\cpu_ociram_default_contents.mif (5878, 2006-10-04)
low_cost_lcd\cpu_test_bench.v (37510, 2006-10-04)
low_cost_lcd\data_buf.bsf (2036, 2006-02-21)
low_cost_lcd\db\add_sub_7cg.tdf (9561, 2004-11-08)
low_cost_lcd\db\altsyncram_10p1.tdf (45587, 2006-06-08)
low_cost_lcd\db\altsyncram_3rv.tdf (28414, 2005-04-02)
low_cost_lcd\db\altsyncram_42n1.tdf (48606, 2006-06-08)
low_cost_lcd\db\altsyncram_bhc1.tdf (13204, 2006-02-19)
low_cost_lcd\db\altsyncram_chc1.tdf (13733, 2005-04-02)
low_cost_lcd\db\altsyncram_coo1.tdf (56449, 2005-03-19)
low_cost_lcd\db\altsyncram_dio1.tdf (30567, 2005-03-19)
low_cost_lcd\db\altsyncram_dno1.tdf (46447, 2006-02-19)
low_cost_lcd\db\altsyncram_ej82.tdf (56327, 2004-11-25)
low_cost_lcd\db\altsyncram_erv.tdf (6708, 2005-03-19)
low_cost_lcd\db\altsyncram_gpm1.tdf (49578, 2006-02-19)
low_cost_lcd\db\altsyncram_ik01.tdf (26711, 2006-02-19)
low_cost_lcd\db\altsyncram_j701.tdf (31127, 2005-03-19)
low_cost_lcd\db\altsyncram_jtt1.tdf (50455, 2006-06-08)
low_cost_lcd\db\altsyncram_ncq.tdf (24641, 2005-04-06)
low_cost_lcd\db\altsyncram_otv.tdf (45226, 2005-03-19)
low_cost_lcd\db\altsyncram_ptv.tdf (45226, 2005-03-19)
low_cost_lcd\db\altsyncram_qcq.tdf (24641, 2005-04-02)
low_cost_lcd\db\altsyncram_sg82.tdf (56246, 2004-11-25)
low_cost_lcd\db\altsyncram_ug82.tdf (56169, 2004-11-25)
low_cost_lcd\db\altsyncram_vkt1.tdf (10157, 2006-02-19)
low_cost_lcd\db\altsyncram_vpc1.tdf (13303, 2006-06-08)
low_cost_lcd\db\altsyncram_vut.tdf (43128, 2005-03-19)
low_cost_lcd\db\a_dpfifo_83p.tdf (3187, 2006-02-19)
low_cost_lcd\db\a_dpfifo_sbp.tdf (3203, 2006-06-08)
... ...

/************************************************************************** * Copyright 2004 Altera Corporation, San Jose, California, USA. * * All rights reserved. All use of this software and documentation is * * subject to the License Agreement located at the end of this file below.* *************************************************************************/ /****************************************************************************** * DANGER ** WARNING ** Please read before proceeding! ** WARNING ** DANGER * ****************************************************************************** * * This program is an example of a "free-standing" C application. If you * modify this example and try to call C library functions such as printf, they * will NOT work unless you explicitly initialize the system, such as in the * hello_alt_main software template. Please see below for details. * * Description * ************* * A very minimal program that simply shifts an LED back and forth. * * Requirements * ************** * According to the ANSI C standard, freestanding programs "own" the hardware, * and cannot rely on system-services or device-drivers being initialized prior * to program-start. A freestanding program is responsible for initializing all * hardware devices, device-drivers, and system-services. Many embedded * programs are, by nature, freestanding. The author relinquishes any illusion * of running their program on a workstation. * * This example is a freestanding program because it's entry point is the * function: * * void alt_main (void) * * As opposed to "main()" as a "hosted" application would (see the * "hello_world" example). * * Upon entry to alt_main(): * - The CPU's caches (if any) have been initialized. * - The stack-pointer has been set. * - That's all. The rest is up to you. * * If you modify this example and try to call C library functions such as * printf, they will NOT work unless you explicitly initialize the system. * If you wish to use C library calls, it is strongly suggested you start * with the hosted hello_world template which uses main() as it's entry * point. * * On the other hand, if you want to write a program that gets-in even * earlier, you will need to provide your own assembly-language machine-setup * code by defining the symbol "_start". Any definition of _start in your * directory will override the library definition. You can find source code * for the Nios II library _start here: * * /components/altera_nios2/HAL/src/crt0.S * * This software example requires a system with a PIO peripheral named * "led_pio". The software example will run on the following hardware * examples: * * Nios Development Board, Stratix II Edition: * - Standard * - Small * - Full Featured * * DSP Development Board, Stratix II Edition: * - Standard * - Small * - Full Featured * * Nios Development Board, Stratix Edition: * - Standard * - Small * - Full Featured * * Nios Development Board, Stratix Professional Edition: * - Standard * - Small * - Full Featured * * Nios Development Board, Cyclone Edition: * - Standard * - Small * - Low Cost * - Full Featured * * Peripherals Exercised by SW * ***************************** * The hello_led.c program simply shifts an 8-bit variable back and forth, * writing the variable's value to the system's LED PIO peripheral on every * iteration. * * Software Files * **************** * hello_led.c - Main C file that contains the simple led manipulation routine. * */

近期下载者

相关文件


收藏者