Keith

Forum Replies Created

Viewing 15 posts - 736 through 750 (of 861 total)
  • Author
    Posts
  • in reply to: from functionModule import * ? #800
    Keith
    Keymaster

    Sorry, its just the way Python works.

    in reply to: from functionModule import * ? #798
    Keith
    Keymaster

    You just need to have the directory in your PYTHONPATH so the python interpreter can find the module.

    in reply to: Dealing with layers #796
    Keith
    Keymaster

    That's correct. A layer-purpose pair is only created if there are shapes in the cellView for that layer. If you have an instance in the cellView, then that instance's master cellView will have lpps for the layers it contains.

    in reply to: Dealing with layers #794
    Keith
    Keymaster

    Remember that getLpp() will only return a layer number if the cellView contains shapes on that layer. So it may be that there are no shapes on L1 for the cellView you are querying.

    in reply to: Dealing with layers #792
    Keith
    Keymaster

    Not sure I understand – getLpp() returns NULL if a layer number that does not exist is given.

    in reply to: Dealing with layers #790
    Keith
    Keymaster

    The getLpp() function takes an integer layer number. To get a layer number from a layer name and purpose name, you need to use the following method:

    # Get the library
    lib = cv.lib()

    # Get the techfile associated with this library
    tech = lib.tech()

    # Get the layer associated with a layer name / purpose, or -1 if it does not exist
    layer = tech.getLayerNum("L1", "drawing")

    The getLpps() function returns a dbObjList of dbLpps. However on checking it is returned as a swig object – hence why you can't do much with it – this needs to be fixed.

    in reply to: Copy cell across libraries #787
    Keith
    Keymaster

    That's because undo/redo was never implemented for the flatten command. It's probably undoing the last 'create instance' command.

    I have implemented undo/redo now, please try it out.

    in reply to: Copy cell across libraries #785
    Keith
    Keymaster

    This is fixed, on win32 only at the moment. Other ports to follow…

    in reply to: function to copy from one cell to another layout cell #784
    Keith
    Keymaster

    It should be fairly straightforward to add the capability to specify a target cellview (default = current cellview) for the copy command.

    in reply to: Copy cell across libraries #783
    Keith
    Keymaster

    I'll take a look… sounds like a bug.

    in reply to: Growing/relative stretching? #779
    Keith
    Keymaster

    You can use the boolean operations command – selct the shapes and set Layer1 to the layer of the shapes, and set Resulting Layer to the layer you want to size to (could be the same layer, but if you want to subsequently XOR the resulting layer with the original to create holes you will want to output to a dummy layer). Set the amount you want to size by in the size field, and set the Operation for Size lyr1 and the mode to Selected shapes on layer.

    The other way is to write a python DRC script to do this using the geom… commands.

    in reply to: Layout not displaying – again #777
    Keith
    Keymaster

    The warnings can be ignored, however the error messages are telling you that your lef file(s) have VERSION defined as 5.2 yet you are using 5.4 constructs.

    Edit your LEF files and change the VERSION in them to 5.4 and hopefully that will solve the problem.

    in reply to: Layout not displaying? #775
    Keith
    Keymaster

    Owing to the way commands are handled, its not that simple to stack both the from/to coords in a single dialog box. There may be a better way of simplifying the move/copy by delta command, though.

    I have added a dX/dY display on the status bar for move/copy/stretch commands in version 4.1.15. It will be released shortly.

    in reply to: Layout not displaying? #773
    Keith
    Keymaster

    Actually it's already possible to move or copy an object by some delta x/y.

    Invoke the command from the menu e.g Edit->Move. It will prompt you for the first coordinate of the move. Press F5, this will bring up a dialog asking for the XY starting coords. Enter x=0, y=0 and press OK.

    Then press F5 again to enter the second coordinate. Enter the delta x, delta y you wish to move by and press OK. The object will be moved by the delta value you specify.

    in reply to: Layout not displaying? #772
    Keith
    Keymaster

    The log file is written to a file called 'glade.log' in the folder/directory Glade was started from.

    So for Linux this is usually obvious, for Windows if you double click on the Glade icon it will be in that folder, except if you're using a shortcut in which case right click on the shortcut icon, select 'properties' and look in the 'Start in' folder for the glade.log file.

Viewing 15 posts - 736 through 750 (of 861 total)