-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not run HBT example from Qucs-s using Xyce simulator #249
Comments
@rupokdas147 Could you please share the netlist please |
@KrzysztofHerman Here is the Netlist file...
.SUBCKT IHP_PDK_nonlinear_components_npn13G2 gnd c b e bn t Nx=1 .LIB /home/rf/IHP-Open-PDK/ihp-sg13g2/libs.tech/xyce/models/cornerHBT.lib hbt_typ Xnpn13G2 0 _net1 _net2 0 gnd IHP_PDK_nonlinear_components_npn13G2 Nx=1 |
This line automatically becomes ngspice. Don't know why
.SUBCKT IHP_PDK_nonlinear_components_npn13G2 gnd c b e bn t Nx=1 .LIB /home/rf/IHP-Open-PDK/ihp-sg13g2/libs.tech/xyce/models/cornerHBT.lib hbt_typ Xnpn13G2 0 _net1 _net2 0 gnd IHP_PDK_nonlinear_components_npn13G2 Nx=1 |
I changed every "ngspice" to xyce and tried to run it from terminal using "xyce [netlist]" command. Here are the errors: `***** ***** This is version Xyce Release 7.6-opensource ***** Executing netlist /home/rf/QucsWorkspace/IHP-Open-PDK-SG13G2-Examples_prj/dc_hbt_13g2.cir ***** Reading and parsing netlist... *** Xyce Abort ***MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. Then I tried run the files from "libs.tech/xyce/examples" they run smoothly without any error. |
@rupokdas147 so there is an issue with the binding to a valid model.
You could try to copy the
Validate also if you have the recent version of the PDK.
|
@KrzysztofHerman The Qucs-s working fine with Ngspice. I want to design Power Amplifier. So I need large signal analysis, which doesn't support by Ngspice. I will try the solution you given above and inform you if the Xyce is working or not in the next comment. |
The issue we are trying to solve with PR #241 is exact binding between a device symbol and model. The |
I have just added xyce support for 4 and 5 terminal devices, See last commit in PR #241. |
@KrzysztofHerman If I change "IHP_PDK_nonlinear_components_npn13G2" to "npn13G2" the netlist simulates from terminal using Xyce. `* Qucs 24.3.0 /home/rf/QucsWorkspace/IHP-Open-PDK-SG13G2-Examples_prj/dc_hbt_13g2.sch .SUBCKT IHP_PDK_nonlinear_components_npn13G2 gnd c b e bn t Nx=1 .LIB /home/rf/IHP-Open-PDK/ihp-sg13g2/libs.tech/xyce/models/cornerHBT.lib hbt_typ Xnpn13G2 0 _net1 _net2 0 gnd IHP_PDK_nonlinear_components_npn13G2 Nx=1 |
I don't know why Qucs-s adding the library name with the component name. I am actually a newbie in this sector. Removing the "IHP_PDK_nonlinear_components" from the above-highlighted line also helps to simulate the netlist in Ngspice. I have removed the exact phrase from a Ngspice generated Netlist and the netlist simulated in Ngspice smoothly. |
@rupokdas147 unfortunately this is the way you can define custom symbols in Qucs-S. You have to wrap it using |
Environment
Qucs-s 24.3.1
Xyce 7.8
Expected Behavior
The examples given in "sg13g2/libs.tech/qucs-s/exampels" does not run using Xyce.
But the examples given in "sg13g2/libs.tech/xyce/examples" run without any trouble, when I run the cir files from Terminal, and I can plot them using Gnuplot.
Can anyone help me how can I run schematics from Qucs-s using Xyce?
Actual Behavior
Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: