KULeuven-MICAS/stream

Issue with configuration of TPU-like core

Samuelmicer opened this issue · 0 comments

It seems that the TPU-like configuration file has some issues.

The reg size per MAC group of 'O' in TPU-like DF is 1KB, doesn't match the configuration in code below.

stream/inputs/examples/hardware/cores/TPU_like.py line: 29

reg_O_1K = MemoryInstance(
name="rf_1KB",
size=16,
r_bw=16,
w_bw=16,
r_cost=0.54,
w_cost=0.6,
area=0,
r_port=2,
w_port=2,
rw_port=0,
latency=1,
)

The same issue has also appeared in DeFiNES. Maybe this could be one of the reasons that DeFiNES doesn't work well on TPU-like hardware. (Chatper V Case study 3) @asyms @LY-Mei