Skip to content

Commit

Permalink
flipping the cell so pmos is on top
Browse files Browse the repository at this point in the history
  • Loading branch information
nbingham1 committed Apr 18, 2024
1 parent 3ae92fe commit 3e668ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deps/ruler
Submodule ruler updated 1 files
+10 −2 ruler/ActConfig.cpp
4 changes: 2 additions & 2 deletions floret/Circuit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ int Circuit::pinHeight(Index p) const {
}

void Circuit::draw(Layout &dst) {
vec2i dir(1,1);
vec2i dir(1,-1);
dst.name = name;

dst.nets.reserve(nets.size());
Expand Down Expand Up @@ -565,7 +565,7 @@ void Circuit::draw(Layout &dst) {
}
}

dst.push(tech.wires[pinLevel], Rect(pin.outNet, vec2i(pin.pos, bottom), vec2i(pin.pos+width, top)));
dst.push(tech.wires[pinLevel], Rect(pin.outNet, vec2i(pin.pos, bottom)*dir, vec2i(pin.pos+width, top)*dir));
}
}

Expand Down

0 comments on commit 3e668ab

Please sign in to comment.