• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. RF Design
  3. PAC Simulation: outputperiod option

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 63
  • Views 17439
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PAC Simulation: outputperiod option

ahchang
ahchang over 14 years ago

I want to do a time integration of my PAC simulation over one period. I did the simulation and I obtained a pac.real.pac file.  For some reason, I could not read the result from this file the same way as other files.  The normal Cadence command does not allow me to read data from pac.real.pac and I also cannot see the result directly from ADE (Results Browser or Direct plot).  Does anyone know how to open the simulation result from such file?



Thank you,

Albert


As an example, I can only see the following outputs even though the file pac.real.pac exists in the psf folder.

   'pss-td.pss'
   'pss-fd.pss'
   'pac-pac'
   'modelParameter-info'
   'element-info'
   'outputParameter-info'
   'designParamVals-info'
   'primitives-info.primitives'
   'subckts-info.subckts'
   'variables'
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

     Hi Albert,

    Which version of the IC tools and simulator are you using, and what are the analysis statements in the netlist? I don't recall having seen such an output file.

    Also, pac normally gives you the time-averaged response, so I'm assuming you must be using a "sampled" mode? It's not clear what simulation you're actually doing.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ahchang
    ahchang over 14 years ago

    Hi Andrew,

    I am simulating pac using an option called "outputperiod".  The option supposes to give me time integreated dc output.  Please see below.

    pac  pac  sweeptype=relative  relharmnum=0  start=0
    +    annotate=status  freqaxis=out  outputperiod=period

    With this option set, the simulation output will give me a file called pac.real.pac, in additional to the normal pac output.  The Result Browser is not able to show this additional output result. The file exists (~800k in size), but I cannot look at the result in the file.  

    I am using  Virtuoso 6.1.4-64b and I am using MMSIM72.243.

     

    Thank you,

     

    Albert

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ahchang
    ahchang over 14 years ago

    Recently, I've found that there is an option called "outputperiod" in PAC simulation.  According to the reference manaul, it lets you see the time-domain small-signal response. I am curoius on how this time domain small signal reponse is computed in Cadence. 

    This is how I've simulated with the output period option with period equal to 1ns.

    pac  pac  sweeptype=relative  relharmnum=0  start=0
    +    annotate=status  freqaxis=out  outputperiod=1n

    I've tried to  simulate the circuit without the outputperiod option and computed the time response myself.  The settling below gives me 50 harmonic output sidebands.  I then take the reverse fourier transform to obtain the time function.The input frequency is at a single point: 0Hz.

     pac  pac  sweeptype=relative  relharmnum=0  start=0
    +    maxsideband=50  annotate=status  freqaxis=out 

    I compute the time domain output by the following equation for each time point t: 

    H(0; t) = sum_{m = -50}^{m = 50} H_{m}(0) * exp(j * m * wc * t)

    where H_{m}(0) represents the mth harmonic relative to the input (0Hz) at DC. wc is the fundamental frequency = 2*pi/(1ns).

    For some reason, I did not get the same time domain waveform as if I directly use the Cadence outputperiod option. I've checked my math a few times, but I didn't see any problems.  The outpuperiod gives more correct result.   Could anyone please clarify how Cadence compute this output?

     

     Many thanks,

     

     

    Albert

     

    • cadence_outputperiod.png
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ahchang
    ahchang over 14 years ago

    I've found the bug.  In the Cadence simulation output directory, there is a file called "logFile." When doing the PAC simulation with outputperiod option on, it does not write to the logFile correctly, resultting in (Result Browsers/Direct Plot) not able to read the result. 

    A fix from Cadence may be needed.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Albert, I merged your two posts.

    My understanding has always been that the outputperiod was an option added in the early days of SpectreRF to allow R&D to debug things, and as far as I know it does not  behave sensibly - for example, if you sweep frequency in the pac analysis, you get a combined waveform for all the points. I suspect at some point the logFile has been incorrectly updated, or ViVA not checked to ensure it supports this output file.

    In practice, I think the outputperiod option is of no use. As far as I can see, there have been no service requests or CCRs on this option, so my assumption (since there are things about it which don't work), is that nobody has tried to use it either.

    If you wish to persue this further, please log a service request via http://support.cadence.com so that this can be discussed with R&D further, but I don't believe it is intended to be a useful option for users. In fact I am tempted to request that the option be removed...

    Best Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ahchang
    ahchang over 14 years ago

    Hi Andrew,

    It is interesting to know that this option is just for debuggin.  Actually, it is not a completely useless function.  It lets you calculate time-varying DC gain.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information