added cell label checker and cell labels to the freepdk technology

This commit is contained in:
Bob Vanhoof 2021-02-09 13:09:26 +01:00
parent 3dfc039f6f
commit d14a68847e
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@
**/model_data **/model_data
outputs outputs
technology/freepdk45/ncsu_basekit technology/freepdk45/ncsu_basekit
.idea

View File

@ -359,7 +359,9 @@ class instance(geometry):
for offset in range(len(normalized_br_offsets)): for offset in range(len(normalized_br_offsets)):
for port in range(len(br_names)): for port in range(len(br_names)):
cell_br_meta.append([br_names[offset], row, col, port]) cell_br_meta.append([br_names[offset], row, col, port])
if normalized_storage_nets == []:
debug.error("normalized storage nets should not be empty! Check if the GDS labels Q and Q_bar are correctly set on M1 of the cell",1)
Q_x = normalized_storage_nets[0][0] Q_x = normalized_storage_nets[0][0]
Q_y = normalized_storage_nets[0][1] Q_y = normalized_storage_nets[0][1]