The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Other CAD Tools >> Entry Tools >> Get portOrder of one cell with skill https://designers-guide.org/forum/YaBB.pl?num=1364048933 Message started by ywguo on Mar 23rd, 2013, 7:28am |
Title: Get portOrder of one cell with skill Post by ywguo on Mar 23rd, 2013, 7:28am Hi Guys, I have a part of skill code that updates the pin orders in CDF. It needs to get portOrder of the cell first. But it fails to get portOrder with the code cv~>portOrder It returns nil if I type the code in CIW. Please look at the complete code in the following. Code:
Is portOrder not valid for the symbol view? Thanks in advance. Yawei |
Title: Re: Get portOrder of one cell with skill Post by ywguo on Mar 23rd, 2013, 9:17am That symbol has not the portOrder property if I type in cv~>prop~>name. It is so curious that it lost some important properties including portOrder. I failed to export CDL of another cell because it lost the properties like 'lastSchematicExtraction' or 'syLastExtraction". It reports the following ERROR message. Quote:
|
Title: Re: Get portOrder of one cell with skill Post by bernd on Mar 26th, 2013, 4:27am Shouldn't it be pinOrder and a cell property, rather than a portOrder and a cellview property. Try schGetPinOrder(cvId). * |
Title: Re: Get portOrder of one cell with skill Post by ywguo on Mar 26th, 2013, 6:27am Hi Bernd, It works。Thank you very much. The following is my code. Code:
To my surprise, some cellviews has the portOrder property, but some cellviews has not that portOrder property. Anyway, your function works. Best Regards Yawei |
Title: Re: Get portOrder of one cell with skill Post by ywguo on Mar 26th, 2013, 6:31am ywguo wrote on Mar 23rd, 2013, 9:17am:
In my case, the CDL netlisting has nothing to do with term order in CDF. It caused by the lost of the above two properties, 'lastSchematicExtraction' or 'syLastExtraction'. I find a solution there http://www.cadence.com/community/forums/T/2859.aspx opening the calibre view, and typing: dbSetConnCurrent(cv=geGetEditCellView()) dbSave(cv) --Yawei |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |