From 30a2226dbb7913ae5f4494aa7879b6d1d1d0bf69 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 22 May 2019 16:52:34 -0400 Subject: [PATCH] Corrected a problem in CalmaWrite where a cell that was defined redundantly was flagged, and output anyway, but the cellname was not being written to the output, resulting in a bad GDS file. --- calma/CalmaWrite.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/calma/CalmaWrite.c b/calma/CalmaWrite.c index e782005d..7879ecb1 100644 --- a/calma/CalmaWrite.c +++ b/calma/CalmaWrite.c @@ -404,6 +404,8 @@ calmaDumpStructure(def, cellstart, outf, calmaDefHash, filename) { /* Structure is defined more than once */ TxError("Structure %s defined redundantly in GDS\n", strname); + /* To be considered: Should the structure be output more than once? */ + calmaOutStringRecord(CALMA_STRNAME, newnameptr, outf); } else if (!strcmp(strname, def->cd_name)) {