Add custom cell custom port order code. Update setup/hold to use it.

This commit is contained in:
mrg
2020-11-17 11:12:59 -08:00
parent 80333ffacb
commit baae28194b
6 changed files with 83 additions and 28 deletions
+1
View File
@@ -39,6 +39,7 @@ class design(hierarchy_design):
# that they matched here
debug.check(prop.port_names == self.pins,
"Custom cell pin names do not match spice file:\n{0} vs {1}".format(prop.port_names, self.pins))
self.add_pin_indices(prop.port_indices)
self.add_pin_names(prop.port_map)
self.add_pin_types(prop.port_types)