开云体育

LTspice models do not work in Qspice


 

Hi,
I have models (.suckt) that are working perfectly in LTspice, when I import them in Qspice they dont work
Does Qspice use a different syntax?
Regards,
Suded


 

Sorry .subckt


 

For example I have the following error:
No such subcircuit: PROP_DELAY
I have "PROP_DELAY " in the 1st line of the .subckt model


 

开云体育

On 19/04/2025 10:20, suded emmanuel via groups.io wrote:
I have models (.suckt) that are working perfectly in LTspice, when I import them in Qspice they dont work
Does Qspice use a different syntax?
Most (SPICE) simulators use the same general syntax, but all or most simulators have features that are not supported in all the others.

Some features in LTspice are proprietary and hence not available in other simulators.

Examples of uniqueness include VDMOS models and anything that uses an A-device, like UniversalOpamps or logic gates. There may also be a few functions that are not portable. However, unless you disclose which models you are referring to, it's not possible to comment further.

If you're wanting to use QSPICE, perhaps you should ask in a QSPICE group. Perhaps it has an LTspice to QSPICE converter, I don't know.

--
Regards,
Tony


 

开云体育

On 19/04/2025 10:24, suded emmanuel via groups.io wrote:
For example I have the following error:
No such subcircuit: PROP_DELAY
I have "PROP_DELAY " in the 1st line of the .subckt model
That's not very helpful unless you provide an example.

--
Regards,
Tony


 

Can I upload the .subckt file?


 

开云体育

On 19/04/2025 10:46, suded emmanuel via groups.io wrote:
Can I upload the .subckt file?
Of course. Go to Files > Temp and click on the New/Upload button.

It would also be helpful if you could also provide a schematic that (successfully) uses the .subckt, and any other files that are not provided with LTspice. Put them in a zip, and upload that.

Don't forget to send another message if/when you do that.

--
Regards,
Tony


 

The QSPICE group is currently locked. The Qorvo website has some QSPICE support resources which may provide an answer to your question.

DaveD
KC0WJN


On Sat, Apr 19, 2025 at 04:35 Tony Casey via <antoniustrevorum=[email protected]> wrote:
On 19/04/2025 10:20, suded emmanuel via wrote:
I have models (.suckt) that are working perfectly in LTspice, when I import them in Qspice they dont work
Does Qspice use a different syntax?
Most (SPICE) simulators use the same general syntax, but all or most simulators have features that are not supported in all the others.

Some features in LTspice are proprietary and hence not available in other simulators.

Examples of uniqueness include VDMOS models and anything that uses an A-device, like UniversalOpamps or logic gates. There may also be a few functions that are not portable. However, unless you disclose which models you are referring to, it's not possible to comment further.

If you're wanting to use QSPICE, perhaps you should ask in a QSPICE group. Perhaps it has an LTspice to QSPICE converter, I don't know.

--
Regards,
Tony


 

Hi Tony,
Many thanks, I've just uploaded the .ZIP file to temp:
Example Buck Boost for upload to group.zip
Please let me know if all is good
It contains the .asc file and the UCC27282 model as a .subckt
Suded
?


 

开云体育

On 19/04/2025 11:29, suded emmanuel via groups.io wrote:
Many thanks, I've just uploaded the .ZIP file to temp:
Example Buck Boost for upload to group.zip
Please let me know if all is good
It contains the .asc file and the UCC27282 model as a .subckt
UCC27282 symbol is missing. According to your schematic file, it is in your "AutoGenerated" folder. You should copy that to the schematic folder, and edit the symbol ModelFile attribute to remove the hard-coded path.

However I can see in your schematic that you have used "standard" LTspice VDMOS models. As I said previously, these are not portable.

I also don't see .subckt PROP_DELAY. Did you upload the wrong file?

--
Regards,
Tony


 

Hi Tony,
Sorry, I will now and reupload
Suded


 

Hi Tony,
"PROR_DELAY " is a line written in the model I uploaded, if you look from the 1st line you can see it, Qspice is objecting to this syntax!
Regards,
Suded


 

Hi Tony,
Sorry again Qspice objecting to the following line:
COMPHYS_BASIC_GEN
Its written in the model I uploaded
I found the symbol I will upload again
Suded
?


 

