yuyuranium / FPGA-Project-2022-simple-tpu

Systolic array based simple TPU for CNN on PYNQ-Z2
18 stars 2 forks source link

Add definitions #1

Closed yuyuranium closed 2 years ago

yuyuranium commented 2 years ago

I've added the general definitions since we've done some testing and calculation and can determine the data width finally.

Note that we'll use little endian, e.g., put data0 in word[15:0] and data7 in word[127:112]

yuyuranium commented 2 years ago

I added a definition for simulating the global buffer, i.e., input sram, weight sram, and output sram. Since the simulator cannot simulate that many signals (4096 * 128 bits originally) so I think to simulate 256 entries (address begins from 0xf00 to 0xfff) is enough for now.