Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
macroplacement
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
macroplacement
Commits
425deee4
Unverified
Commit
425deee4
authored
Aug 25, 2022
by
Yucheng Wang
Committed by
GitHub
Aug 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
congestion done v1.0
parent
edc96114
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
CodeElements/Plc_client/plc_client_os.py
+4
-6
No files found.
CodeElements/Plc_client/plc_client_os.py
View file @
425deee4
...
...
@@ -972,14 +972,12 @@ class PlacementCost(object):
x_dist
,
y_dist
=
self
.
__overlap_dist
(
module_block
,
grid_cell_block
)
if
ur_row
!=
bl_row
\
and
((
r_i
==
bl_row
and
abs
(
y_dist
-
self
.
grid_height
)
>
1e-5
)
\
or
(
r_i
==
ur_row
and
abs
(
y_dist
-
self
.
grid_height
)
>
1e-5
)):
if
ur_row
!=
bl_row
:
if
(
r_i
==
bl_row
and
abs
(
y_dist
-
self
.
grid_height
)
>
1e-5
)
or
(
r_i
==
ur_row
and
abs
(
y_dist
-
self
.
grid_height
)
>
1e-5
):
if_PARTIAL_OVERLAP_VERTICAL
=
True
if
ur_col
!=
bl_col
\
and
(
c_i
==
bl_col
and
abs
(
x_dist
-
self
.
grid_width
)
>
1e-5
)
\
or
(
c_i
==
ur_col
and
abs
(
x_dist
-
self
.
grid_width
)
>
1e-5
):
if
ur_col
!=
bl_col
:
if
(
c_i
==
bl_col
and
abs
(
x_dist
-
self
.
grid_width
)
>
1e-5
)
or
(
c_i
==
ur_col
and
abs
(
x_dist
-
self
.
grid_width
)
>
1e-5
):
if_PARTIAL_OVERLAP_HORIZONTAL
=
True
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment