tancheng / CGRA-Mapper

An LLVM pass that can generate CDFG and map the target loops onto a parameterizable CGRA.
BSD 3-Clause "New" or "Revised" License
57 stars 8 forks source link

How to determine the latency of some DFG operations? #26

Closed ShangkunLi closed 1 month ago

ShangkunLi commented 1 month ago

Hi Cheng,

Just notice that in the param.json file you let the latency of load/store operations to be 2. How did you get this value?

Thanks.

tancheng commented 1 month ago

I just try to make it parameterizable. It could be 1 or any value. But for now, our hardware only support single-cycle memory access.