add compatibility mode eg for EAGLE
clarify mode a for 'whole netlist' and ll for 'all'
This commit is contained in:
parent
bd28e377c7
commit
e0b9dc58b3
|
|
@ -548,6 +548,10 @@ static void new_compat_mode(void)
|
||||||
newcompat.ki = TRUE;
|
newcompat.ki = TRUE;
|
||||||
if (strstr(behaviour, "a"))
|
if (strstr(behaviour, "a"))
|
||||||
newcompat.a = TRUE;
|
newcompat.a = TRUE;
|
||||||
|
if (strstr(behaviour, "ll"))
|
||||||
|
newcompat.ll = TRUE;
|
||||||
|
if (strstr(behaviour, "eg"))
|
||||||
|
newcompat.eg = TRUE;
|
||||||
if (strstr(behaviour, "spe")) {
|
if (strstr(behaviour, "spe")) {
|
||||||
newcompat.spe = TRUE;
|
newcompat.spe = TRUE;
|
||||||
newcompat.ps = newcompat.lt = newcompat.ki = newcompat.a = FALSE;
|
newcompat.ps = newcompat.lt = newcompat.ki = newcompat.a = FALSE;
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,15 @@
|
||||||
|
|
||||||
struct compat
|
struct compat
|
||||||
{
|
{
|
||||||
bool hs;
|
bool hs; /* HSPICE */
|
||||||
bool s3;
|
bool s3; /* spice3 */
|
||||||
bool all;
|
bool ll; /* all */
|
||||||
bool ps;
|
bool ps; /* PSPICE */
|
||||||
bool lt;
|
bool lt; /* LTSPICE */
|
||||||
bool ki;
|
bool ki; /* KiCad */
|
||||||
bool a;
|
bool a; /* whole netlist */
|
||||||
bool spe;
|
bool spe; /* spectre */
|
||||||
|
bool eg; /* EAGLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct compat newcompat;
|
extern struct compat newcompat;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue