The-OpenROAD-Project / asap7

BSD 3-Clause "New" or "Revised" License
97 stars 6 forks source link

Error in lib to db conversion for asap7sc6t #8

Open minhyuk-kweon opened 1 year ago

minhyuk-kweon commented 1 year ago

There are four issues for converting lib to db using libcompiler (checked with both 2022.12 and 2018.06 version). Note that all libraries are NLDM.

(1) extra '}' This error is reported in other GH issue: https://github.com/The-OpenROAD-Project/asap7-reorg/issues/11

When removing all extra '}' of SIMPLE .lib, other issues occur.

(2) Missing timing arc This issue happens for six libraries: SIMPLE(RVT, SLVT)(FF, SS, TT). The error message is as below: Cell ‘’, pin ‘Y’, There is a missing timing arc between pins ‘’ and ‘Y’ in the ‘’ cell. (LBDB-23) Specifically, NOR3xp33, NOR4x3f, NOR4xp25, NOR5xp2 cells have this error for all input pins.

(3) ccsn_template issue This issue happens for SIMPLE_RVT_FF only. The error message is as below: Cell ‘’, pin ‘Y’, The ‘css_template’ refers to a nonexistent or empty ‘lu_table_template’. (LBDB-259) There are hundreds of errors relating ccs, but the error is nonexistent or empty template.

(4) name mismatch and extra library for SIMPLE_RVT_SS asap7sc6t_SIMPLE_RVT_SS_nldm_211010.lib.gz has library named "asap7sc6t_SIMPLE_RVT_SS_nldm_210917" (line 34) and "asap7sc6t_NAND5xp2R_RVT_SS_nldm_211010" (line 53410). I guess 210917 should be changed to 211010. Also, I cannot find any reason why there is an extra library in the same file for NAND5xp2R.

Please check all issues and would be appreciated if those are fixed.