开云体育


Re: LTspice models do not work in Qspice

 

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
?


Re: LTspice models do not work in Qspice

 

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
?


Re: LTspice models do not work in Qspice

 

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


Re: LTspice models do not work in Qspice

 

开云体育

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


Re: LTspice models do not work in Qspice

 

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
?
?


Re: LTspice models do not work in Qspice

 

Just uploaded the .zip file containing the symbol
Suded


Re: LTspice models do not work in Qspice

 

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
?


Re: LTspice models do not work in Qspice

 

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


Re: LTspice models do not work in Qspice

 

Hi Tony,
Sorry, I will now and reupload
Suded


Re: LTspice models do not work in Qspice

 

开云体育

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


Re: LTspice models do not work in Qspice

 

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
?


Re: LTspice models do not work in Qspice

 

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


Re: LTspice models do not work in Qspice

 

开云体育

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


Re: LTspice models do not work in Qspice

 

Can I upload the .subckt file?


Re: LTspice models do not work in Qspice

 

开云体育

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


Re: LTspice models do not work in Qspice

 

开云体育

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


Re: LTspice models do not work in Qspice

 

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


Re: LTspice models do not work in Qspice

 

Sorry .subckt


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


Re: Does anyone have the model file for FinFET that will be compatible with LTspice ?

 

On Fri, Apr 18, 2025 at 02:32 AM, Say Die. wrote:
I Am trying for 20nm FinFET design and i have 45 and 180nm done but i cannot find any file for 20nm with 54 or any other level for ltspice.
One thing to keep in mind about transistor models, is that they are meant to describe the fabrication process.? They are inherently linked to only the FAB that you use.? A model for one FAB line does not work for another FAB line or from another manufacturer.? Normally, one gets the SPICE model from the manufacturer - not by finding something on the Internet!
?
When talking about (say) a 20nm process, it might be that everyone gets their chips from the same manufacturer made to the same specifications, and then there would be only one model that everyone uses for that step.? But don't count on it.? In general, you should ask the people who will make your chips, for their SPICE models.? Specify that you need LEVEL=X models (pick one from the list), or only LTspice-capable models, but they are less likely to understand LTspice than LEVEL numbers.? I would not count on models from anyone else to work for your 20nm chips.
?
Andy
?