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

scn3me_subm tech CellProperties error #212

Closed
htm23x opened this issue Oct 29, 2023 · 4 comments
Closed

scn3me_subm tech CellProperties error #212

htm23x opened this issue Oct 29, 2023 · 4 comments

Comments

@htm23x
Copy link

htm23x commented Oct 29, 2023

I'm trying to compile a 1Kb x 8 bit SRAM using the scn3me_subm technology, but I got an "import CellProperties" error (works ok with the scn4m_subm technology though! ). Here's the log and config file. I'm using OpenRAM 1.2.40 via clone GIT repo (tried master & dev branches, with same error).


(base) myUser@COMPUTER:/var/tmp/OpenRAM-1.2.40$ python3 sram_compiler.py /var/tmp/myconfig.py

ERROR: file globals.py: line 581: Could not load tech module.
Traceback (most recent call last):
  File "/var/tmp/OpenRAM-1.2.40/compiler/globals.py", line 579, in import_tech
    from openram import tech
  File "/var/tmp/OpenRAM-1.2.40/technology/scn3me_subm/tech/__init__.py", line 5, in <module>
    from .tech import *
  File "/var/tmp/OpenRAM-1.2.40/technology/scn3me_subm/tech/tech.py", line 4, in <module>
    from openram.drc.custom_cell_properties import CellProperties
ImportError: cannot import name 'CellProperties' from 'openram.drc.custom_cell_properties' (/var/tmp/OpenRAM-1.2.40/compiler/drc/custom_cell_properties.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "sram_compiler.py", line 42, in <module>
    openram.init_openram(config_file=args[0])
  File "/var/tmp/OpenRAM-1.2.40/compiler/globals.py", line 190, in init_openram
    import_tech()
  File "/var/tmp/OpenRAM-1.2.40/compiler/globals.py", line 581, in import_tech
    debug.error("Could not load tech module.", -1)
  File "/var/tmp/OpenRAM-1.2.40/compiler/debug.py", line 48, in error
    assert return_value == 0

Config file:

num_words = 1024
word_size = 8

num_rw_ports = 1
num_banks = 1

tech_name = "scn3me_subm"

num_spare_rows = 0
num_spare_cols = 0

process_corners = [ "TT" ]
supply_voltages = [ 3.3 ]
temperatures = [ 25 ]

output_path = "dist"
output_name = "my_sram_1kb_1024word_8bit_1bank_1port"

@mguthaus
Copy link
Collaborator

This technology is no longer functional.

@mguthaus
Copy link
Collaborator

(it only has three metal layers...)

@htm23x
Copy link
Author

htm23x commented Oct 29, 2023

Oh I see! Why don't remove the tech folder "scn3me_subm" then ? Save space in repo and avoid confusion to the user :D

@mguthaus
Copy link
Collaborator

Someone may want the cells...

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