From bdb8a7bcc223626929400415e8f97e11794fca16 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Mon, 8 Jul 2019 21:51:59 +0200 Subject: [PATCH] WIP: reverted modifications on SPICE reader. --- src/db/db/dbNetlistSpiceReader.cc | 4 ++-- testdata/lvs/vexriscv.lvs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/db/db/dbNetlistSpiceReader.cc b/src/db/db/dbNetlistSpiceReader.cc index ce72c7c9d..b6f6f5c57 100644 --- a/src/db/db/dbNetlistSpiceReader.cc +++ b/src/db/db/dbNetlistSpiceReader.cc @@ -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); diff --git a/testdata/lvs/vexriscv.lvs b/testdata/lvs/vexriscv.lvs index be68c6c96..79d4768fe 100644 --- a/testdata/lvs/vexriscv.lvs +++ b/testdata/lvs/vexriscv.lvs @@ -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")