*** tpb has joined #symbiflow | 00:00 | |
litghost | kgugala: https://github.com/SymbiFlow/prjxray-db/blob/master/artix7/timings/CLBLL_L.sdf#L4 If I read this correctly, then everything is in units of picoseconds? That seems wrong | 00:17 |
---|---|---|
tpb | Title: prjxray-db/CLBLL_L.sdf at master · SymbiFlow/prjxray-db · GitHub (at github.com) | 00:17 |
litghost | kgugala: Why do you believe the values are in picoseconds versus nanoseconds? | 00:17 |
litghost | kgugala: Also, I'm trying to find T_setup for D w.r.t. CLK, and I don't see it | 00:25 |
litghost | kgugala: I believe the speed model in question would be bel_d_reg_init_ff_setup_din_clk, but I don't see it in our output SDF. Did I missing ? | 00:32 |
litghost | kgugala: I believe https://github.com/SymbiFlow/prjxray-db/blob/master/artix7/timings/CLBLL_L.sdf#L300 is missing SR and DIN? | 00:46 |
tpb | Title: prjxray-db/CLBLL_L.sdf at master · SymbiFlow/prjxray-db · GitHub (at github.com) | 00:46 |
*** futarisIRCcloud has joined #symbiflow | 01:31 | |
*** Bertl_oO is now known as Bertl_zZ | 01:37 | |
*** citypw has joined #symbiflow | 01:40 | |
*** jevinskie has joined #symbiflow | 02:52 | |
*** proteusguy has quit IRC | 04:07 | |
*** jevinskie has quit IRC | 04:44 | |
*** jevinskie has joined #symbiflow | 05:03 | |
*** jevinskie has quit IRC | 05:43 | |
mithro | kgugala / mkurc: I _think_ I have pack_patterns working in https://github.com/SymbiFlow/symbiflow-arch-defs/pull/703/files | 05:54 |
tpb | Title: mux_gen + v2x: Support generating FASM annotations for muxes. by mithro · Pull Request #703 · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com) | 05:54 |
*** proteusguy has joined #symbiflow | 05:54 | |
mithro | What is still not working is pack_pattern and mode interaction | 05:58 |
*** jevinskie has joined #symbiflow | 06:00 | |
*** citypw has quit IRC | 06:10 | |
*** citypw has joined #symbiflow | 06:22 | |
*** citypw has quit IRC | 06:36 | |
*** citypw has joined #symbiflow | 06:53 | |
*** OmniMancer has joined #symbiflow | 06:58 | |
sf-slack2 | <kgugala> @litghost indeed those timings look like ns - this is an easy fix. I'll do that | 07:13 |
sf-slack2 | <kgugala> @litghost the bel_d_reg_init_ff_setup_din_clk is dumped from the design, but it is not emitted to json from which the sdf is created | 07:14 |
sf-slack2 | <kgugala> @litghost this looks like a bug, I'll check it | 07:14 |
*** citypw has quit IRC | 07:20 | |
*** Bertl_zZ is now known as Bertl | 08:46 | |
*** futarisIRCcloud has quit IRC | 10:40 | |
*** Vonter has quit IRC | 10:44 | |
*** Vonter has joined #symbiflow | 11:01 | |
sf-slack2 | <kgugala> @litghost https://github.com/SymbiFlow/prjxray/pull/835 | 11:18 |
tpb | Title: Bel timings fixes by kgugala · Pull Request #835 · SymbiFlow/prjxray · GitHub (at github.com) | 11:18 |
*** Vonter has quit IRC | 11:46 | |
*** Vonter has joined #symbiflow | 11:58 | |
*** proteusguy has quit IRC | 12:13 | |
*** jevinskie has quit IRC | 13:15 | |
sf-slack2 | <mkurc> @litghost I updated examples and answered your comments in https://docs.google.com/document/d/1J8lLT4SzlK_56-vBfz0f2DaNLHPn9rABUB0Fu1ljF4M | 13:49 |
tpb | Title: Google Docs - create and edit documents online, for free. (at docs.google.com) | 13:49 |
*** alexhw has joined #symbiflow | 15:07 | |
*** OmniMancer has quit IRC | 15:25 | |
mithro | Morning | 15:48 |
sf-slack2 | <acomodi> Good time of day :) | 15:49 |
litghost | Good time of day! | 15:51 |
mithro | Anyone have a good example of a flipflop with a timing model attributes set in v2x? | 15:54 |
litghost | In v2x? No | 15:54 |
litghost | But I could create one if you needed | 15:54 |
sf-slack2 | <mkurc> Morning | 15:56 |
mithro | litghost / kgugala: I could use an initial review of https://github.com/SymbiFlow/symbiflow-arch-defs/pull/703 | 16:00 |
tpb | Title: mux_gen + v2x: Support generating FASM annotations for muxes. by mithro · Pull Request #703 · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com) | 16:00 |
litghost | Yep, saw the notification from github | 16:00 |
mithro | litghost: Don't go into to much detail yet, still have to get the mode interaction stuff working correctly | 16:01 |
sf-slack2 | <kgugala> sure, I'll take a look on that | 16:01 |
mithro | kgugala / litghost: Just need the correct way to fill in https://github.com/SymbiFlow/symbiflow-arch-defs/pull/703/files#diff-2b42945a483e14aa20428a9e6c64f5f1 | 16:02 |
tpb | Title: mux_gen + v2x: Support generating FASM annotations for muxes. by mithro · Pull Request #703 · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com) | 16:02 |
mithro | <pb_type> 'ff' timing-annotation/<model> mismatch on port 'Q' of model 'dff', port is a sequential output but has neither min nor max T_clock_to_Q specified | 16:02 |
litghost | Ya, you need to have T_clock_to_Q and T_setup at a minimum | 16:05 |
litghost | T_hold is pretty much always required for a modelling standpoint, but not from VPR standpoint | 16:06 |
mithro | Is T_clock_to_Q put on the D or Q value? | 16:11 |
litghost | That's a v2x question, unclear | 16:11 |
litghost | I would put it on Q or CLK, not D | 16:11 |
mithro | mkurc: https://github.com/YosysHQ/yosys/issues/1001 | 16:26 |
tpb | Title: Could the output json include the parameters on modules? · Issue #1001 · YosysHQ/yosys · GitHub (at github.com) | 16:26 |
mithro | litghost: Can you write up the frontend parameters / attributes thingy | 16:27 |
mithro | tmichalak: Please put your stuff in https://docs.google.com/document/d/1y_9tFoLzVC_PrZA2YIej__7LsgiXgrTN3oitTcsXEF8/edit# ? | 16:33 |
tpb | Title: Project U-Ray - Extending Project X-Ray to 7 Series, Ultrascale and Ultrascale+ Parts - Google Docs (at docs.google.com) | 16:33 |
sf-slack2 | <tmichalak> @mithro: done | 16:42 |
sf-slack2 | <tmichalak> I started a document on creating a DSP fuzzer, strarting from base address calculation: https://drive.google.com/open?id=1qsSFwYRFljJ-2C4UxJpOsNADi-nrdax8UX88g62OVO4 | 16:44 |
tpb | Title: Meet Google Drive – One place for all your files (at drive.google.com) | 16:44 |
mithro | kgugala: I'm not sure the issue you suggested https://github.com/SymbiFlow/symbiflow-arch-defs/pull/645 is correct | 16:46 |
tpb | Title: WIP - utils/vlog: More tests from timing tutorial. by mithro · Pull Request #645 · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com) | 16:46 |
mithro | kgugala: Do you have more information? | 16:46 |
litghost | mkurc: https://github.com/YosysHQ/yosys/issues/1009 | 16:48 |
tpb | Title: Attributes on parameters / localparams are not parsed correctly per Verilog 2005 spec · Issue #1009 · YosysHQ/yosys · GitHub (at github.com) | 16:48 |
sf-slack2 | <kgugala> @mithro I can provide you with more info, what examples would you like to get? | 16:50 |
sf-slack2 | <mkurc> @litghost Thanks | 16:54 |
mithro | kgugala: I'm unsure why you think that the issue is the eblif file? | 16:55 |
sf-slack2 | <kgugala> @mithro: because the eblifs do not correspond to top level pb_type they should test | 16:59 |
mithro | kgugala: Hrm? | 17:01 |
sf-slack2 | <kgugala> if you look at the eblif generated for dsp_in_registered (https://github.com/SymbiFlow/symbiflow-arch-defs/pull/645#issuecomment-492279485) and the pb type it should correspond to https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/utils/vlog/tests/dsp_in_registered/golden.pb_type.xml you'll see that the eblif is missing clk input | 17:03 |
tpb | Title: WIP - utils/vlog: More tests from timing tutorial. by mithro · Pull Request #645 · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com) | 17:03 |
sf-slack2 | <kgugala> also, the eblif, does not use any $dffs | 17:04 |
mithro | litghost: Previously with the cmake stuff, only files had directory information in the target name. The `get_rel_target` makes the other targets follow the same pattern as the file targets and include the directory information. This means if you have something called "omux" under the xc7 directory and something called "omux" under the ice40 directory the target names won't conflict. | 17:04 |
sf-slack2 | <kgugala> so the circuit it implements want's to connect inbuf directly to dsp_combinational | 17:04 |
sf-slack2 | <kgugala> s/it// | 17:05 |
sf-slack2 | <kgugala> this connection is not feasible in the arch generated from the verilog in this test | 17:06 |
mithro | kgugala: So the actual issue is that you need multiple leaf elements to fill in a tile | 17:06 |
sf-slack2 | <kgugala> @mithro multiple elements + top level (which is not taken into account now) | 17:07 |
mithro | kgugala: You don't need a top level | 17:07 |
mithro | kgugala: You just need enough .subckt parts to cross a tile | 17:10 |
sf-slack2 | <kgugala> @mithro: but what about top level ports? And their connections to the leafs? | 17:10 |
sf-slack2 | <kgugala> like in the above example clk input is defined in the top pb_type | 17:11 |
sf-slack2 | <kgugala> and then connected to leafs | 17:12 |
sf-slack2 | <kgugala> as direct connections in the top pb_type | 17:12 |
mithro | https://github.com/SymbiFlow/symbiflow-arch-defs/blob/4e524075fa8f2e9811d2217e77da0e2a83ea09ee/utils/vpr_pbtype_to_eblif.py | 17:17 |
tpb | Title: symbiflow-arch-defs/vpr_pbtype_to_eblif.py at 4e524075fa8f2e9811d2217e77da0e2a83ea09ee · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com) | 17:17 |
sf-slack2 | <kgugala> @mithro: this scripts calls find leaf https://github.com/SymbiFlow/symbiflow-arch-defs/blob/4e524075fa8f2e9811d2217e77da0e2a83ea09ee/utils/vpr_pbtype_to_eblif.py#L83 | 17:20 |
tpb | Title: symbiflow-arch-defs/vpr_pbtype_to_eblif.py at 4e524075fa8f2e9811d2217e77da0e2a83ea09ee · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com) | 17:20 |
sf-slack2 | <kgugala> which returns the first found pb_type with eblif attribute | 17:21 |
mithro | kgugala: Yes | 17:26 |
sf-slack2 | <kgugala> so this one is invalid -- we should include all the leafs there | 17:27 |
sf-slack2 | <kgugala> + info how they are connected | 17:27 |
sf-slack2 | <kgugala> potencially the top level may instantiate other non leaf pb_types | 17:27 |
mithro | kgugala: Once we have found a leaf, we should walk outward adding extra models as needed to get to the top level pins | 17:27 |
sf-slack2 | <kgugala> @mithro: yes | 17:28 |
sf-slack2 | <kgugala> and we should do that for all the found leaf pb_types | 17:28 |
mithro | kgugala: I think that is potentially a more exhaustive test | 17:29 |
mithro | kgugala: This test was just to check that vpr would accept the pb_type.xml in some form | 17:29 |
sf-slack2 | <kgugala> @mithro: dsp_in_registered has two leaf pb_types - dff and dsp_combinational | 17:30 |
sf-slack2 | <kgugala> and it is not very complicated test | 17:30 |
mithro | kgugala: Yes, but dsp_mode has a *whole* bunch -- I think in that case we just want to test one? | 17:30 |
*** jevinskie has joined #symbiflow | 17:39 | |
sf-slack2 | <kgugala> @mithro: yes, dsp_mode is even more complicated, it instantiates non leaf pb_types which instantiates leafs. Solving this would solve our issues here | 17:48 |
litghost | mithro: I highly recommend further splitting your PR, because I think some changes are closer to being ready to merge. For example, I'm pretty sure the XML sort stuff is fine, it just needs some tests and documentation. Where as the FASM MUX stuff might need more iterations | 18:01 |
mithro | litghost: Yeah, I'm splitting xslt stuff into it's own pull request with some tests | 18:01 |
*** adjtm has joined #symbiflow | 19:31 | |
*** adjtm_ has quit IRC | 19:33 | |
*** jevinskie has joined #symbiflow | 20:34 | |
*** jevinskie has quit IRC | 20:41 | |
*** Bertl is now known as Bertl_oO | 20:51 | |
*** jevinskie has joined #symbiflow | 21:07 | |
*** jevinskie has quit IRC | 21:14 | |
mithro | litghost: Do you know if you can decompose the timing information in the carry block into muxcy / xorcy components? | 21:23 |
litghost | mithro: That's actually exactly the opposite of what we want to do | 21:26 |
litghost | mithro: https://github.com/SymbiFlow/symbiflow-arch-defs/issues/729 | 21:26 |
tpb | Title: [xc7] CARRY4 timing model requires 1 black box · Issue #729 · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com) | 21:26 |
mithro | litghost: for the basic additive model they should be isomorphic, right? | 21:28 |
litghost | mithro: But they aren't additive, take a look at the timing values | 21:33 |
litghost | mithro: How do you draw a path from DI0 to CO3 with decompistion | 21:33 |
litghost | mithro: I don't think you can | 21:33 |
mithro | DI0 -> CO3= DI0 → MUXCY A → MUXCY B → MUXCY C → MUXCY D → CO3 | 21:39 |
mithro | ? | 21:39 |
litghost | mithro: But looks at the actual values | 21:43 |
litghost | mithro: How do you decompose the delay values to reconstitute that path | 21:44 |
litghost | mithro: I don't believe you can | 21:44 |
mithro | litghost: You might be right, but I haven't seen proof either way at the moment? | 21:47 |
litghost | mithro: Why do I need to prove to you why it cannot be done? Don't you actually need to engage with the problem and see if your suggestion can work here? | 21:48 |
litghost | mithro: To be clear, I already considered why it can be done in a decompisitional way, and I don't believe it can | 21:50 |
mithro | litghost: More I haven't looked at the problem close enough to have a good enough understanding to prove to myself that decomposition won't work and haven't yet seen a good example of how it wouldn't work (but don't currently have time to find that example) | 21:50 |
litghost | mithro: Then why don't you take my word that I did consider it, and don't believe that avenue is worth considering | 21:50 |
mithro | litghost: It would be good to have an understandable explanation of they the decomposition doesn't work (for future reference) | 21:51 |
mithro | litghost: Like, I'm 75% sure you are right, I just don't understand why you are right yet and it would be good to document why you are? | 21:52 |
litghost | mithro: I don't agree. We always consider alternatives, and prune those choices based on judgement. We don't exhaustively prove every avenue that doesn't work, in fact doesn't work | 21:53 |
litghost | mithro: I'm open to a decomposition approach, but I don't see how to get from here to there, and I don't see why it matters one way or another. And I definitely don't see a reason to prove that decomposition doesn't work | 21:54 |
litghost | mithro: In fact, the real problems has to do with approximating the change in delay caused by the DI mux, which is totally immaterial to the MUXCY decomposition problem | 21:56 |
mithro | litghost: Well, could it be done via adding an extra delay when the mode has the flip flop enabled? | 21:57 |
litghost | mithro: But is specifically long the AX -> output path, so a straight delay is definitely wrong | 21:57 |
litghost | mithro: Approximating the delay as an input delay is reasonable per the spreadsheet | 21:58 |
litghost | mithro: To provide clarity, the S -> FF path delay is not affected by the fanout on the AX -> FF or AX -> ??? path | 21:59 |
litghost | mithro: So adding an additional delay from the CARRY blackbox to the FF will result in the wrong value | 21:59 |
mithro | litghost: If you were able to decompose it horizontally, you could have a <mode "CO0 output"> / <mode "CO0 to FF"> / <mode "CO0 to FF and output"> with different timing? | 21:59 |
litghost | mithro: I don't think VPR supports routing based modes with a change in blackbox | 22:00 |
litghost | *without a change in blackbox | 22:01 |
litghost | mithro: Also the mode would depend on an input routing mux in addition to two output routing muxes | 22:01 |
mithro | litghost: The first mode would not have a FF black box, the second mode would not have a CO0 to output pathway and the last mode would have both? | 22:01 |
litghost | mithro: But the FF isn't part of the carry, it is downstream of the FF input MUX | 22:02 |
litghost | mithro: So you cannot include the FF inside the mode, without a fairly dramatic mode explosion | 22:02 |
mithro | litghost: I think some whiteboarding might help but I'm going back to the thing I'm suppose to be trying to finish :-P | 22:05 |
*** Jon_ has quit IRC | 22:40 | |
*** Bertl_oO is now known as Bertl_zZ | 23:33 | |
hackerfoo | From looking at RAM36E1, it looks like there are 4 ports, AU, AL, BU, and BL, where U/L share cascade and ECC logic. There are four sets of 15 bit addresses. Maybe it's possible to build a dual-read, dual-write 36K block RAM. | 23:35 |
litghost | hackerfoo: Unless I'm missing something, that is what the Xilinx documentation explicitly says? | 23:38 |
litghost | hackerfoo: That is what they mean by "true dual port" | 23:38 |
hackerfoo | I think that's slightly different than two RAM18E1s in SDP mode. | 23:38 |
litghost | hackerfoo: But it's the same as RAM18E1 in TDP, with double the underlying memory | 23:39 |
hackerfoo | TDP is any combination of two ports, read or write, and SDP is one read + one write, but at twice the width. | 23:39 |
litghost | hackerfoo: Agreed? And? | 23:39 |
litghost | hackerfoo: Actually maybe not. TDP is two read ports and two write ports | 23:40 |
hackerfoo | What I'm suggesting is similar to two RAM18E1s in SDP mode, but sharing the same address space. | 23:40 |
hackerfoo | I'm 50/50 on whether it will work or not. | 23:40 |
litghost | hackerfoo: I think you are just describing normal RAM36E1 TDP mode | 23:41 |
litghost | hackerfoo: How is it different? | 23:41 |
hackerfoo | There aren't enough address lines for TDP to do 2 independent reads and 2 independent writes at the same time. | 23:42 |
litghost | hackerfoo: But each port can do a read or a write (or read/write) | 23:42 |
litghost | hackerfoo: I don't think what you are thinking works, because AU and AL access a disjoint space | 23:43 |
hackerfoo | There are 4 sets of address lines in a RAM36E1, which makes sense because they are somehow composed out of two RAM18E1s, each of which have 2 sets of address lines. | 23:43 |
litghost | hackerfoo: Right, but AU simply accesses the upper half, and AL accesses the lower half | 23:43 |
litghost | hackerfoo: I don't believe AU can access the lower half of the space | 23:44 |
litghost | hackerfoo: The high address pins are simply selecting which half gets accessed | 23:44 |
hackerfoo | That's the question I have, since I didn't see any documentation on the U/L ports. | 23:46 |
hackerfoo | That makes sense, because it's similar to how it works with distributed RAM. | 23:46 |
hackerfoo | Do all the U/L corresponding pins just get tied together, then? | 23:49 |
hackerfoo | It looks like it. | 23:51 |
hackerfoo | Is it better to do that in the tech map or the pb_type? Probably the pb_type. | 23:54 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!