10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Simulator Compatibility<br />

Troubleshooting the Spectre to Eldo Flow<br />

ERROR 208: In file "./t1.sp" line 5:<br />

+ OBJECT "AOP": Unrecognized character or word A<br />

In this example, Eldo considers that “Aresfoo” in line 5 is requesting an aop (opamp).<br />

• The Spectre file includes the SPICE file.<br />

If you have the following top Spectre file, where t1.cir should be the<br />

spice_command_file:<br />

simulator lang=spectre<br />

subckt foo a b<br />

ends<br />

Aresfoo a b resistor r=2k<br />

subckt bar a b<br />

Aresbar a b resistor r=1k<br />

myInstance a b foo<br />

ends<br />

anotherInstance 1 0 bar<br />

simulator lang=spice<br />

.include "t1.cir"<br />

The Spectre to Eldo converter does not understand the .INCLUDE statement and so will<br />

not change its path nor copy the t1.cir file into the .t1.sp_dir folder. Eldo might find it,<br />

and proceed with the include, however it could also fail to find it and raise an error<br />

message.<br />

Moreover if the file is both included and specified using the -i command line option, you<br />

will have duplicate definitions, as the file is effectively included twice.<br />

Spectre does not understand SPICE syntax, which means only a full Spectre design can<br />

be used. However spectre_file could contain subcircuit definitions and Spectre library<br />

inclusion, and have its full design in the spice_command_file which may include some<br />

SPICE libraries.<br />

To summarize, from one side a full Spectre tree is allowed and from the other a full<br />

SPICE tree. This enables you to specify complex designs mixing both SPICE and<br />

Spectre.<br />

Eldo® User's Manual, 15.3 187

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!