Encrypt model files

I tried to encrypt subcircuit file, I put .prot and .unprot, but when I try to open this file with flag -ProtectSelections (“C:\Program Files\QSPICE\QUX.exe” -ProtectSelections path_to_file/file_name), nothing happens. If I run circuit with this file, I get error: “Warning: Included empty file”
and file remains the same. What are the right steps to encrypt particular file?
Thank you in advance.

Don’t want to use QUX.exe but QSPICE64.exe(or QSPICE80.exe).

BTW, you don’t want to encrypt a section that includes another file with .lib or .inc. What will be in the encryption is the fact it needs to be included, not the file itself.


1 Like