niooooo
所属分类:嵌入式/单片机/硬件编程
开发工具:Others
文件大小:6299KB
下载次数:3
上传日期:2009-03-15 09:15:20
上 传 者:
tengqian
说明: 基于alterafpga的niosii软核的源程序和好调试过的
(Based on the alterafpga soft-core niosii the source and have good debugging)
文件列表:
niooooo\.sopc_builder\install.ptf (11692, 2009-02-27)
niooooo\.sopc_builder\install2.ptf (687, 2009-02-27)
niooooo\.sopc_builder\preferences.xml (496, 2009-01-07)
niooooo\cpu.ocp (840, 2009-01-07)
niooooo\cpu.vhd (634768, 2009-01-07)
niooooo\cpu_ic_tag_ram.mif (1497, 2009-01-07)
niooooo\cpu_jtag_debug_module.vhd (13544, 2009-01-07)
niooooo\cpu_jtag_debug_module_wrapper.vhd (17370, 2009-01-07)
niooooo\cpu_ociram_default_contents.mif (5878, 2009-01-07)
niooooo\cpu_rf_ram_a.mif (600, 2009-01-07)
niooooo\cpu_rf_ram_b.mif (600, 2009-01-07)
niooooo\cpu_test_bench.vhd (92478, 2009-01-07)
niooooo\db\altsyncram_3h31.tdf (21417, 2009-01-07)
niooooo\db\altsyncram_3vd1.tdf (35835, 2009-01-07)
niooooo\db\altsyncram_4vd1.tdf (35835, 2009-01-07)
niooooo\db\altsyncram_bp62.tdf (9902, 2009-01-07)
niooooo\db\altsyncram_nll1.tdf (12496, 2009-01-07)
niooooo\db\altsyncram_q8e1.tdf (14086, 2009-01-07)
niooooo\db\altsyncram_qmb1.tdf (34117, 2009-01-07)
niooooo\db\altsyncram_s6b1.tdf (24034, 2009-01-07)
niooooo\db\altsyncram_stv1.tdf (45689, 2009-01-07)
niooooo\db\a_dpfifo_ml21.tdf (3316, 2009-01-07)
niooooo\db\a_fefifo_7cf.tdf (3931, 2009-01-07)
niooooo\db\cntr_9c7.tdf (3843, 2009-01-07)
niooooo\db\cntr_tbb.tdf (3828, 2009-01-07)
niooooo\db\decode_ogi.tdf (3467, 2009-01-07)
niooooo\db\dpram_j921.tdf (2384, 2009-01-07)
niooooo\db\led.(0).cnf.cdb (741, 2009-01-07)
niooooo\db\led.(0).cnf.hdb (517, 2009-01-07)
niooooo\db\led.(1).cnf.cdb (20277, 2009-01-07)
niooooo\db\led.(1).cnf.hdb (5700, 2009-01-07)
niooooo\db\led.(10).cnf.cdb (1681, 2009-01-07)
niooooo\db\led.(10).cnf.hdb (740, 2009-01-07)
niooooo\db\led.(11).cnf.cdb (1505, 2009-01-07)
niooooo\db\led.(11).cnf.hdb (733, 2009-01-07)
niooooo\db\led.(12).cnf.cdb (1882, 2009-01-07)
niooooo\db\led.(12).cnf.hdb (739, 2009-01-07)
niooooo\db\led.(13).cnf.cdb (2303, 2009-01-07)
niooooo\db\led.(13).cnf.hdb (928, 2009-01-07)
niooooo\db\led.(14).cnf.cdb (2136, 2009-01-07)
... ...
/**************************************************************************
* Copyright (c) 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.
*
*/
近期下载者:
相关文件:
收藏者: