Hello!
I faced with issue: if I have upper case in path to file in XSPICE digital source, ngspice doesn't read the
the file, for example: /home/george/MDPSBLib/combinational_logic_test.txt
and I got the message:
If I place file in /home/george, it reads great. I think the issue is in upper case, because in error message it make all case lower.
Thank you in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
l agree that it is a bug, similar to the logged #290 and #424. As more syntax was added the forcing of consistent case and stripping of quotes and white space became too aggressive. My guess is that it should be moved to the sub-parsers for different device lines, where there is more context. But a fix would be long and complex, with little reward for the developer and a very high potential for new, subtler bugs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I faced with issue: if I have upper case in path to file in XSPICE digital source, ngspice doesn't read the
the file, for example: /home/george/MDPSBLib/combinational_logic_test.txt
and I got the message:
If I place file in /home/george, it reads great. I think the issue is in upper case, because in error message it make all case lower.
Thank you in advance!
cd /home/george
ln -s ./MDPSBLib mdpsblib
???
Yes, but it is a workaround that sometimes is not plausible to use...so this behaviour could be considered as a bug, no?
l agree that it is a bug, similar to the logged #290 and #424. As more syntax was added the forcing of consistent case and stripping of quotes and white space became too aggressive. My guess is that it should be moved to the sub-parsers for different device lines, where there is more context. But a fix would be long and complex, with little reward for the developer and a very high potential for new, subtler bugs.
Hello, got it, thank you for clarification
Please see commit https://sourceforge.net/p/ngspice/ngspice/ci/89d35fb34b7d49187037edeb8d99f9fb4aa23be7/
So try compiling ngspice-42+ from pre-master-43 git branch or (if you are using MS Windows) https://ngspice.sourceforge.io/experimental/ngspice-42plus-pre-master-43.7z
just tested, all works, thank you!