It looks like you're new here. If you want to get involved, click one of these buttons!
I need to associate a range of datatype to a layer and another range to another layer in a layer_proc.rbm script.
For instance :
nwell = input(3,0)
nwell_others = input(3,1 to 255) # : how to write this line ?
Thanks,
OkGuy
Comments
Hi OkGuy,
Right now it is not possible to specify input in that way. You can map input layers when reading (layer mapping table in the reader options - see http://www.klayout.de/doc/about/layer_mapping.html). That means you can map datatype 1-255 to 1 and work with 1 in the layer processor script. But that is just a workaround.
Do you really have "all" datatypes? Usually there is a distinct set of datatypes, i.e. for routing, via, fill and it is sufficient to merge three or four. It's a bit tedious to write, but avoids problems when somebody invents a new datatype which is not supposed to be mixed with the others.
Regards,
Matthias