Skip to content

Commit

Permalink
Named bump blockages (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 authored Dec 15, 2023
1 parent e2d546c commit 7b58f1b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hammer/par/innovus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,9 @@ def place_bumps(self) -> bool:
self.append("deselect_bumps")
else:
self.append("assign_signal_to_bump -bumps \"Bump_{x}.{y}\" -net {n}".format(x=bump.x, y=bump.y, n=bump.name))
self.append("create_route_blockage {layer_options} \"{llx} {lly} {urx} {ury}\"".format(
self.append("create_route_blockage -name Bump_{x}_{y}_blockage {layer_options} \"{llx} {lly} {urx} {ury}\"".format(
x = bump.x,
y = bump.y,
layer_options="-layers {{{l}}} -rects".format(l=block_layer) if(self.version() >= self.version_number("181")) else "-cut_layers {{{l}}} -area".format(l=block_layer),
llx = "[get_db bump:Bump_{x}.{y} .bbox.ll.x]".format(x=bump.x, y=bump.y),
lly = "[get_db bump:Bump_{x}.{y} .bbox.ll.y]".format(x=bump.x, y=bump.y),
Expand Down

0 comments on commit 7b58f1b

Please sign in to comment.