Académique Documents
Professionnel Documents
Culture Documents
display
HIGH LEVEL BLOCK DIAGRAM
Voice-
Command Command
Voice Recognition Chess Game
Engine Engine VGA-
Display
Keyboard
Command
VOICE RECOGNITION ENGINE
program
category
word
Downsample 3
3
48kHz to 4
kHz vr_new_command
audio
filtered
from_AC97
vr_to_chess
AC97
FIR31 DTW
System
Controller
8
+
8
18
To all 8, select
category
with mux
addr
en
3
Buffer
Memory
8
1 1 audio_template
AC97
possible_match
dist
0
temp 3
Commands
2K
x
8
WE
8
8
Signals (L to R)
sound_in 8b DTW
Engine
WE 1b
Total Addr 11b
Memory sound_out 8b
104K x 8 =
832 Kbits
DYNAMIC TIME WARPING (DTW)
ENGINE
en
possible_match
Matrix
8
Signals (T to B) Memory
3
addr
mat_in 8b
mat_WE 1b category
10
mat_Addr 12b 4K
x
8
dist
13
mat_out 8b
8
tempWE
test_out
WE
DTW
Engine
sample_in
8
11
8
Template
Input
Memory
Total Memory Memory
temp_addr
13
sample_out
DYNAMIC TIME WARPING
EXPLAINED
Compares input sample of A (N samples) to template B (M samples)
and returns a least cost “distance” between the two
Forms M x N matrix D, Di,j= (Ai – Bj)2
Forms second M x N matrix Gamma:
Row 0 and Column 0 of Gamma set to Infinity; Gamma0,0 = 0
For all other elements Gammai,j = Di,j + min ( Gamma(i-1, j) , Gamma (i-, j-1) , Gamma(i-1, j-1))
vr_new_command
64
x
8
64
x
8
32x5
move_piece 5
kb_new_command
check_move
check_result
check_done
18
vr_kb_switch
3
KEYBOARD hcount,
ENCODER vcount (from
xvga)
[24x8 FIFO] MOVE
CHECKER
cstringdisp &
fontram
ascii 8 ascii_ready 24*8 cstring (Terman, Chuang)
pixel
VIDEO
ps2_kbd PRIORITY
PIECE CHESS PIECES
(Terman, Chuang) ENCODER
GRAPHICS
ROM
12x64x64 CHESSBOARD
CHESS ENGINE FSM
new command
invalid move
CHECK WAITING FOR
MOVE PLAYER 2
new_command
MOVE CHECKING