*** tpb has joined #symbiflow | 00:00 | |
mithro | ZipCPU: Have you done much logical equivalence checking with SymbiYosys? If so what size modules are reasonable to look at? (and have I already asked you this previously? :-P) | 01:09 |
---|---|---|
ZipCPU | mithro: My conclusion following my experiences with the equivalence checking capability of SymbiYosys is that it is both difficult to set up, and difficult to comprehend the results. As a result, I haven't done much with it. Not sure I'd know the answer to your question. | 01:15 |
mithro | ZipCPU: Is SymbiYosys different then using http://www.clifford.at/yosys/cmd_equiv_induct.html ? | 01:18 |
tpb | Title: Yosys Open SYnthesis Suite :: Command Reference :: equiv_induct (at www.clifford.at) | 01:18 |
mithro | ZipCPU: and https://github.com/YosysHQ/yosys/blob/master/passes/equiv/equiv_opt.cc | 01:19 |
tpb | Title: yosys/equiv_opt.cc at master · YosysHQ/yosys · GitHub (at github.com) | 01:19 |
ZipCPU | mithro: See ... that's the problem I have. I have no experience using those yosys commands, and so have little understanding of what they do. I then find myself trying to instruct folks, and ... not knowing the answers. | 01:35 |
mithro | ZipCPU: time for a new blog post? :-P | 01:44 |
ZipCPU | When I get to it ... but so far I've had other things on my desk | 01:45 |
*** OmniMancer has joined #symbiflow | 03:02 | |
*** Bertl_oO is now known as Bertl_zZ | 03:58 | |
*** citypw has joined #symbiflow | 04:01 | |
*** futarisIRCcloud has quit IRC | 05:16 | |
*** nnn_ has joined #symbiflow | 08:18 | |
*** nnn_ has quit IRC | 08:20 | |
*** futarisIRCcloud has joined #symbiflow | 09:21 | |
*** citypw has quit IRC | 10:12 | |
*** Bertl_zZ is now known as Bertl | 11:01 | |
sf-slack2 | <arora.prayas> Hi all, I was trying setup vtr on my machine. I have a directory named sandbox with following repositories in it. | 11:32 |
sf-slack2 | <arora.prayas> I ran 'make' in the vtr-velilog-to-routing directory. | 11:33 |
sf-slack2 | <arora.prayas> I think the build passed but I think I don't have all the dependencies. How can I install all the dependies ? | 11:33 |
sf-slack2 | <acomodi> https://github.com/verilog-to-routing/vtr-verilog-to-routing/blob/master/BUILDING.md here's some more detailed instructions on how to build VTR | 11:34 |
tpb | Title: vtr-verilog-to-routing/BUILDING.md at master · verilog-to-routing/vtr-verilog-to-routing · GitHub (at github.com) | 11:34 |
sf-slack2 | <acomodi> There is a command to get all the required dependencies | 11:35 |
*** adamgreig has quit IRC | 11:59 | |
*** adamgreig has joined #symbiflow | 12:00 | |
sf-slack2 | <acomodi> by using fasm2bels I could understand something more about the equivalent tile issue which does not let it run on HW correctly | 12:02 |
sf-slack2 | <acomodi> First of all: different builds produce different effects. I tried also the counter test (where the placement used CLBLMs instead of the packed CLBLLs) and in some cases blinky worked fine, while in others only 2 out of 4 leds where blinking. | 12:04 |
sf-slack2 | <acomodi> I had to enable the `allow_orphan_sinks` option in fasm2bels to obtain the verilog equivalent and let it run through vivado. | 12:06 |
sf-slack2 | <acomodi> By inspecting the implemented design on the GUI I have observed that there are IO pins which are not correctly routed (they are connected to HARD1) and some others are connected to a carrychain which most probably has an issue, given the fact that for some builds, IO pins routed to the corresponding carrychain (here I am considering `chain_packing` test) are permanently switched off. | 12:10 |
sf-slack2 | <acomodi> Another thing to be mentioned is that, in order to get a verilog file from the chain_packing test I had to disable this assert: https://github.com/SymbiFlow/symbiflow-arch-defs/blob/64ca52b4c7d849bc67d21872235b1b721ce25397/xc7/fasm2bels/make_routes.py#L517 | 12:13 |
tpb | Title: symbiflow-arch-defs/make_routes.py at 64ca52b4c7d849bc67d21872235b1b721ce25397 · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com) | 12:13 |
sf-slack2 | <acomodi> When it was enabled I got the following error message: ``` Traceback (most recent call last): File "/home/alessandro/projects/symbiflow/symbiflow-arch-defs/build/env/conda/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/home/alessandro/projects/symbiflow/symbiflow-arch-defs/build/env/conda/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File | 12:14 |
sf-slack2 | "/home/alessandro/projects/symbiflow/symbiflow-arch-defs/xc7/fasm2bels/__main__.py", line 4, in <module> main() File "/home/alessandro/projects/symbiflow/symbiflow-arch-defs/xc7/fasm2bels/fasm2bels.py", line 271, in main top.make_routes(allow_orphan_sinks=args.allow_orphan_sinks) File "/home/alessandro/projects/symbiflow/symbiflow-arch-defs/xc7/fasm2bels/verilog_modeling.py", line 973, in make_routes | 12:14 |
sf-slack2 | net_map=self.net_map, File "/home/alessandro/projects/symbiflow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 668, in make_routes allow_orphan_sinks=allow_orphan_sinks File "/home/alessandro/projects/symbiflow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 550, in expand_sink allow_orphan_sinks=allow_orphan_sinks File | 12:14 |
sf-slack2 | "/home/alessandro/projects/symbiflow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 438, in expand_sink allow_orphan_sinks=allow_orphan_sinks File "/home/alessandro/projects/symbiflow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 438, in expand_sink allow_orphan_sinks=allow_orphan_sinks File "/home/alessandro/projects/symbiflow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 438, in | 12:14 |
sf-slack2 | expand_sink allow_orphan_sinks=allow_orphan_sinks [Previous line repeated 1 more time] File "/home/alessandro/projects/symbiflow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 550, in expand_sink allow_orphan_sinks=allow_orphan_sinks File "/home/alessandro/projects/symbiflow/symbiflow-arch-defs/xc7/fasm2bels/make_routes.py", line 518, in expand_sink 'HARD0'], (sink_node_pkey, tile, site_pin) | 12:14 |
sf-slack2 | AssertionError: (1124829, 'CLBLM_R_X5Y134', 'DQ') xc7/tests/chain_packing/CMakeFiles/file_xc7_tests_chain_packing_chain_packing_basys3_artix7-xc7a50t-basys3-roi-virt-xc7a50t-basys3-test_top_bit.v.dir/build.make:62: recipe for target 'xc7/tests/chain_packing/chain_packing_basys3/artix7-xc7a50t-basys3-roi-virt-xc7a50t-basys3-test/top_bit.v' failed ``` | 12:14 |
*** acomodi has joined #symbiflow | 12:15 | |
sf-slack2 | <mkurc> I had similar errors when trying to use fasm2verilog. | 12:16 |
sf-slack2 | <acomodi> You think is due to the tool or to the wrong fasm (which means something bad happened during some of the VPR stages)? | 12:18 |
sf-slack2 | <mkurc> I think that the tool is a problem. Because I ran it on working design of a counter test. | 12:19 |
sf-slack2 | <arora.prayas> I ran 'make' in the vtr-verilog-to-routing directory. I gave the following warnings: ... Scanning dependencies of target vpr [ 14%] Building CXX object vpr/CMakeFiles/vpr.dir/src/main.cpp.o [ 16%] Linking CXX executable ../../vpr/vpr /home/prayas/sandbox/vtr-verilog-to-routing/vpr/src/base/read_netlist.cpp: In function ‘set_atom_pin_mapping’: | 12:19 |
sf-slack2 | /home/prayas/sandbox/vtr-verilog-to-routing/vpr/src/base/vpr_types.cpp:128:12: warning: potential null pointer dereference [-Wnull-dereference] return child_pbs == nullptr; ^ /home/prayas/sandbox/vtr-verilog-to-routing/vpr/src/base/vpr_types.cpp:128:12: warning: potential null pointer dereference [-Wnull-dereference] [ 16%] Built target vpr ... | 12:19 |
sf-slack2 | <acomodi> @arora.prayas It is not an issue, but probably worth to solve it though. | 12:21 |
sf-slack2 | <acomodi> @mkurc Ok, I'll try to run it as well to double-check on a running test design | 12:22 |
sf-slack2 | <arora.prayas> Yup, The build is ready. I'll look into this and also run some tests to understand the flow for perl to python migration. | 12:22 |
sf-slack2 | <acomodi> When translating from fasm2verilog as I said I have allowed `orphan_sinks` and printed all of them on stdout. Here there is a fraction of the output relative to the orphan sinks which is curious: https://pastebin.com/p4APnu5z | 13:40 |
tpb | Title: SINK NODE: 1124330 TILE NAME: CLBLM_R_X5Y132 WIRE NAME: CLBLM_CLK1 SINK WIRE: 1 - Pastebin.com (at pastebin.com) | 13:40 |
sf-slack2 | <mkurc> @acomodi So I guess that the curious thing is that the orphan sinks are clocks, right ? | 13:45 |
sf-slack2 | <acomodi> Yep, and they refer to the equivalent tiles (CLBLMs) that are used instead of the original one (CLBLLs) | 13:50 |
sf-slack2 | <acomodi> @mkurc I am starting to think that I missed some steps when dealing with the equivalent tiles which break something during routing. Probably is a clock related issue | 13:52 |
sf-slack2 | <mkurc> @acomodi I remember a suggestion from @litghost that you can enable routing debugging in the VPR | 13:57 |
*** JuanP has joined #symbiflow | 13:57 | |
sf-slack2 | <acomodi> @mkurc Yeah, I think it is a good idea to check in detail what is happening there during routing | 13:58 |
JuanP | Hi, I am willing to help treillis. For ECP5, where can I find the details of commands for the bitstream? I read multiple lattice docs and the treillis doc seems to only talk about configuration commands but not what we put inside the frames. thanks | 13:59 |
daveshah | JuanP: If you are interested in the meaning of bits, have a look at https://symbiflow.github.io/prjtrellis-db/ | 14:15 |
tpb | Title: Project Trellis HTML Documentation (at symbiflow.github.io) | 14:15 |
daveshah | And it's machine readable form https://github.com/SymbiFlow/prjtrellis-db | 14:15 |
tpb | Title: GitHub - SymbiFlow/prjtrellis-db: Project Trellis database (at github.com) | 14:16 |
JuanP | great, just a suggestion, maybe it would help to have a simple and concise example so that we can be sure to understand all that data and find a way by ourselves | 14:22 |
JuanP | * bitstream example | 14:23 |
daveshah | Yes I might look at getting something like that together | 14:26 |
daveshah | Have you looked at ecpunpack? It can turn a bitstream to a simple text format | 14:26 |
daveshah | See https://prjtrellis.readthedocs.io/en/latest/libtrellis/textconfig.html | 14:27 |
tpb | Title: Textual Configuration Format Project Trellis 0.0-231-g0bc07e3 documentation (at prjtrellis.readthedocs.io) | 14:27 |
JuanP | ecpunpack is a good thing. I will use it for now, but definitely, if you could add an example, I am pretty sure devs would be more encline to tinker. Just my 2cts though! Thanks for this great project BTW | 14:31 |
*** citypw has joined #symbiflow | 14:52 | |
sf-slack2 | <acomodi> @mkurc good news, I guess, I think I made something wrong when modifying genfasm to deal with the equivalent tiles. I reverted the genfasm changes and produced a verilog design with fasm2verilog which is correctly implemented by vivado and all of the carrychains in the `chain_packing` test are working. | 14:57 |
sf-slack2 | <mkurc> @acomodi That's great! | 14:57 |
sf-slack2 | <kgugala> @acomodi that's awesome | 14:57 |
litghost | acomodi: The recommended way to use fasm2v right now is to ensure that all input pins are connected to sinks and all output pins are connected to sourced. There is also a restriction with constant routing that output pins cannot be tied to VCC/GND. I general tied unused input pins to 1 or more unused output pins | 15:01 |
sf-slack2 | <mkurc> On my side: I made a progress regarding CLB split. I created and filled in new tables in the SQL database. The first one relates new SLICE tiles to concrete site instances of former CLBs. The second one maps pips which are related to particular instances of new SLICE tiles to concrete SLICE tile instances within a former CLB. (That's a bit enigmatic though...) | 15:06 |
sf-slack2 | <acomodi> litghost: Yeah, makes sense that all pins are connected to the relative sink/source. In fact there still is something that is not correct as there still are orphan sinks. I need to further investigate this | 15:06 |
sf-slack2 | <mkurc> @litghost I think now I have to create a WIP PR with my latest work regarding the CLB split. But that work is based on #537. How do you want to progress with that ? | 15:08 |
litghost | Push what you have | 15:09 |
litghost | #537 is close, just some outstanding review comments | 15:10 |
*** JuanP has quit IRC | 15:10 | |
sf-slack2 | <mkurc> @litghost Here it is: https://github.com/SymbiFlow/symbiflow-arch-defs/pull/610 | 15:18 |
tpb | Title: WIP: CLB to SLICE split by mkurc-ant · Pull Request #610 · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com) | 15:18 |
*** citypw has quit IRC | 15:22 | |
*** citypw has joined #symbiflow | 16:01 | |
*** proteusguy has quit IRC | 16:02 | |
*** proteusguy has joined #symbiflow | 16:04 | |
*** Bertl is now known as bertl_oO | 16:51 | |
*** bertl_oO is now known as Bertl_oO | 16:51 | |
*** OmniMancer has quit IRC | 16:53 | |
*** futarisIRCcloud has quit IRC | 17:01 | |
*** _whitelogger has quit IRC | 17:47 | |
*** _whitelogger has joined #symbiflow | 17:49 | |
mithro | FYI - nextpnr is now in the SymbiFlow conda-packages | 19:14 |
mithro | So is verilator and iverilog | 19:14 |
mithro | FYI - I started a "FASM Feature Naming Style Guide" at https://docs.google.com/document/d/1DpNa1muvC8-ekjJeG9MSVUTnQnz1W0lnLBQTHmdTsA4/edit# | 21:15 |
tpb | Title: FASM Feature Naming Style Guide - Google Docs (at docs.google.com) | 21:15 |
mithro | litghost: https://www.researchgate.net/publication/38107259_FPGA_Interconnect_Topologies_Exploration/download | 21:55 |
mithro | This is a really interesting document -> https://www.xilinx.com/support/documentation/application_notes/xapp522-mux-design-techniques.pdf | 22:00 |
mithro | litghost: This is the style of diagram was I was looking for | 22:07 |
mithro | litghost: https://slideplayer.com/slide/7353136/24/images/18/A+typical+switch-box+mux.jpg | 22:07 |
mithro | litghost: Are you working on https://github.com/SymbiFlow/symbiflow-arch-defs/pull/597/files ? | 22:58 |
tpb | Title: WIP: Generate flip flop models using v2x by mithro · Pull Request #597 · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com) | 22:58 |
mithro | litghost: Or should I take it back and land it? | 22:58 |
litghost | mithro: If you have time, take and land it, however it requires solving the v2x multi instance problem, which I believe kgugala is working on | 23:00 |
*** futarisIRCcloud has joined #symbiflow | 23:48 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!