Overview – Altera MAX II User Manual
Page 31
Altera Corporation
Development Kit Version 1.1.0
2–23
July 2005
MAX II Development Kit Getting Started User Guide
Getting Started
repeatedly pressing the Bet button, a player can select between three
amounts they wish to wager on a particular turn of the simulated slot
reels. When the player is satisfied with the wager amount, the Spin
button (S4) is selected, initiating the simulated slot action. If all three slot
reels display the same value, the player wins and his total is updated with
the appropriate payoff. If the reels do not match, the wagered amount is
subtracted from his earnings. Wager amounts and payoffs are listed in
. Play continues in this way until the player either reaches $1000
or runs out of money. The player is allowed to select any of the wager
amounts at any point in the game. A new game can be initiated at any
time by recycling the board power plane (button S5).
Understanding the Functionality of the Slot Machine Reference Design
A high level view of the reference design can be separated into the basic
areas of functionality shown below.
Overview
The design functionality is based on a block of logic that monitors the
status of two input signals. Based on the state of each of these inputs, the
design sends the appropriate information to an LCD display through one
of two paths. One path provides access to a block of on-chip flash
memory that sends display instructions to the LCD. The other path stores
values for a set of registers that keep track of the game status as it
progresses. An LCD controller interprets the instructions provided by
either path and supplies stimulus to the LCD hardware to render the
appropriate images. See
.
Table 2–1. Wager Options & Their Payoffs
Wager
Payoff
$1
$16
$5
$80
$50
$800