Forum Replies Created
-
AuthorPosts
-
Keith
KeymasterSorry, its just the way Python works.
Keith
KeymasterYou just need to have the directory in your PYTHONPATH so the python interpreter can find the module.
Keith
KeymasterThat'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.
Keith
KeymasterRemember 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.
Keith
KeymasterNot sure I understand – getLpp() returns NULL if a layer number that does not exist is given.
Keith
KeymasterThe 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.
Keith
KeymasterThat'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.
Keith
KeymasterThis is fixed, on win32 only at the moment. Other ports to follow…
Keith
KeymasterIt should be fairly straightforward to add the capability to specify a target cellview (default = current cellview) for the copy command.
Keith
KeymasterI'll take a look… sounds like a bug.
Keith
KeymasterYou 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.
Keith
KeymasterThe 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.
Keith
KeymasterOwing 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.
Keith
KeymasterActually 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.
Keith
KeymasterThe 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.
-
AuthorPosts