Skip to content

Commit

Permalink
fix placement based on new LL definition in schema
Browse files Browse the repository at this point in the history
  • Loading branch information
gadfort committed Sep 17, 2024
1 parent 22f0cb9 commit 1fc021c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions floorplan.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,7 @@ def generate_top_outline(chip):

def generate_top_placement(chip):
# Place core
die_ll, die_ur = chip.get('constraint', 'outline')
location = [(die_ur[0] - die_ll[0]) / 2, (die_ur[1] - die_ll[1]) / 2]
chip.set('constraint', 'component', 'core', 'placement', location)
chip.set('constraint', 'component', 'core', 'placement', (300, 300))


def generate_top_floorplan(chip):
Expand Down

0 comments on commit 1fc021c

Please sign in to comment.