VLSIDA / OpenRAM

An open-source static random access memory (SRAM) compiler.
http://www.openram.org
BSD 3-Clause "New" or "Revised" License
780 stars 198 forks source link

Runtime #245

Open mbautista-lab opened 1 week ago

mbautista-lab commented 1 week ago

Hi I am trying to run a 16kbyte SRAM on sky130. Is it normal that it will take couple of weeks to generate? Mine has been running for 1 month now. It generate a temp.gds and I don't see any errors flag but its still finishing. So Im curious to know is couple of weeks a normal runtime for ex. 16kbyte memory ?

mguthaus commented 1 week ago

What step is running for so long? This is the largest memory block that I've generated.

Likely, I suspect it is timing characterization. This can be sped up a bit if you have parallel simulation tools, but it's ultimately a bottleneck that needs to be addressed.

The alternative now is to rely on the regression models, but these are not calibrated. We would welcome contributions to help with this

mbautista-lab commented 1 week ago

It is still running please see the below image. sram

When you say a parallel simulator, can we use xyce ?

Thanks

mguthaus commented 1 week ago

Yes, Xyce would be a parallel simulator, but it needs to be compiled as such.

This is stuck running extraction. Which version of magic are you using? There is likely an issue with that.

mbautista-lab commented 1 week ago

My magic is version 8.3.363

What should be the correct version to use?

mguthaus commented 1 week ago

That is correct: https://github.com/VLSIDA/OpenRAM/blob/0937f86761e727ae3ba6c3e0d6df8a84a760cf8a/install_conda.sh#L10

What kind of machine? How much memory is it using?

mbautista-lab commented 1 week ago

Im using linux server, about 1.75T memory

mguthaus commented 1 week ago

It's using 1.75TB?? That is the problem, it is paging to swap. This sounds suspicious though.

How much physical memory is in the machine?

mguthaus commented 1 week ago

It could be a memory leak in magic.