Friday, May 18, 2012     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: New XML-based techfile cross section
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
cdavies
Moderator
Posts: 55
Online: User is Offline
2/21/2008 2:57 PM  
I am looking at parsing the new 16.x XML-based techfile.  One thing I've noticed is that there doesn't seem to be any key that would conveniently indicate the order of the layers in file, other than the natural order they are presented in the file.  Most XML parsers will return the nodes, but there appears to be no way to figure out the order of the layer nodes.

In the old tech files the layers were ordered by an assigned integer (0 = the highest layer, typically the surface layer AIR and each subsequent layer in the stack would be assigned the next available number).  See the numbers in parenthesis ion the example below.

In the new tech files, each layer node is assigned a textual name, for example (old techfile layer index in parenthesis):
SURFACE_2_ABOVE_TOP (0)
DIELECTRIC_ABOVE_TOP (1)
TOP (2)
DIELECTRIC_ABOVE_L2 (3)
L2 (4)
DIELECTRIC_ABOVE_L3 (5)
L3 (6)
DIELECTRIC_MIDDLE (7)
L4 (8)
DIELECTRIC_BELOW_L4 (9)
L5 (10)
DIELECTRIC_BELOW_L5 (11)
BOTTOM (12)
DIELECTRIC_BELOW_BOTTOM (13)
SURFACE_2_BELOW_BOTTOM (14)

We're trying to figure out that after we parse the XML into our program, how do we determine the order of the layers.  There is no index to the nodes. 

Anyone have any ideas?





Charlie Davies
Dave Elder
Moderator
Posts: 150
Online: User is Offline
2/24/2008 1:17 PM  
Hi Charlie,

I too am parsing the XML file (in Skill). I am just using the order that I read the layers in and trusting that it's correct.
Let us know the outcome.

Cheers, Dave

Dave Elder
Tait Electronics
cdavies
Moderator
Posts: 55
Online: User is Offline
2/25/2008 6:26 AM  
Dave,

I am parsing the file in Perl. I was using the XML::Simple package and it did not perserve the node order. It appears as if the Xerces package will preserve the node order. I'll be switching to the XML::Xerces package. I have also asked R&D to add an index identifier in the schema to insure that parsing a bit more straight forward.

I would be intersested in looking at your Skill-based XML parser. Any chance you could share it?

Best Regards,
Charlie

Charlie Davies
Dave Elder
Moderator
Posts: 150
Online: User is Offline
2/25/2008 11:50 AM  
Hi Charlie, My code is less of a parser that a customised extractor. It is customised for my specific requirement (Creating a specification sheet). However, for what it's worth, the code (warts and all) is attached. Cheers, Dave

Attachment: getXMLtechFileData.il


Dave Elder
Tait Electronics
cdavies
Moderator
Posts: 55
Online: User is Offline
2/25/2008 12:47 PM  
Dave,

Thanks. Looks like we could extend this for some other functionality.

Best regards,
Charlie

Charlie Davies
Dave Elder
Moderator
Posts: 150
Online: User is Offline
2/25/2008 12:55 PM  
That's great, Charlie. Feel free to post any enhanced code! Maybe the Skill forum is more appropriate. Cheers, Dave

Dave Elder
Tait Electronics
Posting to forums is available to community members only.
Login or Register

Forums > Silicon-package-board > PCB Design > New XML-based techfile cross section


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.