Skip to content

Klayout fails when parsing LEF with VIA statements that contain RESISTANCE statements #1214

Description

@antonblanchard

The GF180 tech LEF has RESISTANCE statements within the VIA statements. A quick look at the LEF/DEF spec seems to confirm this is valid. Klayout has issues reading them:

Expected token: END (line=342, cell=, file=merged.nom.lef)

Attached is a test case: lef-via-resistance.tar.gz

Failing LEF:

# cp merged.nom.lef.orig merged.nom.lef

Modified LEF without RESISTANCE statements:

# cp merged.nom.lef.mod merged.nom.lef

Metadata

Metadata

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions