3 Replies Latest reply on May 23, 2018 7:40 AM by weston_beal

    Encrypted spice model

    sms

      I have an encrypted model of an LED in .sp format. I tried to assign it but it gives an error that "The selected library is unusable. Please select a different library". Does anyone have an idea how it can be assigned in Hyperlynx?

       

      Regards

      Sarmad

        • 1. Re: Encrypted spice model
          weston_beal

          HyperLynx SI needs to be able to read the .subckt line in the SPICE file in order to provide connection nodes in the GUI. If the entire model is encrypted, then HyperLynx can't read it. The way around this is to instantiate the encrypted subcircuit inside another, plain-text subcircuit. Then provide the plain-text subcircuit for HyperLynx to read.

           

          Regards,

          Weston

          • 2. Re: Encrypted spice model
            sms

            I have tried by defining a new sub circuit and copying the encrypted hex data inside that. The error is gone, and I can do model assignment but it generates multiple errors when simulated like: "Unknown parameter", "Line not consistent with language syntax" and so on. I have also tried instantiating the encrypted subcircuit inside another (but not sure if I am doing it correctly or not). What I understand from this is that Hyperlynx still seems to be unable to decrypt and read the SPICE file.

            • 3. Re: Encrypted spice model
              weston_beal

              If the model is encrypted for HSPICE then you must have HSPICE installed and licensed to use that model. Since the goal of encryption is obscuring data, it must be tightly controlled.

              This article on Support Center gives more details.

              https://support.mentor.com/knowledge-base/MG48329