G
Guenther Sohler
Guest
I like to write a DIVA script to check for lonesome/orphanded/unused
wires.
I like to check that every wire is connected at least 2 times
eg(two via1 in seperate places, or via1 and via2)
I have written this code:
M1_M2=geomAnd(M1 M2)
M1_M2_V1=geomOverlap(M1_M2 V1)
M2_M3=geomAnd(M2 M3)
M2_M3_V2=geomOverlap(M2_M3 V2)
M2_Conn=geomCat(M1_M2_V1 M2_M3_V2)
M2_Err=geomOr(geomEnclose(M2 M2_Conn keep<=1) geomAvoiding(M2 M2_Conn) )
saveDerived(M2_Err "M2 Island found")
This does not flag M2 wires if they are really connected at two diffent
places with M1
But if M2 is connected once with VIA1 and VIA2, the connection polygons
are counted as one, so the tool thinks there is only one connection and
still flags an error.
Does anybody know how to make it working ?
wires.
I like to check that every wire is connected at least 2 times
eg(two via1 in seperate places, or via1 and via2)
I have written this code:
M1_M2=geomAnd(M1 M2)
M1_M2_V1=geomOverlap(M1_M2 V1)
M2_M3=geomAnd(M2 M3)
M2_M3_V2=geomOverlap(M2_M3 V2)
M2_Conn=geomCat(M1_M2_V1 M2_M3_V2)
M2_Err=geomOr(geomEnclose(M2 M2_Conn keep<=1) geomAvoiding(M2 M2_Conn) )
saveDerived(M2_Err "M2 Island found")
This does not flag M2 wires if they are really connected at two diffent
places with M1
But if M2 is connected once with VIA1 and VIA2, the connection polygons
are counted as one, so the tool thinks there is only one connection and
still flags an error.
Does anybody know how to make it working ?