Monday, 2020-03-30

*** tpb has joined #symbiflow00:00
*** Bertl is now known as Bertl_zZ00:26
*** ramin_r348 has joined #symbiflow00:27
*** Degi_ has joined #symbiflow00:57
*** Degi has quit IRC01:00
*** Degi_ is now known as Degi01:00
FFY00mithro, okay01:21
FFY00what is blocking it other than the actual work? because I can help with that01:21
FFY00also, please let me know if you think I am out of place01:22
FFY00I guess I can come of a little strong01:22
FFY00I really care about the fpga and overall hardware ecosystem on linux and I want to help make it the more stable and user friendly01:24
FFY00which includes ensuring the build systems work without hassle for everyone and packaging the relevant tools01:25
hackerfooFFY00: What do you think about Nix? I'd like to make Nix packages sometime.01:36
hackerfooHere's a shell.nix for VtR: https://github.com/HackerFoo/vtr-verilog-to-routing/blob/macos_nix/shell.nix01:37
tpbTitle: vtr-verilog-to-routing/shell.nix at macos_nix · HackerFoo/vtr-verilog-to-routing · GitHub (at github.com)01:37
FFY00python packages are not usually problematic01:39
FFY00I never used nix but the packaging seems pretty easy01:40
FFY00but why do you need shell.nix in the upstream repo?01:41
*** citypw has joined #symbiflow01:43
*** az0re has joined #symbiflow02:04
hackerfooSo others can use it.02:24
hackerfooI don't think it'd really be useful in nixpkgs yet.02:25
*** adjtm has quit IRC03:41
*** adjtm has joined #symbiflow03:42
*** proteus-like has quit IRC03:45
FFY00okay03:55
FFY00I guess there's nothing like the AUR in arch right?03:56
FFY00if you want to start packaging, go for it :D03:57
FFY00just keep in mind the headaches03:57
*** adjtm has quit IRC04:07
*** adjtm has joined #symbiflow04:08
*** az0re has quit IRC04:54
*** citypw has quit IRC04:54
*** tcal has joined #symbiflow05:30
*** az0re has joined #symbiflow05:45
*** OmniMancer1 has joined #symbiflow05:47
*** OmniMancer has quit IRC05:51
hackerfooAs far as I can tell, all users of VPR are also hacking on it.06:20
hackerfooSo there's no reason to package it up yet. The shell.nix gives you a stable cross-platform setup for development.06:22
hackerfooSo Nix is still useful before sending a PR to nixpkgs.06:26
*** ramin_r348 has quit IRC06:36
*** OmniMancer1 has quit IRC06:55
*** OmniMancer has joined #symbiflow06:57
*** proteusguy has joined #symbiflow07:19
*** kraiskil has joined #symbiflow07:29
*** futarisIRCcloud has joined #symbiflow07:30
*** adjtm has quit IRC07:33
*** adjtm has joined #symbiflow07:34
daniellimwsHi, I'm hoping to contribute to symbiflow-arch-defs by adding testbenches, starting with the muxes under vpr/ (https://github.com/symbiflow/symbiflow-arch-defs/tree/master/vpr/muxes/logic) as I see there's an example for mux2. May I know where can I find the steps to run the test (for example, vpr/muxes/logic/mux2)? Is it necessary for me to build every submodule in "third_party" for this?07:38
tpbTitle: symbiflow-arch-defs/vpr/muxes/logic at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)07:38
*** adjtm has quit IRC07:40
*** adjtm has joined #symbiflow07:40
*** adjtm has quit IRC07:58
*** adjtm has joined #symbiflow07:59
*** adjtm has joined #symbiflow08:01
*** wavedrom has quit IRC08:03
*** kraiskil has quit IRC08:34
*** Vonter has quit IRC09:04
*** Vonter has joined #symbiflow09:06
*** kraiskil has joined #symbiflow09:19
*** az0re has quit IRC10:06
*** CMP1 has joined #symbiflow10:08
*** Bertl_zZ is now known as Bertl10:43
*** OmniMancer1 has joined #symbiflow10:51
*** OmniMancer has quit IRC10:55
*** proteus-guy has joined #symbiflow11:08
CMP1Hello, I am looking at the `segbits_clbll_l` for every mux, only one connection can be established, right ? But what will happen if thats not the case ? Will the configuration be aborted ?12:15
*** kraiskil has quit IRC13:05
*** pdp7 has quit IRC13:15
*** _whitelogger has quit IRC13:15
*** _florent_ has quit IRC13:15
*** heijligen has quit IRC13:15
*** filt3r has quit IRC13:15
*** pdp7_ has joined #symbiflow13:16
*** _florent_ has joined #symbiflow13:16
*** filt3r has joined #symbiflow13:16
*** heijligen has joined #symbiflow13:17
*** kraiskil has joined #symbiflow13:18
*** _whitelogger has joined #symbiflow13:18
litghostCMP1: Are you asking from the perspective of the FASM assembler (e.g. fasm2frames) or the hardware itself?14:07
daveshahCMP1: no, there is no error checking for stuff like that, you could actually create a short circuit14:07
daveshah(I was assuming "configuration be aborted" was referring to the hardware config FSM)14:07
mithroCMP1: A lot of the configuration bits are set up to make it very hard to create shorts14:07
mithroCMP1: but I do believe there are cases where it is possible14:07
CMP1Thank you and yes I am talking about the hardware config FSM14:08
CMP1mithro isnt it very easy to do it in the muxes case for example?14:09
CMP1So in the case of a short it would act like an or gate ?14:10
*** luaraneda has left #symbiflow14:11
mithroCMP1: possibly, I didn't look at your specific example14:11
daveshahNo, a short would be a short, but I'm not sure if any of the muxes in `segbits_clbll_l` would be short-circuit-able14:13
CMP1what I was thinking is something like that `CLBLL_L.SLICEL_X0.AFFMUX.AX !30_00 !30_02 !30_03 30_01CLBLL_L.SLICEL_X0.AFFMUX.CY !30_01 !30_03 30_00 30_02CLBLL_L.SLICEL_X0.AFFMUX.F7 !30_02 !30_03 30_00 30_01CLBLL_L.SLICEL_X0.AFFMUX.O5 !30_01 !30_02 30_00 30_03CLBLL_L.SLICEL_X0.AFFMUX.O6 !30_00 !30_01 !30_02 30_03CLBLL_L.SLICEL_X0.AFFMUX.XOR !30_0014:13
CMP1!30_01 !30_03 30_02`14:13
CMP1and I was thinking what would happen if I enable both `CLBLL_L.SLICEL_X0.AFFMUX.O6` and `CLBLL_L.SLICEL_X0.AFFMUX.O5` for example14:15
daveshahUltimately it depends how it is implemented in hardware14:18
daveshahthe interconnect muxes are based on pass transistors, followed by buffers in some cases, so generally can create shorts14:18
daveshahI don't know what the SLICE muxes look like though14:18
CMP1when you talk about interconnect muxes you mean something pip related that cant be seen in the vivado view ?14:19
daveshahIn this case, O6 is a subset of the O5 bits14:20
daveshahso enabling both would be the same as the O5 pattern14:20
daveshahBy interconnect muxes I mean pips in INT_ tiles14:20
daveshahas opposed to being inside slices14:20
CMP1I see14:21
CMP1so generally setting wierd combinations like that may lead to shorts14:21
mithroCMP1: adding DRC checking to some of the tooling to prevent things like that could be a good task14:23
daveshahBut if you want to destroy the chip, filling it with ring oscillators will probably be just as destructive and easily possible without any bitstream hackery14:24
daveshahFrom what I've heard from people in the industry, the failure mode from shorts on a modern FPGA is likely to be thermal14:25
mithroCMP1 / daveshah: See the work from Derek and Imperial College if you want to really know how to do damage14:25
CMP1mithro Nice! but one has to first find actual problems because as daveshah pointed my example was pretty much stupid14:25
CMP1@daveshah I dont want to destroy the FPGA, on the contrary I want to see how many silly things I can do on the bitstream without risking to dammage it14:26
mithroCMP1: We aim to never generate a bitstream that Vivado wouldn't also generate14:27
daveshahYour FPGA is probably more likely to be destroyed by a lightning strike than by open source tooling14:28
daveshahAcross 1000s of icestorm and trellis users there have been no reports of damage14:28
CMP1I see, I havent really dug into your bitstream generating tools, I am currently focused on the XRay so I try to explore any manual modification as well14:28
CMP1daveshah Its not the tool I am afraid of but the what ifs in my brain :P14:29
daveshahA single short like this isn't going to cause immediate damage14:29
CMP1can it lead in unexpected behavior ?14:31
hackerfooXilinx's documentation on partial reconfiguration warns about mismatched bitstreams, saying that there could be damage over a period of time.14:31
hackerfooSo this means, even if you have random stuff next to each other, they still don't expect immediate damage.14:31
CMP1also do you have a link of Derek's thesis ?14:32
daveshahSomeone from Intel suggested that a probable failure mode for a bitstream full of short circuits would be the FPGA desoldering itself from the board14:32
daveshahCMP1: yes, because two inputs to the mux are now connected together this could cause odd things to happen14:32
CMP1daveshah now that sounds fun haha14:32
daveshahI think azonenberg managed to kill a Xilinx CPLD that way through some kind of internal failure, but it took 30 minutes14:33
CMP1those odd things would not be forseeable by the one that created that short though, right ?14:33
daveshahChances are if you have created the short it is deliberate14:33
CMP1yes but will the effect of it be deterministic ?14:34
CMP1(I might have started saying stupid things now )14:34
daveshahNo, because it would depend on things like drive buffer strength and input sensitivity, which could vary chip-to-chip and across temperatures14:34
daveshah*buffer drive strength14:35
CMP1daveshah thanks :))14:35
daveshahhttps://scholarsarchive.byu.edu/cgi/viewcontent.cgi?article=5037&context=etd14:36
daveshahthis is using short circuits for good/evil14:36
CMP1I will take a look, thank you14:37
CMP1I have a question regarding CRC, can you disable it from inside the bitstream ?14:37
CMP1I have found this for older generations14:38
CMP1https://www.xilinx.com/support/answers/35468.html14:38
CMP1but I am interested in xc714:38
daveshahI think if you just exclude the CRC register writes then it will still accept the bitstream14:39
CMP1you mean turn its value to zero ?14:40
daveshahNo, remove the CRC write packets altogether14:40
*** kraiskil has quit IRC14:40
daveshahI haven't tried this but I suspect it would work, someone who has worked on xc7 bitstreams more could confirm14:40
CMP1I see removing a packet is equal to deleting it or turning all its values to zero ?14:41
daveshahDeleting it14:41
CMP1cool, thanks14:42
daveshahI think there is a NOOP packet that it could be replaced with too14:42
daveshahsomething like 0x2000000014:42
CMP1I see I will have to reado more about packets If I am to do it then14:43
mithroCMP1: What do you *actually* want to do?14:43
CMP1with the crc thing ? beeing able to load changed bitstreams no matter if they have a crc set or not14:44
CMP1the easy way is to just disable it in vivado14:45
CMP1Also recalculation would be an option too, right ?14:46
mithroCMP1: In general14:47
CMP1arent the data that it is calculated on known ?14:47
*** CMP150 has joined #symbiflow14:53
*** kraiskil has joined #symbiflow14:54
*** CMP1 has quit IRC14:56
*** miek has quit IRC15:10
*** yeti has quit IRC15:10
*** bunnie[m] has quit IRC15:12
*** yeti has joined #symbiflow15:13
daniellimwsIs there a way to run individual tests within symbiflow-arch-defs? For example https://github.com/symbiflow/symbiflow-arch-defs/tree/master/vpr/muxes/logic15:14
tpbTitle: symbiflow-arch-defs/vpr/muxes/logic at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)15:14
mithroCMP150: What did you want to do in general?15:14
*** bunnie[m] has joined #symbiflow15:15
mithrodaniellimws: It has been a long time since anyone worked on that, so I don't know15:15
daniellimwsHmm ok, I'll look around and try to find out15:17
*** OmniMancer1 has quit IRC15:17
*** OmniMancer has joined #symbiflow15:17
*** az0re has joined #symbiflow15:18
*** OmniMancer has quit IRC15:19
mithro - SymbiFlow Checking / Testing Approach - https://docs.google.com/document/d/11wJUvr2aVBkUiuYYsFN07jkoYr_ccWlLLLFH8YQw8uQ/edit#15:22
mithro - Data Flow in SymbiFlow Arch Defs for Xilinx Series 7 Testing + Verification -https://docs.google.com/drawings/d/1-FmukrW4YtreRwkA4JKkYd-siscC3OvDTq8rKreOVHE/edit15:22
mithro - SymbiFlow Bitstream Verification Process - https://docs.google.com/drawings/d/1NJlN-cPLNx4nULHiL4938RD-H14izpayqtNSQ4XRjfA/edit15:22
tpbTitle: SymbiFlow Checking / Testing Approach - Google Docs (at docs.google.com)15:22
tpbTitle: Data Flow in SymbiFlow Arch Defs for Xilinx Series 7 Testing + Verification - Google Drawings (at docs.google.com)15:22
tpbTitle: SymbiFlow Bitstream Verification Process - Google Drawings (at docs.google.com)15:22
daniellimwsOh so if it hasn't been worked on for quite some time, should I still work on adding testbench code for those modules? Would they be useful?15:32
mithrodaniellimws: I would love to see that stuff working again15:33
mithrodaniellimws: I hadn't actually realized we had merged it...15:33
daniellimwsYou mean from elmsfu's branch?15:34
mithrodaniellimws: Yeah15:34
*** miek has joined #symbiflow15:34
daniellimwsAnd some changes has been made to the build system too, i.e. the cocotb Makefile was removed and replaced with a CMakeLists.txt but I'm unsure how to use it15:35
mithrodaniellimws: https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/Makefile#L2015:36
tpbTitle: symbiflow-arch-defs/Makefile at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)15:36
*** tmichalak has quit IRC15:40
*** tmichalak has joined #symbiflow15:41
*** bubble_buster has quit IRC15:45
*** sorear has quit IRC15:45
*** xobs has quit IRC15:45
*** promach3 has quit IRC15:45
*** kmehall has quit IRC15:45
*** mats has quit IRC15:45
*** bubble_buster has joined #symbiflow15:45
*** sorear has joined #symbiflow15:45
*** promach3 has joined #symbiflow15:45
*** xobs has joined #symbiflow15:45
*** kmehall has joined #symbiflow15:45
*** mats has joined #symbiflow15:45
*** promach3 has quit IRC15:46
*** xobs has quit IRC15:48
*** bunnie[m] has quit IRC15:48
*** abeljj[m] has quit IRC15:49
*** lromor[m] has quit IRC15:49
*** hzeller[m] has quit IRC15:49
*** nrossi has quit IRC15:49
-_whitenotifier-3- [prjxray] mithro opened issue #1284: Move third_party designs to under /third_party/ - https://git.io/Jv7SG15:52
CMP150mithro my plan is to see what extra things you can do through bitstream not supported from vivado15:53
mithroCMP150: To what end goal?15:53
FFY00mithro, did you see my previous messages?15:53
mithroCMP150: Do you have any idea what type of features you might be looking for?15:53
mithroFFY00: Which one?15:53
FFY00when I replied to you yesterday, after asking about meson15:54
mithroFFY00: Probably not15:54
FFY00okay15:54
CMP150I am not sure about that, I think that the process alone can help me understand FPGAs and maybe through this process I can get some ideas15:54
FFY00if you have time please take a look15:54
CMP150mithro15:54
FFY00I would like to help with meson, if that's something you are interested15:55
mithroFFY00: Last time we looked at meson it was missing features required to do things in symbiflow-arch-defs repository15:55
FFY00which features?15:56
*** wavedrom has joined #symbiflow15:57
mithroFFY00: Can't remember - look for issues reported by me on the meson github repo?15:58
FFY00mithro, in https://github.com/mesonbuild/meson/issues/3175 do you need to reuse the custom targets latter on?16:06
tpbTitle: Using the return objects from custom_target to generate names of another custom_target · Issue #3175 · mesonbuild/meson · GitHub (at github.com)16:06
FFY00nevermind16:07
*** lromor[m] has joined #symbiflow16:46
*** sean has joined #symbiflow17:10
*** sean has joined #symbiflow17:11
*** CMP150 has quit IRC17:11
*** sean is now known as Guest4625917:11
*** Guest46259 has quit IRC17:15
*** xobs has joined #symbiflow17:25
*** promach3 has joined #symbiflow17:25
*** abeljj[m] has joined #symbiflow17:25
*** bunnie[m] has joined #symbiflow17:25
*** nrossi has joined #symbiflow17:25
*** hzeller[m] has joined #symbiflow17:26
*** wavedrom has quit IRC17:39
brentBeen generating lots of BRAM tests for our BRAM bitstream patching project.  Found, for the xc7a50 part, that some INIT bits are missing for certain BRAM locations on the chip (based on the .fasm file generated by bit2fasm).  Have hundreds of successful test cases, seems to be working for all but 2 tiles (?). Have a miminal test case to exhibit issue. Would like to track down and fix, would appreciate an expert's input19:02
brentand insights at this point...19:02
litghostAny chance you are using BRAM36 with ECC enables?19:08
brentNo, pretty basic19:26
brentInferring memories using Verilog always blocks...19:27
litghostBest make an issue then19:27
brentThat's what I thought...19:27
daveshahHi brent, btw, good to see you around!19:33
brentHi dave, long time no see.  Been working behind the scenes for a while, this is the first I have interacted on the channel.  Looking forward to much more...19:34
brentHi daveshah, long time no see.  Been working behind the scenes for a while, this is the first I have interacted on the channel.  Looking forward to much more...19:34
-_whitenotifier-3- [prjxray] nelsobe opened issue #1285: Missing INIT string data in FASM for selected BRAM sites - https://git.io/Jv7Nm19:42
*** OmniMancer has joined #symbiflow20:23
*** Bertl is now known as Bertl_oO20:24
*** OmniMancer1 has joined #symbiflow20:26
*** OmniMancer has quit IRC20:27
*** lromor[m] has quit IRC20:48
*** tcal has quit IRC21:14
*** tcal has joined #symbiflow21:26
*** tcal has quit IRC21:31
*** adjtm_ has joined #symbiflow21:40
*** adjtm has quit IRC21:43
*** tcal has joined #symbiflow21:45
*** hzeller[m] has left #symbiflow22:00
*** kraiskil has quit IRC22:16
*** kraiskil has joined #symbiflow22:29
*** tcal has quit IRC22:30
*** tcal has joined #symbiflow22:44
*** QDX45 has quit IRC22:51

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!