Skip to content

Commit 894ecbe

Browse files
authored
Merge pull request #1084 from Pinata-Consulting/mock-array-big-fix-element-scaling
Mock array big fix element scaling
2 parents ccac608 + 5b54743 commit 894ecbe

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import config
2-
3-
margin_x = config.placement_grid_x * 8
4-
margin_y = config.placement_grid_y * 2
2+
import os
53

64
print(f'0 0 {config.ce_width} {config.ce_height}')

flow/designs/asap7/mock-array-big/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
placement_grid_y = 0.27
1818

1919
# Element size is set to multiple of 2.16
20-
ce_width = 12.96
21-
ce_height = 12.96
20+
ce_width = (3 * 2.16) * pitch_scale
21+
ce_height = (3 * 2.16) * pitch_scale
2222

23-
# Element placement, can be controled by user
23+
# Element placement, can be controlled by user
2424
ce_pitch_x = ce_width * pitch_scale
2525
ce_pitch_y = ce_height * pitch_scale
2626

0 commit comments

Comments
 (0)