fix method name and spelling

This commit is contained in:
Thomas Kramer
2025-10-12 15:25:21 +00:00
parent 63cc7e8a17
commit 9c6446ab36

View File

@@ -79,7 +79,7 @@ class Layout:
assert isinstance(cell, kdb.Cell)
return cell.parent_cells()
def num_dependent_cells(self, cell: kdb.Cell):
def num_dependencies_cells(self, cell: kdb.Cell):
assert isinstance(cell, kdb.Cell)
return cell.child_cells()
@@ -116,7 +116,7 @@ chip = Layout(layout)
# Call a simple function provided by the LibrEDA Python library.
ldb.print_hierarchy(chip)
# Test accessing instane locations.
# Test accessing instance locations.
for cell_id in chip.each_cell_vec():
for inst_id in chip.each_cell_instance_vec(cell_id):
tf = chip.get_transform(inst_id)