Skip to content

Commit

Permalink
Fixed misaligned cells.
Browse files Browse the repository at this point in the history
    Same value used for both hpitch and vpitch and also vpitch and hpitch were wrongly swapped at one place.
  • Loading branch information
lanserge committed Feb 26, 2024
1 parent 12bdf80 commit 40eb0ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions etesian/src/EtesianEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ namespace {
, DbU::Unit vpitch
)
{
DbU::Unit tx = position.x * vpitch;
DbU::Unit ty = position.y * hpitch;
DbU::Unit tx = position.x * hpitch;
DbU::Unit ty = position.y * vpitch;

Box cellBox = model->getAbutmentBox();
Transformation::Orientation orient = Transformation::Orientation::ID;
Expand Down Expand Up @@ -694,7 +694,7 @@ namespace Etesian {
clearColoquinte();
AllianceFramework* af = AllianceFramework::get();
DbU::Unit hpitch = getSliceStep();
DbU::Unit vpitch = getSliceStep();
DbU::Unit vpitch = getSliceHeight(); //getSliceStep();
DbU::Unit sliceHeight = getSliceHeight();
bool isFlexLib = (getGauge()->getName() == "FlexLib");

Expand Down Expand Up @@ -1216,7 +1216,7 @@ namespace Etesian {
for ( Occurrence occurrence : getCell()->getTerminalNetlistInstanceOccurrences(getBlockInstance()) )
{
DbU::Unit hpitch = getSliceStep();
DbU::Unit vpitch = getSliceStep();
DbU::Unit vpitch = getSliceHeight(); //getSliceStep();
Point instancePosition;
Instance* instance = static_cast<Instance*>(occurrence.getEntity());
string instanceName = occurrence.getCompactString();
Expand Down

0 comments on commit 40eb0ff

Please sign in to comment.