[Hspice]what's the function of .PROTECT .UNPROTECT statement

Status
Not open for further replies.

pugongying

Member level 3
Joined
Apr 2, 2006
Messages
64
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
2,110
From the hspice manual:
Use the .PROTECT statement to keep models and cell libraries private.
The .UNPROTECT statement restores normal output functions from a .PROTECT statement.

But I am still confused about these two statement,can you explain it in more details?Thanks very much.
 

Re: [Hspice]what's the function of .PROTECT .UNPROTECT state


Let me show a example for you.

.protect

.lib '018rf.l' tt

.unprotect

After you do spice simulation, your *.lis file will not contain the information of spice model, 018rf.l .

Hence, your *.lis will be smaller before you not yet add these two statement.
 

    pugongying

    Points: 2
    Helpful Answer Positive Rating
Re: [Hspice]what's the function of .PROTECT .UNPROTECT state

It is used to protect the confitential information of the
model library .
 

Re: [Hspice]what's the function of .PROTECT .UNPROTECT state

tandr said:
It is used to protect the confitential information of the
model library .


YA!!! That's right !!!!!
 

Now I understand that some information between the .protect and .unprotect statement will not print out in the *.lis file,and what is the purpose,just let the output be more readable or confidential?
 

it helps in making ur list file small by remving unnecessary model files from it.
 

Re: [Hspice]what's the function of .PROTECT .UNPROTECT state

pugongying said:
Now I understand that some information between the .protect and .unprotect statement will not print out in the *.lis file,and what is the purpose,just let the output be more readable or confidential?

Absolutely!!!
 

Re: [Hspice]what's the function of .PROTECT .UNPROTECT state

engrvip said:
it helps in making ur list file small by remving unnecessary model files from it.
Absolutely right.
It has nothing with confidential since the sourse netlist are not affected by this option.
 

Re: [Hspice]what's the function of .PROTECT .UNPROTECT state



Thanks a lot! This was the just the thing I was looking for.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…