Closed gina9726 closed 9 years ago
I modified the code. Now the map key contains both num_of_bytes and wordsize.
overall it looks pretty good! i have two minor comments on coding styles.
setScratchpad is called repeatedly by each partition, so the map must keep exist for all partitions.
Thanks Gina! Just merged your pull request!
Improve runtime(Avoid calling cacti repeatedly)
It takes long to call cacti to calculate power/area. In order to reduce the redundant calls, I add a map to record the result computed by cacti since we don't need to call cacti repeatedly if the partition size has been computed beforehand.