New feature CDL netlist export

-introduced new parameter for cdl-type netlist export to Component::spice_netlist
 derivatives under spicecomponents/

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
This commit is contained in:
ThomasZecha 2024-12-16 12:50:47 +01:00
parent 80d4a57532
commit 47af743871
112 changed files with 112 additions and 112 deletions

View File

@ -186,7 +186,7 @@ QString BJT_SPICE::netlist()
return QString();
}
QString BJT_SPICE::spice_netlist(bool)
QString BJT_SPICE::spice_netlist(bool, bool)
{
QString ltr =getProperty("Letter")->Value;
QString s = spicecompat::check_refdes(Name,ltr);

View File

@ -36,7 +36,7 @@ public:
protected:
void createSymbol();
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // NPN_SPICE_H

View File

@ -109,7 +109,7 @@ QString C_SPICE::netlist()
return QString();
}
QString C_SPICE::spice_netlist(bool)
QString C_SPICE::spice_netlist(bool, bool)
{
QString ltr = getProperty("Letter")->Value;
QString s = spicecompat::check_refdes(Name,ltr);

View File

@ -33,7 +33,7 @@ public:
protected:
void createSymbol();
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // C_SPICE_H

View File

@ -114,7 +114,7 @@ QString DIODE_SPICE::netlist()
return QString();
}
QString DIODE_SPICE::spice_netlist(bool)
QString DIODE_SPICE::spice_netlist(bool, bool)
{
QString ltr = getProperty("Letter")->Value;
QString s = spicecompat::check_refdes(Name,ltr);

View File

@ -33,7 +33,7 @@ public:
protected:
void createSymbol();
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // DIODE_SPICE_H

View File

@ -100,7 +100,7 @@ QString Icouple::netlist()
return QString();
}
QString Icouple::spice_netlist(bool)
QString Icouple::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // Icouple

View File

@ -75,7 +75,7 @@ QString K_SPICE::netlist()
return QString();
}
QString K_SPICE::spice_netlist(bool)
QString K_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // K_SPICE_H

View File

@ -88,7 +88,7 @@ QString LTL_SPICE::netlist()
return QString();
}
QString LTL_SPICE::spice_netlist(bool)
QString LTL_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -29,7 +29,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // LTL_SPICE_H

View File

@ -94,7 +94,7 @@ QString LTRA_SPICE::netlist()
return QString();
}
QString LTRA_SPICE::spice_netlist(bool)
QString LTRA_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -29,7 +29,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // LTRA_SPICE_H

View File

@ -83,7 +83,7 @@ QString L_SPICE::netlist()
return QString();
}
QString L_SPICE::spice_netlist(bool)
QString L_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // L_SPICE_H

View File

@ -86,7 +86,7 @@ QString MESFET_SPICE::netlist()
return QString();
}
QString MESFET_SPICE::spice_netlist(bool)
QString MESFET_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // MESFET_SPICE_H

View File

@ -225,7 +225,7 @@ void MOS_SPICE::createSymbol()
x2 = 4; y2 = 30;
}
QString MOS_SPICE::spice_netlist(bool)
QString MOS_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,Props.at(0)->Value);
for (Port *p1 : Ports) {

View File

@ -38,7 +38,7 @@ public:
protected:
void createSymbol();
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // MOS_SPICE_H

View File

@ -93,7 +93,7 @@ QString NJF_SPICE::netlist()
return QString();
}
QString NJF_SPICE::spice_netlist(bool)
QString NJF_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // NJF_SPICE_H

View File

@ -102,7 +102,7 @@ QString NMOS_SPICE::netlist()
return QString();
}
QString NMOS_SPICE::spice_netlist(bool)
QString NMOS_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // NMOS_SPICE_H

View File

@ -94,7 +94,7 @@ QString NPN_SPICE::netlist()
return QString();
}
QString NPN_SPICE::spice_netlist(bool)
QString NPN_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // NPN_SPICE_H

