@@ -26,12 +26,21 @@ Getting Started
2626
2727* Hardware: Currently, we develop QNICE-FPGA on a Nexys 4 DDR development
2828 board, so if you own one, the fastest way of getting started is to
29- download the bitstream file ` dist_kit\env1 .bit ` on the SD card of the
29+ download the bitstream file ` dist_kit/qnice .bit ` on the SD card of the
3030 Nexys board and set the jumpers to read the FPGA configuration from the
31- SD card. Attach an "old" USB keyboard supporting boot mode to the board
32- and attach a VGA monitor. Attach the USB cable to your desktop computer,
33- so that you can setup a serial (terminal) connection between the desktop
34- and the FPGA.
31+ SD card. Do not copy more than one ` *.bit ` file on the SD card, i.e. do
32+ not copy ` dist_kit/q-tris.bit ` , yet. Do empty the "Recycle Bin" or similar
33+ of your host OS between two ` *.bit ` copies, so that the Nexys board does not
34+ accidentally read the ` *.bit ` from your trash instead of the recent one.
35+
36+ * If you do not own a Nexys 4 DDR board, then use your VHDL development
37+ environment to synthesize QNICE-FPGA. The root file for the system
38+ is ` vhdl/env1.vhdl ` . Make sure that you connect at least the IO pins
39+ for PS2, VGA, UART and the two switches.
40+
41+ * Attach an "old" USB keyboard supporting boot mode to the board and attach
42+ a VGA monitor. Attach the USB cable to your desktop computer, so that you
43+ can setup a serial (terminal) connection between the desktop and the FPGA.
3544
3645* On your host computer: Open a terminal and head to the root folder of the
3746 QNICE-FPGA GIT repository.
@@ -82,3 +91,28 @@ Getting Started
8291 and page up/down keys to scroll.
8392
8493More documentation to come.
94+
95+ Q-TRIS
96+ ------
97+
98+ Q-TRIS is a Tetris clone and the first game ever developed for QNICE-FPGA.
99+ The rules of the game are very close to the "official" Tetris rules as
100+ they can be found on
101+ [ http://tetris.wikia.com/wiki/Tetris_Guideline ] ( http://tetris.wikia.com/wiki/Tetris_Guideline ) .
102+
103+ ![ Q_TRIS_IMG] ( doc/demos/demo_q_tris.jpg )
104+
105+ Clearing a larger amount of lines at once (e.g. Double, Triple, Q-TRIS)
106+ leads to much higher scores. Clearing a certain treshold of lines leads to the
107+ next level. The game speed increases from level to level. If you clear
108+ 1.000 lines, then you win the game.
109+
110+ Q-TRIS uses the PS2/USB keyboard and VGA, no matter how STDIN/STDOUT
111+ are routed. All speed calculations are based on a 50 MHz CPU that is equal
112+ to the CPU revision contained in release V1.21.
113+
114+ The game can run stand-alone, i.e. instead of the Monitor as the "ROM"
115+ for the QNICE-FPGA: Just use ` dist_kit/q-tris.bit ` instead of the
116+ above-mentioned ` dist_kit/qnice.bit ` . Or, you can run it regularly as an app
117+ within the Monitor environment. In this case, compile it and then load it with
118+ the ` M L ` command sequence and start Q-TRIS using the address ` 0x8000 ` .
0 commit comments