Friday, 2019-06-28

*** tpb has joined #symbiflow00:00
litghostmithro: Bouncing between 050/056 is probably okay, as 050 is semi-random00:03
litghostmithro: 044/046 should probably be more stable00:03
*** Vonter has quit IRC01:08
*** proteusguy has quit IRC01:15
hackerfooHas anyone considered using types in the SymbiFlow Python scripts? e.g. https://github.com/python-attrs/attrs01:17
tpbTitle: GitHub - python-attrs/attrs: Python Classes Without Boilerplate (at github.com)01:17
hackerfooA lot of the documentation seems to be listing the expected types.01:18
*** proteusguy has joined #symbiflow01:20
*** Vonter has joined #symbiflow01:34
*** tweakoz has joined #symbiflow01:59
*** space_zealot has joined #symbiflow01:59
*** shenki has quit IRC03:14
*** space_zealot has quit IRC04:02
*** kraiskil has joined #symbiflow04:44
*** Vonter has quit IRC06:14
*** Miyu has joined #symbiflow06:21
*** adjtm has quit IRC06:22
*** adjtm has joined #symbiflow06:22
*** Vonter has joined #symbiflow06:42
*** xobs has quit IRC07:01
*** mrhat2010[m] has quit IRC07:01
*** alexhw[m] has quit IRC07:01
*** nrossi has quit IRC07:01
*** zeigren has quit IRC07:01
*** vitamin-q[m] has quit IRC07:01
*** nrossi has joined #symbiflow07:11
*** xobs has joined #symbiflow07:45
*** zeigren has joined #symbiflow07:45
*** alexhw[m] has joined #symbiflow07:45
*** vitamin-q[m] has joined #symbiflow07:45
*** Vonter has quit IRC07:45
*** mrhat2010[m] has joined #symbiflow07:45
*** Vonter has joined #symbiflow07:48
*** OmniMancer has joined #symbiflow08:09
*** kraiskil has quit IRC08:20
sf-slack2<acomodi> mithro: I think I don't understood correctly: you mean including the VtR CI test suite to the SymbiFlow-arch-defs repo? Or run VtR tests with Kokoro in the SymbiFlow/VtR fork?08:42
*** adjtm has quit IRC09:30
*** citypw has joined #symbiflow09:37
*** _whitelogger has quit IRC09:44
*** _whitelogger has joined #symbiflow09:47
*** tweakoz has quit IRC10:17
*** adjtm has joined #symbiflow11:05
*** kraiskil has joined #symbiflow12:13
*** kraiskil has quit IRC12:18
*** Bertl_zZ is now known as Bertl12:27
*** kraiskil has joined #symbiflow12:31
*** somlo has quit IRC13:22
*** adjtm has quit IRC13:22
*** somlo has joined #symbiflow13:23
*** adjtm has joined #symbiflow13:40
*** space_zealot has joined #symbiflow13:49
*** lopsided98_ has quit IRC13:58
*** lopsided98 has joined #symbiflow14:00
*** space_zealot has quit IRC14:38
*** adjtm has quit IRC14:55
mithroacomodi: I mean run VtR tests with Kokoro on the SymbiFlow/VtR fork15:09
sf-slack2<acomodi> mithro: all right, instead of using Travis CI or alongside them? Because right now a standard CI run of VtR takes ~1h15:15
sf-slack2<acomodi> mithro: which is acceptable I suppose15:16
mithroacomodi: I was thinking from the idea of getting you the QoR values automatically for every branch without you having to run things manually15:20
sf-slack2<acomodi> mithro: Ah all right, I thought you meant to move to kokoro the standard Travis CI15:22
mithroacomodi: No15:23
sf-slack2<acomodi> mithro: I think that it makes sense, but it would be better to kick off the builds manually15:23
sf-slack2<acomodi> mithro: not everytime a commit is pushed15:23
mithroacomodi: Why?15:23
sf-slack2<acomodi> mithro: Titan benchmarks take actually more than one day to finish on the cloud machine. If we have many branches that need to be checked simultaneously it could require a longer time (plus the fact that if running all the different benchmarks all at once RAM usage goes beyond 250G)15:26
sf-slack2<acomodi> mithro: IMO it would be better to kick off a QoR measurements only when the branch is ready to be compared against master (with something like `force kokoro-run` label)15:27
mithroacomodi: Issue is there is no way to add a label just to a branch....15:27
litghostmithro: Is there a cron equiv for kokoro?15:28
mithrolitghost: Kinda...15:29
*** kraiskil has quit IRC15:51
*** space_zealot has joined #symbiflow16:16
*** _whitelogger has quit IRC16:29
*** _whitelogger has joined #symbiflow16:32
*** somlo has quit IRC16:37
*** somlo has joined #symbiflow16:38
hackerfoolitghost: I'm having trouble understanding how to handle multiple site instances of the same type, specifically {I,O]LOGICE3.17:32
hackerfoohttps://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/xc7/utils/prjxray_tile_import.py#L84-L10817:32
tpbTitle: symbiflow-arch-defs/prjxray_tile_import.py at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)17:32
litghostI thought we were splitting the tile?17:33
litghostso each tile would end up having only one ILOGICE3?17:33
hackerfooShould there be something like IOLOGICE3/IOLOGICE3H,IOLOGICE3/IOLOGICE3H in the --site_types argument?17:33
hackerfooI was trying to implement the joining part first.17:34
litghostAh, so simply joining the IOB and IOI?17:34
hackerfooYeah17:34
litghostWell if you ask the script to output the IOI3, it should just work17:34
hackerfooAlternatively, how do I get the script to split on Y0/Y1?17:34
litghostWhat its doing is mapping multiples of the same site to num_pb, and then indexing them17:34
hackerfooIt works for RIOI3, but I don't want to manually implement the rest.17:35
litghostYou'll need to write code to do anything other than just output either a tile as is, or a tile per site (which is not what we want in this case)17:35
litghostYou'll need to implement something to handle 2 prjxray tiles -> 1 VPR tile17:35
litghostThat has never been required prior to now17:35
litghostThe script supports 1 prjxray tile -> 1 VPR tile and 1 prjxray tile -> 1 VPR tile per site17:36
litghostneither of which is what you want17:36
hackerfooOkay. So I do need to implement splitting on some criteria.17:36
hackerfooMaybe just hardcode splitting on Y for now.17:36
litghostI thought you just said that you were starting with joining and no split?17:37
hackerfooI was, but the script doesn't seem to work at all when there are multiple sites of the same type.17:37
hackerfooIf I pass in one of each type to --site_types, the first line fails, if I pass in two, the second fails: https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/xc7/utils/prjxray_tile_import.py#L394-L41617:39
tpbTitle: symbiflow-arch-defs/prjxray_tile_import.py at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)17:39
hackerfooAnd it's not clear how to fix it, since it seems odd to pass in multiple of each type, but the script seems to expect it.17:40
litghostCLBLL_L import used to work, I expect you are just using it wrong17:40
hackerfooProbably. But I still don't understand it.17:40
litghosthttps://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/xc7/archs/artix7/tiles/clbll_l/CMakeLists.txt17:40
tpbTitle: symbiflow-arch-defs/CMakeLists.txt at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)17:40
litghostThe old CLBLL_L tile CMake definition is still present17:41
litghostDoes it work as expected?17:41
litghostIt is worth noting that the 1 type per SITE_TYPES is not required, but was added later17:41
litghostLast time 1 tile, multiple sites was used is https://github.com/SymbiFlow/symbiflow-arch-defs/tree/393e85351aa3924df097547daddd77e29f3a3b7917:43
tpbTitle: GitHub - SymbiFlow/symbiflow-arch-defs at 393e85351aa3924df097547daddd77e29f3a3b79 (at github.com)17:43
hackerfooOkay, so I need a file per instance: https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/xc7/primitives/slicel/CMakeLists.txt17:43
tpbTitle: symbiflow-arch-defs/CMakeLists.txt at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)17:43
litghosthttps://github.com/SymbiFlow/symbiflow-arch-defs/blob/393e85351aa3924df097547daddd77e29f3a3b79/artix7/tiles/clbll_l/CMakeLists.txt17:43
tpbTitle: symbiflow-arch-defs/CMakeLists.txt at 393e85351aa3924df097547daddd77e29f3a3b79 · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)17:43
litghostFile per instance is not required17:43
litghostOr was not required in the past17:43
litghostFile per instance was used for a bit for SLICEL because of a carry chain issue17:44
litghostWhich is no longer relevant17:44
hackerfoocmake seems to expect a target for each TYPE/INSTANCE in SITE_TYPES17:45
litghostSort of17:47
litghostIt wants a path-like thing17:47
litghostso ilogic3/ilogic3 is okay17:47
litghostSo for example17:48
litghostSITE_TYPES ILOGIC3/ILOGIC3 ILOGIC3/ILOGIC317:48
litghostis probably fine17:48
hackerfooNo, it'll fail the assertion.17:49
hackerfooThey need different instance names.17:49
litghostWhich assertion?17:50
hackerfoohttps://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/xc7/utils/prjxray_tile_import.py#L413-L41517:50
tpbTitle: symbiflow-arch-defs/prjxray_tile_import.py at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)17:50
hackerfoo`site_instance` is the name17:51
litghostAgreed that assertion will fire, but I think in this case the code is overly restrictive, it just needs a proper key.  The assertion should read:17:52
litghost"is the key to site_type_ports unique"17:53
litghostWhich the current code fails if you repeat a site instance type17:53
litghostobject_ref (https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/xc7/utils/prjxray_tile_import.py#L76) supports site instance indicies17:53
tpbTitle: symbiflow-arch-defs/prjxray_tile_import.py at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)17:53
litghostIn the short term, making N copies of the IOI sites will resolve the relevant issue17:54
litghostBut prjxray_tile_import can/did support multiple instances of a single site17:54
litghostAnd the cells_idx list is still being built https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/xc7/utils/prjxray_tile_import.py#L39017:56
tpbTitle: symbiflow-arch-defs/prjxray_tile_import.py at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)17:56
*** tweakoz has joined #symbiflow17:57
*** kraiskil has joined #symbiflow18:04
*** OmniMancer has quit IRC18:08
*** kraiskil has quit IRC19:17
*** Bertl is now known as Bertl_oO19:27
*** Miyu has quit IRC19:39
mithroFYI - I have pushed the latest database as of a couple of hours ago22:02
*** Bertl_oO is now known as Bertl_zZ22:53
hackerfooIt looks like I have to make the same modifications to prjxray_physical_tile_import.py to merge tiles.23:20
*** adjtm has joined #symbiflow23:59

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!