*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has quit IRC | 00:22 | |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has joined #libre-soc | 00:22 | |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has quit IRC | 00:34 | |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has joined #libre-soc | 00:35 | |
*** Guest16 <Guest16!~Guest16@2402:d000:8114:342c:34b7:61ef:5df8:4933> has joined #libre-soc | 05:15 | |
*** Guest16 <Guest16!~Guest16@2402:d000:8114:342c:34b7:61ef:5df8:4933> has quit IRC | 06:28 | |
*** Amare <Amare!~Amare@2402:d000:8114:342c:ef8e:55ac:b670:efe1> has joined #libre-soc | 06:50 | |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has quit IRC | 08:14 | |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has joined #libre-soc | 08:15 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.56.10> has quit IRC | 09:04 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.41.3> has joined #libre-soc | 09:04 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.41.3> has quit IRC | 09:41 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has joined #libre-soc | 09:41 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has quit IRC | 09:53 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.41.3> has joined #libre-soc | 09:54 | |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has quit IRC | 10:11 | |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has joined #libre-soc | 10:14 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.41.3> has quit IRC | 10:25 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.42.63> has joined #libre-soc | 10:29 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.42.63> has quit IRC | 10:34 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.172.157> has joined #libre-soc | 10:35 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.172.157> has quit IRC | 10:47 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has joined #libre-soc | 10:47 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has quit IRC | 11:14 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has joined #libre-soc | 11:16 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has quit IRC | 11:21 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.40.146> has joined #libre-soc | 11:21 | |
Amare | I repeatedly get errors when trying to checkout microwatt. git clone https://git.libre-soc.org/git/microwatt.git | 11:39 |
---|---|---|
Amare | Not sure if there is any issue in the git server. | 11:40 |
Amare | This is what I get: ============================= | 11:40 |
Amare | Cloning into 'microwatt'... | 11:40 |
Amare | remote: Enumerating objects: 10864, done. | 11:40 |
Amare | remote: Counting objects: 100% (10864/10864), done. | 11:40 |
Amare | remote: Compressing objects: 100% (4417/4417), done. | 11:40 |
Amare | Receiving objects: 29% (3222/10864), 13.71 MiB | 1.19 MiB/s | 11:40 |
Amare | error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet. | 11:40 |
Amare | fatal: the remote end hung up unexpectedly | 11:40 |
Amare | fatal: early EOF | 11:40 |
Amare | fatal: index-pack failed | 11:40 |
Amare | ======================= | 11:40 |
programmerjake | hmm, it works just fine for me with git 2.37.1 on aarch64 on termux | 11:43 |
programmerjake | you can try cloning from https://salsa.debian.org/Kazan-team/mirrors/microwatt which is an automatically updated mirror of https://git.libre-soc.org/git/microwatt.git | 11:46 |
Amare | that worked. | 11:48 |
lkcl | Amare: you can use http. | 11:55 |
lkcl | there's a rather annoying bug introduced by debian/backports in gnutls. | 11:56 |
lkcl | which attempted to fix *another* bug in gnutls of debian/10 | 11:58 |
lkcl | sigh | 11:58 |
lkcl | confirmed that http clone works perfectly. | 11:58 |
lkcl | https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=libcurl3-gnutls;dist=unstable | 12:00 |
lkcl | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831756 | 12:00 |
lkcl | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987187 | 12:01 |
lkcl | damned if you do, damned if you don't. | 12:01 |
Amare | Trying to build macrowatt as specified in here: https://libre-soc.org/HDL_workflow/microwatt/ | 12:29 |
Amare | checked out the branch and when make is invoked, I get the following error: | 12:29 |
Amare | 1. Executing GHDL. | 12:29 |
Amare | fpga/top-generic.vhdl:68:5:error: port "wb_lpc_slave_out" of mode IN must be connected | 12:29 |
Amare | soc0: entity work.soc | 12:29 |
Amare | is there any tag that I can checkout where this was stable? | 12:30 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.40.146> has quit IRC | 12:35 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has joined #libre-soc | 12:36 | |
lkcl | Amare: 1 sec | 12:42 |
lkcl | working fine here | 12:43 |
lkcl | GHDL 2.0.0-dev (1.0.0.r955.g263c843ed) [Dunoon edition] | 12:44 |
lkcl | Compiled with GNAT Version: 9.3.0 | 12:44 |
lkcl | the versions of tools are generally known to be extremely fragile | 12:44 |
Amare | my gnat version is different. will troubleshoot. | 12:48 |
lkcl | i'm not seeing wb_lpc_slave_out in "grep *" | 12:48 |
lkcl | Amare, you can't possibly have the verilator-trace branch, there's no wb_lpc_slave_out signal present at all, let alone at line 68 | 12:50 |
lkcl | lkcl@fizzy:~/src/libresoc/microwatt$ git branch | 12:50 |
lkcl | libresoc | 12:50 |
lkcl | master | 12:50 |
lkcl | ulx3s | 12:50 |
lkcl | * verilator_trace | 12:50 |
lkcl | commit 79461a96bdd1f21aaed501c16d05a8a874d7fdb6 (HEAD -> verilator_trace, origin/verilator_trace) | 12:50 |
lkcl | Author: Luke Kenneth Casson Leighton <lkcl@lkcl.net> | 12:50 |
lkcl | Date: Sun Feb 27 15:49:37 2022 +0000 | 12:50 |
lkcl | link unused signals to undefined | 12:50 |
lkcl | to stop them appearing in LPF constraints | 12:50 |
Amare | (libresoc)manusha@homeauto:~/src/microwatt$ git branch | 12:51 |
Amare | master | 12:51 |
Amare | * verilator_trace | 12:51 |
lkcl | what git commit hash is that? | 12:51 |
Amare | bf4f5806849d42d8fa74953483391590136159ac | 12:51 |
Amare | I can try your hash | 12:52 |
lkcl | https://git.libre-soc.org/?p=microwatt.git;a=blob;f=fpga/top-generic.vhdl;h=0ce8456d0f781e858a4d70c8ffe46b90c119d216;hb=refs/heads/verilator_trace | 12:52 |
lkcl | there is no hash bf4f5806 in the git log history of the verilator_trace branch | 12:53 |
lkcl | you have the master branch | 12:53 |
lkcl | https://git.libre-soc.org/?p=microwatt.git;a=commit;h=bf4f5806849d42d8fa74953483391590136159ac | 12:53 |
Amare | since i just checked it out, mine has more commits in that branch. | 12:54 |
Amare | git branch gives verilator_trace as the active branch | 12:55 |
Amare | i checkout the your hash and that error does not occur. | 12:55 |
lkcl | there you go | 12:55 |
*** tplaten <tplaten!~isengaara@55d4be1c.access.ecotel.net> has joined #libre-soc | 13:29 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has quit IRC | 14:02 | |
*** tplaten <tplaten!~isengaara@55d4be1c.access.ecotel.net> has quit IRC | 14:37 | |
*** ghostmansd <ghostmansd!~ghostmans@91.205.168.173> has joined #libre-soc | 14:43 | |
*** ghostmansd <ghostmansd!~ghostmans@91.205.168.173> has quit IRC | 14:59 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has joined #libre-soc | 15:27 | |
*** ghostmansd <ghostmansd!~ghostmans@91.205.168.173> has joined #libre-soc | 15:27 | |
*** ghostmansd <ghostmansd!~ghostmans@91.205.168.173> has quit IRC | 15:44 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has quit IRC | 15:50 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.162> has joined #libre-soc | 15:52 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.162> has quit IRC | 16:02 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.162> has joined #libre-soc | 16:04 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.162> has quit IRC | 16:10 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has joined #libre-soc | 16:10 | |
lkcl | ghostmansd[m], good news there https://bugs.libre-soc.org/show_bug.cgi?id=845#c14 | 16:47 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has quit IRC | 16:49 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has joined #libre-soc | 16:51 | |
Amare | trivial issue I am facing. Not sure if any one of you seen this.. I am running a verilator simulation with a generated processor. The vcd file that is generated cannot be loaded from gtkwave. I've changed the microwatt-verilator.cpp to just loop through the simulation and dump signals to a max depth of 5 and still get same errors. I can use gtkwave | 16:52 |
Amare | to open other vcd files (for example ones created from nmigen). Get lots of errors of the form: Near byte 1576388, $VAR parse error encountered with 'TOP.toplevel.soc0.processor_external.processor.dec2.dec31.dec31_dec_sub19.\$auto$verilog_backendcc' | 16:52 |
lkcl | Amare, known-bug with gtkwave. | 16:52 |
lkcl | use vcd2fst | 16:52 |
Amare | ok thanks lkcl. | 16:53 |
lkcl | no other libre/open-source use of nmigen in the world is anywhere near as massive as libre-soc. | 16:53 |
Amare | it works! | 16:54 |
lkcl | consequently through sheer statistical weight it hits bugs in toolchains that don't "exist" in other tools | 16:54 |
lkcl | hurrah :) | 16:54 |
lkcl | cool, isn't it? | 16:54 |
Amare | yes, this is a huge project. | 16:54 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has quit IRC | 16:54 | |
Amare | learning a lot.. | 16:54 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has joined #libre-soc | 16:55 | |
lkcl | almost 4 years, so far | 16:55 |
lkcl | a lot of the design complexity makes absolutely no sense whatsoever if it wasn't for the goal we had in mind | 16:56 |
lkcl | (from the beginning) | 16:56 |
lkcl | like... | 16:56 |
Amare | yes. with regard to 3D GPU, what is the plan? Are you going to use vector extensions of the processor and use them through a software driver to support vulkan for example? | 16:56 |
lkcl | absolutely nobody in their right mind considers designing, as their very first processor, a memory architecture that requires 256-bit-wide internal buses. | 16:57 |
lkcl | actually, 2x128-bit | 16:57 |
lkcl | yes. the Scalable Vector Extension to Power ISA has been 2 years already, with 18+ months gone into it prior to that initially on RISC-V | 16:57 |
lkcl | yes, there are 2 NLnet Grants for Vulkan drivers. one in c++ (Mesa), the other in rust (Kazan). | 16:58 |
lkcl | both of those NLnet Grants are coming to an end mid-october, so at some point we have to put new ones in | 16:58 |
lkcl | this is the Scalable Vector Extension (Draft) in PDF form: https://ftp.libre-soc.org/simple_v_spec.pdf | 17:02 |
lkcl | but actually that's just a pandoc-auto-generated version of the markdown behind https://libre-soc.org/openpower/sv | 17:03 |
lkcl | ghostmansd[m], i'm adding in Pack/Unpack mode into power_enums.py and it's: | 17:05 |
lkcl | @@ -197,6 +197,7 @@ class SVP64RMMode(Enum): | 17:05 |
lkcl | BRANCH = 5 | 17:05 |
lkcl | + PACK = 6 | 17:05 |
lkcl | so, for not-being-annoying, if things are working fine in the binutils branch (which we ran yesterday all the unit tests) can i suggest merging sooner rather than later? | 17:06 |
lkcl | Amare, btw you can run individual unit tests, stand-alone, from python, on an isolated core | 17:06 |
lkcl | (as nmigen simulations) | 17:06 |
lkcl | lkcl@fizzy:~/src/libresoc/soc/src/soc$ !616 | 17:07 |
lkcl | python3 simple/test/test_issuer.py nosvp64 >& /tmp/f1 | 17:07 |
lkcl | then do something else for 20-30 minutes :) | 17:07 |
lkcl | if you look in soc/fu/{pipelinename} and soc/fu/compunits you'll find individual pipeline tests | 17:08 |
lkcl | then if you look in the pipeline directories you'll find individual module unit tests for e.g. the popcount module etc. | 17:09 |
lkcl | etc. | 17:09 |
lkcl | etc. | 17:09 |
lkcl | etc. | 17:09 |
lkcl | etc. | 17:09 |
lkcl | frankly i'm astounded that other FOSS processor designs don't have extensive unit tests right down to the individual module level. | 17:10 |
lkcl | often they have high-level (system-integrated) unit tests, or if there's something really difficult there's *one* unit test | 17:10 |
lkcl | but there's just... absolutely no way in hell that we'd be able to manage a project this size without unit tests right across the board | 17:11 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has quit IRC | 17:16 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has joined #libre-soc | 17:28 | |
ghostmansd[m] | lkcl, OK, let's merge it :-) | 17:43 |
ghostmansd[m] | I wanted to postpone it until I'm completely sure with binutils part... but, considering the recent progress, perhaps we should do it now. | 17:46 |
ghostmansd[m] | https://bugs.libre-soc.org/show_bug.cgi?id=845#c14 | 17:46 |
lkcl | can you do it? i get confused when merge-conflicts occur. | 17:46 |
lkcl | yehyeh i saw | 17:47 |
ghostmansd[m] | Sure, but no sooner than in a couple of hours, I'm AFK | 17:47 |
lkcl | i may actually end up merging master into binutils... | 17:47 |
lkcl | ok no problem | 17:47 |
lkcl | no mad rush | 17:47 |
lkcl | i'm doing pack/unpack | 17:47 |
ghostmansd[m] | Beware though that I updated it a little bit. It'd be great if you could relaunch that big test. | 17:47 |
lkcl | yyeah i can do that | 18:26 |
lkcl | running it now | 18:27 |
ghostmansd[m] | thanks lkcl! | 18:52 |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has quit IRC | 18:59 | |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has joined #libre-soc | 19:00 | |
ghostmansd[m] | Luke, I can merge it now, if nothing prevents us :-) | 19:33 |
ghostmansd[m] | lkcl ^^^ | 19:39 |
ghostmansd[m] | ping me whenever you're free; in the worst case, I'll hold some updates and merge it tomorrow. | 19:39 |
ghostmansd[m] | Or, better, you could publish how to run the desired tests, and I won't bother again :-) | 19:39 |
lkcl | ghostmansd[m], yes sure | 19:46 |
lkcl | 1 sec drat | 19:47 |
lkcl | lkcl@fizzy:~/src/libresoc/soc/src/soc$ | 19:51 |
lkcl | python3 simple/test/test_issuer.py nosvp64 >& /tmp/f1 | 19:51 |
lkcl | missing HDLstate.get_fpregs() which i added only recently | 19:53 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.168.173> has quit IRC | 19:59 | |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has quit IRC | 20:04 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.160.96> has joined #libre-soc | 20:04 | |
ghostmansd[m] | Perfect, so I can merge it, right? | 20:05 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.160.96> has quit IRC | 20:20 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.56.32> has joined #libre-soc | 20:21 | |
*** Amare <Amare!~Amare@2402:d000:8114:342c:ef8e:55ac:b670:efe1> has quit IRC | 20:33 | |
*** ghostmansd <ghostmansd!~ghostmans@91.205.168.173> has joined #libre-soc | 21:19 | |
ghostmansd | lkcl, I'm pushing the commits, please revert to 7c5620e4c7815b2f18961d5f380381261bbdec3c in case of issues | 21:20 |
ghostmansd | gn | 21:20 |
*** ghostmansd <ghostmansd!~ghostmans@91.205.168.173> has quit IRC | 21:24 | |
*** lxo <lxo!~lxo@gateway/tor-sasl/lxo> has joined #libre-soc | 21:39 | |
lkcl | ghostmansd[m], thx. sorry had a phone call | 22:09 |
* lkcl sorting out the various messes i've been making | 22:47 | |
lkcl | ok fiiinally got test_issuer.py run and completed (and producing the expected errors it's been producing for a few months) | 23:10 |
lkcl | i.e. no new ones, phew | 23:10 |
programmerjake | ghostmansd[m]: if you're still using the binutils branch, you'll want to add https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=fc28a2092354be8d7b6469f245fd3a22f8844c87 | 23:39 |
programmerjake | it makes `python3 setup.py develop` actually use the cached-property git repo rather than PyPI, since pip and setuptools resolve dependencies differently | 23:41 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!