com.sun.electric.tool.io.input
Class HSpiceOut

java.lang.Object
  extended by com.sun.electric.tool.io.input.Input
      extended by com.sun.electric.tool.io.input.Simulate
          extended by com.sun.electric.tool.io.input.HSpiceOut

public class HSpiceOut
extends Simulate

Class for reading and displaying waveforms from HSpice output. This includes transient information in .tr and .pa files (.pa0/.tr0, .pa1/.tr1, ...) It also includes AC analysis in .ac files; DC analysis in .sw files; and Measurements in .mt files. While trying to debug the condition count handling, these test cases were observed: CASE VERSION ANALYSIS NUMNOI SWEEPCNT CNDCNT CONDITIONS H01 9007 TR 0 4 1 bma_w H02 9007 TR 36 19 1 sweepv H03 9007 TR 2 30 1 MONTE_CARLO DC 258 30 1 MONTE_CARLO H04 9007 TR 2 7 1 TEMPERATURE DC 0 0 0 AC 0 6 1 bigcap H05 9601 TR 0 0 0 H06 9601 TR 0 0 0 H07 9601 TR 2 25 3 data_tim, inbufstr, outloadstr (sweep header has 2 numbers) H08 9601 TR 4 3 2 ccdata, cc AC 4 2 1 lpvar (***CRASHES***) H09 9601 TR 0 3 3 rdata, r, c (sweep header has 2 numbers) AC 0 3 3 rdata, r, c (sweep header has 2 numbers) H10 9601 TR 0 4 8 rdata, r0, r1, r2, r3, r4, c0, c1 (sweep header has 7 numbers) AC 0 4 8 rdata, r0, r1, r2, r3, r4, c0, c1 (sweep header has 7 numbers)


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.electric.tool.io.input.Input
Input.InputPreferences
 
Field Summary
 
Fields inherited from class com.sun.electric.tool.io.input.Input
byteCount, dataInputStream, ep, errorLogger, fileLength, filePath, inputStream, lineReader, READ_BUFFER_SIZE
 
Method Summary
protected  Stimuli readSimulationOutput(java.net.URL fileURL, Cell cell)
          Method to read HSpice output files.
 
Methods inherited from class com.sun.electric.tool.io.input.Simulate
getLineFromSimulator, getSpiceOutputType, plotArchSimResults, plotSimulationResults, plotSpiceResults, plotSpiceResultsThisCell, plotVerilogResults, plotVerilogResultsThisCell, readSimulationResults
 
Methods inherited from class com.sun.electric.tool.io.input.Input
changesQuiet, closeInput, eofDuring, getAKeyword, getInputPreferences, getLine, getLineFromBinary, getProgressNote, getRestOfLine, importALibrary, importLibrary, initKeywordParsing, isBreakCharacter, isChangeQuiet, isNewLibraryCreated, openBinaryInput, openStringsInput, openTextInput, preprocessLine, readWholeLine, setProgressNote, setProgressValue, startProgressDialog, stopProgressDialog, updateProgressDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readSimulationOutput

protected Stimuli readSimulationOutput(java.net.URL fileURL,
                                       Cell cell)
                                throws java.io.IOException
Method to read HSpice output files.

Overrides:
readSimulationOutput in class Simulate
Parameters:
fileURL - the URL to one of the output files.
cell - the Cell associated with these HSpice output files.
Throws:
java.io.IOException