smarty wrote on Jun 3rd, 2007, 6:52am: when I am simulating the circuit, I get an error that the line which is reading are in spice format, use simulator lang=spice to read this. But if I add the above line at the top of this package file. it still do not simulate.
Ken's right, you need to tell us what the line is that you're using to import the file. My guess would be that this line -- which is in the netlist -- has bad syntax, maybe it's in spice format but the rest of the netlist is in spectre format. There might also be something odd about the package file file name, eg, I think if a file extension is .scs, spectre thinks it's in spectre format, whereas if it's anything (?) else, spectre assumes it's in spice format until you tell it otherwise.