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.

HSpice simulation for getting the vref variation

Status
Not open for further replies.

jc2

Member level 3
Joined
Mar 5, 2005
Messages
64
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Activity points
1,793
**********FIRST SIMULATION********
.temp 27
.dc temp -25 125 1
.print vref
*******************************

********SECOND SIMULATION********
.dc temp -25 125 1
.print vref
********************************

The vref variation in the first simulation is very diferent to the vref variation in the second simulation.

Why does HSpice get diferent results between the two simulations?.

Which is the correct simulation for getting the vref variation?

What is the function of .temp?

thanks
 

dhasmana

Member level 5
Joined
Jan 19, 2005
Messages
88
Helped
8
Reputation
16
Reaction score
0
Trophy points
1,286
Location
Bangalore , India.
Activity points
578
hspice .temp

There should not be aby difference in the two simulations.If you do not define .temp 27 , then Hspice should take the default value.In the .DC simulation, the OP would be done for each value of the DC step.Any comments?
 

    jc2

    Points: 2
    Helpful Answer Positive Rating

hr_rezaee

Advanced Member level 3
Joined
Oct 6, 2004
Messages
751
Helped
109
Reputation
218
Reaction score
24
Trophy points
1,298
Location
Iran-Mashhad
Activity points
4,036
spice simulation .temp

Hi
maybe it relates to tref or tnom options.
see hspice user manual.
regards
 

    jc2

    Points: 2
    Helpful Answer Positive Rating

jc2

Member level 3
Joined
Mar 5, 2005
Messages
64
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Activity points
1,793
hspice temp

**********FIRST SIMULATION********
.temp 27
.dc temp -25 125 1
.print vref
*******************************

********SECOND SIMULATION********
.dc temp -25 125 1
.print vref
********************************

The vref variation in the first simulation is very diferent to the vref variation in the second simulation.

Why does HSpice get diferent results between the two simulations?.

Which is the correct simulation for getting the vref variation?

What is the function of .temp?

thanks


I agree with dhasmana, there should not be any difference.

If I write in the simulation script .temp -25 or .temp 125, HSpice shows the same vref variation of the simulation with .temp 27(FIST SIMULATION).

What do I have to do?

thanks
 

Sadegh.j

Advanced Member level 3
Joined
Nov 29, 2006
Messages
754
Helped
48
Reputation
98
Reaction score
15
Trophy points
1,298
Activity points
5,596
.temp in hspice

.temp defines the operating temperature of your circuit. There is no correct result, it all depends on your application.

In your case however, it is interesting point. Did you see the manual, what did it say?

I think it is not the .temp which is problematic. The .DC command should be looked at, may be the temperature should not be defined this way.

Cheers
 

jc2

Member level 3
Joined
Mar 5, 2005
Messages
64
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Activity points
1,793
Re: .temp HSpice

**********FIRST SIMULATION********
.temp 27
.dc temp -25 125 1
.print vref
*******************************

********SECOND SIMULATION********
.dc temp -25 125 1
.print vref
********************************

The vref variation in the first simulation is very diferent to the vref variation in the second simulation.

Why does HSpice get diferent results between the two simulations?.

Which is the correct simulation for getting the vref variation?

What is the function of .temp?

thanks

I don't know what the problem is. Maybe, it's not possible to use .temp and .dc temp together.

thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top