sdram
所属分类:VHDL/FPGA/Verilog
开发工具:VHDL
文件大小:1204KB
下载次数:35
上传日期:2010-08-13 17:36:50
上 传 者:
李文龙123
说明: verilog HDL语言,SDRAM驱动程序,基于FPGA,例子程序
(verilog HDL languages, the driver, based on FPGA, an example program)
文件列表:
sdram\.metadata\.lock (0, 2008-08-11)
sdram\.metadata\.log (12341, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.cdt.core\.log (602, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.cdt.core\altera.components.1218438242187.pdom (16384, 2008-08-11)
sdram\.metadata\.plugins\org.eclipse.cdt.core\hello_led_2.1219234535359.pdom (32768, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.cdt.core\hello_led_2_syslib.1219234536796.pdom (32768, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.cdt.core\hello_led_3.1218438443390.pdom (32768, 2008-08-11)
sdram\.metadata\.plugins\org.eclipse.cdt.core\hello_led_3_syslib.1218438445703.pdom (32768, 2008-08-11)
sdram\.metadata\.plugins\org.eclipse.cdt.core\hello_led_4.1218438445984.pdom (32768, 2008-08-11)
sdram\.metadata\.plugins\org.eclipse.cdt.core\hello_led_4_syslib.1218438447656.pdom (32768, 2008-08-11)
sdram\.metadata\.plugins\org.eclipse.cdt.core (0, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.cdt.make.core\.log (0, 2008-08-11)
sdram\.metadata\.plugins\org.eclipse.cdt.make.core\hello_led_2.sc (1826, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.cdt.make.core\hello_led_2_syslib.sc (1845, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.cdt.make.core\specs.c (1, 2008-08-11)
sdram\.metadata\.plugins\org.eclipse.cdt.make.core\specs.cpp (1, 2008-08-11)
sdram\.metadata\.plugins\org.eclipse.cdt.make.core (0, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.cdt.make.ui\dialog_settings.xml (149, 2008-08-11)
sdram\.metadata\.plugins\org.eclipse.cdt.make.ui (0, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.cdt.ui\dialog_settings.xml (137, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.cdt.ui (0, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.history (0, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\altera.components\.indexes\properties.index (80, 2008-08-11)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\altera.components\.indexes (0, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\altera.components\.markers.snap (16, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\altera.components\.syncinfo.snap (16, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\altera.components (0, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_2\.indexes\properties.index (151, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_2\.indexes (0, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_2\.location (91, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_2\.markers.snap (16, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_2\.syncinfo.snap (16, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_2 (0, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_2_syslib\.indexes\properties.index (165, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_2_syslib\.indexes (0, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_2_syslib\.location (98, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_2_syslib\.markers.snap (16, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_2_syslib\.syncinfo.snap (16, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_2_syslib (0, 2008-08-20)
sdram\.metadata\.plugins\org.eclipse.core.resources\.projects (0, 2008-08-20)
... ...
/**************************************************************************
* 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.
*
*/
近期下载者:
相关文件:
收藏者: