HSpice Tutorial 3 - HSpice Environment

Sunday 23 March 2014

 HSPICE Environment

HSPUI is the tool HSPiceUserInterface which brings in all required HSPICE tools in a single Window. Open this tool which looks like:
Here Design row must point to the .sp file.
Title will be the first line of your spice file.
Listing is the output file(list file) after simulation.
And version is the version of HSPICE running, HSPICE or HSPICE RF.

Writing a netlist (Input file- .sp)

Open Notepad and write the following Demo Code (How to write Code will be in Following Tutorials):

EE105 SPICE Tutorial Example 1 - Simple RC Circuit
vs vs gnd PWL(0s 0V 5ms 0V 5.001ms 5V 10ms 5V)
r1 vs vo 1k
c1 vo gnd 1uF
.tran 0.01ms 10ms
.option post=2
.end

Then save it as rccircuit.sp in MyDocuments > HSpice Folder.

Simulating and Obtaining Output File(.lis)

Once the .sp file is done, use simulate button on HSPUI to siulate .sp file using HSPICE. Doing this creates .lis file in HSpice Folder containing .sp file.

The list file contains details of compilation and simulation results of your netlist.
The List file can be seen using edit LL, Input sp file can be seen using edit NL file.
Use the list file  to make not of errors if any and change it using .sp file.

Using Avanwaves

Click on AVANWAVES on HSPUI
By doing this AVANWAVES window opens which looks like the following




The Result Browser shows analysis that is mentioned in the spice file and which can be viewed.
hspui,
Analysis of the example program gives following result.

No comments:

Post a Comment

ElectroWeb embedded views

Contact Form

Name

Email *

Message *

Google+