Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4891

cross function deficiency

$
0
0

I used to work at an IC design company that had it's own analog simulator and corresponding scripting language and I am now at another company using Cadence Spectre and Ocean scripting (I'll bite my tongue about Ocean for now). The scripting language I previously used had a find function that could locate aspects of a waveform very similar to Ocean's cross function - but with one glaring and (to my mind) fundamental missing capability i.e. the ability to specify the reference time point (or range of time) in the transient waveform for which to perform the search. 

An example of my usage of the cross function is:

cross(my_wave VDD-0.01 1 'rising nil)

where I'm trying to see when a clock waveform first crosses to within 10mV of VDD. The issue is that I'm trying to do this for the e.g. the 4th clock cycle, so I don't want to start my search from t=0 but instead some other known time that the 4th clock cycle starts. There is an arbitrary amount of wobbling of the my_wave signal around VDD at each clock cycle (due to dynamic loading) and I don't want to have to go through using the cross function to return all the crossings and then post-process them all. My Ocean script is already dauntingly complicated to look at and digest because of the sub-atomic nature of all of the commands necessary to get the job done (compared to what I was used to). Is there another function similar to cross that does what I want?


Viewing all articles
Browse latest Browse all 4891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>