Monday, 2020-02-03

*** tpb has joined #tomu00:00
*** proppy has joined #tomu01:27
*** andi- has quit IRC03:46
*** andi- has joined #tomu03:52
*** rohitksingh has quit IRC06:41
*** ssb has joined #tomu08:44
*** emeb has joined #tomu14:56
*** rohitksingh has joined #tomu17:36
*** im-tomu has left #tomu17:44
*** im-tomu has joined #tomu17:45
*** squelch has joined #tomu17:45
*** stv0g has joined #tomu17:52
*** TheJJ has quit IRC18:06
*** TheJJ has joined #tomu18:06
*** jam3 has joined #tomu18:11
*** stv0g has left #tomu18:13
*** im-tomu has left #tomu18:15
*** im-tomu has joined #tomu18:16
jam3If I build the soft CPU for the Fomu will the build tools generete me a verilog source that can be compiled to FPGA binary?18:19
jam3And can I easily add my own HDL blocks to that CPU? E.g. what busses those CPUs support?18:19
CarlFKjam3: I am pretty sure easy is the goal.  how easy, and how well documented - that's not well defined18:31
CarlFKjam3: ps - don't ask me for more details - I play with this stuff, but more like a user than a developer18:32
acathlajam3, there is already a RISC-V in the Fomu. You can start with the workshop : https://workshop.fomu.im/en/latest/18:32
jam3ofcourse I could just download the toolchain for fun and see what it outputs18:32
jam3I think I could add my own submodules to wishbone bus. If I understood that right.18:39
*** stv0g has joined #tomu19:16
*** Orbstheorem has joined #tomu19:38
OrbstheoremHi! I would like to start playing with my Fomu. I'm using NixOS and I'm currently skimming through the documentation while writing my shell.nix as I go. Has anybody tried to develop under NixOS and has a shell.nix I could get some inspiration from? ^^19:40
CarlFKOrbstheorem: if they have, they haven't told anyone19:46
CarlFKI would make a wiki page that describes what you are doing and what seems hard or surprising19:49
*** rohitksingh has quit IRC19:54
OrbstheoremWell, right now, I'm essentially transcribing the toolchain to a NixOS derivation.19:55
OrbstheoremUsing derivations from nixpkgs instead of magical URLs :D https://github.com/im-tomu/fomu-toolchain/blob/master/build.sh19:57
tpbTitle: fomu-toolchain/build.sh at master · im-tomu/fomu-toolchain · GitHub (at github.com)19:57
*** rohitksingh has joined #tomu20:00
CarlFKthat sounds like you will forever be keeping two things in sync.  I would figure out how to setup the dependencies so that script runs as is.20:00
*** tumbleweed has quit IRC20:04
*** tmarble2 has quit IRC20:04
*** bunnie[m] has quit IRC20:04
*** tiwalun has quit IRC20:04
OrbstheoremCarlFK: I don't have anything to maintain. I'm just taking the packages from my distribution “repository”20:09
CarlFKwhat keeps the repo in sync with the magical URL versions?20:11
OrbstheoremThe community: https://github.com/NixOS/nixpkgs/commit/94fc232b72f4f8511cf3c037301c67bb0fed7ec820:15
tpbTitle: nextpnr: 2019.09.28 -> 2019.10.13 · NixOS/nixpkgs@94fc232 · GitHub (at github.com)20:16
CarlFKwell.. the moment you have problems... "use the git version" will be the reply20:17
*** rohitksingh has quit IRC20:18
* Orbstheorem is compiling the riscv compiler20:19
OrbstheoremI guess that if I have to use the git version, there's a bug report that needs to be opened somewhere :D20:21
OrbstheoremAlso, build input are fairly easily overridable on Nix: https://gitlab.com/roosemberth/dotfiles/blob/master/nixos-config/modules/roos/streaming.nix#L720:21
tpbTitle: nixos-config/modules/roos/streaming.nix · master · Roosemberth Palacios / dotfiles · GitLab (at gitlab.com)20:21
CarlFKthe bug is: not done yet ;)20:23
*** tumbleweed has joined #tomu20:25
*** bunnie[m] has joined #tomu20:25
*** tmarble2 has joined #tomu20:25
*** tiwalun has joined #tomu20:25
CarlFKI think it is fair to say this is a Work In Progress - bugs are fixed and features are added pretty often.20:27
OrbstheoremThat's great!20:29
*** jam3 has quit IRC20:31
*** tumbleweed has quit IRC21:05
*** tmarble2 has quit IRC21:05
*** bunnie[m] has quit IRC21:05
*** tiwalun has quit IRC21:05
*** tumbleweed has joined #tomu21:23
*** bunnie[m] has joined #tomu21:23
*** tmarble2 has joined #tomu21:23
*** tiwalun has joined #tomu21:23
*** CarlFK has quit IRC21:39
*** stv0g has quit IRC21:46
*** stv0g has joined #tomu21:50
*** rohitksingh has joined #tomu22:29
squelchLess of a Tomu question, more of a RISCV question: how do I access a hardware performance counter?22:49
squelchI'm calling csrr %0, hpmcounter3 and it's giving me an illegal instruction error.22:50
*** rohitksingh has quit IRC22:51
*** rohitksingh has joined #tomu23:00
*** rohitksingh has quit IRC23:16
*** stv0g has quit IRC23:20
*** stv0g has joined #tomu23:24
*** squelch has quit IRC23:50

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