neurosim / DNN_NeuroSim_V1.3

Benchmark framework of compute-in-memory based accelerators for deep neural network (inference engine focused)
62 stars 36 forks source link

`SubArray::CalculatePower` is just used when `CalculateclkFreq` is false #18

Closed sepehrMSP closed 2 years ago

sepehrMSP commented 2 years ago

Hi, Why SubArray::CalculatePower function is just used when the CalculateclkFreq is set to false. Based the previous issues, if I want to use the synchronous mode, this parameter should be true. @neurosim

neurosim commented 2 years ago

Hi! When using the synchronous mode, the CalculateclkFreq is set to true first to compute the clock frequency. After that, it will be set to false to compute the latency and energy. The framework will go through the CalculatePerformance functions twice in total.