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.

Eldo Control Language<br />

Library of Functions for Tasks<br />

wopen<br />

Task function category: Functions Operating on wdb Files<br />

This function can be used to open .wdb files. The .wdb file must already exist to be opened in<br />

read mode. In write mode, it will be created if it does not exist, or overwritten if it already<br />

existed. This function returns a file identifier used in the next function to identify the .wdb file.<br />

Usage<br />

wopen("path/wdb1.wdb", "r" | "w")<br />

Arguments<br />

• "path/wdb1.wdb"<br />

Path to the .wdb file.<br />

• "r" | "w"<br />

Open mode. r for read or w for write (note that it is a string).<br />

Description<br />

wstdout Variable<br />

The main .wdb file (if the netlist run by the main Eldo process, containing the Control Language<br />

task, is named netlist1.cir, then the main .wdb file will be by default netlist1.wdb) must not be<br />

opened or closed using the functions wopen and wclose (otherwise the behavior will be<br />

completely undefined). Instead, the predefined wstdout variable has to be used as the identifier<br />

for this .wdb file. It is especially useful if the netlist is run with the option .option<br />

keep_<strong>eldo</strong>_cl_temp_waves=0 to completely control how waveforms are saved in this file. See<br />

“wdb File” in “Simulation” on page 1114.<br />

Related Topics<br />

Library of Functions for Tasks<br />

wclose<br />

wget<br />

wmkfolder<br />

wsave<br />

Eldo® User's Manual, 15.3 999

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

Saved successfully!

Ooh no, something went wrong!