View File

@ -93,7 +93,7 @@ QString PJF_SPICE::netlist()
return QString();
}
QString PJF_SPICE::spice_netlist(bool)
QString PJF_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // PJF_SPICE_H

View File

@ -86,7 +86,7 @@ QString PMF_MESFET_SPICE::netlist()
return QString();
}
QString PMF_MESFET_SPICE::spice_netlist(bool)
QString PMF_MESFET_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // PMF_MESFET_SPICE_H

View File

@ -102,7 +102,7 @@ QString PMOS_SPICE::netlist()
return QString();
}
QString PMOS_SPICE::spice_netlist(bool)
QString PMOS_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // PMOS_SPICE_H

View File

@ -95,7 +95,7 @@ QString PNP_SPICE::netlist()
return QString();
}
QString PNP_SPICE::spice_netlist(bool)
QString PNP_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // PNP_SPICE_H

View File

@ -113,7 +113,7 @@ QString R_SPICE::netlist()
return QString();
}
QString R_SPICE::spice_netlist(bool)
QString R_SPICE::spice_netlist(bool, bool)
{
QString ltr = getProperty("Letter")->Value;
QString s = spicecompat::check_refdes(Name,ltr);

View File

@ -33,7 +33,7 @@ public:
protected:
void createSymbol();
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // R_SPICE_H

View File

@ -77,7 +77,7 @@ Element* S4Q_I::info(QString& Name, char* &BitmapFile, bool getNewOne)
return 0;
}
QString S4Q_I::spice_netlist(bool)
QString S4Q_I::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -32,7 +32,7 @@ public:
Component* newOne();
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif

View File

@ -86,7 +86,7 @@ QString S4Q_Ieqndef::netlist()
return QString();
}
QString S4Q_Ieqndef::spice_netlist(bool)
QString S4Q_Ieqndef::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -11,7 +11,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
QString va_code();
};

View File

@ -93,7 +93,7 @@ Element* S4Q_S::info(QString& Name, char* &BitmapFile, bool getNewOne)
// return QString();
//}
QString S4Q_S::spice_netlist(bool)
QString S4Q_S::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -32,7 +32,7 @@ public:
Component* newOne();
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif

View File

@ -77,7 +77,7 @@ Element* S4Q_V::info(QString& Name, char* &BitmapFile, bool getNewOne)
return 0;
}
QString S4Q_V::spice_netlist(bool)
QString S4Q_V::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -32,7 +32,7 @@ public:
Component* newOne();
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif

View File

@ -81,7 +81,7 @@ Element* S4Q_W::info(QString& Name, char* &BitmapFile, bool getNewOne)
return 0;
}
QString S4Q_W::spice_netlist(bool)
QString S4Q_W::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -32,7 +32,7 @@ public:
Component* newOne();
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif

View File

@ -83,7 +83,7 @@ QString SDTF::netlist()
return QString();
}
QString SDTF::spice_netlist(bool)
QString SDTF::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // SDTF_H

View File

@ -92,7 +92,7 @@ QString UDRCTL_SPICE::netlist()
return QString();
}
QString UDRCTL_SPICE::spice_netlist(bool)
QString UDRCTL_SPICE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -22,7 +22,7 @@ class UDRCTL_SPICE : public Component {
protected:
// void createSymbol();
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif /* UDRCTL_SPICE_H */

View File

@ -83,7 +83,7 @@ QString XAPWL::netlist()
return QString();
}
QString XAPWL::spice_netlist(bool)
QString XAPWL::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // XAPWL_H

View File

@ -90,7 +90,7 @@ QString core::netlist()
return QString();
}
QString core::spice_netlist(bool)
QString core::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // core_H

View File

@ -82,7 +82,7 @@ QString eNL::netlist()
return QString();
}
QString eNL::spice_netlist(bool)
QString eNL::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -28,7 +28,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // ENL_H

View File

