The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> To get ADC digital output in Spectre
https://designers-guide.org/forum/YaBB.pl?num=1129086706

Message started by sch on Oct 11th, 2005, 8:11pm

Title: To get ADC digital output in Spectre
Post by sch on 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.

Title: Re: To get ADC digital output in Spectre
Post by svensl on 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=1121755337;start=1#1
http://www.designers-guide.org/Forum/?board=circuit;action=display;num=1092731732;start=1#1

svensl

Title: Re: To get ADC digital output in Spectre
Post by jbdavid on 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


The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.