Forum
Forum
Verilog-AMS
Analysis
Modeling
Design
Theory
Welcome, Guest. Please
Login
or
Register.
Please follow the Forum
guidelines
.
Aug 16
th
, 2024, 10:25am
Home
Help
Search
Login
Register
PM to admin
The Designer's Guide Community Forum
›
Design Languages
›
Verilog-AMS
› noise_table function
‹
Previous topic
|
Next topic
›
Pages: 1
noise_table function (Read 7922 times)
ORNITORINCO
New Member
Offline
Posts: 5
noise_table function
Feb 07
th
, 2008, 4:50pm
Hello everyone,
I am trying to simulate PLL phase-noise in phase-domain using verilog-AMS description of each block under SpectreRF (I perform AC and NOISE analysis with analog_environment). To include the output phase noise spectrum I am following Kundert's guide "Predicting the Phase Noise of PLL-Based Frequency Synthesizers" and I am using the noise_table function to give the values of phase-noise for discrete points in frequency.
My problem is that I would like to have a piecewise-linear interpolation of the points in the log-log plot as it is usual in phase-noise spectrum description (dBc/Hz vs log(freq)). Is there anyone knowing how to do that?
Thanks!
Back to top
IP Logged
Geoffrey_Coram
Senior Fellow
Offline
Posts: 1999
Massachusetts, USA
Re: noise_table function
Reply #1 -
Feb 12
th
, 2008, 6:40am
Your request has already been brought up for the next version of the V-AMS standard.
Back to top
If at first you do succeed, STOP, raise your standards, and stop wasting your time.
IP Logged
Christoph
New Member
Offline
Posts: 3
Germany
Re: noise_table function
Reply #2 -
Feb 29
th
, 2008, 6:50am
Hi!
I was trying to do a similar thing in a Verilog-AMS model for spectre. Unfortunately spectre did not seem to support arrays. Did someone managed to create an array of (constant) real values?
Kind regards,
Christoph
Back to top
IP Logged
Geoffrey_Coram
Senior Fellow
Offline
Posts: 1999
Massachusetts, USA
Re: noise_table function
Reply #3 -
Feb 29
th
, 2008, 12:57pm
Are you using a current version of Spectre? I'm pretty sure it does support arrays.
I have this in one of my modules ...
I(a,b) <+ noise_table({10.0,5.0,100.0,6.0,1000.0,10.0,1.0G,6.0},"tabnoi");
Back to top
If at first you do succeed, STOP, raise your standards, and stop wasting your time.
IP Logged
Marq Kole
Senior Member
Offline
Hmmm. That's
weird...
Posts: 122
Eindhoven, The Netherlands
Re: noise_table function
Reply #4 -
Mar 19
th
, 2008, 2:29pm
Currently Spectre still does not support array parameters and it will give an error when trying to initialize such a parameter with an array literal.
You will have to create a real array variable and assign it a value in an initial_step event if you want to use it that way.
Cheers,
Marq
Back to top
IP Logged
Geoffrey_Coram
Senior Fellow
Offline
Posts: 1999
Massachusetts, USA
Re: noise_table function
Reply #5 -
Mar 20
th
, 2008, 6:14am
Marq -
I recall some problem with using array variables for noise_table; are you sure spectre supports this?
Back to top
If at first you do succeed, STOP, raise your standards, and stop wasting your time.
IP Logged
neoflash
Community Fellow
Offline
Mixed-Signal
Designer
Posts: 397
Re: noise_table function
Reply #6 -
Oct 29
th
, 2009, 10:10am
Geoffrey_Coram wrote
on Feb 29
th
, 2008, 12:57pm:
Are you using a current version of Spectre? I'm pretty sure it does support arrays.
I have this in one of my modules ...
I(a,b) <+ noise_table({10.0,5.0,100.0,6.0,1000.0,10.0,1.0G,6.0},"tabnoi");
Hi, Geoffery:
Is there any way that we put the table data in a file, then call it in the noise_table(function)?
I'm using verilogA in hspice.
Regards,
Neo
Back to top
IP Logged
Geoffrey_Coram
Senior Fellow
Offline
Posts: 1999
Massachusetts, USA
Re: noise_table function
Reply #7 -
Nov 2
nd
, 2009, 5:33am
Verilog-AMS LRM 2.3 added support for using a filename input for noise_table. I don't know how many simulators have implemented this as yet.
Quote:
When the input is a file name, the indicated file will contain the frequency / power pairs. The file name argument shall be constant and will be either a string literal or a string parameter. Each frequency / power pair shall be separated by a newline and the numbers in the pair shall be separated by one or more spaces or tabs. To increase the readability of the data file, comments may be inserted before or after any frequency / power pair. Comments begin with ‘#’ and end with a newline. The input file shall be in text format only and the numbers shall be real or integer.
Back to top
If at first you do succeed, STOP, raise your standards, and stop wasting your time.
IP Logged
neoflash
Community Fellow
Offline
Mixed-Signal
Designer
Posts: 397
Re: noise_table function
Reply #8 -
Nov 2
nd
, 2009, 6:02am
Geoffrey_Coram wrote
on Nov 2
nd
, 2009, 5:33am:
Verilog-AMS LRM 2.3 added support for using a filename input for noise_table. I don't know how many simulators have implemented this as yet.
Quote:
When the input is a file name, the indicated file will contain the frequency / power pairs. The file name argument shall be constant and will be either a string literal or a string parameter. Each frequency / power pair shall be separated by a newline and the numbers in the pair shall be separated by one or more spaces or tabs. To increase the readability of the data file, comments may be inserted before or after any frequency / power pair. Comments begin with ‘#’ and end with a newline. The input file shall be in text format only and the numbers shall be real or integer.
I think that's why I failed to do so in hspice. HSPICE doesn't support AMS extension yet.
Back to top
IP Logged
Pages: 1
‹
Previous topic
|
Next topic
›
Forum Jump »
» 10 most recent Posts
» 10 most recent Topics
Design
- RF Design
- Analog Design
- Mixed-Signal Design
- High-Speed I/O Design
- High-Power Design
- Mixed-Technology Design
Analog Verification
- Analog Functional Verification
- Analog Performance Verification
Measurements
- RF Measurements
- Phase Noise and Jitter Measurements
- Other Measurements
Modeling
- Semiconductor Devices
- Passive Devices
- Behavioral Models
- Transmission Lines and Other Distributed Devices
Design Languages
»» Verilog-AMS
- VHDL-AMS
Simulators
- Circuit Simulators
- RF Simulators
- AMS Simulators
- Timing Simulators
- System Simulators
- Logic Simulators
Other CAD Tools
- Entry Tools
- Physical Verification, Extraction and Analysis
- Unmet Needs in Analog CAD
General
- Tech Talk
- News
- Comments and Suggestions
- Opportunities
« Home
‹ Board
The Designer's Guide Community Forum
» Powered by
YaBB 2.2.2
!
YaBB
© 2000-2008. All Rights Reserved.
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.