@ -81,7 +81,7 @@ QString gNL::netlist()
return QString();
}
QString gNL::spice_netlist(bool)
QString gNL::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -28,7 +28,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // GNL_H

View File

@ -89,7 +89,7 @@ QString iAmpMod::netlist()
return QString();
}
QString iAmpMod::spice_netlist(bool)
QString iAmpMod::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // IAMPMOD_H

View File

@ -90,7 +90,7 @@ QString iPWL::netlist()
return QString();
}
QString iPWL::spice_netlist(bool)
QString iPWL::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // IPWL_H

View File

@ -98,7 +98,7 @@ QString iTRNOISE::netlist()
return QString();
}
QString iTRNOISE::spice_netlist(bool)
QString iTRNOISE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // ITRNOISE_H

View File

@ -89,7 +89,7 @@ QString iSffm::netlist()
return QString();
}
QString iSffm::spice_netlist(bool)
QString iSffm::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -25,7 +25,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // ISFFM_H

View File

@ -66,7 +66,7 @@ Element* SpiceCustomSim::info(QString& Name, char* &BitmapFile, bool getNewOne)
return 0;
}
QString SpiceCustomSim::spice_netlist(bool isXyce)
QString SpiceCustomSim::spice_netlist(bool isXyce, bool)
{
QString s = "";
if (isXyce) return s;

View File

@ -29,7 +29,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif

View File

@ -61,7 +61,7 @@ Element* SpiceDisto::info(QString& Name, char* &BitmapFile, bool getNewOne)
return 0;
}
QString SpiceDisto::spice_netlist(bool isXyce)
QString SpiceDisto::spice_netlist(bool isXyce, bool)
{
QString s;
if (!isXyce) {

View File

@ -29,7 +29,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif

View File

@ -54,7 +54,7 @@ Element* SpiceFourier::info(QString& Name, char* &BitmapFile, bool getNewOne)
return 0;
}
QString SpiceFourier::spice_netlist(bool isXyce)
QString SpiceFourier::spice_netlist(bool isXyce, bool)
{
QString s;
QString f0 = spicecompat::normalize_value(Props.at(2)->Value);

View File

@ -29,7 +29,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
Qt::GlobalColor color() const override { return Qt::darkRed; }
};

View File

@ -64,7 +64,7 @@ Element* SpiceNoise::info(QString& Name, char* &BitmapFile, bool getNewOne)
return 0;
}
QString SpiceNoise::spice_netlist(bool isXyce)
QString SpiceNoise::spice_netlist(bool isXyce, bool)
{
QString s;
QString fstart = spicecompat::normalize_value(Props.at(1)->Value); // Start freq.

View File

@ -29,7 +29,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif

View File

@ -58,7 +58,7 @@ Element* SpicePZ::info(QString& Name, char* &BitmapFile, bool getNewOne)
return 0;
}
QString SpicePZ::spice_netlist(bool isXyce)
QString SpicePZ::spice_netlist(bool isXyce, bool)
{
QString s;
QString out = "spice4qucs." + Name.toLower() + ".cir.pz";

View File

@ -29,7 +29,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif

View File

@ -59,7 +59,7 @@ Element* SpiceSENS::info(QString& Name, char* &BitmapFile, bool getNewOne)
return 0;
}
QString SpiceSENS::spice_netlist(bool isXyce)
QString SpiceSENS::spice_netlist(bool isXyce, bool)
{
QString s;
s.clear();

View File

@ -29,7 +29,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif

View File

@ -59,7 +59,7 @@ Element* SpiceSENS_AC::info(QString& Name, char* &BitmapFile, bool getNewOne)
return 0;
}
QString SpiceSENS_AC::spice_netlist(bool isXyce)
QString SpiceSENS_AC::spice_netlist(bool isXyce, bool)
{
QString s;
s.clear();

View File

@ -29,7 +29,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif

View File

@ -62,7 +62,7 @@ Element* SpiceSENS_TR_Xyce::info(QString& Name, char* &BitmapFile, bool getNewOn
return 0;
}
QString SpiceSENS_TR_Xyce::spice_netlist(bool isXyce)
QString SpiceSENS_TR_Xyce::spice_netlist(bool isXyce, bool)
{
QString s;
s.clear();

View File

@ -29,7 +29,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
Qt::GlobalColor color() const override { return Qt::darkGreen; }
};

View File

@ -60,7 +60,7 @@ Element* SpiceSENS_Xyce::info(QString& Name, char* &BitmapFile, bool getNewOne)
return 0;
}
QString SpiceSENS_Xyce::spice_netlist(bool isXyce)
QString SpiceSENS_Xyce::spice_netlist(bool isXyce, bool)
{
QString s;
s.clear();

View File

@ -29,7 +29,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
Qt::GlobalColor color() const override { return Qt::darkGreen; }
};

