Stefan Schippers
08/23/2022, 11:03 PMlisting logical expand > flat_list
this will create a flat_list
file in the ~/.xschem/simulations
directory (or any other directory where your simulations are running).
The '`Warning: output of command 'listing' will be truncated`' message is not an issue for our purposes.
You can then get the exact number of MOS transistors in your circuit by doing in a bash shell:
grep ' m\.' flat_list | wc -l