Keith

Forum Replies Created

Viewing 15 posts - 106 through 120 (of 861 total)
  • Author
    Posts
  • in reply to: Grid resolution #2152
    Keith
    Keymaster

    Are you passing values to PCells in dbu rather than microns or metres?

    The schematic/symbol dbuPerUU is always 160 (to be compatible with Cadence so you can e.g transfer schematic via EDIF). The layout dbuPerUU is what you set a library to when you create it, usually 1000.

    So if you pass values in dbu they will be incorrectly scaled if used directly. Is that the problem?

    in reply to: Retrieve properties from schematic instance #2149
    Keith
    Keymaster

    Yes this would make sense for the python interface. I?ll put it on the list.

    in reply to: heirarchy not working after 3rd instansiation #2147
    Keith
    Keymaster

    Sorry, no images attached to this msg. Please send images etc. to support @ peardrop.co.uk. Thanks.

    Edit: Have you set the display stop/start to view all layers of the hierarchy?

    in reply to: Retrieve properties from schematic instance #2144
    Keith
    Keymaster

    I've put a beta copy of 4.6.32 with changes to the property list code that allow the use of the following function for all objects:

    getPropList()

    This returns a python list of 'prop' objects (alas the can't be called 'property' as this causes SWIG errors)

    A prop object has the following functions:

    setName(name) – set the prop name
    name() – get the prop name
    setType(type) – set the type, using the enum propType (stringType, integerType, floatType, booleanType)
    type() – returns the propType
    setData(value) – sets the prop value. Overloaded for the different propTypes.
    data() – return a union of the value. So data().s resturns string value, data().i returns integer value, data().g returns float value, data().b returns boolean value.
    setVisible(bool) – set whether the property should be visible in schematics
    visible() – returns isVisible

    in reply to: Retrieve properties from schematic instance #2143
    Keith
    Keymaster

    It's not documented as it's an internal function that doesn't have a SWIG wrapped data structure.

    I'll need to make some changes to the code in order to make this visible and usable. I'll target it for 4.6.32, i.e. next release.

    in reply to: detecting overlap of rectangle? #2140
    Keith
    Keymaster

    You can use a single layer AND like this:

    poly = geomGetRawShapes("poly", "drawing")
    ovlp = geomAnd(poly)
    saveDerived(ovlp, "Poly shape overlap!")

    The function geomGetRawShapes() does not carry out a merge on the input data. The shapes need to be simple polygons i.e. not self-intersecting. But if you're using a specific layer, and expect all shapes to be rectangles, this condition should be met.

    in reply to: via definition #2137
    Keith
    Keymaster

    Other thing to check is if your fit% factor changed with the change to xml settings. You can find it under View->Pan/Zoom Options…

    A Fit% of 90 is usually a good value.

    in reply to: via definition #2135
    Keith
    Keymaster

    Did you check the cellView bounding box value was OK? Just query with nothing selected.

    in reply to: via definition #2133
    Keith
    Keymaster

    Fit will use the cellView's dbuPerUU. But it's possible that the cellView bounding box was not updated after the change in dbu.

    cv = getEditCellView()
    cv.update()

    Should fix that.

    in reply to: via definition #2131
    Keith
    Keymaster

    You can use the yank/paste commands (ctrl-c / ctrl-v) to copy & paste from one cellView to another.

    in reply to: via definition #2129
    Keith
    Keymaster

    Do you mean vias as in via objects, or just shapes on a certain layer?

    You may need to send me an example then. Ideally with steps that reproduce the issue.

    in reply to: via definition #2127
    Keith
    Keymaster

    There are a few other things to check – make sure the dbu is what you expect, just query in the cellView with nothing selected and you should see the dbu. And you can try selecting everything (ctrl+a) and query, and step through each selected object to see what is there.

    in reply to: via definition #2124
    Keith
    Keymaster

    Vias have shapes on layers in database units, depending on the library units when created, and are stored by an index in a library. So I wonder if what's happening is that you have old ones mixed with new ones of different scale?

    in reply to: via definition #2122
    Keith
    Keymaster

    Database units issue again? Nothing has changed in the via code recently.

    in reply to: layer disappeared #2119
    Keith
    Keymaster

    Check you have labels set visible (Display Options dialog)? With the migration to XML based settings this setting may have been changed.

Viewing 15 posts - 106 through 120 (of 861 total)