lef: Fix MANUFACTURINGGRID order
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
c4ef465c41
commit
9635cc3311
|
@ -481,7 +481,13 @@ namespace {
|
||||||
);
|
);
|
||||||
if ( status != 0 ) return driver->checkStatus(status);
|
if ( status != 0 ) return driver->checkStatus(status);
|
||||||
|
|
||||||
return driver->checkStatus ( lefwEndUnits() );
|
status = lefwEndUnits();
|
||||||
|
|
||||||
|
status = lefwManufacturingGrid ( LefDriver::toLefUnits(DbU::fromGrid(1.0)) );
|
||||||
|
|
||||||
|
if ( status != 0 ) return driver->checkStatus(status);
|
||||||
|
|
||||||
|
return driver->checkStatus ( status );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -566,14 +572,7 @@ namespace {
|
||||||
|
|
||||||
int LefDriver::_manufacturingGridCbk ( lefwCallbackType_e, lefiUserData udata )
|
int LefDriver::_manufacturingGridCbk ( lefwCallbackType_e, lefiUserData udata )
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
// The driver puts it before UNITS, which seems to displease Cadence Encounter.
|
|
||||||
// So, as long as it doesn't prevent Encounter to works, disable it.
|
|
||||||
LefDriver* driver = (LefDriver*)udata;
|
|
||||||
return driver->checkStatus ( lefwManufacturingGrid ( LefDriver::toLefUnits(DbU::fromGrid(1.0)) ) );
|
|
||||||
#else
|
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue