Thursday, April 17, 2014

cadence spectre error (VACOMP-1008)

Debian and Cadence, it never stops. This was another one of those "huh?" errors that showed up after I added a single model. The model has analog VHDL in it. As usual, spectre failures are just symptomatic of some other issue. The first issue was that mpstat was missing, which I fixed with the systat package:
apt-get install systat
The next issue was something different:
/bin/sh: Illegal option -h
The issue here was the /bin/sh is a link to /bin/dash in debian. I changed the link to /bin/bash. Once that was resolved, I then had the next issue related to features.h:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory
I solved this by:
sudo apt-get install libc6-dev-i386
This was followed by the inability to find ctri.o, which is solved by linking:
sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64
because LD_LIBRARY_PATH has /usr/lib64 in it.

And suddenly, 14nm is simulating!