Just uploaded the .zip file containing the symbol
Suded


 

Hi Tony,
In the example I uploaded I used BSZ076N06NS3 N-ch MOSFET?
But in Qspice I used IRFR7446 mosfet which I generated the model for in Qspice that is all good, but I think the error is with regards to the UCC27282 model and not the mosfet!
Anyway the uploaded .zip file should work in LTspice, but Qspice is giving me an error:
Fatal error: No such subcircuit: COMPHYS_BASIC_GEN
"COMPHYS_BASIC_GEN" is the 4th line written in the model after ".SUBCKT" command line, could it be the format (sytntax) needs to be written differently?
The reason why I want to run the Qspice simulation to see it simulates faster than LTspice!?
Regards,
Suded
?
?


 

开云体育

On 19/04/2025 13:00, suded emmanuel via groups.io wrote:
In the example I uploaded I used BSZ076N06NS3 N-ch MOSFET?
But in Qspice I used IRFR7446 mosfet which I generated the model for in Qspice that is all good, but I think the error is with regards to the UCC27282 model and not the mosfet!
Anyway the uploaded .zip file should work in LTspice, but Qspice is giving me an error:
Fatal error: No such subcircuit: COMPHYS_BASIC_GEN
"COMPHYS_BASIC_GEN" is the 4th line written in the model after ".SUBCKT" command line, could it be the format (sytntax) needs to be written differently?
The reason why I want to run the Qspice simulation to see it simulates faster than LTspice!?
Well, we can't run it because you have not uploaded the missing/changed files.

The syntax for COMPHYS_BASIC_GEN seems normal. Many TI models use a similar methodology - they are often made using the PSpice model tool, and they normally work OK in LTspice.

The only thing I wonder is whether the PARAMS: VDD=1 VSS=0 VTHRESH=0.5 syntax is accepted in QSPICE. But since I don't use QSPICE, I couldn't test it, anyway.

Perhaps you could try changing it from:
.SUBCKT COMPHYS_BASIC_GEN INP INM HYS OUT PARAMS: VDD=1 VSS=0 VTHRESH=0.5
..
..

..to:
.SUBCKT COMPHYS_BASIC_GEN INP INM HYS OUT
.PARAM VDD 1
.PARAM VSS 0
.PARAM VTHRESH 0.5
..
..

If that works, I guess it will then throw up similar errors in turn for all the other .subckts that use the same syntax - they will need the same fix.

If that does doesn't work, I give up. I suggest you ask for help from the QSPICE forum. Similar compatibility questions have been asked there before, right from day one. You can't reasonably expect much help for QSPICE from a group "dedicated to LTspice".

--
Regards,
Tony


 

Hi Tony,
Many thanks for your reply
I will do the changes you suggested and see if it works
Thanks again
Suded


 

On Sat, Apr 19, 2025 at 04:24 AM, suded emmanuel wrote:
For example I have the following error:
No such subcircuit: PROP_DELAY
I have "PROP_DELAY " in the 1st line of the .subckt model
If you have that kind of error, it means you forgot to include the subcircuit whose name is "PROP_DELAY".? That would almost definitely be a subcircuit that you made, and that you called from your schematic, which you forgot to include in the QSPICE simulation.
?
Having "PROP_DELAY" in the 1st line of a .subckt model is meaningless.? Why not tell us EXACTLY what that line looked like?? Also, check to see how that subcircuit is imported into the simulation - or more likely, not imported into it, since that seems to be the problem.
?
On this basis, I'd say this has nothing to do with compatibility of models in QSPICE.? You simply forgot to load or include the model.
?
Andy
?


 

On Sat, Apr 19, 2025 at 06:15 AM, suded emmanuel wrote:
Sorry again Qspice objecting to the following line:
COMPHYS_BASIC_GEN
In what way is it "objecting" to that line?
?
Why do you have that line in your simulation?? Is that the name of a capacitor?? It starts with a C so it must be.? Is it a comment line that you forgot to make into a comment?
?
These snippets about errors are not very helpful without more context.
?
Andy
?


 

On Sat, Apr 19, 2025 at 05:54 AM, suded emmanuel wrote:
Sorry, I will now and reupload
That has not happened yet.
?
Did you forget to upload the correct version of your LTspice simulation, with the missing symbol?
?
Andy
?