fix: projects that manually instantiate standard cells fail

remove an assestion that causes these projects to fail

fix #31
This commit is contained in:
Uri Shaked
2024-02-21 15:31:28 +02:00
parent e8c5040dc5
commit f6fae279c1
-2
View File
@@ -798,9 +798,7 @@ class Project:
total += 1 total += 1
cell_lib = m.group(1) cell_lib = m.group(1)
cell_name = m.group(2) cell_name = m.group(2)
cell_drive = m.group(3)
assert cell_lib in ["fd_sc_hd", "ef_sc_hd"] assert cell_lib in ["fd_sc_hd", "ef_sc_hd"]
assert int(cell_drive) > 0
try: try:
cell_count[cell_name] += 1 cell_count[cell_name] += 1
except KeyError: except KeyError: