phlion

About

Username
phlion
Joined
Visits
77
Last Active
Roles
Member

Comments

  • Hi Stefan, Really appreciate the detail explanation about text properties of OASIS format, thank you so much. :smile: -- chhung
  • Hi @Matthias, The code "region.insert(obj.trans * shape.polygon)" seems not work on v0.24.x with the following error message Unexpected object type (expected argument of class CplxTrans, got RBA::Polygon) in CplxTrans::* in Action::trigg…
  • Hi Matthias, Sorry it's me again. :blush: Currently we have two methods to count the area of selected objects: [Method1]Count the area of every selected polygon would over-count the overlap areaif shape.is_polygon? || shape.is_box? || shape.is_pa…
  • Hi Matthias, Really thanks for your quickly response, we tried this program "klayout-0.27.1-win64-c64-install.exe" , and it fixed the "Unsigned integer value overflow" problem we encountered. Thank you so much~ :smiley: -- chh…
  • Hi Matthias, I modified the code and disabled the macros, and tried to write the cell name to file, however the run time is still too long(more than 3 minutes for a 160K cells database) layout = RBA::Layout.newlayout.read("xxx.oas.gz")Fi…
  • Hi Matthias, This patch could be applied on v0.26.5 , v0.25.9 , v0.24.10 and tested OK :+1: Thank you so much :smiley: Best Regards, chhung
  • Hi Matthias, With the final patches, I am able to build klayout v0.26 on RHEL6.2 now. :smiley: Build environment: gcc v5.2.1python v2.6.664bit Coordinate on Really appreciate your kindly help~ :blush: Best Regards, chhung
  • Hi Matthias, I modified the code as your comment, the original error was gone, however it shows undefined reference error now. Is it an issue of our building environment ? make[1]: Entering directory `/klayout-0.26/build-release/unit_tests'g++ -Wl…
  • Hi Matthias, I modified the pyaConvert.h and rebuild it, however got the following error, tried to switch python version from v2.6 to v3.6.5 didn't fix. ../../../src/pya/pya/pyaConvert.h: In member function 'bool pya::test_type_func<__int128>…
  • Hi Matthias, I encountered the same problem while trying to build klayout v0.26 on RHEL6.2/7.4, with python module enable and 64bit coordinate options. If python module is disabled, it passed with 64bit coordinate enabled. If 64bit coordinate is d…
  • Hi Matthias, Sorry to reply so late. I download the master branch from GitHub, and get the same compile error when enabling 64bit coordinate support. Tried to modify the relative .h and .cc from __int128 to __int128_t , the __int128 errors were go…
  • Hi Matthias, I tried to build 0.25.8 with CentOS6(gcc 4.4.6 or 4.4.7), and got many error messages. It's ok to build before adding "-with-64bit-coord" option, could you please help for that ? ../../../src/tl/tl/tlVariant.h:1482: error: '…
  • Hi Matthias, I tried to build a version with "-with-64bit-coord" option but failed, however the same environment is ok to build without "-with-64bit-coord" option, did I miss something? The partial error messages: klayout/sour…
  • Hi Matthias, About the instance properties, the code is modified from if i.is_regular_array? newdb.cell(new_layout2).insert(RBA::CellInstArray.new(inst.cell_index, trans, i.a, i.b, i.na, i.nb))else newdb.cell(new_layout2).insert(RBA::CellInstArr…
  • Hi Matthias, Sorry to reply so late, I've learned about how to merge two db with the same hierarchy and only have different shapes in topcell. However I have no idea if the following line should be executed, is it used to refresh the prop id in the…
  • Hi Matthias, It would be a wonderful world if the copy_tree() could support an option to choose rename/overwrite/skip the same cell name. :P I tried to do the steps(create target layout with file1/file2 topcell name), however jammed on (copy sourc…
  • Hi Matthias, We are trying the fast and dumb way for our approach. XD For example: We have two files(file1 / file2) and want to merge it to a new file(file3) The cell hierarchy like file1 => cellA => cellA1 => cellB => cellB1 …
  • Hi Matthias, Thanks for the explanation in detail, now we know the limitation of semi-hierarchical. We would only use this function carefully on layer OR/Sizing operations. :) Best Regards, -- chhung
  • Hi Matthias, If the hierarchy is: Cell TOP (With layer 1/0 pattern) => Cell A (With layer 1/0 pattern) Once we tried to TOP OR A, the result is correct, however if we tried to TOP NOT A or TOP AND A with hierarchical=false, due to the layer 1/0 …
  • Hi Matthias, Thanks for your code, it works like a charm. And another two questions. XD According to the document in http://www.klayout.de/doc/code/class_ShapeProcessor.html , the first false option is "hierarchical: Collect shapes from sub …
  • Hi Matthias, I'm running klayout v0.24.7 on CentOS6(RHEL6), then I switch to klayout v0.24.5 on MDK9.2, the same problem. CentOS6: gcc 4.4.6-3 + ruby 1.8.7-p352 MDK9.2: gcc 4.2.2-0 + ruby 1.8.7-p371 FYI. Best Regards, chhung
  • Hi Matthias, Mid-autumn Festival is one of the feasts in Taiwan, and temperature is in summer. XD I tested two cells' name, one(cell1) is a subcell of topcell, another(cell2) is second level hierarchy of topcell. cell1(3142.411 , 4646.508)query1:…
  • Hi Matthias, Sorry to reply so late because Taiwan is in Mid-Autumn Festival. I tried the following command in search/replace function select path_trans.disp.x*layout.dbu, path_trans.disp.y*layout.dbu from instances of *where cell.name == "C…
  • Hi Matthias, Really thanks for your sample code, I modified it to fit our requirement. def search_cell(from_cell, name_re, dbu, tr = RBA::CplxTrans::new) from_cell.each_inst do |inst| child_cell = inst.cell path_tr = tr * inst.cplx_trans …
  • Hi Matthias, I tried to upgrade the ruby version from 1.8.5-19(RHEL5.7) to 1.8.7-374-2, and it fixed the rba.cc error, thank you so much~ :) Best Regards, chhung
  • Hi Stefan, Changing -O3 to -O2 fixed the crash issue, thank you so much~ Also thanks Matthias for new version klayout :) Best Regards, chhung
  • Hi Matthias, The cell() function call solved our problem, thank you so much~ One tier sub-cell boolean operation could be apporached like the code: ly = RBA::CellView::active.layouttopcell=ly.top_celltopcell.each_child_cell do |cell| cell(ly.cel…
  • Hi Matthas, This issue has been fixed with your solution, really thanks for your kindly support. Best Regards, chhung
  • Hi Matthias, I tried the new code and it works fine~ :) Thank you so much~ Best Regards, chhung
  • Hi Matthias, I tried to run the RBA code and it responsed the error: *** ERROR: ./test.rba:9: Ruby error: 'uninitialized constant RBA::DRect' (NameError) ./test.rba:9 (class NameError) And is it possible to run the code in non-GUI mode ? Best R…