Thursday, January 08, 2009     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: Skill Routine Loads From Command Line but Not ilinit
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
CJB
Posts: 0
Online: User is Offline
4/23/2008 10:47 AM  
I know this may be a pretty broad question, but here it comes :) I have a skill routine in my Skill path that has no problem loading from the command line, ex: (load "tools.il") The skill routine works perfectly with no errors. The registerd functions work without issue. However when I try to load it through allegro.ilinit I get an error: E- *Error* load: error while loading file - "tools.il" With no other error messages. When I try to run a registered function (ex function_name) it gives an error like: E- *Error* toplevel: undefined variable - function_name At this point if I load it manually at the command line it works fine. Is there something different required to load skill from the ilinit as opposed to loading from the command line? Why would it work one way and not the other? Thanks for any help. Chris
CJB
Posts: 0
Online: User is Offline
4/23/2008 10:50 AM  
Sorry for the big paragraph. I typed it out with paragraphs but the formatting was lost when I posted??
Randy R.
Posts: 52
Online: User is Offline
4/23/2008 10:59 AM  
Two possiblities that I can think of:
1) You may need to use skill load command syntax; i.e. load(filename,...) see the sklangref.pdf in the Allegro installation doc subdirectory
2) You may need to specify the full pathname. Maybe the Skill path isn't active at the time the ilinit file is checked?

G'Day,
fxf
Posts: 43
Online: User is Offline
4/23/2008 2:04 PM  
You should make sure you do not execute any AXL APIs during allegro.ilinit except for axlCmdRegister.
Neither the Allegro database nor the user interface is active when allegro.ilinit is parsed, so you need to stay away
from having any AXL code execute.

For example the following is not legal because an AXL function is executed during:
p = axlDBGetDesign()

But the following will work since the AXL API is inside a function that is not excecuted
procedure( testme()
p = axlDBGetDesign()
printf("%L" p)
)
axlCmdRegister("test" 'testme)


Contents of allegro.ilinit:
1) Define new functions (procedures)
2) axlCmdRegister allowed
3) minimize the number of global scope variables. If you need to them keep it as simple as possible (e.g initialize to nil)
CJB
Posts: 0
Online: User is Offline
4/24/2008 6:49 AM  
Thanks for the replies! fxf you got it. I had a single AXL API executing (besides axlCmdRegister) to define a global variable. Removed that and all is working good. Thanks you so much :)
Posting to forums is available to community members only.
Login or Register

Forums > Silicon-package-board > Shared code - SKILL > Skill Routine Loads From Command Line but Not ilinit


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.