I am testing the encyption feature of the Pspice model editor with a simple subckt model. I put the non-encrypted model file in one directory, and the encrypted model file in the other. Both have same file name and subckt name. Then I made a very simple circuit to test it. Since the two model files are in different paths, when I run simulation, I only need to change the path, everything else in the test circuit remains the same.
The non-encrypted model works fine with a nice plot. When I change the path to the encrypted model, the simulation stopped with an error:
ERROR(ORPSIM-16152): Invalid number.
Thanks in advance.
P.S. The model files have .spi suffix. I used .include in the test circuit.
There is a known issue if there is no new line in between .model and .param.
Please make sure you have picked the latest software update ISR on the release use are using. Recommended release is 16.6 S006
In reply to paragc:
Thanks a lot.
My version is 16.5. When you say new line between .model and .param, does it mean as long as they are two seperate lines, it should be fine?
My model is constructed this way:
.SUBCKT myfet d g s
.model mymos nmos