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
af177c3f
Commit
af177c3f
authored
Sep 20, 2022
by
Dinple
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
congestion debugging finished, proxy cost matching
parent
c4684ad6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
CodeElements/Plc_client/plc_client_os.py
+5
-4
No files found.
CodeElements/Plc_client/plc_client_os.py
View file @
af177c3f
...
...
@@ -1413,12 +1413,13 @@ class PlacementCost(object):
# retrieve sink object
sink
=
self
.
modules_w_pins
[
sink_idx
]
# retrieve grid location
node_gcells
.
add
(
self
.
__get_grid_cell_location
(
*
(
s
ink
.
get_pos
(
))))
node_gcells
.
add
(
self
.
__get_grid_cell_location
(
*
(
s
elf
.
__get_pin_position
(
sink_idx
))))
elif
curr_type
==
"MACRO_PIN"
and
mod
.
get_sink
():
# add source position
node_gcells
.
add
(
self
.
__get_grid_cell_location
(
*
(
mod
.
get_pos
())))
source_gcell
=
self
.
__get_grid_cell_location
(
*
(
mod
.
get_pos
()))
mod_idx
=
self
.
mod_name_to_indices
[
mod
.
get_name
()]
node_gcells
.
add
(
self
.
__get_grid_cell_location
(
*
(
self
.
__get_pin_position
(
mod_idx
))))
source_gcell
=
self
.
__get_grid_cell_location
(
*
(
self
.
__get_pin_position
(
mod_idx
)))
if
mod
.
get_weight
()
>
1
:
weight
=
mod
.
get_weight
()
...
...
@@ -1430,7 +1431,7 @@ class PlacementCost(object):
# retrieve sink object
sink
=
self
.
modules_w_pins
[
sink_idx
]
# retrieve grid location
node_gcells
.
add
(
self
.
__get_grid_cell_location
(
*
(
s
ink
.
get_pos
(
))))
node_gcells
.
add
(
self
.
__get_grid_cell_location
(
*
(
s
elf
.
__get_pin_position
(
sink_idx
))))
elif
curr_type
==
"MACRO"
and
self
.
is_node_hard_macro
(
self
.
mod_name_to_indices
[
mod
.
get_name
()]):
module_h
=
mod
.
get_height
()
...
...
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