WIP: reverted modifications on SPICE reader.

This commit is contained in:
Matthias Koefferlein 2019-07-08 21:51:59 +02:00
parent 9625caea65
commit bdb8a7bcc2
2 changed files with 4 additions and 4 deletions

View File

@ -231,7 +231,7 @@ void NetlistSpiceReader::finish ()
// purge nets with single connections (this way unconnected pins can be realized)
if (mp_netlist) {
// @@@ mp_netlist->purge_nets ();
mp_netlist->purge_nets ();
}
mp_stream.reset (0);
@ -611,7 +611,7 @@ std::string NetlistSpiceReader::read_name (tl::Extractor &ex)
{
// TODO: allow configuring Spice reader as case sensitive?
// this is easy to do: just avoid to_upper here:
#if 0 // @@@
#if 1
return tl::to_upper_case (read_name_with_case (ex));
#else
return read_name_with_case (ex);

View File

@ -87,8 +87,8 @@ connect_implicit("VSS")
netlist.flatten_circuit("*_{x0,x1,x2,x4}")
same_device_classes("PMOS", "tp")
same_device_classes("NMOS", "tn")
same_device_classes("PMOS", "TP")
same_device_classes("NMOS", "TN")
# Ignore all caps from the schematic
same_device_classes(nil, "CAP")