Removed probe-related stuff from NETLIST_EXPORTER_PSPICE

This commit is contained in:
Maciej Suminski 2016-08-11 14:41:20 +02:00
parent 50977be7b1
commit 68e3daec6e
2 changed files with 0 additions and 28 deletions

View File

@ -61,7 +61,6 @@ bool NETLIST_EXPORTER_PSPICE::Format( OUTPUTFORMATTER* formatter, int aCtl )
formatter->Print( 0, ".title KiCad schematic\n" );
m_probes.clear();
m_netMap.clear();
// Ground net has to be always assigned to node 0
@ -186,26 +185,6 @@ bool NETLIST_EXPORTER_PSPICE::Format( OUTPUTFORMATTER* formatter, int aCtl )
}
}
// TODO remove?
#if 0
if(CompValue == wxT("SPICE_PROBE"))
{
NETLIST_OBJECT* pin = m_SortedComponentPinList[0];
//printf("Probe net: %s\n", (const char*) pin->GetNetName().c_str() );
m_probes.push_back(pin->GetNetName());
continue;
}
//Conditionally add Prefix only for devices that begin with U or IC:
if( aUsePrefix )
{
//if( RefName.StartsWith( wxT( "U" ) ) || RefName.StartsWith( wxT( "IC" ) ) )
// RefName = wxT( "X" ) + RefName;
}
#endif
int activePinIndex = 0;
formatter->Print( 0, "%s%s ", (const char*) primType.c_str(), (const char*) RefName.c_str() );

View File

@ -44,7 +44,6 @@ public:
}
typedef std::map<wxString, int> NET_INDEX_MAP;
typedef std::vector<wxString> PROBE_LIST;
/**
* Function WriteNetlist
@ -59,11 +58,6 @@ public:
return m_netMap;
}
const PROBE_LIST& GetProbeList() const
{
return m_probes;
}
static const std::vector<wxString>& GetSpiceFields()
{
return m_spiceFields;
@ -73,7 +67,6 @@ public:
private:
NET_INDEX_MAP m_netMap;
PROBE_LIST m_probes;
SEARCH_STACK* m_paths;
// Fields that are used during netlist export & simulation