| |
 |
|
| Computers Forum Index » Computer - Cadence » Terminal question... |
|
Page 1 of 1 |
|
| Author |
Message |
| PolyPusher... |
Posted: Tue Oct 13, 2009 4:57 pm |
|
|
|
Guest
|
geGetSelectedSet(geGetEditCellView())~>master~>terminals~>name
I am noticing that if a master terminal is deleted(in this case the
net still exists with routing in the master), the net is still in the
list of terminals. Is this an incorrect way of checking for master
terminals or do I need to check for existing of a physical pin?
How would I, from the top cell level, take the list of nets from the
above code and check for the existance of a physical pin??
Thank you in advance,
Eric |
|
|
| Back to top |
|
|
|
| PolyPusher... |
Posted: Tue Oct 13, 2009 7:58 pm |
|
|
|
Guest
|
On Oct 13, 11:57 am, PolyPusher <eric.d.fitzsimm... at (no spam) gmail.com> wrote:
Quote: geGetSelectedSet(geGetEditCellView())~>master~>terminals~>name
I am noticing that if a master terminal is deleted(in this case the
net still exists with routing in the master), the net is still in the
list of terminals. Is this an incorrect way of checking for master
terminals or do I need to check for existing of a physical pin?
How would I, from the top cell level, take the list of nets from the
above code and check for the existance of a physical pin??
Thank you in advance,
Eric
geGetSelectedSet(geGetEditCellView())~>master~>terminals~>pinCount
I think I need to make sure the pin count is not "zero" Is there an
easier way?
Thank you in advance,
Eric |
|
|
| Back to top |
|
|
|
| Andrew Beckett... |
Posted: Wed Oct 14, 2009 5:15 am |
|
|
|
Guest
|
PolyPusher wrote, on 10/13/09 20:58:
Quote: On Oct 13, 11:57 am, PolyPusher <eric.d.fitzsimm... at (no spam) gmail.com> wrote:
geGetSelectedSet(geGetEditCellView())~>master~>terminals~>name
I am noticing that if a master terminal is deleted(in this case the
net still exists with routing in the master), the net is still in the
list of terminals. Is this an incorrect way of checking for master
terminals or do I need to check for existing of a physical pin?
How would I, from the top cell level, take the list of nets from the
above code and check for the existance of a physical pin??
Thank you in advance,
Eric
geGetSelectedSet(geGetEditCellView())~>master~>terminals~>pinCount
I think I need to make sure the pin count is not "zero" Is there an
easier way?
Thank you in advance,
Eric
Either that, or look at terminals~>pins . You could do:
foreach(term car(geGetSelSet())~>master~>terminals
when(term~>pins
printf("Terminal %s has pins\n" term~>name)
)
)
I wasn't entirely sure what you were trying to do...
Andrew. |
|
|
| Back to top |
|
|
|
| PolyPusher... |
Posted: Thu Oct 15, 2009 1:25 pm |
|
|
|
Guest
|
On Oct 13, 10:47 pm, Andrew Beckett <andr... at (no spam) DcEaLdEeTnEcTe.HcIoSm>
wrote:
Quote: PolyPusher wrote, on 10/13/09 20:58:
On Oct 13, 11:57 am, PolyPusher <eric.d.fitzsimm... at (no spam) gmail.com> wrote:
geGetSelectedSet(geGetEditCellView())~>master~>terminals~>name
I am noticing that if a master terminal is deleted(in this case the
net still exists with routing in the master), the net is still in the
list of terminals. Is this an incorrect way of checking for master
terminals or do I need to check for existing of a physical pin?
How would I, from the top cell level, take the list of nets from the
above code and check for the existance of a physical pin??
Thank you in advance,
Eric
geGetSelectedSet(geGetEditCellView())~>master~>terminals~>pinCount
I think I need to make sure the pin count is not "zero" Is there an
easier way?
Thank you in advance,
Eric
Either that, or look at terminals~>pins . You could do:
foreach(term car(geGetSelSet())~>master~>terminals
when(term~>pins
printf("Terminal %s has pins\n" term~>name)
)
)
I wasn't entirely sure what you were trying to do...
Andrew.- Hide quoted text -
- Show quoted text -
That works.
However, why does the term~>name exist with no pin no longer there?
I would think the "name" would be removed with the pin.
Thank you for the education as always,
PolyPusher |
|
|
| Back to top |
|
|
|
| Andrew Beckett... |
Posted: Fri Oct 16, 2009 3:07 am |
|
|
|
Guest
|
PolyPusher wrote, on 10/15/09 14:25:
Quote:
That works.
However, why does the term~>name exist with no pin no longer there?
I would think the "name" would be removed with the pin.
Thank you for the education as always,
PolyPusher
It's possible to have a database which just has connectivity and no physical
representation. So you can have terminals, instances and nets - with no pins or
wires (or routing). You get such things if you do a File->Import->Verilog and
choose not to create a schematic.
So it's perfectly OK to have a terminal without any pins. The terminal is the
logical part, and the pin is the physical part.
Regards,
Andrew. |
|
|
| Back to top |
|
|
|
| PolyPusher... |
Posted: Fri Oct 16, 2009 12:10 pm |
|
|
|
Guest
|
On Oct 15, 6:07 pm, Andrew Beckett <andr... at (no spam) DcEaLdEeTnEcTe.HcIoSm>
wrote:
Quote: PolyPusher wrote, on 10/15/09 14:25:
That works.
However, why does the term~>name exist with no pin no longer there?
I would think the "name" would be removed with the pin.
Thank you for the education as always,
PolyPusher
It's possible to have a database which just has connectivity and no physical
representation. So you can have terminals, instances and nets - with no pins or
wires (or routing). You get such things if you do a File->Import->Verilog and
choose not to create a schematic.
So it's perfectly OK to have a terminal without any pins. The terminal is the
logical part, and the pin is the physical part.
Regards,
Andrew.
"The terminal is the logical part, and the pin is the physical part."
I understand now.
Thank you for the education and patience,
PolyPusher |
|
|
| Back to top |
|
|
|
|
|
All times are GMT
The time now is Sun Nov 22, 2009 2:44 pm
|
|