Wire ball = (delta = 0) // or even wire ball = ~(|delta) I ended up with something like this: always clk) beginĬould be rewritten as wire delta = xpos - ballX My brain kept getting tripped up by the difference between writing software where statements are executed sequentially, and HDL statements defining a bunch of operations that all happen at once. I found that the most difficult part to get working was the collision detection. Some of the ideas were taken from fpga4fun’s Pong tutorial, and the quadrature decoding logic for the rotary knob was ripped from the tutorial verbatim. Pong.v – Verilog HDL source pong.ucf – user constaints file, with pin-mappings for the Spartan 3A starter kit It was very slow going at first, but things are slowly beginning to make sense to me now. Steve on Floppy Emu Disk Emulator for Apple II, Macintosh, and LisaĮveryone working on a video application using an FPGA seems to start with Pong, so why should I be any different? I put together this Pong demo as an exercise to help get more familiar with Verilog, and gain some experience working with the Xilinx tools and the Spartan 3A FPGA starter kit.Race Fan on Yellowstone Universal Disk Controller for Apple II.Chris on Saleae Pro 8 Logic Analyzer Review. Yellowstone Universal Disk Controller for Apple II Floppy Emu Disk Emulator for vintage Apple II, Macintosh, and Lisa
0 Comments
Leave a Reply. |