*** tpb has joined #litex | 00:00 | |
*** rohitksingh has joined #litex | 00:30 | |
awygle | _florent_: is there documentation of how litex streams are intended to work, other than the source file? (i'm continuing to investigate a design for nmigen streams) | 01:09 |
---|---|---|
*** palmer has quit IRC | 01:44 | |
*** palmer_ has joined #litex | 01:48 | |
*** palmer has joined #litex | 02:08 | |
*** palmer has quit IRC | 02:14 | |
*** palmer has joined #litex | 02:14 | |
*** palmer is now known as Guest75209 | 02:14 | |
*** Guest75209 has joined #litex | 02:15 | |
*** Guest75209 has quit IRC | 02:20 | |
*** Guest752091 has joined #litex | 02:20 | |
*** Dolu has quit IRC | 02:36 | |
*** Dolu has joined #litex | 02:36 | |
*** Guest752091 is now known as palmer | 03:05 | |
somlo | _florent_: so, tomorrow when I'm back in the office I'll try specifying ClockSignal("clk100") explicitly, since I just realized I can do that :) | 03:27 |
*** rohitksingh has quit IRC | 03:50 | |
*** simeonm has joined #litex | 05:03 | |
*** rohitksingh has joined #litex | 05:10 | |
*** rohitksingh has quit IRC | 05:45 | |
*** rohitksingh has joined #litex | 06:09 | |
*** CarlFK has joined #litex | 08:19 | |
_florent_ | awygle: sorry, there are not that much information, the basis is what i described in https://github.com/nmigen/nmigen/issues/317#issuecomment-583277029, so a Record of signal very similar to a simplified AXI that forms an Endpoint | 08:32 |
tpb | Title: Stream Abstraction for nmigen.lib · Issue #317 · nmigen/nmigen · GitHub (at github.com) | 08:32 |
_florent_ | each module then has sink(s) and source(s) that you connect together with self.comb += module0.source.connect(module1.sink) | 08:33 |
*** esden has quit IRC | 08:36 | |
*** futarisIRCcloud has quit IRC | 08:37 | |
*** daveshah has quit IRC | 08:37 | |
*** _florent_ has quit IRC | 08:37 | |
*** esden has joined #litex | 08:38 | |
*** daveshah has joined #litex | 08:39 | |
*** futarisIRCcloud has joined #litex | 08:39 | |
*** _florent_ has joined #litex | 08:40 | |
*** m4ssi has joined #litex | 09:43 | |
acathla | I just found the right board definition file in... migen : migen/build/platforms/ice40_up5k_b_evn.py, but not in litex nor litex-boards | 10:21 |
_florent_ | acathla: if you look for a board in addition to litex-boards you can look at https://github.com/m-labs/migen/tree/master/migen/build/platforms and https://github.com/timvideos/litex-buildenv/tree/master/platforms, you should be able to reuse it almost directly. The ones in litex-boards are the ones that have been contributed by LiteX developers that are tested with LiteX. | 11:06 |
tpb | Title: migen/migen/build/platforms at master · m-labs/migen · GitHub (at github.com) | 11:06 |
*** sajattack[m] has quit IRC | 11:52 | |
*** sajattack[m] has joined #litex | 11:55 | |
acathla | Info: ICESTORM_LC: 76070/ 7680 990% | 13:59 |
acathla | when I try to add LiteEthMAC to my design (when adding the self.add_wb_slave() about that ethmac) | 14:01 |
acathla | What could cause that? | 14:02 |
_florent_ | hmm, this is probably the SRAMs of the MAC that are implemented as logic, what's the resource usage without LiteEthMAC? | 14:14 |
acathla | _florent_, ICESTORM_LC: 1020/ 7680 13% | 14:36 |
acathla | _florent_, I just see some FIFOs I can reduce a bit | 14:38 |
acathla | and ICESTORM_RAM: 1/ 32 3% without LiteEthMAC | 14:40 |
acathla | ICESTORM_RAM: 9/ 32 28% with it | 14:40 |
pdp7 | _florent_: thanks for the response about JTAG on the arty. I'm trying it out now. This is the first time I've used this Arty. Only other experience was mithro walked me through litex-buildenv on an Arty at FOSDEM | 15:26 |
pdp7 | I'm following "Installing OpenOCD (only needed for hardware test)" now from linux-on-litex-vexriscv | 15:27 |
*** ambro718 has joined #litex | 16:32 | |
*** m4ssi has quit IRC | 17:02 | |
*** m4ssi has joined #litex | 17:05 | |
*** m4ssi has quit IRC | 17:16 | |
*** m4ssi has joined #litex | 17:20 | |
_florent_ | acathla: i could look if you are able to share your design | 17:31 |
_florent_ | acathla: or you can create an issue with the files to reproduce on LiteX or LiteEth | 17:32 |
*** m4ssi has quit IRC | 17:36 | |
pdp7 | _florent_: i'm trying to get my system to build arty | 17:48 |
pdp7 | ./make.py --board=arty --build | 17:48 |
pdp7 | ends in this error | 17:48 |
*** pdp7 has quit IRC | 17:48 | |
*** pdp7 has joined #litex | 17:49 | |
pdp7 | oops bad pasting | 17:49 |
pdp7 | I think the issue is: | 17:49 |
pdp7 | /home/pdp7/dev/litex-buildenv/build/Xilinx/opt/Xilinx/Vivado/2017.3/bin/rdiArgs.sh: line 179: 29301 Segmentation fault (core dumped) "$RDI_PROG" "$@" | 17:49 |
pdp7 | but I am not sure what RDI is | 17:49 |
_florent_ | pdp7: that's strange, have you already been able to build a design with your installed version of Vivado? | 17:53 |
pdp7 | I was able to do it with litex-buildenv | 17:54 |
_florent_ | could you try building https://github.com/enjoy-digital/litex/blob/master/litex/boards/targets/arty.py? | 17:54 |
tpb | Title: litex/arty.py at master · enjoy-digital/litex · GitHub (at github.com) | 17:54 |
pdp7 | https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf-VexRiscv-Renode#resuming-development | 17:54 |
tpb | Title: HowTo LCA2018 FPGA Miniconf VexRiscv Renode · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 17:54 |
pdp7 | I'm doing: | 17:54 |
pdp7 | pdp7@x1:~/dev/enjoy/linux-on-litex-vexriscv$ ./make.py --board=arty --build | 17:54 |
pdp7 | I created symlink | 17:55 |
pdp7 | /opt/Xilinx -> /home/pdp7/dev/litex-buildenv/build/Xilinx/opt/Xilinx | 17:55 |
_florent_ | are you using litex-buildenv or litex directly? | 17:57 |
_florent_ | before building, can you just do "source /home/pdp7/dev/litex-buildenv/build/Xilinx/opt/Xilinx/VIvado2017.3/settings64.sh"? | 17:58 |
_florent_ | sorry "source /home/pdp7/dev/litex-buildenv/build/Xilinx/opt/Xilinx/VIvado/2017.3/settings64.sh" | 17:58 |
pdp7 | ah, let try | 18:01 |
pdp7 | ok, | 18:02 |
pdp7 | pdp7@x1:~/dev/enjoy/linux-on-litex-vexriscv$ source /home/pdp7/dev/litex-buildenv/build/Xilinx/opt/Xilinx/Vivado/2017.3/settings64.sh | 18:02 |
pdp7 | pdp7@x1:~/dev/enjoy/linux-on-litex-vexriscv$ ./make.py --board=arty --build | 18:02 |
pdp7 | but bit different error this time | 18:02 |
pdp7 | source top.tcl | 18:02 |
pdp7 | # create_project -force -name top -part xc7a35ticsg324-1L | 18:02 |
pdp7 | ERROR: [Common 17-685] Unable to load Tcl app xilinx::xsim | 18:02 |
pdp7 | ERROR: [Common 17-69] Command failed: ERROR: [Common 17-685] Unable to load Tcl app xilinx::xsim | 18:02 |
pdp7 | INFO: [Common 17-206] Exiting Vivado at Wed Feb 19 19:00:55 2020... | 18:02 |
pdp7 | running again | 18:03 |
pdp7 | i now get: | 18:04 |
pdp7 | /home/pdp7/dev/litex-buildenv/build/Xilinx/opt/Xilinx/Vivado/2017.3/bin/rdiArgs.sh: line 179: 30863 Segmentation fault (core dumped) "$RDI_PROG" "$@" | 18:04 |
CarlFK | pdp7: what distro/release ? | 18:05 |
pdp7 | that line is: | 18:05 |
pdp7 | "$RDI_PROG" "$@" | 18:05 |
pdp7 | which turns out to be: | 18:06 |
pdp7 | /home/pdp7/dev/litex-buildenv/build/Xilinx/opt/Xilinx/Vivado/2017.3/bin/unwrapped/lnx64.o/vivado | 18:06 |
pdp7 | let me chec | 18:06 |
pdp7 | pdp7@x1:~/dev/enjoy/linux-on-litex-vexriscv$ ldd /home/pdp7/dev/litex-buildenv/build/Xilinx/opt/Xilinx/Vivado/2017.3/bin/unwrapped/lnx64.o/vivado | 18:06 |
pdp7 | linux-vdso.so.1 (0x00007ffef2525000) | 18:06 |
pdp7 | libtcmalloc.so.4 => not found | 18:06 |
pdp7 | libboost_signals.so => not found | 18:06 |
pdp7 | librdi_common.so => not found | 18:06 |
pdp7 | librdi_commonmain.so => not found | 18:06 |
pdp7 | libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7edd7ff000) | 18:06 |
pdp7 | libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7edd7e5000) | 18:06 |
pdp7 | libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7edd5f2000) | 18:06 |
pdp7 | libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7edd4a3000) | 18:06 |
pdp7 | /lib64/ld-linux-x86-64.so.2 (0x00007f7edda0e000) | 18:06 |
pdp7 | could be problem | 18:06 |
pdp7 | @CarlFK Ubuntu 19.10 | 18:07 |
pdp7 | with Vivado 2017.3 | 18:07 |
pdp7 | _florent_: are there instructions with regard to linux-on-litex-vexriscv and vivado ? | 18:08 |
_florent_ | the issue seems to be related to the Vivado version/Ubuntu version | 18:10 |
CarlFK | pdp7: your vivado seems to be 'broken' (or crashing...) give me 20 min and I'll try to set up the same thing here | 18:10 |
pdp7 | yeah, installing some packages | 18:10 |
pdp7 | also | 18:12 |
pdp7 | export LD_LIBRARY_PATH=/opt/Xilinx/Vivado/2017.3/lib/lnx64.o:$LD_LIBRARY_PATH | 18:12 |
pdp7 | hmmm | 18:13 |
pdp7 | ldd is happy now | 18:14 |
pdp7 | but | 18:14 |
pdp7 | $ /opt/Xilinx/Vivado/2017.3/bin/unwrapped/lnx64.o/vivado | 18:14 |
pdp7 | Error: The file is corrupt. Please re-install this software from the original media. | 18:14 |
pdp7 | Aborted (core dumped) | 18:14 |
*** m4ssi has joined #litex | 18:14 | |
pdp7 | pdp7@x1:~/dev/enjoy/linux-on-litex-vexriscv$ /opt/Xilinx/Vivado/2017.3/bin/vivado | 18:15 |
pdp7 | DEBUG:RDI_PROG:/opt/Xilinx/Vivado/2017.3/bin/unwrapped/lnx64.o/vivado | 18:15 |
pdp7 | ****** Vivado v2017.3 (64-bit) | 18:15 |
pdp7 | **** SW Build 2018833 on Wed Oct 4 19:58:07 MDT 2017 | 18:15 |
pdp7 | **** IP Build 2016188 on Wed Oct 4 21:52:56 MDT 2017 | 18:15 |
pdp7 | ** Copyright 1986-2017 Xilinx, Inc. All Rights Reserved. | 18:15 |
pdp7 | start_gui | 18:15 |
pdp7 | ERROR: [Common 17-267] Couldn't open 'libjvm.so': 'libjvm.so: cannot open shared object file: No such file or directory' | 18:15 |
pdp7 | Make sure you are using a supported OS of RHEL5.x or greater. | 18:15 |
pdp7 | ERROR: [Common 17-211] Error loading jvm. | 18:15 |
pdp7 | Vivado% | 18:15 |
_florent_ | if you have space (and time...) you should probably update your Vivado version to 2019.2 | 18:15 |
pdp7 | ok | 18:15 |
pdp7 | Xilinx Unified Installer Update 1 - 2019.2 (TAR/GZIP - 9.03 GB) | 18:16 |
pdp7 | sound right? | 18:16 |
*** m4ssi has quit IRC | 18:16 | |
pdp7 | time to clean my hard drive | 18:20 |
pdp7 | mithro: is symbiflow ready yet? :) | 18:20 |
CarlFK | pdp7: 22964656463 Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz | 18:20 |
pdp7 | thanks | 18:21 |
CarlFK | hmm, 2019.2... looks more current than what I have... | 18:21 |
pdp7 | i'm downloading Xilinx_Vivado_Vitis_Update_2019.2.1_1205_0436.tar.gz | 18:21 |
CarlFK | yeah, now I am too :p | 18:21 |
pdp7 | 13 minutes left | 18:21 |
mithro | pdp7: Had the first success with DDR on the Arty yesterday | 18:23 |
pdp7 | awesome! | 18:24 |
_florent_ | mithro: great! | 18:49 |
pdp7 | CarlFK: trying to install Xilinx_Vivado_Vitis_Update_2019.2.1_1205_0436 now | 19:16 |
CarlFK | pdp7: im confused... https://www.xilinx.com/support/download.html says "Vivado Design Suite 2019.2.1 is now available..." | 19:17 |
tpb | Title: Downloads (at www.xilinx.com) | 19:17 |
CarlFK | but I don't see 2019.2.1... where did you find it? | 19:18 |
pdp7 | Xilinx Unified Installer Update 1 - 2019.2 (TAR/GZIP - 9.03 GB) | 19:18 |
pdp7 | under Vivado Design Suite - HLx Editions Update 1 - 2019.2 | 19:18 |
CarlFK | got it. thanks. | 19:18 |
pdp7 | ugh... "there is no valid Xilinx installation that this update can be applied to" | 19:20 |
pdp7 | CarlFK: ok, now I downloaded Xilinx_Unified_2019.2_1106_2127_Lin64.bin | 19:23 |
pdp7 | https://xilinx-ax-dl.entitlenow.com/dl/ul/2019/11/08/R210260636/Xilinx_Unified_2019.2_1106_2127_Lin64.bin/73f8ee01875047cfb5de619c1400401e/5E4DDE9F?akdm=0&filename=Xilinx_Unified_2019.2_1106_2127_Lin64.bin | 19:23 |
pdp7 | ugh, it's a java program install wizard | 19:24 |
pdp7 | hmm I have to choose between Vitis and Vivado | 19:25 |
pdp7 | in radio button dialog | 19:25 |
pdp7 | oh god, requires 46 GB | 19:27 |
somlo | _florent_: Thanks again for the litesdcard clocker fix, now https://hastebin.com/uleyeyilow.rb works with Rocket at 60MHz (and also with vexriscv at 100MHz and below) | 19:27 |
CarlFK | pdp7: yeah, yuck. you can install to a thumb drive and then make a sym link | 19:31 |
CarlFK | im trying to clear out space for the download before my disk fills up... | 19:32 |
CarlFK | rm ubuntu-19.10-desktop-amd64.iso 4G feed up.. not eneough... | 19:33 |
pdp7 | wow, this is crazy... now i know why yosys and nextpnr is so nice | 19:34 |
CarlFK | geeze.. 3 hours of dl left.. 3.5 of 26 gig!!! | 19:48 |
pdp7 | yikes | 19:51 |
pdp7 | i'm going back trying to fix /opt/Xilinx/Vivado/2017.3/ | 19:51 |
pdp7 | stuck on | 19:55 |
pdp7 | pdp7@x1:/opt/Xilinx/Vivado/2017.3$ vivado | 19:55 |
pdp7 | DEBUG:RDI_PROG:/home/pdp7/dev/litex-buildenv/build/Xilinx/opt/Xilinx/Vivado/2017.3/bin/unwrapped/lnx64.o/vivado | 19:55 |
pdp7 | ****** Vivado v2017.3 (64-bit) | 19:55 |
pdp7 | **** SW Build 2018833 on Wed Oct 4 19:58:07 MDT 2017 | 19:55 |
pdp7 | **** IP Build 2016188 on Wed Oct 4 21:52:56 MDT 2017 | 19:55 |
pdp7 | ** Copyright 1986-2017 Xilinx, Inc. All Rights Reserved. | 19:55 |
pdp7 | start_gui | 19:55 |
pdp7 | ERROR: [Common 17-70] Application Exception: JVM classPath has not yet been set | 19:55 |
pdp7 | ERROR: [Common 17-211] Error loading jvm. | 19:55 |
pdp7 | Vivado% exit | 19:55 |
somlo | daveshah: random data point on trellisboard -- I noticed that generally correct and working Litex+Rocket bitstreams will pass memtest almost 100% of the time after the board has been plugged in and powered for "a while" (hours); however, after it's been unplugged for a while, it tends to fail memtest using the same exact bitstream | 20:02 |
somlo | so once it "warms up" it seems the DRAM circuitry tends to work better (and I literally mean I think temperature has something to do with it :) ) | 20:03 |
daveshah | Seems quite plausible | 20:03 |
daveshah | I think 55-60MHz is the low end of what the internal delay loop thingy supports | 20:03 |
daveshah | stuff tends to get slower as it warms up | 20:03 |
somlo | I run it at 60MHz because I tend to be intimidated a bit by nextpnr "failing" to guarantee the requested fmax :) | 20:04 |
somlo | I could probably try 65MHz, but then if I start seeing random glitches while in linux I fear I'll have trouble blaming the appropriate layer... | 20:05 |
daveshah | Yeah, there's no way around it with rocket, unless you somehow ran litedram at a higher clock | 20:05 |
somlo | but anyway, I'm happy to hear the temperature thing makes sense -- thanks! | 20:07 |
sorear | might be interesting to experiment with a controlled temperature? maybe have it off for a while, but in an 80C oven | 20:07 |
pdp7 | python3 -m litex.soc.software.mkmscimg bios.bin --little | 20:08 |
pdp7 | ****** Vivado v2017.3 (64-bit) | 20:08 |
pdp7 | **** SW Build 2018833 on Wed Oct 4 19:58:07 MDT 2017 | 20:08 |
pdp7 | **** IP Build 2016188 on Wed Oct 4 21:52:56 MDT 2017 | 20:08 |
pdp7 | ** Copyright 1986-2017 Xilinx, Inc. All Rights Reserved. | 20:08 |
pdp7 | source top.tcl | 20:08 |
pdp7 | # create_project -force -name top -part xc7a35ticsg324-1L | 20:08 |
pdp7 | ERROR: [Common 17-685] Unable to load Tcl app xilinx::xsim | 20:09 |
pdp7 | ERROR: [Common 17-69] Command failed: ERROR: [Common 17-685] Unable to load Tcl app xilinx::xsim | 20:09 |
pdp7 | INFO: [Common 17-206] Exiting Vivado at Wed Feb 19 21:03:40 2020... | 20:09 |
somlo | sorear: that'd be interesting indeed, but I'm not set up to do that test (I'm really just a software guy trying to fake it :D ) | 20:09 |
pdp7 | ugh, tcl and big binaries... | 20:09 |
pdp7 | daveshah: can I use nextpnr for arty (artix7)? :) | 20:09 |
daveshah | You can but it's pretty finnicky at the moment | 20:09 |
pdp7 | seems better than finding 40GB of space :) | 20:10 |
daveshah | (https://github.com/daveshah1/nextpnr-xilinx/) | 20:10 |
tpb | Title: GitHub - daveshah1/nextpnr-xilinx: Experimental flows using nextpnr for Xilinx devices (at github.com) | 20:10 |
pdp7 | nice, there is Arty example in the readme. thanks | 20:11 |
daveshah | You can disable devices in Vivado to reduce the space it needs btw | 20:11 |
pdp7 | looks like the smallest I can acheive is 40GB | 20:19 |
*** rohitksingh has quit IRC | 20:40 | |
*** Dolu has quit IRC | 20:45 | |
*** davidc__ has quit IRC | 21:10 | |
*** rohitksingh has joined #litex | 21:24 | |
*** rohitksingh has quit IRC | 21:42 | |
*** rohitksingh has joined #litex | 22:00 | |
*** Dolu has joined #litex | 22:04 | |
pdp7 | mithro: any idea why this is failing? | 22:23 |
pdp7 | https://www.irccloud.com/pastebin/GbYIWKDp/ | 22:23 |
tpb | Title: Snippet | IRCCloud (at www.irccloud.com) | 22:23 |
pdp7 | from https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf-VexRiscv-Renode#boot-linux-via-tftp | 22:23 |
tpb | Title: HowTo LCA2018 FPGA Miniconf VexRiscv Renode · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 22:23 |
*** rohitksingh has quit IRC | 22:36 | |
*** ambro718 has quit IRC | 23:50 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!