Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me with a HSPICE simulation

Status
Not open for further replies.

microe_victor

Junior Member level 2
Joined
Nov 18, 2006
Messages
22
Helped
7
Reputation
14
Reaction score
5
Trophy points
1,283
Activity points
1,443
I want to simulate a circuit like this


the netlist is as follows
X1 in out1 vcc gnd inverter
X2 out1 out2 vcc gnd inverter
X3 out2 out3 vcc gnd inverter
X4 out3 out4 vcc gnd inverter
X5 out4 in vcc gnd inverter


I want to do a simulation ,that there is a initial pluse as the input of the first inverter

how can I implement this simulation in HSPICE ?
 

Setting initial condition on the net will help if you want to simulate ring oscillator. I tried it on the Spectre simulator with Cadence tools. It should work with Spice also AFAIK.
 

gunturikishore said:
Setting initial condition on the net will help if you want to simulate ring oscillator. I tried it on the Spectre simulator with Cadence tools. It should work with Spice also AFAIK.
Thanks for your advice
But I am not very clear about how to use initial condition in HSPICE
all I knew is that we can set a Capacitor with a initial Voltage
but i do not know how to use it in the circuit above
 

Hi,

As I understand you want to simulate a ring oscillator circuit on HSPICE, but first of all, you need to understand what you are expecting to see, if you're interested on transient analysis, then you need to add this type of analysis and output controls as command lines on your spice deck,

Then, your final deck can be like this:

* Ring oscillator example

.IC v(in) = 3.3 $ or some different voltage

X1 in out1 vcc gnd inverter
X2 out1 out2 vcc gnd inverter
X3 out2 out3 vcc gnd inverter
X4 out3 out4 vcc gnd inverter
X5 out4 in vcc gnd inverter

* Syntax: .TRAN <time_step> <end_time>
.TRAN 20p 150p $ transient analysis,
$ you can change your transient end time
$ for what you need to see


.PROBE tran v(out1) v(out2) $ transient output
+ v(out3) v(out4)


.SUBKCT inverter in out vcc gnd

* probably here you already have your
* CMOS transistor calls and models for your inverter circuit

.ENDS inverter

.END


If you need further help, please let us know,

-jc
 

somebody knows like me simulater temperature in the sipce and which the program that I download?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top