syntax error while importing Cadence tech file

Hi Matthias,

When I do “File -> Import Cadence Tech File” the tool generates a syntax error. I’ve included a screenshot. I’m trying to read the 12LP_13M_3Mx_2Cx_4Kx_2Hx_2Gx_LB_84cpp_tech.lef file using the procedure specified in the OpenRoad documentation. This techfile can be read into Innovus without any problem.

Thanks!

Comments

  • I think I'd begin (presuming this is an ASCII techfile)
    with finding and inspecting the flagged line for odd
    qualities that the import might choke on.

    For example Brand X is prone to be verbose and long-
    winded, and the line might exceed a baked in import
    line length limit like if is the sought "]" there, but line is
    133 and not <=132 char, or whatever). Or maybe some
    clever PDK developer found a continuation character
    that the import script didn't know about.

    Expect the problem can be "fixed" at the source, if it
    was a legit techfile that worked to begin with.

  • Best is, you start with an exported ASCII techfile.

    I don't know exactly what you are trying to import. This appears to be something binary or maybe it is a Skill-enhanced techfile.

    Matthias

  • Thanks for the reply!

    The LEF techfile I'm trying to read is indeed ASCII. Here's an obfuscated excerpt which shows line 865:

    861 PROPERTY LEF89_SPACINGTABLE "
    862 SPACINGTABLE
    863 LAYER A1
    864 CENTERTOCENTER B TO YQWE BRTY TO YQWE BQWE TO Y BQWE TO YRTY BQWE TO YQWE
    865 CENTERANDEDGE B TO Y B TO YRTY BRTY TO Y BRTY TO YRTY
    866 PRL 0.123 MAXXY B TO YQWE 0.45 BQWE TO Y 0.67
    867 CUTCLASS B BRTY BQWE
    868 Y 0.789 0.012 0.889 0.012 0.345 0.345
    869 YRTY 0.749 0.012 0.709 0.012 0.698 0.678
    870 YQWE 0.395 0.345 0.678 0.608 0.678 0.978 ; " ;

    I tried shortening lines 864 and 865, but the syntax error remains. My knowledge of DEF syntax is admittedly limited, but I don't see any obvious problems with the line in question (or the one before it). It looks very similar to other SPACINGTABLES defined elsewhere in the file.

    Any ideas?

  • This feature reads Virtuoso techfiles, not technology LEF files.

Sign In or Register to comment.