Please can you give me an advice? I have a problem with netlist encryption. In our server we used MMSIM 12.10.347 version, where I encrypt file by spectre_encrypt command. However when our customer try to simulate encrypted file using by MMSIM 11.10.214 version, they get following output report:
FATAL (SFE-79): "/home/mkovac/script_cadence/Encrypter/Encrypt_output/Invertor_ENC.scs" 31: Decryption failed. The reason could be CMI2.0 or earlier version library is loaded or invalid encrypted data.
We used only standard TSMC library.
I also introduce you here the example of source netlist code and encrypted netlist generated in our machine. It is simple PI resistive cell. They got the same already mentioned ERROR output also for this simple passive circuit. The content of original source netlist:
// Library name: Kovi
// Cell name: PassiveNetwork
// View name: schematic
subckt PassiveNetwork in out
R2 (0 out) resistor r=1K
R1 (in out) resistor r=1K
R0 (in 0) resistor r=1K
// End of subcircuit definition.
this is encrypted file by MMSIM 12.10.347 version:
//pragma protect begin_protected
//pragma protect data_method = RC5
//pragma protect data_keyowner = Cadence Design Systems.
//pragma protect data_keyname = CDS_KEY
//pragma protect data_keyversion = 2
//pragma protect data_block
//pragma protect end_protected
Some advice? Can be problem in that they dont have licence for encrypting file or there is other hidden problem? Thank you for any reply.
In reply to Kovinko:
You can pass "-key 1" to the spectre_encrypt command:
spectre_encrypt -i kovi.scs -o kovienc.scs -all -key 1
I tried this, simulating with MMSIM11.1 (an early version; later hotfixes worked fine with the file you sent), and it worked OK.
Note that it's also important that the encrypted file doesn't have any blank lines in the encrypted block - that also causes the same error message.
In reply to Andrew Beckett:
Well done. This is exactly what we need. Thanks Andrew . But for future, this new feature (in concrete command line format) should be included in Cadence Help.
Thank you again
I filed CCR 1287568 to get -key documented, with an explanation as to when it would be needed.