Final Report
Final Report
DESIGN SPECIFICATION
Version 1.0
December 2018
TEAM 1
Vu Hoang Giang
Nguyen Ha Thu
Nguyen Tien Thanh
1
Table of content
1. Overview ....................................................................................................................................................... 5
2. Port Description ......................................................................................................................................... 5
3. Common Function Implementation ................................................................................................... 5
3.1. Bias and Weight module................................................................................................................. 5
3.2. Net calculator...................................................................................................................................... 6
3.3. Relu module ........................................................................................................................................ 7
3.4. PISO register ....................................................................................................................................... 8
3.5. Delta1_j module ................................................................................................................................. 9
3.6. Delta0_j module ............................................................................................................................... 10
3.7. Dw_ij module .................................................................................................................................... 10
2
List of Figure
3
List of Tables
4
1. Overview
2. Port Description
Bảng 2.1. UART Port Description
Được sử dụng để lưu giá trị của các phần tử bias, đồng thời có thể cập nhập và khởi tạo
được giá trị bias.
5
3.1.2. Port Description
6
enable 1 I Write request from hardware
load 1 I Write data from hardware
w D_WIDTH I Weight value
pre_out D_WIDTH I Output of neuron in previos layer
net D_WIDTH O Net value
D_WIDTH is the parameter indicate data size
7
Figure 3.3 Block diagram of relu module
3.4.3. Working
9
3.6. Delta0_j module
Used to calculate delta value of weight[i][j] and multiple it with learning rate u = 16’b1
(0.001).
10
3.7.2. Port description
11