Skip to content

Commit

Permalink
feat(sky130): Fix SKY130 ATOLL routing DRC errors (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanku authored Feb 14, 2024
1 parent 7bb9135 commit 46cc3a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions libs/atoll/src/abs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ impl InstanceAbstract {

let bot = bounds.bot() - new_bounds.bot() * lcm_ypitch / ypitch;

for i in left..=left + bounds.width() {
for j in bot..=bot + bounds.height() {
for i in left..left + bounds.width() {
for j in bot..bot + bounds.height() {
state.layer_mut(layer)[(i as usize, j as usize)] = PointState::Routed {
net,
has_via: false,
Expand Down
6 changes: 3 additions & 3 deletions pdks/sky130pdk/src/atoll/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ impl ViaMaker<Sky130Pdk> for Sky130ViaMaker {
cell.ctx.layers.mcon.drawing.id(),
Rect::from_sides(0, 0, 170, 170),
Rect::from_sides(0, 0, 170, 170),
Rect::from_sides(-60, -45, 230, 215),
Rect::from_sides(-60, -115, 230, 285),
),
2 => (
cell.ctx.layers.via.drawing.id(),
Rect::from_sides(-125, -55, 275, 205),
Rect::from_sides(-55, -125, 205, 275),
Rect::from_sides(0, 0, 150, 150),
Rect::from_sides(-125, -55, 275, 205),
Rect::from_sides(-55, -125, 205, 275),
),
_ => todo!(),
};
Expand Down

0 comments on commit 46cc3a5

Please sign in to comment.