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.

How to use .ALTER statement for models

Status
Not open for further replies.

kumar123

Member level 3
Joined
Sep 5, 2006
Messages
57
Helped
9
Reputation
18
Reaction score
6
Trophy points
1,288
Activity points
1,639
hspice .alter

Hi

In Hspice how to use .ALTER and .INCLUDE statements to change the model files of slow, fast and normal corners


i know that if i use .LIB statement to include the model file
it can be changed by first using .DEL like below and .DEL with proper one

.LIB "file1" TT
.....
...

.ALTER
.DEL LIB "file1" TT
.LIB "file1" SS
....
...
.END

so similarly how to deal if i am using .INCLUDE statement for Models

Thanks
Kiran
 

jluhzw

Member level 5
Joined
Nov 15, 2004
Messages
94
Helped
17
Reputation
34
Reaction score
4
Trophy points
1,288
Location
Hangzhou China
Activity points
756
hspice alter

As far as I know, you don't need using the " .dle lib....", if you want to change the model file, you can using the ".alter" and ".include ...." directly.
You can also refer the manual of Hspice for more information.
 

kumar123

Member level 3
Joined
Sep 5, 2006
Messages
57
Helped
9
Reputation
18
Reaction score
6
Trophy points
1,288
Activity points
1,639
.alter hspice

jluhzw said:
As far as I know, you don't need using the " .dle lib....", if you want to change the model file, you can using the ".alter" and ".include ...." directly.
You can also refer the manual of Hspice for more information.

hi

it does not work pls chk , earlier i had tried with the following lines of statements
but it could not print the .ALTER results where as it printed results related to "model_fast" file
and gave few warnings and stoped

.include ".../model_fast"

....
.....
....
.PRINT DC V(DATA)


.ALTER
.include ".../model_slow"

.END
 

analog_prodigy

Full Member level 2
Joined
Jul 19, 2007
Messages
141
Helped
14
Reputation
28
Reaction score
2
Trophy points
1,298
Location
India
Activity points
1,936
.alter in hspice

Don't put .alter statement for first model.

From second corner onwards, put .alter and .include statements
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top