neurosim / DNN_NeuroSim_V2.1

Benchmark framework of compute-in-memory based accelerators for deep neural network (on-chip training chip focused)
98 stars 48 forks source link

Question about Amp latency calculation #3

Closed ShawnHSH closed 2 years ago

ShawnHSH commented 3 years ago

Hi! May I ask, why the latency in MultilevelSenseAmp::CalculatePower is not the same with the readLatency calculated in MultilevelSenseAmp::CalculateLatency simulation? In CalculateLatency, readLatency = LatencyColnumColMuxed, while CalculatePower only takes one LatencyCol. How is the energy consumption during the remaining (numColMuxed-1)LatencyCol ? I'd appreciate it a lot if someone sheds a little light on it. :) Neurosim_latency_Q2_2 png

Neurosim_latency_Q2_1

neurosim commented 2 years ago

P_Col in CalculatePower function has counted the power of all columns consumed by ADC, so there is no need to consider the mux sharing again. In other words, here the energy consumption stays the same no matter the ADCs are shared or not.