View File

@ -57,7 +57,7 @@ Element* SpiceFFT::info(QString& Name, char* &BitmapFile, bool getNewOne)
return 0;
}
QString SpiceFFT::spice_netlist(bool isXyce)
QString SpiceFFT::spice_netlist(bool isXyce, bool)
{
Q_UNUSED(isXyce);

View File

@ -29,7 +29,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif

View File

@ -134,7 +134,7 @@ QString SpiceGeneric::netlist()
return QString();
}
QString SpiceGeneric::spice_netlist(bool)
QString SpiceGeneric::spice_netlist(bool, bool)
{
// form RefDes from unique device letter and device name
QString s = Props.at(1)->Value + Name;

View File

@ -37,7 +37,7 @@ private:
protected:
QString netlist();
void createSymbol();
QString spice_netlist(bool isXyce);
QString spice_netlist(bool isXyce, bool isCdl = false);
};

View File

@ -218,7 +218,7 @@ int SpiceLibComp::loadSymbol(const QString& DocName)
return -8; // field not closed
}
QString SpiceLibComp::spice_netlist(bool)
QString SpiceLibComp::spice_netlist(bool, bool)
{
QString s = QStringLiteral("X%1 ").arg(Name);
QString pins = getProperty("PinAssign")->Value;

View File

@ -30,7 +30,7 @@ public:
QString getSpiceLibrary();
protected:
QString spice_netlist(bool isXyce);
QString spice_netlist(bool isXyce, bool isCdl = false);
void createSymbol();
void remakeSymbol(int No, QStringList &pin_names);
int loadSymbol(const QString&);

View File

@ -67,7 +67,7 @@ QString Src_eqndef::netlist()
return QString();
}
QString Src_eqndef::spice_netlist(bool)
QString Src_eqndef::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -11,7 +11,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
QString va_code();
};

View File

@ -91,7 +91,7 @@ QString vAmpMod::netlist()
return QString();
}
QString vAmpMod::spice_netlist(bool)
QString vAmpMod::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // VAMPMOD_H

View File

@ -89,7 +89,7 @@ QString vPWL::netlist()
return QString();
}
QString vPWL::spice_netlist(bool)
QString vPWL::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // VPWL_H

View File

@ -94,7 +94,7 @@ QString vTRNOISE::netlist()
return QString();
}
QString vTRNOISE::spice_netlist(bool)
QString vTRNOISE::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // VTRNOISE_H

View File

@ -96,7 +96,7 @@ QString vTRRANDOM::netlist()
return QString();
}
QString vTRRANDOM::spice_netlist(bool)
QString vTRRANDOM::spice_netlist(bool, bool)
{
QString s = spicecompat::check_refdes(Name,SpiceModel);
for (Port *p1 : Ports) {

View File

@ -31,7 +31,7 @@ public:
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
QString netlist();
QString spice_netlist(bool isXyce = false);
QString spice_netlist(bool isXyce = false, bool isCdl = false);
};
#endif // VTRRANDOM_H

Some files were not shown because too many files have changed in this diff Show More