VLSIDA / OpenRAM

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

Error in using sram macro(tiny) in openlane2 #247

Open FriedrichWu opened 2 months ago

FriedrichWu commented 2 months ago

Describe the bug Hello,

I encountered some errors in trying to use sram macros in openlane2. The openlane2(magic) complains that some cells are placed at itself, and unknown layer/datatype in boundary. I also try just to use only the bank extracted from the sram macro, but failed with similar error.

图片

I'm not sure if it's about the gds file, but it looks fine when opening with klayout

There is also one similar error -> https://github.com/The-OpenROAD-Project/OpenLane/issues/1040

Version Openram1.2.48, Openlane 2.0.0rc2(but 2.04 has same problem)

To Reproduce

macro_test.zip

Expected behavior No error in reading gds

Logs Logs contained in the uploaded file

mguthaus commented 2 months ago

The layer errors are complaining about necessary layers in the macro. These are for OPC etc and cannot be removed.

On Fri, Jul 19, 2024, 02:52 K.Makise @.***> wrote:

Describe the bug Hello,

I encountered some errors in trying to use sram macros in openlane2. The openlane2(magic) complains that some cells are placed at itself, and unknown layer/datatype in boundary. I also try just to use only the bank extracted from the sram macro, but failed with similar error. default.png (view on web) https://github.com/user-attachments/assets/41988ad6-2584-4151-a34f-2a9bcd5344ae

I'm not sure if it's about the gds file, but it looks fine when opening with klayout

There is also one similar error -> The-OpenROAD-Project/OpenLane#1040 https://github.com/The-OpenROAD-Project/OpenLane/issues/1040

Version Openram1.2.48, Openlane 2.0.0rc2(but 2.04 has same problem)

To Reproduce

macro_test.zip https://github.com/user-attachments/files/16310272/macro_test.zip

Expected behavior No error in reading gds

Logs Logs contained in the uploaded file

— Reply to this email directly, view it on GitHub https://github.com/VLSIDA/OpenRAM/issues/247, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC67SL7J7NOG2IFRIL6C5QTZNDOVFAVCNFSM6AAAAABLEIRVW2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYTQNJRGQYTOMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

FriedrichWu commented 1 month ago

Thanks for the quick response.

I see. Then it's probably the problem of the openlane. Is there maybe any workaround to make the tool to recognize those necessary layers?

mguthaus commented 1 month ago

It's shown as an error, but it is really a warning.