Hello everyone,
I've just integrated analog macro (OpAmp) into caravel (user_project_wrapper), providing GDS, LEF, SPICE (generated from xschem, copied to spi/lvs subdirectory), Verilog stub. Everything is fine while hardening user_project_wrapper (= flow is successfull, including LVS) and resulting GDS looks as expected. However, during precheck LVS is failing.
According to "lvs.report", everything seems to be ok (screenshot included).
Cell pin lists are equivalent.
Device classes user_project_wrapper and user_project_wrapper are equivalent.
"lvs.log" states that:
circuit opamp_cascode contains no devices.
and there's a warning:
Warning: device level LVS may be incomplete due to 1 unflattened cell(s)
However, everything seems to be totally fine, because:
Circuits match uniquely.
On the other hand, "LVS_check.log" states that, for analog macro:
Circuit 1 contains 98 devices, Circuit 2 contains 98 devices.
Circuit 1 contains 4605 nets, Circuit 2 contains 6017 nets. *** MISMATCH ***
Final result:
Top level cell failed pin matching.
In "soft.report", I see some mismatches (example screenshot included).