Dear LTSPICE-Team,
I am using two different components in my circuit. One Buck-Regulator and one linear regulator (LDO). In the two subcircuit-files of the two components are further local subcircuits defined which have the same name. Therefore LTSPICE throws the error message. LTSPICE XVII throwed no error message. When I change the name of one local subcircuit the error is gone. Below I have tried to visualise the situation. The behaviour of LTSPICE is very confusing for me. I would expect, that the subcircuit 'LOCAL_FUNKTION' is only valid in the scope of the respective component file.
SUBCKT BUCK_REGULATOR and SUBCKT LDO_REGULATOR should be globally defined while SUBCKT LOCAL_FUNCTION should only be valid in a local scope. Is it possible to change the LTSPICE-behaviour accordingly?
My example:
File 1:
.SUBCKT BUCK_REGULATOR...
...
.SUBCKT LOCAL_FUNCTION
...
end file 1
File 2:
.SUBCKT LDO_REGULATOR...
...
.SUBCKT LOCAL_FUNCTION
...
end file 2
Best regards, Thomas