Removing index_in_site from site_type files.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
Keith Rothman 2018-09-27 08:56:38 -07:00
parent c4a62fb315
commit 7adb81b81c
3 changed files with 4 additions and 2 deletions

View File

@ -41,7 +41,6 @@ foreach tile [get_tiles] {
# SPEED_INDEX
puts $fp "\t\t\t\{"
puts $fp "\t\t\t\t\"site_pin\":\"$site_pin\","
puts $fp "\t\t\t\t\"index_in_site\":\"[get_property INDEX_IN_SITE $site_pin]\","
puts $fp "\t\t\t\t\"direction\":\"[get_property DIRECTION $site_pin]\","
set site_pin_node [get_nodes -of_objects $site_pin]
if {[llength $site_pin_node] == 0} {

View File

@ -40,6 +40,10 @@ def main():
with open(os.path.join(args.output_dir, instance)) as f:
instance_site_type = json.load(f)
for site_pin in instance_site_type['site_pins'].values():
if 'index_in_site' in site_pin:
del site_pin['index_in_site']
if proto_site_type is None:
proto_site_type = instance_site_type
else:

View File

@ -131,7 +131,6 @@ def get_prototype_site(site):
proto['site_pins'][name] = {
'direction': site_pin['direction'],
'index_in_site': site_pin['index_in_site'],
}
for site_pip in site['site_pips']: