Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing error during OpenRAM macro generation #153

Closed
vijayank88 opened this issue Aug 23, 2022 · 1 comment
Closed

Facing error during OpenRAM macro generation #153

vijayank88 opened this issue Aug 23, 2022 · 1 comment

Comments

@vijayank88
Copy link

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants