mirror of
https://codeberg.org/LibrEDA/libreda-python
synced 2026-05-29 00:21:40 +08:00
fix method name and spelling
This commit is contained in:
4
test.py
4
test.py
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user