{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ps8_hspice_matl - Courtesy of Michael Perrott Used with...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
HSPICE Toolbox for MATLAB Michael Perrott http://www-mtl.mit.edu/ perrott Copyright 1999 by Silicon Laboratories, Inc. 3 June 2003 Note: This software is distributed under the terms of the GNU Public License (see the included COPYING file for more details), and comes with no warranty or support. The Hspice toolbox for Matlab is a collection of Matlab routines that allow you to manipulate and view signals generated by Hspice simulations. The primary routine is a mex program called loadsig that reads binary output files generated by Hspice transient, DC, and AC sweeps into Matlab. The remaining routines are used to extract particular signals and view them. We will begin this document by explaining how to include the Hspice toolbox in your Matlab session. A list of each of the current functions will then be presented. Finally, we will provide examples of using these routines to view and postprocess signals from Hspice output files. Setup To use the Hspice toolbox, simply place the included files into a directory of your choice, and then add that directory to your Matlab path. For example, inclusion of the path ’/home/user/matlab/bin’ in Matlab can be done by adding the line addpath(’/home/user/matlab/bin’) to the file startup.m located in your home directory. In addition, you can specify the plot background to be black (similar to the look of Awaves) by adding another line to startup.m: colordef none; 1 Courtesy of Michael Perrott. Used with permission
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Once you’ve made the above changes to startup.m , start Matlab as you normally would.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern