my desperate attempt to simulate a circuit led me here.
I have a low noise amplifier which has a HEMT as its transistor. (ATF38143). I have been trying to create a component in LT Spice and came across this website. The page linked here is a .cir file for ATF34143 and it was the closest HEMT I could find.
I copied and pasted the script in a text editor and saved it in the .cir format. Then, I opened it with LT Spice, highlighted the name of the HEMT in the first line of the .cir file to create a new component.
Unfortunately, when I attempt to simulate the circuit, it results in an error. I have tried the same simulation without the user defined HEMT and the result of the simulation appeared reasonable.
I have also tried the .cir file of a different transistor from the same website (linked here) and went through the exact same steps to create a component corresponding to the .cir file. It worked smoothly.
Could someone take a look at the content of the cir file for the ATF34143 transistor shown on the website and point out what's wrong with it? Given that I was able to create a new component with a different .cir file, I am certain what's in the .cir file for ATF34143 is wrong.
Shown below is what the website says the .cir file should have. (It's a bit unclear which parts should be in the .cir file given that there are two instances of ".SUBCKT" and ".ENDS")