Forum Replies Created
-
AuthorPosts
-
Keith
KeymasterIn 4.4.70 there will be a new function:
geomReportMarkers(val)
If val is false, then subsequent reporting of error markers is turned off if there is no optional message specified.
So for example
Code:geomReportMarkers(False)
geomWidth(in_layer, 0.010, "width < 0.010")
out_layer = geomWidth(in_layer, 0.020)This will create error markers only if in_layer width is less than 0.010. out_layer will be created if in_layer width is less than 0.020.
Keith
KeymasterWhat could be done is have a global variable set which disables DRC marker generation unless you specify explicitly a message in the geom… drc command.
Keith
KeymasterYou mean the database resolution, not grid.
The default DB units are 0.001um, but you can set them to e.g 0.0005 or 0.0001 when you first create a library. So the import techfile dialog, for example,allows you to set the DB units.
Keith
KeymasterSeriously though I can understand that you might not want the DRC marker generated in this case. The issue is how to control it though – adding a flag to disable generating markers would break backward compatibility with existing run sets. I'm open to any ideas.
Keith
KeymasterSure if you're willing to pay for it!
Keith
KeymasterNot at the moment, no.
What you really want is width-dependent spacing rules, but they aren't implemented yet either…
Keith
KeymasterI'm not sure what you're trying to do… Maybe you could generate a small example?
The output layer is created with shapes that are the violation shapes. You can use these in subsequent commands.
There is also a shape on the DRC marker layer created with a string property equal to the message, if specified, or something like 'width < 1.0' depending on the rule. This shape/property can't currently be disabled.
Keith
KeymasterDon't specify them?
e.g. out_layer = geomWidth(in_layer, 1.0)
Or do you not want the drc marker shapes generated at all?
Keith
KeymasterSorry, I was thinking of another rule.
layer = geomLineEnd(layer1, layer2, rule, num_ends, min_adj_edge_length=0.0, flags = 0, const char *message=NULL)
It's not documented but please test it.
Keith
KeymasterSorry not yet, it's not on the priority list yet.
Keith
KeymasterForum should be back up and running OK now. Any difficulty please let me know.
Keith
Keymasteryou substitute myLayer for the layer name you wish to save. It must be a layer name that exists. You could pick a utility layer like y0-y9 if you don't want to create a new layer in your techfile.
Keith
KeymastersaveDerived() will save to a user-defined layer/purpose if you want, e.g.
Code:saveDerived(layer, "myLayer", "drawing", "layout")this will save to layer/purpose myLayer drawing, in the layout cellView.
You could then in the script write some python code to find all shapes on this layer and sum their areas.
There is no DRC function to find the area of a layer right now.
Keith
KeymasterOnly if you use saveDerived() to output the layer polygons to a cellView.
'layers' generated by e.g. geomAnd() are binary files containing the polygons, to access them via Python you have to save them to the database.
Keith
KeymasterIn geomEnclose2 it was minimum values, in geomAllowedEncs it will be allowed i.e. absolute values.
-
AuthorPosts