Thank you for sending the original definition of the transformer subcircuit.
In Xyce the “K” devices are used to link up individual inductors into a transformer such as:
L1 2 0 1mH
L2 3 0 1mH
K1 L1 L2 0.75
In the Specter sample you sent, there are “K” devices, but no reference to the individual inductors. Thus, it’s not clear what the sub parts are suppose to be for this transformer. The individual inductance is unknown but it would look something like this in Xyce:
L1 p c xx
L2 c n xx
L3 d 0 xx
K1 L3 L11.0
K2 L3 L2 1.0
The Spectre documentation may provide more information on what the syntax of the “K” line means here. Specifically what “transformer” references (like a model card) and what “n1” is (coupling coefficient?, number of turns? Or inductor inductance?)
Thanks,
Rich Schiek
From: xyce-...@googlegroups.com <xyce-...@googlegroups.com> on behalf of 何不风起 <fdan...@gmail.com>
Date: Wednesday, April 24, 2024 at 4:37 AM
To: xyce-users <xyce-...@googlegroups.com>
Subject: [EXTERNAL] [xyce-users] Could not resolve unknown device transformer, model not found in scope
Some people who received this message don't often get email from fdan...@gmail.com. Learn why this is important
I am using XDM and Xyce to process the ACCIA_A.scs netlist written by spectre using the command xdm_bdl -s spectre -d out -o xyce --auto ACCIA_A.scs. The error reported is: (Exception: Line(s):[1786]. Could not resolve unknown device transformer, model not found in scope) should be written differently in Xyce than in spectre. Can you please advise me on what the name of (transformer) should be in Xyce? Thank you!
--
You received this message because you are subscribed to the Google Groups "xyce-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xyce-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xyce-users/ff659423-94da-4a51-b522-d1d696fc817en%40googlegroups.com.
.sub ideal_balun d c p n
L1 d 0 1mH
L2 p c 1mH
L3 c n 1mH
K1 L1 L2 1.0
K2 L1 L3 1.0
.ends
but that's a guess on the actual inductance of the individual inductors.
Good luck,
Rich