Hi,I am using the following command to search the pin called "b" in the layout leSearchHierarchy(cv cv~>bBox 0 "pin" list(list("term name" "==" "b"))) But the output I am getting is for "*b*" not for "b"
Any comment , suggestion will be deeply appriciated
I believe that the GUI form implicitly adds a "^" to the front and a "$" to the end of the query, but your SKILL code criteria is taken more literally, hence it would find all of the pins that had a "b" in the name. The simple fix in this case is to change the search expression to "^b$" and you will get just the pins with the name "b". I tested this in IC5141 and IC61x and it seems that the leSearchHierarchy() function behaves the same in both.
Thank you Lawrence. Its working fine.
Thanks Lawrence , It is working.
But One problrm is using SKILL command is very slow compared to GUI, Is there any way to make it faster ?
The GUI uses a different function - leHiSearch() does not call leSearchHierarchy() directly, and if looking within the current cellview, it calls a different function still. So, the answer is either to try and write your own pin search routine (rather than the generic capabilities of the leSearchHierarchy function), or to perhaps invoke the GUI function instead.