contest
所属分类:单片机开发
开发工具:VHDL
文件大小:9639KB
下载次数:5
上传日期:2015-07-08 17:21:34
上 传 者:
tom6981588
说明: 用单片机和FPGA控制的一个游戏控制系统
数码管:不足百位的黑掉
得分后自动切换显示
开关功能:
0:开始游戏:球归中心点,并自动发球。发球方向将与开关1状态有关
1:控制发球方向:游戏中也可以控制
2: 休闲模式:开启后小球将左右自动反弹,不需要按住键
3:球向左下角移动
4:球向右上角移动
5:
6:
7:切换数码管显示的队及得分
按钮:
0:右侧挡板按下(玩家1)
1:
2:
3:左侧挡板按下(玩家2)
(A game control system controlled by FPGA and microcontroller)
文件列表:
AllCheckedSuccess\bitinit.log (1910, 2010-05-27)
AllCheckedSuccess\blkdiagram\svg10.dtd (55654, 2008-03-04)
AllCheckedSuccess\blkdiagram\system.css (6540, 2008-03-04)
AllCheckedSuccess\blkdiagram\system.html (22423, 2010-05-27)
AllCheckedSuccess\blkdiagram\system.svg (96914, 2010-05-27)
AllCheckedSuccess\clock_generator_0.log (2351, 2010-05-27)
AllCheckedSuccess\data\system.ucf (14025, 2010-05-27)
AllCheckedSuccess\drivers\vga_v1_00_a\data\vga_v2_1_0.mdd (641, 2010-05-27)
AllCheckedSuccess\drivers\vga_v1_00_a\data\vga_v2_1_0.tcl (2472, 2010-05-27)
AllCheckedSuccess\drivers\vga_v1_00_a\examples\vga_v2_1_0_app.c (2580, 2010-05-27)
AllCheckedSuccess\drivers\vga_v1_00_a\src\Makefile (891, 2010-05-27)
AllCheckedSuccess\drivers\vga_v1_00_a\src\vga.c (526, 2010-05-27)
AllCheckedSuccess\drivers\vga_v1_00_a\src\vga.h (1903, 2010-05-27)
AllCheckedSuccess\drivers\vga_v1_00_a\src\vga_selftest.c (1508, 2010-05-27)
AllCheckedSuccess\etc\bitgen.ut (251, 2010-04-18)
AllCheckedSuccess\etc\download.cmd (115, 2010-04-18)
AllCheckedSuccess\etc\fast_runtime.opt (2752, 2010-04-18)
AllCheckedSuccess\Finish012345.mcs (798218, 2010-05-08)
AllCheckedSuccess\Finish012345.prm (784, 2010-05-08)
AllCheckedSuccess\Finish012345.sig (252, 2010-05-08)
AllCheckedSuccess\finishall.mcs (798218, 2010-05-08)
AllCheckedSuccess\finishall.prm (778, 2010-05-08)
AllCheckedSuccess\finishall.sig (249, 2010-05-08)
AllCheckedSuccess\hdl\bram_block_0_wrapper.vhd (3004, 2010-05-27)
AllCheckedSuccess\hdl\button_wrapper.vhd (8885, 2010-05-27)
AllCheckedSuccess\hdl\clock_generator_0_wrapper.vhd (22943, 2010-05-27)
AllCheckedSuccess\hdl\debug_module_wrapper.vhd (18298, 2010-05-27)
AllCheckedSuccess\hdl\delay2_wrapper.vhd (7408, 2010-05-08)
AllCheckedSuccess\hdl\delay3_wrapper.vhd (7408, 2010-05-08)
AllCheckedSuccess\hdl\delay_wrapper.vhd (7402, 2010-05-08)
AllCheckedSuccess\hdl\dlmb_cntlr_wrapper.vhd (3233, 2010-05-27)
AllCheckedSuccess\hdl\dlmb_wrapper.vhd (3274, 2010-05-27)
AllCheckedSuccess\hdl\elaborate\bram_block_0_elaborate_v1_00_a\hdl\vhdl\bram_block_0_elaborate.vhd (11919, 2010-05-27)
AllCheckedSuccess\hdl\elaborate\lmb_bram_elaborate_v1_00_a\hdl\vhdl\lmb_bram_elaborate.vhd (5567, 2010-05-27)
AllCheckedSuccess\hdl\ilmb_cntlr_wrapper.vhd (3233, 2010-05-27)
AllCheckedSuccess\hdl\ilmb_wrapper.vhd (3274, 2010-05-27)
AllCheckedSuccess\hdl\j6_wrapper.vhd (8861, 2010-05-27)
AllCheckedSuccess\hdl\j7_wrapper.vhd (8861, 2010-05-27)
AllCheckedSuccess\hdl\leds_8bit_wrapper.vhd (8903, 2010-05-27)
AllCheckedSuccess\hdl\lmb_bram_wrapper.vhd (2956, 2010-05-27)
... ...
The Create and Import Peripheral Wizard has generated a template for the
Coprocessor you requested:
Files and Directories generated:
--------------------------------
Thank you for using Create and Import Peripheral Wizard!
Peripheral summary
top name : vga
version : 1.00.a
type : FSL slave
features :
File Summary
- HDL source -
F:\ElectronicDesignContest2010inBeijing\Final\J68Bit\pcores\vga_v1_00_a\hdl\vhdl
top level : vga.vhd
- XPS interface -
F:\ElectronicDesignContest2010inBeijing\Final\J68Bit\pcores\vga_v1_00_a\data
mpd : vga_v2_1_0.mpd
pao : vga_v2_1_0.pao
- Misc file -
F:\ElectronicDesignContest2010inBeijing\Final\J68Bit\pcores\vga_v1_00_a\devl
help : README.txt
option : ipwiz.opt
log : ipwiz.log
- Driver source -
F:\ElectronicDesignContest2010inBeijing\Final\J68Bit\drivers\vga_v1_00_a\src
makefile : Makefile
header : vga.h
source : vga.c
- Driver interface -
F:\ElectronicDesignContest2010inBeijing\Final\J68Bit\drivers\vga_v1_00_a\data
mdd : vga_v2_1_0.mdd
tcl : vga_v2_1_0.tcl
If the Coprocessor has both inputs and outputs, the templates implements a
simple application that does the following:
- The C driver function translates the input operands into the input FSL
interface and translates the outputs from the output FSL interface into the
output operands. Blocking reads and writes are used, hence the function
does not return until the computation is complete. This function is
written into src/vga.c in the Driver Directory.
- The HDL core implements a simple adder that simply adds up the input words
arriving on the input FSL and outputs the result on the output FSL. This is
implemented in hdl/vhdl/vga.vhd in the Core Directory.
If the Coprocessor only has inputs or only has outputs, half of the
above application will be implemented.
In your application code, you can include the driver's header file and then call
the C driver function
Customizing the generated Coprocessor
-----------------------------------------
The generated coprocessor will serve as a 'starter' example or template
to help implement your application. The following modifications may be
required:
* Modify the HDL in the core directory to implement the function required by
your application. It is very important that the ordering of the incoming and
outgoing operands in the HDL be consistent with the driver function.
* Modify the driver file (if necessary) to ensure that the input FSL is filled with
data from the input operands in the order expected by the implementation of
the function in the HDL core.
Other issues
------------
Please note the following:
- To permanently remove the coprocessor, you will need to remove the
directories indicated above.
- Please read and understand the HDL and C generated by this tool to fully
understand what you need to do to implement your coprocessor.
- If you added more HDL files to your coprocessor, or modified the generics
or ports for the HDL core, you need to run the Create and Import Peripheral wizard import
mode to import this peripheral. The wizard will update the IP data file to relect the
changes that you made.
近期下载者:
相关文件:
收藏者: