EP2C20_TEST
所属分类:VHDL/FPGA/Verilog
开发工具:VHDL
文件大小:15168KB
下载次数:41
上传日期:2009-07-04 19:39:27
上 传 者:
wszkk
说明: 内含无刷电机驱动VHDL模块,读码盘4倍频模块,并用NIOS核实现简单无刷电机闭环控制。
(Brushless motor driver includes VHDL modules, reading frequency module plate 4, and nuclear NIOS simple closed-loop control of brushless motor.)
文件列表:
复件 EP2C20_TEST\.sopc_builder\install.ptf (11548, 2009-04-07)
复件 EP2C20_TEST\.sopc_builder\install2.ptf (125, 2009-06-01)
复件 EP2C20_TEST\.sopc_builder\preferences.xml (645, 2009-04-10)
复件 EP2C20_TEST\altpll0.bsf (2991, 2009-04-09)
复件 EP2C20_TEST\altpll0.cmp (907, 2009-04-09)
复件 EP2C20_TEST\altpll0.ppf (355, 2009-04-09)
复件 EP2C20_TEST\altpll0.v (14441, 2009-04-09)
复件 EP2C20_TEST\altpll0_bb.v (10869, 2009-04-09)
复件 EP2C20_TEST\altpll0_wave0.jpg (39539, 2009-04-09)
复件 EP2C20_TEST\altpll0_waveforms.html (620, 2009-04-09)
复件 EP2C20_TEST\cpu.ocp (840, 2009-06-01)
复件 EP2C20_TEST\cpu.vhd (650400, 2009-06-01)
复件 EP2C20_TEST\cpu_fpoint.vhd (358845, 2009-06-01)
复件 EP2C20_TEST\cpu_ic_tag_ram.mif (1497, 2009-06-01)
复件 EP2C20_TEST\cpu_jtag_debug_module.vhd (13544, 2009-06-01)
复件 EP2C20_TEST\cpu_jtag_debug_module_wrapper.vhd (17370, 2009-06-01)
复件 EP2C20_TEST\cpu_mult_cell.vhd (6649, 2009-06-01)
复件 EP2C20_TEST\cpu_ociram_default_contents.mif (5878, 2009-06-01)
复件 EP2C20_TEST\cpu_rf_ram_a.mif (600, 2009-06-01)
复件 EP2C20_TEST\cpu_rf_ram_b.mif (600, 2009-06-01)
复件 EP2C20_TEST\cpu_test_bench.vhd (92595, 2009-06-01)
复件 EP2C20_TEST\db\add_sub_25i.tdf (1819, 2009-04-07)
复件 EP2C20_TEST\db\add_sub_27g.tdf (1417, 2009-04-07)
复件 EP2C20_TEST\db\add_sub_ceh.tdf (1596, 2009-04-07)
复件 EP2C20_TEST\db\add_sub_dui.tdf (1855, 2009-04-07)
复件 EP2C20_TEST\db\add_sub_hvg.tdf (1543, 2009-04-07)
复件 EP2C20_TEST\db\add_sub_lgi.tdf (1819, 2009-04-07)
复件 EP2C20_TEST\db\add_sub_o9j.tdf (1814, 2009-04-07)
复件 EP2C20_TEST\db\add_sub_pdj.tdf (1867, 2009-04-07)
复件 EP2C20_TEST\db\add_sub_thi.tdf (1824, 2009-04-07)
复件 EP2C20_TEST\db\add_sub_unh.tdf (1725, 2009-04-07)
复件 EP2C20_TEST\db\add_sub_voh.tdf (1726, 2009-04-07)
复件 EP2C20_TEST\db\altsyncram_01g1.tdf (18935, 2009-04-07)
复件 EP2C20_TEST\db\altsyncram_2jb1.tdf (28903, 2009-06-01)
复件 EP2C20_TEST\db\altsyncram_3nf1.tdf (40456, 2009-04-07)
复件 EP2C20_TEST\db\altsyncram_4hq1.tdf (82551, 2009-05-31)
复件 EP2C20_TEST\db\altsyncram_4nf1.tdf (40456, 2009-04-07)
复件 EP2C20_TEST\db\altsyncram_65p3.tdf (3592, 2009-06-01)
复件 EP2C20_TEST\db\altsyncram_6hq1.tdf (82557, 2009-06-01)
复件 EP2C20_TEST\db\altsyncram_a7p3.tdf (3579, 2009-05-31)
... ...
/**************************************************************************
* 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.
*
*/
近期下载者:
相关文件:
收藏者: