mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-07 03:21:20 +02:00
contacts) take default values from the DRC section. Since both are in lambda, but the DRC section uses a two-part integer and modulus representation, if default values are taken before scaling, the LEF layers may get rounded values. This has been solved by marking values with -1 to indicate that they require defaults, and then set those defaults (from scaled DRC rules) after scaling all other tech values.
26 lines
393 B
C
26 lines
393 B
C
/*
|
|
* lef.h --
|
|
*
|
|
* Contains definitions for things that are exported by the
|
|
* lef module.
|
|
*
|
|
*/
|
|
|
|
#ifndef _LEF_H
|
|
#define _LEF_H
|
|
|
|
#include "utils/magic.h"
|
|
|
|
/* Procedures for reading the technology file: */
|
|
|
|
extern void LefTechInit();
|
|
extern bool LefTechLine();
|
|
extern void LefTechScale();
|
|
extern void LefTechSetDefaults();
|
|
|
|
/* Initialization: */
|
|
|
|
extern void LefInit();
|
|
|
|
#endif /* _LEF_H */
|