- bug fix on Tof netlist

(i'm not proud of this hack/fix, but it's better than nothing ;) )
This commit is contained in:
Ludovic Jacomme 2004-10-29 13:47:26 +00:00
parent 2f5a9d9587
commit 24f9663898
1 changed files with 25 additions and 4 deletions

View File

@ -814,7 +814,11 @@ static schfig_list *loc_buildplaceout( Figure, ColumnFrom, ColumnTo )
long CumulY; long CumulY;
Begin = 1; /* LUDO 29/10/2004 */
CumulY = 0;
/* ODUL */
Begin = 1;
for ( CellTo = ColumnTo->LAST_CELL; for ( CellTo = ColumnTo->LAST_CELL;
CellTo != (scpcel_list *)0; CellTo != (scpcel_list *)0;
@ -875,9 +879,18 @@ static schfig_list *loc_buildplaceout( Figure, ColumnFrom, ColumnTo )
if ( ! IsSchBoxPlaced( BoxTo ) ) if ( ! IsSchBoxPlaced( BoxTo ) )
{ {
BoxTo->Y = CumulY - BoxTo->DY; /* LUDO Bug fix 29/10/2004 */
SetSchBoxPlaced( BoxTo ); if ( Begin )
CumulY = BoxTo->Y - 1; {
CumulY = BoxTo->Y;
}
/* ODUL */
else
{
BoxTo->Y = CumulY - BoxTo->DY;
SetSchBoxPlaced( BoxTo );
CumulY = BoxTo->Y - 1;
}
} }
} }
@ -932,6 +945,10 @@ static schfig_list *loc_buildplaceout( Figure, ColumnFrom, ColumnTo )
ConTo->Y_REL = CumulY; ConTo->Y_REL = CumulY;
SetSchConPlaced(ConTo); SetSchConPlaced(ConTo);
CumulY = ConTo->Y_REL - 1; CumulY = ConTo->Y_REL - 1;
/* LUDO 29/10/2004 */
Begin = 0;
/* ODUL */
} }
} }
} }
@ -1388,6 +1405,10 @@ static schfig_list *loc_placement_initial( Figure )
} }
} }
/* LUDO 29/10/2004 */
cpt_transparence = 0;
/* ODUL */
while (cpt_transparence != Column->NUMBER_CELL) { while (cpt_transparence != Column->NUMBER_CELL) {
Column2 = Column; Column2 = Column;