On Thu, Dec 19, 2024 at 09:00 PM, Mirza wrote:
I got a .CKT file and .lib file of photodiode and transimpedance amplifier.
I know how to make spice model from these files.
However, I want to separate transimpedance amplifier part from the .CKT file or .lib file.
Is it possible to separate?
It's impossible to say anything about your files or models, without seeing them.
But I will say that you probably can separate the photodiode part of the model from the amplifier part of the model. Usually they can easily be separated.
By the way, filename extensions do not make any difference. Maybe they mattered if they were made for a different simulator, but LTspice doesn't care whether it is .CKT or .LIB or .MOD or .Nonsense.
The lib file has many raw data which are unknown to me.
That is puzzling and I don't know what you mean. Is the model encrypted? If it is, then much of it would look like confusing data. It is usually easy to tell when a model is encrypted by looking for the telltale identifiers. Let's assume that it is not.
Perhaps the model uses tables, which could be extensive.
I am confused that you say you know how to make a SPICE model from those files, yet some of their contents are unknown. That doesn't make much sense.
Andy