It looks like you're new here. If you want to get involved, click one of these buttons!
PI1.inside(DIE).output(51,1000)
PI1_IO=input(51,1000)
PI1.not_inside(DIE).output(51,1001)
PI1_edge=input(51,1001)
PI2.inside(DIE).output(56,1000)
PI2_IO=input(56,1000)
PI2.not_inside(DIE).output(56,1001)
PI2_edge=input(56,1001)
###check RuleL ####
as this DRC code , we have to make some template layers during DRC .
after rule check , how to remvoe /clear these templete layers (by DRC code).
I have try the way as below , but it is not work....
PI2_IO.not(PI2_IO).output(56,1000)
PI2_edge.not(PI2_edge).output(56,1001)
Comments
@jiunnweiyeh You do not need to generate output layers if you do not need the layer later.
Instead of
you simply say
to save some memory you can delete a layer once you do not need it anymore using "forget":
Matthias
Hi Matthias,
Thanks a lot for your help.
Hi Matthias,
Is it possible to using this code?
(I want to remove layer 86,0)
No. "forget" only frees memory of a temporary layer.
If you want to clear a layer in a DRC script, you can write an empty layer to it:
Matthias
Hi Matthias,
please let ms explain more detail, as this code
this code is workable , out it will output 2 new layer , 1 is "PI1_io" , another 1 is "PI1_io_large"
when I change the code as below...
it is not workable , and output a error message .
this is why I want to using the code 1 for DRC .
and , cause I will output addtion template layer , in this case , it is "PI1_io_large" and "PI1_io_small"
these layers will make some confuse in designer , it is why I want to remove or empty the both layers.
even I copy a empty layer as your code
polygons.output("PI1_io_small")
I still can't make the both layers been empty..
could you please help it?
Thanks.
@jiunnweiyeh There is an additional dot at the end of this line:
This will make the parse think there is a method following
Matthias