I confronted the error below when simulated a netlist (a SC filter)that had been proved to be all right. The error ask me to use the -E command line argument to run the cpp. But I have no ideal about the -E command. Hope someone can help me out. If it is so complicated, introduce some data that I could learn the -E command line is also useful. Thank you in advance!!
It's possible to use C preprocessor statements in a spectre netlist (type man cpp for more details). Things like:
#ifdef SOMETHINGparameters r1=1#endif#include "someFile"
If you do this, then you need to pass -E on the spectre command line to tell spectre that it needs to run through cpp first. You can also do things like "spectre -DSOMETHING" to define a macro for cpp.
For more information, look at "spectre -h" or read the spectre user guide and reference guide.