<@U016HSAA3RQ> <@U017X0NM2E7> <@U016EM8L91B> Sorry...
# caravel
h
@jeffdi @Mitch Bailey @Tim Edwards Sorry for interrupting your Sunday, but I need urgent help! I am failing the “consistency” check in mpw-precheck for an analog project using caravan, and I have no idea what it does exactly, nor how to fix it. I can’t find a log file or anything that gives me an idea. Please help, TO is scheduled tomorrow
l
Hello Harald, from the source code of the check here (https://github.com/efabless/mpw_precheck/tree/main/checks/consistency_check) I could deduce a few things that may help you: The descriotion of the check is: "Runs consistency checks on the top and the user structural netlists." It seems that there are only checks for the user netlist by default, as the checks for the top are disabled:
Copy code
user_module_checks = [NetlistChecks.ports, NetlistChecks.complexity, NetlistChecks.modeling, NetlistChecks.layout]
Since your project is analog the
NetlistChecks.power
are not used. NetlistChecks.ports: Compares the ports of the golden wrapper with the ports of the user netlist. NetlistChecks.complexity: Checks that the number of instances in the netlist is greater than a minimum number of instances NetlistChecks.modeling: Checks whether the netlist is structural, fails on behavioral NetlistChecks.layout: Check whether the module hierarchy of the layout is the same as in the netlist The structural netlist can be either verilog or spice. I can't really give you more info and I'm not sure if these are all the checks, but it might give you some pointers as to what might be wrong 😃
m
@Leo Moser Thanks for the analysis. @Harald Pretl Do you have a top level spice netlist
user_analog_project_wrapper.spice
? Can you copy that to the
netgen
directory?
h
@Leo Moser Thanks for looking into this! @Mitch Bailey Thanks, THAT FIXED IT 🙂 🙂 🙂 🎉👏 I totally overlooked it, that I need to put the SPICE netlist there as well. I thought that having it in the
xschem
subdir would suffice. BTW, the Python script crashes on comments in the middle of the SPICE netlist. After removing all comment lines, MPW-precheck is PASSING!
🎉 2
m
@Harald Pretl glad it worked. Can you post a sample of the comments that caused the python script to crash?
h
This SPICE caused the crash. After removing all comment lines, it worked.
👍 1
t
(Please note that we will never bump a customer from a shuttle run due to issues with our own software.)