Skip to content

klayout fails to detect format of defok file written by OpenRoad #2300

@stefanottili

Description

@stefanottili

klayout's automatic format detection fails on .defok file written by OpenROAD.
It does detect the format for the input file. The first 261 lines of both files are identical.
https://github.com/The-OpenROAD-Project/OpenROAD/tree/master/src/tap/test

klayout OpenROAD/src/tap/test/gf180/aes.def
klayout OpenROAD/src/tap/test/aes_gf180.defok
ERROR: Stream has unknown format: OpenROAD/src/tap/test/aes_gf180.defok
diff OpenROAD/src/tap/test/gf180/aes.def OpenROAD/src/tap/test/aes_gf180.defok | more
261c261,4403
< COMPONENTS 15174 ;
---
> COMPONENTS 19316 ;
VERSION 5.8 ;
DIVIDERCHAR "/" ;
BUSBITCHARS "[]" ;
DESIGN aes_cipher_top ;
UNITS DISTANCE MICRONS 2000 ;
DIEAREA ( 0 0 ) ( 2479910 2479910 ) ;
ROW ROW_0 GF018hv5v_green_sc9 4480 10080 N DO 2206 BY 1 STEP 1120 0 ;
ROW ROW_1 GF018hv5v_green_sc9 4480 20160 FS DO 2206 BY 1 STEP 1120 0 ;
...

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions