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: cwidth.il script not working
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
gerrym_fcs
Posts: 0
Online: User is Offline
10/01/2006 7:21 PM  

I have a skill script called cwidth.il I haven't used it in a while but I need to use it now desperately and it does not work. I have tried both v15.2 and v15.5. Below is the transcripyt of the erroer and I'll attach the script as well. Any help would be greatly appricated it's a great script to have when you need it to change cline width on a layer and segement basis.

Loading signal.cxt

Loading axlcore.cxt

** Selected 218 Cline Segments. **

** Changing 218 Seg Widths, please wait.

E- *Error* setq/set: Variable is protected and cannot be assigned to - newline

Command >

 

It did not change a thing.  One thing it DID do was turn off all subclasses except the etch subclass I was changing


Attachment: cwidth.il

bernd.fischer
Posts: 15
Online: User is Offline
10/02/2006 2:32 AM  
Who is the owner of the script, you'd better consult him?

SKILL lint reports a bunch of missing functions
defined in the script, so it's impossible to debug
(at least for me).

> E- *Error* setq/set: Variable is protected and cannot be assigned to - newline
There is a write protected variable in the script.
Or one of your objects has an attribute which can not be set new.

Bernd

Attachment: cwidth.sklint.il

adbeckett
Posts: 248
Online: User is Offline
10/02/2006 5:01 AM  
This code is for Allegro, and so you should ask this question in the Silicon Package Board SKILL forum, not here.

Bernd, SKILL Lint in DFII is not likely to be that much help, given that many of the functions are missing since they are Allegro "axl" funcitons...

Regards,

Andrew.
Dave Elder
Moderator
Posts: 150
Online: User is Offline
10/02/2006 9:55 PM  
Hi Gerry,

I changed the variable named "newline" (which IS reserved) to "newLine" (note the upperCase "L") and the code worked - albeit with plenty of warnings and a minimum new width of 1.0 which is too small for a metric board.

Cheers, Dave

Dave Elder
Tait Electronics
Geoffm
Posts: 6
Online: User is Offline
10/03/2006 5:41 AM  
Dave,

What [b]are[/b] the reserved words in Skill? I did a program not too long ago that used "Print" as a menubutton name. It took me a while to figure out that the name was causing a problem. A list of reserved wods would be really helpfull in debugging.

- Geoff
Dave Elder
Moderator
Posts: 150
Online: User is Offline
10/03/2006 8:05 PM  
Hi Geoff,

Sorry, I'm not sure that there's an easy way to get that list.
You can use the oblist to get an idea. Just type "oblist" at the Skill command window.
I try to avoid any obvious variable names and always use a let statement to declare all variables as local.
You can use sklint to do another check.

Cheers, Dave

Dave Elder
Tait Electronics
tschirmer
Posts: 15
Online: User is Offline
10/23/2006 3:34 AM  
Never heared of oblist, how to parse it's output ?

I know of the _lfn() macro which accepts an regexp string to search for functions.
_lfn( "axl") returns all AllegroPCB skill functions starting with axl...
_lfn( "cn") returns all ConceptHDL skill functions starting with cn... (when started from cnskill.exe)

This way you can create the needed input for a texteditor which supports function highlighting
(see: http://www.tschirmer.de/e_goodstuff.html#Notepadpp )

Tobias
Posting to forums is available to community members only.
Login or Register

Forums > Silicon-package-board > Shared code - SKILL > cwidth.il script not working


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.