VLSIDA / OpenRAM

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

Facing error during OpenRAM macro generation #153

Closed vijayank88 closed 2 years ago

vijayank88 commented 2 years ago

I've cloned latest commit and installed in Ubuntu20.04 Used following command to generate sram module:

python3.8 compiler/openram.py macros/configs/sky130_sram_4kbyte_1rw_32x1024_8.py

But failed to complete the sram macro generation.

Logs:

ERROR: file magic.py: line 237: Unable to find the total error line in Magic output.
Traceback (most recent call last):
  File "compiler/openram.py", line 77, in <module>
    s = sram(name=OPTS.output_name,
  File "/home/vijayan/OPENLANE_FLOW/OPENRAM/OpenRAM/compiler/modules/sram.py", line 49, in __init__
    self.s.create_layout()
  File "/home/vijayan/OPENLANE_FLOW/OPENRAM/OpenRAM/compiler/modules/sram_base.py", line 231, in create_layout
    self.DRC_LVS(final_verification=OPTS.route_supplies, force_check=OPTS.check_lvsdrc)
  File "/home/vijayan/OPENLANE_FLOW/OPENRAM/OpenRAM/compiler/base/hierarchy_design.py", line 70, in DRC_LVS
    self.drc_errors = verify.run_drc(self.cell_name, tempgds, tempspice, extract=True, final_verification=final_verification)
  File "/home/vijayan/OPENLANE_FLOW/OPENRAM/OpenRAM/compiler/verify/magic.py", line 237, in run_drc
    debug.error("Unable to find the total error line in Magic output.", 1)
  File "/home/vijayan/OPENLANE_FLOW/OPENRAM/OpenRAM/compiler/debug.py", line 47, in error
    assert return_value == 0
AssertionError
mguthaus commented 2 years ago

You need to install all the dependencies (Magic, Netgen, ngspice, etc.) or use the docker image which includes them. You can run the docker image with: cd macros make sky130_sram_4kbyte_1rw_32x1024