Thursday, 2019-09-12

*** tpb has joined #litex02:03
xobs...I've been busy with Fomu lately so I haven't had a chance to get set up, but if anyone has an ECP5 handy that'd be really useful to know if it's working!02:03
John_KI just got an ULX3S, should be able to give it a shot02:03
*** freemint__ has quit IRC02:05
xobsJohn_K: thanks! Let me know how it goes.  Everything should be statically built for linux and windows.  Just set your PATH and go.02:09
xobs...whoops.  Forgot to push the branch that filed nameplates.  Fixed, so now it doesn't say "Fomu" anymore.02:10
John_Kso I just run build.sh? documents are unclear02:23
John_Kor is this repo just telling me to download a prebuilt toolchain?02:24
*** rohitksingh has joined #litex02:31
John_Ktrying to build spispy with it and ecppll is missing from ProjectTrellis02:41
John_K@xobs: looks like you need to include some things from ProjectTrellis and it would be nice if there was a script to download the prebuilt for you (it seems you have most of the needed logic in build.sh anyway)02:43
xobsJohn_K: It's missing?  I thought I included it...  Thanks for the report.02:44
John_Kat least not in the 1.4 version02:44
xobsAre any of the other ecp tools installed?  I might've just gotten the paths wrong.02:46
John_Kfind returns no binaries starting with "ecp"02:48
xobsJohn_K: I'm sorry, I think the page wasn't updated yet, so maybe you downloaded the fomu toolchain that's ice40-only.  Did you get it from https://github.com/xobs/ecp5-toolchain/releases?02:49
tpbTitle: Releases · xobs/ecp5-toolchain · GitHub (at github.com)02:49
xobsThe latest version is 1.3.02:49
John_Kah, no02:49
John_Kthe readme linked to ice4002:49
John_KI see you've updated it02:50
xobsYeah, git is weird.  Especially when it comes to tags and branches.  I messed up and only pushed the tag, not the branch.02:51
John_Kahh yep, been bitten by that before02:51
John_Kxobs: ERROR: Unable to read chipdb /usr/share/nextpnr/ecp5/chipdb-25k.bin02:54
John_Kchecking to make sure this isn't something weird with spispy build system02:54
John_Klooks like an error in nextpnr-ecp5 in your toolchain02:55
John_Kchipdb-25k.bin doesn't appear to exist either02:57
xobsJohn_K: Okay, that's definitely an error.  Apparently when you use an external chipdb, it doesn't include it in the binary.03:01
*** rohitksingh has quit IRC03:35
*** rohitksingh has joined #litex03:47
*** futarisIRCcloud has quit IRC04:21
*** _whitelogger has quit IRC04:27
*** _whitelogger has joined #litex04:29
*** _whitelogger has quit IRC04:45
*** _whitelogger has joined #litex04:47
*** rohitksingh has quit IRC05:34
*** rohitksingh has joined #litex05:53
*** rohitksingh has quit IRC06:36
*** futarisIRCcloud has joined #litex07:06
*** CarlFK has quit IRC07:53
xobs_florent_: I redid it so now it's subclassed from csrstatus and csrstorage.08:54
xobshttps://github.com/xobs/dreg/blob/master/dcsr.py08:54
tpbTitle: dreg/dcsr.py at master · xobs/dreg · GitHub (at github.com)08:54
xobsAnd here's a working example that uses it for all accesses: https://github.com/xobs/valentyusb/blob/8731739397e13d41a94b6dba428be9f854a28072/valentyusb/usbcore/cpu/eptri.py#L69908:55
tpbTitle: valentyusb/eptri.py at 8731739397e13d41a94b6dba428be9f854a28072 · xobs/valentyusb · GitHub (at github.com)08:55
keesjhttps://theamphour.com/456-3-discussing-fomu-with-tim-ansell-and-sean-cross/ had some talk on the whole ecosystem (including litex)09:34
keesjI know some stuff was discussed here (usb->withbone) but it was also nice to hear the "use case" typeish idea09:35
*** futarisIRCcloud has quit IRC11:25
*** CarlFK has joined #litex13:37
_florent_xobs: that seems fine, i'll have a closer look later, just regarding the API:14:20
_florent_Field should probably be renamed to DCSRField (to avoid ambiguity when others Field objects are used)14:21
*** rohitksingh has joined #litex14:21
_florent_also to access field, could it be: status.have instead of status.w.have and ctrl.advance instead of ctrl.r.advance?14:22
*** rohitksingh has quit IRC14:57
*** rohitksingh has joined #litex15:08
*** rohitksingh has quit IRC15:29
*** rohitksingh has joined #litex15:51
xobs_florent_: I'm about to go to bed right now, sorry. But I wanted a short name for Fields since they get used often.15:55
xobsAlso, to access a field depends on whether you're writing it or reading it. CSRStorage objects that have writr_from_dev support both reading and writing, so that syntax wouldn't work.15:56
*** rohitksingh has quit IRC15:57
xobsMaybe we could prefix them with w_ and r_ if they're readable and writable?15:57
*** rohitksingh has joined #litex16:18
*** forksand has joined #litex16:31
*** goran-mahovlic_ has quit IRC16:32
*** goran-mahovlic has joined #litex16:58
*** rohitksingh has quit IRC17:00
_florent_xobs: maybe only CSRStorage with write_from_dev should have a .w: status.have (written by the logic, read by the CPU), ctrl.advance ( written by the CPU, read by the logic) ctrl.advance.w (for write_from_dev)17:29
*** rohitksingh has joined #litex17:32
*** rohitksingh has quit IRC18:50
*** rohitksingh has joined #litex19:01
*** rohitksingh has quit IRC19:20
*** rohitksingh has joined #litex20:17
*** rohitksingh has quit IRC20:24
*** rohitksingh has joined #litex20:35
*** rohitksingh has quit IRC21:03
*** rohitksingh has joined #litex21:46
*** rohitksingh has quit IRC22:02
*** rohitksingh has joined #litex22:04
*** futarisIRCcloud has joined #litex22:46
*** CarlFK has quit IRC23:07

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!