FPGA-SDRAM-read-and-write-examples

所属分类:VHDL/FPGA/Verilog
开发工具:Others
文件大小:19465KB
下载次数:31
上传日期:2011-09-08 15:16:13
上 传 者habyyrt
说明:  FPGA读写SDRAM的实例,内含源代码,希望对大家有帮助。
(FPGA SDRAM read and write examples, including source code, we want to help.)

文件列表:
FPGA读写SDRAM的实例\vga_system\.sopc_builder\install.ptf (13140, 2007-11-10)
FPGA读写SDRAM的实例\vga_system\.sopc_builder\install2.ptf (977, 2007-11-10)
FPGA读写SDRAM的实例\vga_system\.sopc_builder\preferences.xml (504, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\altpll0.bsf (3937, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\altpll0.ppf (497, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\altpll0.v (17134, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\altpll0_bb.v (13096, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\altpll0_wave0.jpg (83995, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\altpll0_waveforms.html (620, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\burst_0.v (14922, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\cpu.v (431965, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\cpu_bht_ram.mif (2392, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\cpu_dc_tag_ram.mif (920, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\cpu_ic_tag_ram.mif (1881, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\cpu_jtag_debug_module.v (12429, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\cpu_jtag_debug_module_wrapper.v (9850, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\cpu_mult_cell.v (6103, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\cpu_ociram_default_contents.mif (5878, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\cpu_rf_ram_a.mif (600, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\cpu_rf_ram_b.mif (600, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\cpu_test_bench.v (39223, 2007-11-09)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_9tl1.tdf (12612, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_abn1.tdf (6829, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_b4e1.tdf (2719, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_chp1.tdf (43996, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_cub1.tdf (2734, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_e502.tdf (44669, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_ji01.tdf (2635, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_k1l1.tdf (40469, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_l6e1.tdf (39639, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_lde1.tdf (25275, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_m6e1.tdf (39639, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_mge1.tdf (30923, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_reb1.tdf (37272, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_t072.tdf (45325, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_uce1.tdf (2843, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\altsyncram_veb1.tdf (40321, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\alt_synch_pipe_0e8.tdf (2097, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\alt_synch_pipe_1e8.tdf (2102, 2008-03-01)
FPGA读写SDRAM的实例\vga_system\db\a_dpfifo_8t21.tdf (3329, 2008-03-01)
... ...

/************************************************************************** * 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. * */

近期下载者

相关文件


收藏者