70 likes | 224 Views
How To Use HSpice. Dr. Mark C. Johnson Manager, Digital Design & Systems Labs mcjohnso@purdue.edu Office: EE 268 Office Phone: +1 765 49-40636. Two things were required to set it up:.
E N D
How To Use HSpice Dr. Mark C. Johnson Manager, Digital Design & Systems Labs mcjohnso@purdue.edu Office: EE 268 Office Phone: +1 765 49-40636
Two things were required to set it up: • Default command shell set to tcsh (already was because I asked esite to make all course project accounts use tcsh) • Add a .cshrc file to each home dir containing the following line, followed by a blank line • source /usr/site/ece/bin/edacfg hsp cscope
To use the software • On the Sun Rays in MSEE189, type the following to run hspice on a netlist called file.sp and to run a waveform viewer called cosmoscope. • Note: since awaves is not available in linux, I normally recommend using cosmoscope which works in Solaris and Linux. We do not maintain a microsoft windows installation of hspice. • grid hspice file.sp • grid cscope • hspice and cscope will not run directly on the Sun Rays or server ecegrid to which they are connected. The "grid" command tells server ecegrid to run the program on a linux cluster connected to ecegrid.
Note: cscope will accept any of a variety of waveform data formats. However, you may need to • On linux (or other Solaris) workstations, just type "hspice" and "cscope" respectively.
For remote access from a windows machine (either an ECN machine or one belonging to the students), please see • http://cobweb.ecn.purdue.edu/~mcjohnso/cae_tools/Cygwin.html
To access documentation from an account that is setup for hspice and cscope: • for hspice: • cd $HSPDOCS • then use either acroread, xpdf, gpdf to open the appropriate pdf from that directory. See the README file for descriptions • for cscope: • type cssold
Note: for some strange reason xpdf on linux systems handles links to other documents in a strange way. After I click a link to a document of interest, I have to page backwards to see the document that I selected. • Mark