Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5186

Ignoring patterns in CDF callbacks (CCSinvokeCallbacks)

$
0
0

Hello,

I am writing some code in SKILL (Actually in Python, but translated from SKILL to Python using some neat toolboxes), in which I run simulations in a loop with different parameters using OCEAN. In my testbench which currently only has one inductor from my PDK, the properties also include information about the area, self-resonance frequency, Q-value, etc, of the inductor, when I change its physical parameters. Since these parameters are calculated when the values are changed inside the property form, they must be updated using a CDF callback as explained here: https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000namyEAA&pageName=ArticleContent

However, the problem that I am finding is that when I call this CDF callback, it also calls some commands which I do not want it to call. The main two being a plot function "schCDFCallback('Plot)" and an "About" function which just opens an infobox "schCDFCallback('about)". Why specifically is that these two seem to freeze my code until I close said windows, hence in my code where I attempt to run simulations in a loop, this creates a problem.

Through digging into the code given in the link above, I was able to find the CCScallbackPatternsToIgnore function inside, but most likely due to my SKILL knowledge still being rather basic, and/or just me not understanding what it wants from me, I have been unable to find a way for it to ignore the two patterns relating to the "About" window and the "Plot" window.


(unless (boundp 'CCScallbackPatternsToIgnore)
  (setq CCScallbackPatternsToIgnore
        ("^MYPDKNOT_Allowed.*")))

The code snippet that I am referencing. Here is where I have attempted to include the callback functions relating to 'Plot and 'about, but without any success so far. Any help on this would be greatly appreciated.

Thanks in advance


Viewing all articles
Browse latest Browse all 5186

Trending Articles



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