Matthias

About

Username
Matthias
Joined
Visits
16
Last Active
Roles
Member

Comments

  • Hi Laurent, regarding the DRC runset issue, the following might be the solution you look for: M1 = input(31, 0)M1_EDGES = M1.edgesM1_EDGE_45 = M1_EDGES.with_angle(45) + M1_EDGES.with_angle(135)M1_EDGE_45.width(0.3,euclidian).output("M1_EDGE_4…
  • Hi Laurent, maybe the allocation problem is not because of too much input but because of too much output. Let me explain: if you produce output to a report database, the memory requirements are much bigger. The report database is expected to recei…
  • Hi Laurent, yes, sorry, you're right. I stand corrected. Micrometer is the default unit, but in order to make sure you get what you want, I'd suggest to add the unit explicitly. But about the bad allocation: are you saying that also happens on a s…
  • Hi Michael, thank you .. that is almost too much praise :-) I'll let you know when I'm in need for a donation. Right now I don't have plans to close anything and I'm not the one who holds users to ransom like saying "donate or I won't continu…
  • Hi Laurent, "bad allocation" indicates that the DRC runs out of memory. Can you reproduce the error on a small layout as well? KLayout's DRC is a flat engine and that means it can use a considerable amount of memory. If you want to run th…
  • Hi, that can be fixed with a #include <QtGui/QHeaderView> somewhere at the beginning of laySearchAndReplaceDialog.cc. I am sorry about that, but I can't test all possible combinations of gcc/Qt/Ruby ... I'll include that patch in the sou…
  • Hi, A marker es removed from the view when the RBA::Marker object is destroyed. Because that is automatically done by the garbage collector, you'll have to keep a marker reference somewhere in your code. You can force a marker to be destroyed by us…
  • Hi friendfx, Regarding your questions about the stale references: performance-wise there is no difference between pure objects and database references. When it comes to execution speed, Ruby is not the best choice anyway. I considered opening a new…
  • Hallo, the behaviour is intended and there is an explanation: First of all, "Text" is the working object. You can manipulate it with it's methods like any normal Ruby object. When you insert such an object into the layout database, a cop…
  • Hi, I'm afraid that is a bug. Thanks for reporting that. The problem is that the underlying function returns -1 for outside, 0 for on the polygon and 1 for inside. That does not map well to a boolean return value. -1 becomes true for outside as we…
  • Hi Norman, it looks like you are using some custom built Qt package. It's not usual to link against static libraries. Typically you use .so libs which resolve their dependencies by itself. If you build Qt the standard way, it will be installed in …
  • Hi, you don't nee to recompile the tool. You can actually install fonts by packing them into a normal layout file and putting that to some particular place. You'll have to observe some rules (i.e. layer numbers) and you can add some meta informatio…
  • Thanks ... I am happy to see it pays off to take care of explanations :-) Matthias
  • Hi Max, That is an effect which is caused by the text optimization. If you disable "lazy text rendering" in File/Setup -> Display/Optimization, the text should be shown. The optimization is to skip drawing of texts on small cells - te…
  • Well, a cell "moves" if you instantiate it. Just creating a cell will not make it a child cell. If you create a cell instance in another cell by using the "Instance" function, the instantiated cell will become a child cell automa…
  • Hi Max, the colorization is just a visualization feature. Separating a layout into nets is doable, but not scope of the net tracer. Instead of separating the whole layout into individual nets, the net tracer's tagret is to extract a single (prefera…
  • Hi, you'll need zlib1g-dev, zlib1g is just the runtime. BTW, you can simply use one of the .deb packages provided for download. They were built for Ubuntu 12. Matthias
  • Hi, in your build the ruby integration is still active. You can force exclusion of ruby by modifying the build script (replaces lines 252 to 268 by simply "HAVE_RUBY=0"). What is the version of your ruby installation (check with "ru…
  • Hi, two choices: * select your target cell in the cell list and middle-mouse click that cell or choose "Show as new top" from the context menu. The cell now becomes the new top cell and every new object goes there. * descend in the hiera…
  • ... and one last comment of mine: the next version will come with colors that you can assign individually to each net :-) Matthias
  • Hi, I don't think there is something like the "GDS standard". The binary syntax of the format is more or less fixed, but the GDS implementations differ in the limitations they impose. Here is an (incomplete) list of aspects that various i…
  • Hi, use of properties is somewhat restricted within GDS. GDS only allows numeric property "names". In the user properties dialog you have to enter "#xy" for such names. A value of "17" for example is taken as a string …
  • Hi Michael, Since the vectors swiched as well, the arrays will look perfectly identical, so there is no immediate effect on the layout. Basically "rows" and "columns" are interchangable within KLayout and both vectors are just …
  • In order to do so you'd have to build KLayout yourself. On Windows, there is a compiler switch which controls that ("HAVE_RUBY"). On Linux, the build won't include Ruby support, if the build script can't find a ruby interpreter. But I wo…
  • Hi Lital, I guess it will work if you use "cell_by_name" instead of "add_cell" in 9.). "add_cell" will create a new cell which then is empty so there is nothing to transform. Use "cell_by_name" will return a…
  • Hi Max, well, 0.21.16 was not featuring those methods. I'll update the PDF documentation some time, but frankly that's not my top priority. If you want to have an up-to-date documentation, I'd ask you to look for the online doc or the build-in one.…
  • Hi Max, The respective methods are Shape#set_property to set a property and Shape#property to get a property (or nil, if no property is set). Every property has a value and a key. In GDS, the key is always a number (PROPATTR) and the value is a str…
  • Hi zlim, For someone calling himself "new to Ruby" this is actually quite good :-) Regarding your request, there are some more event you can register at in the LayoutView class, but there is no event for "save as" currently, so…
  • Hi Lital, There are two ways to move a layout: First you can build a new cell atop of your current top cell and instantiate your original top cell giving the instance a shift vector. That simple solution effectively moves you whole layout but intr…
  • Hi all, nets are not available by script (yet), so the scripting approach is not possible currently. The "extract to layout" approach is also valid but I admit it's quite tedious. Regarding the short detection - That is what the "T…