sopc_led
所属分类:单片机开发
开发工具:VHDL
文件大小:943KB
下载次数:1
上传日期:2010-04-15 09:50:19
上 传 者:
felicityyy
说明: 基于可编程片上系统设计 7位LED指示 HDL 语言
(SOPC-LED based on verilog)
文件列表:
sopc_led\sopc_led.qpf (912, 2007-11-29)
sopc_led\sopc_led.qsf (3150, 2008-01-09)
sopc_led\sopc_led.bdf (5900, 2007-12-21)
sopc_led\sopc_builder_log.txt (2041, 2007-12-21)
sopc_led\nios_c.sopc (9674, 2007-12-21)
sopc_led\nios_c.qip (0, 2007-11-29)
sopc_led\nios_c.ptf (48543, 2007-12-21)
sopc_led\nios_c.ptf.pre_generation_ptf (26675, 2007-12-21)
sopc_led\nios_c.ptf.bak (43748, 2007-12-21)
sopc_led\nios_c.v (102045, 2007-12-21)
sopc_led\nios_c_log.txt (4009, 2007-12-21)
sopc_led\cpu_rf_ram.mif (600, 2007-12-21)
sopc_led\cpu_test_bench.v (38559, 2007-12-21)
sopc_led\cpu_jtag_debug_module.v (12429, 2007-12-21)
sopc_led\cpu_jtag_debug_module_wrapper.v (9850, 2007-12-21)
sopc_led\cpu.v (200144, 2007-12-21)
sopc_led\cpu.ocp (840, 2007-12-21)
sopc_led\onchip_mem.hex (9886, 2007-12-04)
sopc_led\onchip_mem.v (3686, 2007-12-21)
sopc_led\pio_led.v (1898, 2007-12-21)
sopc_led\nios_c.bsf (955, 2007-11-29)
sopc_led\nios_c_generation_script (3014, 2007-12-21)
sopc_led\nios_c_setup_quartus.tcl (167, 2007-12-21)
sopc_led\altpll0_waveforms.html (620, 2007-12-21)
sopc_led\altpll0.ppf (355, 2007-12-21)
sopc_led\altpll0.v (14430, 2007-12-21)
sopc_led\altpll0.cmp (907, 2007-12-21)
sopc_led\altpll0.bsf (2991, 2007-12-21)
sopc_led\altpll0_bb.v (10858, 2007-12-21)
sopc_led\altpll0_wave0.jpg (39539, 2007-12-21)
sopc_led\sopc_led.dpf (239, 2007-11-29)
sopc_led\sopc_led.map.summary (476, 2008-01-09)
sopc_led\sopc_led.pin (27594, 2008-01-09)
sopc_led\sopc_led.fit.smsg (513, 2008-01-09)
sopc_led\sopc_led.fit.summary (616, 2008-01-09)
sopc_led\sopc_led.sof (240806, 2008-01-09)
sopc_led\sopc_led.pof (524489, 2008-01-09)
sopc_led\sopc_led.jdi (26186, 2008-01-09)
sopc_led\sopc_led.tan.summary (3303, 2008-01-09)
sopc_led\sopc_led.done (26, 2008-01-09)
... ...
/**************************************************************************
* 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.
*
*/
近期下载者:
相关文件:
收藏者: