It looks like you're new here. If you want to get involved, click one of these buttons!
Hello,
I'm using this script:
=============================
#
#
#
#
#
l1 = layout($gds1)
l2 = layout($gds2)
$xorresultmio = 0
layers = []
[ l1, l2 ].each do |l|
l.layout.layer_indices.each do |index|
info = l.layout.get_info(index)
layers << [info.layer, info.datatype ]
end
end
layers.sort.uniq.each do |l,d|
log "Running XOR between layer #{l}/ datatype #{d} .."
if l1.input(l, d) ^ l2.input(l, d)
$xorresultmio = 1
end
end
puts [$xorresultmio]
if $xorresultmio == 1
target($out)
layers.sort.uniq.each do |l,d|
log "Running XOR between layer #{l}/ datatype #{d} .."
(l1.input(l, d) ^ l2.input(l, d)).output(l, d)
end
end
==========================================
on 0.25 version and I received this error message:
No output cell specified
No error message has been received on version 0.23.11
Regards
Luciano
Comments
Please, please, please ... use Markdown formatting for your code. Put a triple backtick in front of it and after it.
This is unreadable.
Matthias
The solution is to specify an output top cell for "target":
Sorry Matthias for the issue on reading script.
With your solution It works correctly
Thanks
Luciano