Saturday, February 04, 2012     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: Tip of the Week: Create signal sources from sim results
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
Hugh
Posts: 25
Online: User is Offline
12/21/2006 11:03 AM  
You can easily capture a simulated waveform of any kind and turn it into an ideal signal source for driving a test bench.  Advantages to doing this include:
  • You can get a much more realistic circuit stimulus than what can be created using the standard ideal or PWL sources;
  • Much faster simulation times can be realized by eliminating chunks of "real" circuitry and replacing them with captured signals from the circuitry that was removed.  (For example, you could capture a DAC output and use it to drive a filter and/or other circuitry, eliminating the DAC.)
Here's the procedure for doing it:
  1. Run the simulation to create the transient waveform you're interested in capturing.
  2. Capture the waveform to the calculator.
  3. Print out the waveform as text, setting the "start" and "stop" times to provide exactly an integer number of cycles (or even just one cycle) of the desired waveform (assuming it is periodic). Using AWD, use the "printvs" function to do this.  For Wavescan, click on the Table button. 
  4. Save the results at a text file.  For AWD, In the Results Display window, click Window-->Print, and click the "File" radio button, fill in path for the text file you want to make.  Click OK.   For Wavescan, click "Save as CSV" to save the file as a .csv (comma delimitted) text file.
  5. Use a text editor to strip out the header lines from the text file you made.  If your time record does not start at zero seconds, use a spreadsheet function (such as Excel) to subtract the starting time from all the times in the file, so it starts with zero seconds.  (Otherwise your ideal function will not start till the start time in the file.) If your file is CSV, strip out the commas and replace them with spaces (can do automatically with find/replace in any text editor).
  6. Insert a vpwlf component (from analogLib) into your circuit.  Fill in the complete path to the text file in the "PWL file name" field.  Fill in the "Period of the PWL" field with the exact length (in time) of the file. 
  7. When you run the sim, the waveform you captured will be replicated exactly.  You can also time scale it if you want using the "Time Scale Factor" field, and amplitude scale it using the "Scale Factor" field, and delay its start using "Delay Time".
It takes a few minutes to do all this, but definitely can be worth it!
 
- Hugh
svenn
Posts: 7
Online: User is Offline
9/07/2007 2:45 PM  
If you are only looking for digital waveforms that represent a bit-stream then have a look at spectre -h vsource and search for the "bit" type. It is a real improvement over hand-made pwl as you don't need to care about timing. the type=bit was introduced to 5.1.41 in 2007 and does not, as of today, have a symbol in analogLib, so you would have to make an ascii file and include it connect-by-name via the definition files in ADE->Setup->Simulation Files. Advantage is that you can provide the patterns as variables and have them changed in a parametric run or a corner simulation.

--
Svenn
Posting to forums is available to community members only.
Login or Register

Forums > Custom IC > Custom IC Electrical Design > Tip of the Week: Create signal sources from sim results


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.