*** tpb has joined #timvideos | 00:00 | |
*** tinyfpga has quit IRC | 01:50 | |
cr1901_modern | mithro: Do you still have that litex/migen comparison script? | 02:18 |
---|---|---|
mithro | cr1901_modern: Same place as last time | 02:33 |
mithro | cr1901_modern: Check my gists - https://gist.github.com/mithro | 02:34 |
tpb | Title: mithro’s gists · GitHub (at gist.github.com) | 02:34 |
mithro | hrm apparently it wasn't on my gists... | 02:35 |
cr1901_modern | Yea, just got to the end | 02:36 |
mithro | cr1901_modern: Hrm... I can't find it :-P | 02:36 |
cr1901_modern | My todo list for Migen is filled w/ a bunch of "get Litex and Migen up to feature parity w/ each other" T_T *whines* | 02:37 |
cr1901_modern | I don't have time to do this, but at least if I had a script, I could see specifically what the differences are | 02:37 |
mithro | cr1901_modern: Seems to be https://gist.github.com/mithro/289c5dce5fd1c4ea2c0d352e1d511d0b | 02:38 |
tpb | Title: Prepare an upstream migen/misoc for merging into litex · GitHub (at gist.github.com) | 02:38 |
mithro | cr1901_modern: Seems the .gitignore was making it hard to fine | 02:40 |
cr1901_modern | mithro: Tyvm. This'll put me at ease. | 02:42 |
mithro | cr1901_modern: I haven't run it recently | 02:43 |
mithro | cr1901_modern: Feel free to help figure out what still is different | 02:43 |
*** tinyfpga has joined #timvideos | 02:43 | |
cr1901_modern | mithro: Will do | 02:43 |
mithro | cr1901_modern: Running home now | 02:43 |
cr1901_modern | mithro: Leaving a privmsg for later | 02:43 |
mithro | hey tinyfpga, cr1901_modern is working on tinyfpga_b2 support stuff in litex / misoc | 02:43 |
cr1901_modern | it's a good FPGA (tm) | 02:44 |
tinyfpga | Cool! | 02:44 |
tinyfpga | :) | 02:44 |
tinyfpga | Be back to chat later, my daughter wants to make some chibitronics project :) | 02:45 |
cr1901_modern | have fun | 02:45 |
*** rohitksingh_work has joined #timvideos | 04:01 | |
*** sb0 has quit IRC | 04:03 | |
cr1901_modern | mithro: https://gist.github.com/cr1901/4af8c04a04ba22aebb0af4faeca11b43/revisions Made some changes. Definitely a lot of stuff to do (simulation in particular means litex/migen/misoc will diverge for a while longer) | 04:15 |
tpb | Title: Revisions · Prepare an upstream migen/misoc for merging into litex · GitHub (at gist.github.com) | 04:15 |
cr1901_modern | platforms and _most_ of the backend logic (minus _florent_'s additions to generic_platform such as "Pins() without a constraint string") can prob easily be merged back | 04:16 |
*** shaharyar has joined #timvideos | 04:28 | |
mithro | cr1901_modern: I merged the changes? | 04:30 |
cr1901_modern | mithro: That was the intent :) | 04:30 |
cr1901_modern | it's not like forking gists is anywhere near as pleasant as repos | 04:31 |
cr1901_modern | tinyfpga: Btw, tinyfpga_a should follow on migen/litex soon enough. I may need your help tho to test diamond on Linux (assuming you use it). | 04:32 |
cr1901_modern | (Migen doesn't support diamond on linux at present, but litex does. I want to add this functionality for feature parity, but it may go through a few iterations.) | 04:32 |
cr1901_modern | soon enough == a month or so | 04:32 |
mithro | cr1901_modern: Why do you do https://gist.github.com/cr1901/4af8c04a04ba22aebb0af4faeca11b43/revisions#diff-543e593e2756026d84c746dfd22e0917R257 ? | 04:33 |
tpb | Title: Revisions · Prepare an upstream migen/misoc for merging into litex · GitHub (at gist.github.com) | 04:33 |
cr1901_modern | mithro: If you take it out, sed doesn't make any changes. So the git commit fails w/ "working directory clean". | 04:34 |
cr1901_modern | (Notice I got rid of the s/migen/litex.gen/g sed command) | 04:35 |
cr1901_modern | So I just wrote a substitution that forces sed to make a chance | 04:35 |
cr1901_modern | change* | 04:35 |
tinyfpga | Awesome, it will be nice to have both boards supported | 04:37 |
mithro | cr1901_modern: But you could just remove it if it is no longer needed? | 04:37 |
cr1901_modern | mithro: I could have :). But I wanted to make the least invasive change possible in case you needed it | 04:39 |
cr1901_modern | feel free to remove if you don't need it | 04:39 |
cr1901_modern | tinyfpga: Do you use Diamond on Linux? I'm in no position to test | 04:39 |
*** CarlFK has quit IRC | 04:40 | |
shivm28[m] | shorne: Thanks for the information. One more doubt: Why is the field description of Debug Reason Register same as that of Debug Stop Register given in or1k debug unit? | 05:09 |
shivm28[m] | shorne: For breakpoints, can we say that we are writing the register address of the breakpoint location in the OR1K debug unit. When the program counter matches with this register address, a breakpoint hit takes place? | 05:14 |
tinyfpga | cr1901_modern: I do most development on Windows unfortunately, but I do have a few Linux boxes that I can try it out on | 05:20 |
*** futarisIRCcloud has joined #timvideos | 05:40 | |
shorne | shivm28[m]: https://sourceware.org/gdb/wiki/Internals%20Watchpoints | 05:48 |
tpb | Title: Internals Watchpoints - GDB Wiki (at sourceware.org) | 05:49 |
shorne | this is a pretty good summary on watchpoints and supporting in GDB | 05:49 |
shorne | shivm28[m]: The DSR and DRR are difference. DSR is to set which exceptions cause the CPU to hand over control to the Debug Unit (i.e. then GDB) | 05:50 |
shorne | You set DSR to turn on debugging, i.e. set the bit for l.trap | 05:51 |
shorne | The DRR, it what you inspect when the CPU hands over control to the debug unit. You can inspect it to know if it was a l.trap exception etc | 05:52 |
shorne | probably you only need to care about l.trap | 05:52 |
*** CarlFK has joined #timvideos | 05:55 | |
*** ChanServ sets mode: +v CarlFK | 05:55 | |
shorne | my typos are bad, I hope you understand. | 05:56 |
*** sb0 has joined #timvideos | 06:04 | |
shivm28[m] | shorne: Do we have any document which explains the debug unit of or1k (more information than already mentioned in or1k architecture)? Also, how GDB interacts with the different debug registers? | 06:08 |
*** cr1901_modern has quit IRC | 06:15 | |
*** cr1901_modern has joined #timvideos | 06:16 | |
*** akhil_singh has joined #timvideos | 06:21 | |
akhil_singh | rohitksingh_work: I am working on IBERT project. So in IBERT we are trying to calculate BER for transmission error in the transceivers. Now, if we are not using the real FPGA. If we are doing only simulations, then we need to model the error of transceivers. How to do that ? | 06:29 |
rohitksingh_work | akhil_singh: I believe you want to inject errors into the "simulated" transceiver lanes. For that you could pass the output through a verilog module which would model the physical channel. You can flip some random bits based on the BER you want to test for. | 06:33 |
shorne | shivm28[m]: the best docs are in adv_debug_sys which I think I provided you before | 06:34 |
shorne | For GDB, you might want to read the link I just send | 06:34 |
shorne | Also, OpenOCD probably has some good docs. | 06:34 |
*** shaharyar has quit IRC | 06:35 | |
rohitksingh_work | akhil_singh: that said, simulation can only go so far. For these kind of projects, hardware is really preferable. | 06:35 |
akhil_singh | rohitksingh_work: Is there any specific way to model the physical channel. Any source to read about it ? | 06:36 |
rohitksingh_work | akhil_singh: now that is a topic which we shouldn't really go into. I would ask what are your motives for trying to simulate the bit errors? | 06:39 |
akhil_singh | rohitksingh_work: In my project i have to calculate the bit error, and then control bit error using different things like equalisation etc. | 06:41 |
rohitksingh_work | akhil_singh: do you have prior knowledge on Xilinx Transceivers? | 06:42 |
rohitksingh_work | or read anything on those lately? | 06:42 |
akhil_singh | rohitksingh_work: I have read the documentation, but how to model them in verilog. If the fpga is not used then how do we model all of these ( mainly the physical channel) ? | 06:46 |
rohitksingh_work | akhil_singh: okay...so simplest way to start is to generate an IP using 7 Series Transceivers Wizard. Once that is done, you need to modifiy the sources and bring out TXPOLARITY signal to top module. You can simply invert the TXPOLARITY randomly to generate errors on the receiver side. | 06:48 |
rohitksingh_work | akhil_singh: also you absolutely need an FPGA board with transceivers for this project. | 06:49 |
*** akhil_singh has quit IRC | 06:50 | |
*** akhil_singh has joined #timvideos | 06:51 | |
akhil_singh | rohitksingh: Okay | 06:51 |
rohitksingh_work | akhil_singh: When you use IP through 7-Series Transceivers Wizard, it will set up a simple simulation model also. You can use that (with the TXPOLARITY modification). But be warned that, simulating the GTP/GTX transceivers is slow and tedious job. | 06:52 |
akhil_singh | rohitksingh_work: Okay | 06:53 |
rohitksingh_work | akhil_singh: you need to get access to an FPGA board with multi-gigabit transceivers (either through university or buy one) as soon as possible. otherwise it will be quite difficult for you without that. | 06:53 |
rohitksingh_work | okay, great | 06:54 |
shivm28[m] | shorne: Noted. I am going through all the resources and will get back to you soon. | 06:55 |
akhil_singh | rohitksingh_work: I can arrange spartan 6, will this be fine ? | 06:57 |
rohitksingh_work | akhil_singh: 7-series is strongly preferred (ISE is very buggy, plus no updates and support for that. Vivado is way better by orders of magnitude). But if you can't get it in worst case, then you can use 6 series FPGA board. Just do make sure that they have MGT transceivers. | 07:01 |
*** akhil_singh has quit IRC | 07:08 | |
*** akhil_singh has joined #timvideos | 07:16 | |
akhil_singh | rohitksingh_work: will zedboard be fine. Though it will be difficult to arrange | 07:16 |
*** akhil_singh has quit IRC | 07:23 | |
rohitksingh_work | akhil_singh: no. Zedboard doesn't have any multi-gigabit transceivers. Make sure to check for boards with transceivers. | 08:11 |
*** CarlFK has quit IRC | 08:52 | |
*** futarisIRCcloud has quit IRC | 09:21 | |
nancy98[m] | CarlFK ping . | 09:56 |
nancy98[m] | tpb | 09:56 |
*** sb0 has quit IRC | 10:04 | |
*** sb0 has joined #timvideos | 10:44 | |
*** Kripton has quit IRC | 12:22 | |
*** Kripton has joined #timvideos | 12:34 | |
*** rohitksingh_work has quit IRC | 12:36 | |
*** rohitksingh has joined #timvideos | 13:17 | |
*** rohitksingh1 has joined #timvideos | 13:19 | |
*** rohitksingh has quit IRC | 13:21 | |
*** CarlFK has joined #timvideos | 13:45 | |
*** ChanServ sets mode: +v CarlFK | 13:45 | |
CarlFK | nancy98[m]: im around now | 14:00 |
nancy98[m] | hello :) having some issues loading gateware and firmware on opsis for testing | 14:02 |
nancy98[m] | https://paste.ubuntu.com/p/vtWwtmQqrr/ | 14:03 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 14:03 |
CarlFK | nancy98[m]: do you have Opsis or Atlys? | 14:29 |
nancy98[m] | Opsis | 14:30 |
*** TheAssassin has left #timvideos | 14:31 | |
*** TheAssassin has joined #timvideos | 14:31 | |
CarlFK | nancy98[m]: un/plug in the usb cable, dmesg, paste the last 20 or so lines (everything after "found new device...") | 14:33 |
nancy98[m] | yup ! https://paste.ubuntu.com/p/y73C8K6Txb/ | 14:45 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 14:45 |
CarlFK | nancy98[m]: that is not dmesg | 14:46 |
nancy98[m] | https://paste.ubuntu.com/p/9BTRxyqGtz/ | 14:50 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 14:50 |
paddatrapper | nancy98[m]: it looks like it is being disconnected. What is the output of lsusb | 15:23 |
paddatrapper | ? | 15:23 |
CarlFK | lots is going on here... | 15:27 |
CarlFK | [18997.944885] cdc_acm 1-1:1.2: ttyACM0: USB ACM device | 15:27 |
CarlFK | [19013.413130] wlp2s0: authenticate with b8:c1:a2:49:45:34 | 15:27 |
CarlFK | [19459.777562] usb 1-1: USB disconnect, device number 47 | 15:27 |
nancy98[m] | i get the correct output withmake gateware-load https://paste.ubuntu.com/p/zp4FG4v94v/ | 15:34 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 15:34 |
CarlFK | nancy98[m]: dmesg shows the Opsis was disconnected 462 seconds (about 7 minutes) after you plugged it in | 15:36 |
nancy98[m] | hmm , thought it is connected.. the output of lsusb https://paste.ubuntu.com/p/f6MykMb2FH/ | 15:46 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 15:46 |
CarlFK | Bus 001 Device 051: ID 16c0:06ad Van Ooijen Technische Informatica | 15:47 |
CarlFK | that is the board, in one of the modes - it gets different usb-ids depending on what mode it is in | 15:48 |
CarlFK | https://opsis.hdmi2usb.tv/getting-started/usb-ids.html | 15:50 |
CarlFK | this is where I get confused and I am not sure what is best to do. so I turn it off and on again and start over :p | 15:50 |
nancy98[m] | CarlFK: May i know (i m not sure) if there is coreect JTAG connection | 15:54 |
CarlFK | nancy98[m]: sorry, I don't use that. or if I do it is abstracted by mode-switch | 15:59 |
nancy98[m] | so you turn it off and on again and start over ..it is random | 16:02 |
CarlFK | I'm sure there is an explanation, I don't know what it is. | 16:05 |
nancy98[m] | The output of make gateware-load https://paste.ubuntu.com/p/zp4FG4v94v/ is correct ? or the warning of unbind-helper not found, will have to run as root! has to be considered .. | 16:08 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 16:08 |
CarlFK | nancy98[m]: is this the last line of output? 62 Found 1 boards. | 16:15 |
nancy98[m] | Found 1 boards. | 16:16 |
CarlFK | nancy98[m]: there should be more | 16:19 |
CarlFK | hmm, maybe I get more because I do: "hdmi2usb-mode-switch -v ..." | 16:23 |
CarlFK | here is what my output looks like: http://paste.ubuntu.com/p/m47RBXPSvz/ | 16:28 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 16:28 |
nancy98[m] | https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/getting-started.md#common-errors looking at this i see i might be facing the same issues , but i have installed udev rules | 16:30 |
tpb | Title: HDMI2USB-litex-firmware/getting-started.md at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 16:30 |
CarlFK | WARNING:root:unbind-helper not found, will have to run as root! | 16:33 |
CarlFK | that is a warning, so it may not need addressing. which is frustrating not to know. | 16:34 |
nancy98[m] | @CA | 16:39 |
nancy98[m] | CarlFK: i think there is issue with udev rules | 16:39 |
CarlFK | nancy98[m]: I have this: /lib/udev/rules.d/60-hdmi2usb-udev.rules | 16:44 |
*** rohitksingh1 has quit IRC | 18:52 | |
*** xobs has quit IRC | 22:13 | |
*** xobs has joined #timvideos | 22:13 | |
*** puck has quit IRC | 22:31 | |
*** puck has joined #timvideos | 22:35 | |
*** Kripton has quit IRC | 22:43 | |
*** Kripton has joined #timvideos | 22:43 | |
*** futarisIRCcloud has joined #timvideos | 23:42 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!