Saturday, 2020-12-19

*** tpb has joined #litex00:00
*** Dolu has quit IRC00:36
*** lf has quit IRC00:51
*** lf has joined #litex00:52
*** Degi_ has joined #litex01:04
*** Degi has quit IRC01:07
*** Degi_ is now known as Degi01:07
*** FFY00 has quit IRC01:36
*** FFY00 has joined #litex01:37
*** Bertl_oO is now known as Bertl_zZ02:01
*** davidlattimore has quit IRC02:26
*** davidlattimore has joined #litex02:26
*** _whitelogger has quit IRC05:06
*** _whitelogger has joined #litex05:08
*** shorne has joined #litex05:53
shorneOK, I am going to try to swith to litex-boards from litex-buildenv for my or1k development starting now :)05:53
*** kgugala_ has joined #litex07:31
*** kgugala_ has quit IRC07:32
*** kgugala_ has joined #litex07:33
*** kgugala has quit IRC07:33
*** kgugala has joined #litex07:52
*** kgugala_ has quit IRC07:55
*** futarisIRCcloud has quit IRC08:07
*** kgugala_ has joined #litex08:07
*** kgugala has quit IRC08:11
*** peepsalot has quit IRC09:25
*** peepsalot has joined #litex09:32
*** kgugala has joined #litex10:06
*** kgugala_ has quit IRC10:06
*** Dolu has joined #litex10:38
*** CarlFK has joined #litex12:13
Dolumithro : First there should be a FPU for Vex 32 bits ^^12:18
*** Bertl_zZ is now known as Bertl12:29
*** lkcl has quit IRC12:48
*** lkcl has joined #litex13:01
*** CarlFK has quit IRC13:30
*** kgugala has quit IRC14:25
*** kgugala has joined #litex14:26
*** Bertl is now known as Bertl_oO16:26
*** chrisps has quit IRC17:01
mithroDolu: I think FPU type stuff is a very different kettle of fish to 64bit VexRISCV18:51
mithroDolu: There was an interesting thought about the idea of keeping a 32bit data pathway in VexRISCV while supporting 64bit by having things like multiple cycle adds18:52
mithroDolu: I was also wondering if there are easy ways to optimize the 64bit add by skipping adding the top 32bit if they are all zero18:53
mithroDolu: Then I was wondering if it made sense to try and to something like a 4 cycle 16bit type thing for small FPGAs...18:54
mithroDolu: We should probably chat more18:55
mithrodaveshah: The AMD/NVIDIA trick is not owning a foundry meaning your at the mercy of others to actually deliver parts and hence can adapt the demand very quickly18:55
sorearIIUC some versions of the pentium 4 had a pipeline stage inserted in the adder between the left and right halves19:02
sorearso you could do a 64-bit add in each alu each cycle but the critical path only went through 32 bits19:03
sorearhazard detection gets uglier (you can follow an add immediately with another add or a shl but a shr needs a bubble)19:03
mithrosorear: The big question is that muxes are super expensive in FPGAs, so it is unclear to me if you would end up winning or not19:40
daveshahI think the most useful thing to do first is look at the timing/area increase going to a 64-bit datapath in VexRiscv19:43
daveshahDoesn't even have to be a working RV64, just would be interesting to guide optimisations19:43
daveshahGiven how fast dedicated carry logic is in FPGAs, I don't think 64 bit adds in themselves will be such a big problem19:44
sorearif you start with 31 64-bit GPRs and 32 64-bit FPRs, then reformat as 16 bits, you have 255x16 almost the exact size of an ice40 bram19:44
Findesorear: I was told the above too about the P420:31
Findebut I was further told it was run at a higher clock... not sure about that part20:31
sorearthese aren't incompatible, the rest of the chip runs at 3.5GHz and can do 64-bit adds in a cycle, the 7GHz double pumped ALU needs the split hack20:44
shorneone issue with litex-boards over litex-buildenv is the ip range of litex seems locked to 192.168.1.x on litex-boards, we could configure that with litex-buildenv21:47
somloshorne: the default IP addresses for netboot are in litex/soc/software/bios/boot.c; I assume litex-buildenv somehow provided an include file that defined them before the preprocessor got to that file, so the `#ifndef` was already false by then21:59
somloit should probably be relatively easy to allow them to be overridden via the target specific build files; personally, I find it relatively easy to add 192.168.1.100/24 as a secondary IP on my tftp server; once the kernel boots, it can dhcp for a *real* IP address, or you can set one manually, there's nothing forcing you to stick with what was used during tftp22:01
shornesomlo: yeah, I rather keep the default then make the code changes22:07
shornethe problem is I have another subnet with 192.168.1.x which when I add that subnet to my host is breaks routing22:07
shorneI can change my network :)22:08
shorneThis seems like only a problem for me22:08
somloshorne: yeah, if your tftp server is multihomed and does "fancy" routing, that could be annoying...22:14
*** somlo has quit IRC22:16
*** somlo has joined #litex22:16

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!