Accelergy-Project / accelergy

Accelergy is an energy estimation infrastructure for accelerator energy estimations
http://accelergy.mit.edu
MIT License
126 stars 40 forks source link

How to define a large SRAM? #27

Open Farbin opened 4 months ago

Farbin commented 4 months ago

I need to define a large SRAM of 512 MB for my design. I was copying the example of simple_weight_stationary architecture where there is a 128kB SRAM. Then I set "n_instances" to 4098 to make the total SRAM size to 512 MB. However, this leads to a huge leakage energy and I'm observing that only one instance is being used always even though the required data size (inputs, outputs, and weights) is much bigger than 128kB.

Could you kindly suggest the best way to define such SRAMs?

tanner-andrulis commented 1 month ago

https://timeloop.csail.mit.edu/v4/input-formats/design/architecture

The width and depth keys are used to change SRAM size.