The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 22nd, 2024, 12:30pm
Pages: 1
Send Topic Print
To get ADC digital output in Spectre (Read 2592 times)
sch
Junior Member
**
Offline



Posts: 18

To get ADC digital output in Spectre
Oct 11th, 2005, 8:11pm
 
Did anyone know how to get the pipeline ADC or sigma-delta ADC digital output to a text file ? In Hspice the .measure command can do this but in Spectre seems has some problem. I want to put the text file to Matlab to calculate SNR SFDR and more something.
Back to top
 
 
View Profile   IP Logged
trond
Senior Member
****
Offline



Posts: 168
Glasgow, Scotland
Re: To get ADC digital output in Spectre
Reply #1 - Oct 12th, 2005, 2:56am
 
There are various ways to perform spectral analysis. If you want to use Matlab you should have a look at the topics below. They should answer your question.

http://www.designers-guide.org/Forum/?board=verilogams;action=display;num=112175...
http://www.designers-guide.org/Forum/?board=circuit;action=display;num=109273173...

svensl
Back to top
 
 
View Profile   IP Logged
jbdavid
Community Fellow
*****
Offline



Posts: 378
Silicon Valley
Re: To get ADC digital output in Spectre
Reply #2 - Oct 17th, 2005, 1:19am
 
My off the cuff answer is to write a verilog-A model that dumps the sample to a text file during the simulation..  This was how I did it when using SPW to do the calculations for a tutorial on ADC simulation with Verilog-AMS I presented at BMAS (http://www.bmas-conf.org) back in 2002.  In fact the model may have made it into the "bmslib" added to the cadence tool set in 2004 (5.0.32+) look for SignalSink..
If I had access to that database, I could post the model here..
but the basic idea is simple.. same as any DAC model, except instead of setting an analog output you use $fstrobe to write the output code to a file for post-processing..
Jonathan

Back to top
 
 

jbdavid
Mixed Signal Design Verification
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.