vhdl - Snake game using FPGA (NEXYS2) -
i planning make snake game using nexys2 board in vhdl , display on led matrix similar in video http://www.youtube.com/watch?v=niqmnypipw0 still don't know begin. how go implementing in vhdl?
beyond designing , wiring hardware (connectors, led matrices , such) , actual design of game (the rules , inputs cause outputs), start breaking down design constraints blocks write vhdl. example, might have display output component takes pixel change events , writes screen state display (or maybe takes whole screen state, , handles interface logic display). might have game logic component, , controller interface component.
once decide each block should do, have decide how data flow , control logic, write in vhdl (you need know basic syntax , functionality of vhdl first!).
then synthesizer translates rtl description implementation of flip flops , tables, , place&route tool figures out put , connect these units using actual resources of fpga targeting, generating binary configuration file.
the configuration file loaded onto fpga , (assuming have hardware hooked right , vhdl , design perfect) have working snake game.
simple, right?
in order useful answers here, need "writing vhdl" stage, write vhdl, see fail function according constraints, ask question that.
Comments
Post a Comment