The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 23rd, 2024, 7:20pm
Pages: 1
Send Topic Print
(*instrument_module*) usage (Read 6131 times)
ranjang
Junior Member
**
Offline



Posts: 13
india
(*instrument_module*) usage
Feb 24th, 2015, 4:33am
 
Hi All,

I was going through verilog ams periods.vams model and I see at the top (*instrument_module*).

I wanted to know what is the purpose of using this and If I don't keep this what the changes in the result also is it part of verilog ams language.

Thanks,
Back to top
 
 

,
GAURAV
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: (*instrument_module*) usage
Reply #1 - Feb 24th, 2015, 11:30am
 
It disables an error message in Spectre that would prevent the model from being used in SpectreRF. SpectreRF cannot handle hidden state if that state affects the behavior of the model. Spectre has a way of examining the model to determine if it contains hidden state, but it is not sophisticated enough to determine if that state affects the behavior of the model. By adding the instrument_module attribute, you are saying any hidden state the model contains is innocuous.

Other that that it in no way affects the behavior of the model, and you can feel free eliminating it if you do not plan to use the model in SpectreRF.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
ranjang
Junior Member
**
Offline



Posts: 13
india
Re: (*instrument_module*) usage
Reply #2 - Feb 25th, 2015, 4:14am
 
Thanks Ken for the detailed explanation.

You talked about spectre RF is it different from normal spectre and what for what kind of designs this simulator to be used.

Back to top
 
 

,
GAURAV
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: (*instrument_module*) usage
Reply #3 - Feb 25th, 2015, 3:49pm
 
I cannot process that last sentence. Is it a question?

-Ken
Back to top
 
 
View Profile WWW   IP Logged
ranjang
Junior Member
**
Offline



Posts: 13
india
Re: (*instrument_module*) usage
Reply #4 - Feb 25th, 2015, 9:34pm
 
Yes this is a question.I wanted to know how the spectre and spectre RF tools different? Also normally we will use spectre or ultrasim solver for normal designs like SMPS,LDOs,ADC,PLL etc but where is this spectre RF simulator used?
Back to top
 
 

,
GAURAV
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: (*instrument_module*) usage
Reply #5 - Feb 26th, 2015, 2:24pm
 
SpectreRF is a collection of new analysis that are available in Spectre. They are very powerful and very useful. They were originally targeted for RF circuits but their capabilities are general and they have found wide applicability in analog, mixed-signal and even digital circuits.

Perhaps aspect of the RF analyses of SpectreRF that is the most important is that they extend the small-signal analyses (AC and noise primarily) to periodically driven circuits. All of the circuits you mentioned are periodically driven and so benefit from RF analysis. For example, SpectreRFs' PNoise analysis allows you to predict the noise performance of both the components that make up a PLL (oscillator, pfd/cp, divider, etc.) as well as the PLL itself. As another example, people are now using the Pstability analysis to determine whether switch-mode power supplies are stable. If you browse the Analysis section of this website you will find several application notes that describe how to apply SpectreRF to traditional analog and RF circuits.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: (*instrument_module*) usage
Reply #6 - Mar 19th, 2015, 6:53am
 
ranjang wrote on Feb 24th, 2015, 4:33am:
also is it part of verilog ams language.


This is an attribute, which are a sort of magic comment; attributes are part of the language.  They are intended to help the simulator work more efficiently, and the language reference manual states that simulators should simply ignore attributes they don't understand (rather than giving an error).
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   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.