Cadence® system design and verification solutions, integrated under our System Development Suite, provide the simulation, acceleration, emulation, and management capabilities.
Verification Suite Related Products A-Z
Cadence® digital design and signoff solutions provide a fast path to design closure and better predictability, helping you meet your power, performance, and area (PPA) targets.
Full-Flow Digital Solution Related Products A-Z
Cadence® custom, analog, and RF design solutions can help you save time by automating many routine tasks, from block-level and mixed-signal simulation to routing and library characterization.
Overview Related Products A-Z
Driving efficiency and accuracy in advanced packaging, system planning, and multi-fabric interoperability, Cadence® package implementation products deliver the automation and accuracy.
Cadence® PCB design solutions enable shorter, more predictable design cycles with greater integration of component design and system-level simulation for a constraint-driven flow.
An open IP platform for you to customize your app-driven SoC design.
Comprehensive solutions and methodologies.
Helping you meet your broader business goals.
A global customer support infrastructure with around-the-clock help.
24/7 Support - Cadence Online Support
Locate the latest software updates, service request, technical documentation, solutions and more in your personalized environment.
Cadence offers various software services for download. This page describes our offerings, including the Allegro FREE Physical Viewer.
The Cadence Academic Network helps build strong relationships between academia and industry, and promotes the proliferation of leading-edge technologies and methodologies at universities renowned for their engineering and design excellence.
Participate in CDNLive
A huge knowledge exchange platform for academia to network with industry. We are looking for academic speakers to talk about their research to the industry attendees at the Academic Track at CDNLive EMEA and Silicon Valley.
Come & Meet Us @ Events
A huge knowledge exchange platform for academia. We are looking for academic speakers to talk about their research to industry attendees.
Americas University Software Program
Join the 250+ qualified Americas member universities who have already incorporated Cadence EDA software into their classrooms and academic research projects.
EMEA University Software Program
In EMEA, Cadence works with EUROPRACTICE to ensure cost-effective availability of our extensive electronic design automation (EDA) tools for non-commercial activities.
Apply Now For Jobs
If you are a recent college graduate or a student looking for internship. Visit our exclusive job search page for interns and recent college graduate jobs.
Cadence is a Great Place to do great work
Learn more about our internship program and visit our careers page to do meaningful work and make a great impact.
Get the most out of your investment in Cadence technologies through a wide range of training offerings.
Overview All Courses Asia Pacific EMEANorth America
Instructor-led training [ILT] are live classes that are offered in our state-of-the-art classrooms at our worldwide training centers, at your site, or as a Virtual classroom.
Online Training is delivered over the web to let you proceed at your own pace, anytime and anywhere.
Exchange ideas, news, technical information, and best practices.
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.
It's not all about the technlogy. Here we exchange ideas on the Cadence Academic Network and other subjects of general interest.
Cadence is a leading provider of system design tools, software, IP, and services.
I want certain function to be executed when ADE-L or ADE-XL is opened.
So I accomplished that using the following approach:
For ADE L, the only public way is to use the following cdsenv:
asimenv.startup sessInitTrigFunc string ""
This function will get called when ADE L starts. I just did a search in cdnshelp for sessInitTrigFunc - unfortunately the example there is wrong (it talks about putting a function in the .cdsenv - and that's just incorrect - sorry. I'll file a CCR to get that corrected). But here's an example.
For ADE XL you can use axlSessionRegisterCreationCallback(). You can also use deRegUserTriggers with "adexl" as the viewType. The axlSessionRegisterCreationCallback is normally used when you then want to use axlSessionConnect to register callbacks on certain ADE XL events, whereas the deRegUserTriggers I would use if I wanted to customize the UI
In reply to Andrew Beckett:
Using the definition: asimenv.startup sessInitTrigFunc string "" , solves my proble.
I have another questions on similar lines. Like we have dbRegPostSaveTrigger("Test1") and dbRegSaveTrigger("Test2") for all the schematic and layout databases, do we have similar functions for ADE save state.
we need to register trigger function to save state of custom tool along with the artist state. Please do let me know if you have any other method how we achieve it.
In reply to ShrikantTI:
Please contact customer support - I don't believe there's a public trigger to do this.
Hi Andrew, everyone,Continuing the thread with my own experience : I registered one and the same trigger on the 'Save' menus of ADE L and XL doing:
In .cdsinit :
load "CheckLockADESaveMenu.il"envSetVal("asimenv.startup" "sessInitTrigFunc" 'string "customCheckLockPostInstallTrigger") ;# for ADE L
CheckLockADESaveMenu.il is (in short):
;####### Setting callbackdefine(customCheckLockPostInstallTrigger(args) w_window = hiGetCurrentWindow() ;# for ADE L states, window cannot be fetched through (args->window) l = parseString(hiGetWinObjName(w_window)) newLib = nth(length(l)-3 l) newCell = nth(length(l)-2 l) newView = nth(length(l)-1 l) l_bM_handle = eval(cadr(hiGetBannerMenus(w_window))) ;# handle to the 'File' banner, containing the 'Save' menu if(pcreMatchp("adexl" newView) then hiSetMenuItemCallback(l_bM_handle 'saveFileItem "CheckLockADE_XLSaveMenu(newLib newCell newView nil)") ) else ;# state is ADE L hiSetMenuItemCallback(l_bM_handle 'SaveState "CheckLockADE_LSaveMenu(newLib newCell newView nil)") ));####### Triggers registrationdeRegUserTriggers("adestate" nil nil 'customCheckLockPostInstallTrigger)deRegUserTriggers("adexl" nil nil 'customCheckLockPostInstallTrigger);####### ADE L & XL callbacksprocedure(CheckLockADE_LSaveMenu(newLib newCell newView exit) ...)procedure(CheckLockADE_XLSaveMenu(newLib newCell newView exit) ...)
;####### Setting callbackdefine(customCheckLockPostInstallTrigger(args) w_window = hiGetCurrentWindow() ;# for ADE L states, window cannot be fetched through (args->window) l = parseString(hiGetWinObjName(w_window)) newLib = nth(length(l)-3 l) newCell = nth(length(l)-2 l) newView = nth(length(l)-1 l) l_bM_handle = eval(cadr(hiGetBannerMenus(w_window))) ;# handle to the 'File' banner, containing the 'Save' menu if(pcreMatchp("adexl" newView) then hiSetMenuItemCallback(l_bM_handle 'saveFileItem "CheckLockADE_XLSaveMenu(newLib newCell newView nil)") ) else ;# state is ADE L hiSetMenuItemCallback(l_bM_handle 'SaveState "CheckLockADE_LSaveMenu(newLib newCell newView nil)") ))
;####### Triggers registrationdeRegUserTriggers("adestate" nil nil 'customCheckLockPostInstallTrigger)deRegUserTriggers("adexl" nil nil 'customCheckLockPostInstallTrigger);####### ADE L & XL callbacksprocedure(CheckLockADE_LSaveMenu(newLib newCell newView exit) ...)procedure(CheckLockADE_XLSaveMenu(newLib newCell newView exit) ...)
All works well on the triggers side, I get my callbacks executed prior to saving with both ADE L and XL... However, whenever opening an ADE XL view and starting a job over corners, I get the job pending. Whereas double-clicking on the test, opening the test editor, the job runs.Interestingly enough, when restarting virtuoso commenting out the "sessInitTrigFunc" call in my .cdsinit, my ADE XL simulation works... but of course, the ADE L doesn't trigger on 'save' anymore. I don't think axlSessionRegisterCreationCallback() would help me there for ADE XL but I might be wrong.
I wonder if this is because I use only 1 trigger for both tools, or if I don't use the correct trigger types (adestate and adexl) or if there's something more to it... in any case, I can't fathom the reason why, so your guess/feedback would be much appreciated!
Thanks & Regards,MatthieuPS : I use Virtuoso 6.1.5.PPS : ADE XL job distribution method is Local, not LBS
In reply to Matth83:
I've found the error in the ADE XL job's log when the jobs are pending:
\e *Error* Error during configuration of remote session. \e ("hiGetWinObjName" 0 t nil ("*Error* hiGetWinObjName: argument #1 should be a window type (type template = \"w\")" nil))
So, somehow, the hiGetWinObjName() doesn't work on the hiGetCurrentWindow() at ADE XL start-up. Could it be that it loads each test window in a session window and that it doesn't work at beginning since there's no hiGetCurrentWindow() yet? Doesn't explain why it works when not calling the ADE L init triggers tough...
Anyway, I've added a condition "when(w_window then ... )" and it finally works for both ADE L and XL.
Thanks anyway,Kind regards,Matthieu
I think the issue is probably because ADE XL initializes sessions for each test, but does so without a window - so almost certainly it's because your code is assuming that there's a window.
BTW, the deRegUserTriggers on adestate is probably not doing anything, because ADE L is not a "DE" application.