From fb091fa03f3646b0f90639a0798b711ca400941d Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 30 Nov 2022 20:25:58 -0500 Subject: [PATCH] Revised the string array for labels during output of a .mag file from 256 to 2048. The latter matches the maximum array used for DEF file labels, although allocation is probably preferable. --- database/DBio.c | 2 +- doc/html/lef.html | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/database/DBio.c b/database/DBio.c index 07e3db59..41f88e5e 100644 --- a/database/DBio.c +++ b/database/DBio.c @@ -3060,7 +3060,7 @@ DBCellWriteFile(cellDef, f) TileTypeBitMask typeMask, *sMask; int reducer; char *estring; - char lstring[256]; + char lstring[2048]; char *propvalue; bool propfound; CellUse **useList; diff --git a/doc/html/lef.html b/doc/html/lef.html index 52b1f31d..504d9f2f 100644 --- a/doc/html/lef.html +++ b/doc/html/lef.html @@ -171,7 +171,14 @@ LEF-format input and output the LEF file macros will be used to annotate the existing layout. This includes setting pin properties (see above), extending the area of labels to cover an entire port, and setting a bounding - box on the cell corresponding to the LEF origin and size. + box on the cell corresponding to the LEF origin and size.

+ + Note that lef write -hide will generate only the minimum + amount of obstruction bounding any non-pin geometry inside a + layout. To enforce a larger obstruction area, the property + "OBS_BBOX" can be created in the cell, a string with + four values for the lower left and upper right corners of the + bounding box, in magic internal database units.

Implementation Notes: