Star-Hspice simulations involve both model evaluations and matrix solutions. Running model evaluations concurrently on multiple CPUs using multithreading can significantly improve simulation performance. In most cases, the model evaluation will dominate. To determine how much time is spent in model evaluation and solving, specify .option acct = 2 in the netlist. Using multithreading results in faster simulations with no loss of accuracy.
Multithreaded (MT) Star-Hspice is supported on Sun Solaris 2.5.1 (SunOS 5.5.1) and on Windows NT as a prerelease version using win32 threads.
You can run Star-Hspice-MT using the syntax described below.
hspice -mt #num -i input_filename -o output_filename
Under the Windows NT DOS prompt type:
hsp_mt -mt #num -i input_filename -o output_filename
1. Double click the
2. Select the
In Windows, the program will automatically detect and use the number of online CPUs.
Under the Avant! HSPUI interface:
1. Select the correct version of hsp_mt.exe in the Version Combo Box.
2. Select the correct number of processors in the MT Option Box.
3. Click the
4. Click the
For multithreaded Star-Hspice, the CPU time is:
Tmt = Tserial + Tparallel/Ncpu + Toverhead
Tserial Represents the Star-Hspice calculations that are not threaded
Tparallel Represents the threaded Star-Hspice calculations
Ncpu The number of CPUs used. Toverhead is the overhead from multithreading. Typically, this represents a small fraction of the total run time.
For example, for a 151-stage nand ring oscillator using LEVEL 49, Tparallel is about 80% of T1cpu (the CPU time associated with a single CPU), if you run with two threads on a multi-CPU machine. Ideally, assuming Toverhead = 0 , you can achieve a speedup of:
T1cpu/(0.2T1cpu + 0.8T1cpu/2cpus) = 1.67
T1cpu/(0.2T1cpu + 0.8T1cpu/6cpus) = 3.0
The typical value of Tparallel is 0.6 to 0.7 for moderate to large circuits.
Star-Hspice Manual - Release 2001.2 - June 2001