Some time ago there was an ongoing message thread related to reading Hspice simulation results into Matlab for plotting and post processing. Mention was made of a compiled C utility that allowed one to convert a .tr0 file into a matlab .mat file for use by Matlab. Since then I've stumbled across a superior solution to the problem. It is called "Hspice Toolbox for Matlab" and is available for download at the following URL: http://www-mtl.mit.edu/research/perrottgroup/tools.html This matlab toolbox will allow you to read the binary simulation results (.tr0, .ac0, .dc0 type files) into matlab and access all the variables in those result files for further use. A simple example illustrates the power of this toolset: x=loadsig('eye.tr0'); %Load the hspice output file eye.tr0 into matlab variable x lssig(x) % List the variables in the x datastructure y=evalsig(x,'v_3'); % Assign the hspice variable v_3 to matlab variable y plotsig(x,'v_3;v_2') % Plot hspice variable v_3 and v_2 z = abs(y).^2; % Calc the square of the abs value of v_3 and assign to z plot(z); % Plot z This is just a trivial example. Once you have the hspice simulation results in matlab anything is possible. -Ray Anderson Sun Microsystems Inc. ------------------------------------------------------------------ To unsubscribe from si-list: si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field or to administer your membership from a web page, go to: //www.freelists.org/webpage/si-list For help: si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field List archives are viewable at: //www.freelists.org/archives/si-list or at our remote archives: http://groups.yahoo.com/group/si-list/messages Old (prior to June 6, 2001) list archives are viewable at: http://www.qsl.net/wb6tpu