Corrected an issue in ext2spice in which devices extracted as
ideal, unmodeled capacitors or resistors are missing a space between the 2nd terminal and the device value in the output netlist. This affects the ability to produce correct output for, for example, a metal fingered capacitor using the "device" property to generate an ideal capacitor in the netlist.
This commit is contained in:
parent
04e91d640d
commit
fee4b887c0
|
|
@ -3140,6 +3140,7 @@ spcdevVisit(
|
||||||
|
|
||||||
if (!has_model)
|
if (!has_model)
|
||||||
{
|
{
|
||||||
|
fprintf(esSpiceF, " ");
|
||||||
esSIvalue(esSpiceF, 1.0E-15 * (double)sdM * (double)dev->dev_cap);
|
esSIvalue(esSpiceF, 1.0E-15 * (double)sdM * (double)dev->dev_cap);
|
||||||
spcWriteParams(dev, hierName, scale, l, w, sdM, FALSE);
|
spcWriteParams(dev, hierName, scale, l, w, sdM, FALSE);
|
||||||
}
|
}
|
||||||
|
|
@ -3186,6 +3187,7 @@ spcdevVisit(
|
||||||
|
|
||||||
if (!has_model)
|
if (!has_model)
|
||||||
{
|
{
|
||||||
|
fprintf(esSpiceF, " ");
|
||||||
esSIvalue(esSpiceF, 1.0E-15 * (double)sdM * (double)dev->dev_cap);
|
esSIvalue(esSpiceF, 1.0E-15 * (double)sdM * (double)dev->dev_cap);
|
||||||
spcWriteParams(dev, hierName, scale, l, w, sdM, FALSE);
|
spcWriteParams(dev, hierName, scale, l, w, sdM, FALSE);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue