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.

[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

pugongying said:
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.

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

shaq said:
pugongying said:
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.

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.


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

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top