The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 18th, 2024, 1:23pm
Pages: 1
Send Topic Print
How to use .ALTER statement for models (Read 2610 times)
kiran123
Community Member
***
Offline



Posts: 42

How to use .ALTER statement for models
Dec 31st, 2007, 4:44am
 
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
     
Back to top
 
 
View Profile   IP Logged
ywguo
Community Fellow
*****
Offline



Posts: 943
Shanghai, PRC
Re: How to use .ALTER statement for models
Reply #1 - Jan 3rd, 2008, 11:56pm
 
Hi Kiran,

The .alter block can contain .INCLUDE and .MODEL statements. The .MODEL statement in .alter block replaces the original statement if their model names are identical. Please refer to HSPICE manual for any further details.


Yawei
Back to top
 
 
View Profile   IP Logged
kiran123
Community Member
***
Offline



Posts: 42

Re: How to use .ALTER statement for models
Reply #2 - Jan 4th, 2008, 4:07am
 
ywguo wrote on Jan 3rd, 2008, 11:56pm:
Hi Kiran,

The .alter block can contain .INCLUDE and .MODEL statements. The .MODEL statement in .alter block replaces the original statement if their model names are identical. Please refer to HSPICE manual for any further details.


Yawei


Yawei ,
   are you suggesting me to use .MODEL statment instead of .INC? can you explain me little bit
the main aim is to do fast slow and nom corner simulation using single deck with single run

so earlier when i tried  with below statements  it did not print the "slow" corner relsults where as  "fast" corner results are written to output

/*************

.INCLUDE "../Models_fast.sp"
........
.............
......

.PRINT TRAN V(DATA)

.ALTER
.INCLUDE "../Models_slow.sp"


.END
/***************************


thanks for the help on this
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.