Wednesday, 2022-02-23

*** tpb <[email protected]> has joined #litex00:00
*** Degi <[email protected]> has quit IRC (Ping timeout: 256 seconds)00:33
*** Degi <[email protected]> has joined #litex00:40
*** Degi_ <[email protected]> has joined #litex00:45
*** Degi <[email protected]> has quit IRC (Ping timeout: 256 seconds)00:46
*** Degi_ is now known as Degi00:46
shorneworking on a fun cpu bug: https://github.com/openrisc/mor1kx/issues/14601:34
shorneto reproduce I need to run linux for like 10 minutes, trying to figure out what instruction sequence is causing the failure01:34
shornemaybe time for a instruction trace cache?01:35
*** bl0x_ <bl0x_!~bastii@p200300d7a7116f00182f6a155daf957c.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 245 seconds)02:31
*** bl0x_ <bl0x_!~bastii@p200300d7a7135300c1a0c4e51404f174.dip0.t-ipconnect.de> has joined #litex02:33
*** Degi <[email protected]> has quit IRC (Ping timeout: 256 seconds)03:25
*** Degi <[email protected]> has joined #litex03:26
*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has quit IRC (Read error: Connection reset by peer)04:01
*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has joined #litex04:01
*** FabM <FabM!~FabM@armadeus/team/FabM> has joined #litex07:38
_florent_tnt: sorry I was focusing on other things, PCIe will automatically downgrade to X1 yes. On the ZCU106, I'm configuring the link for Gen3 X4 and this is downgraded to Gen3 X1 when using the PCIe riser.07:49
_florent_tnt: I'll look at your notes.07:49
_florent_cr1901: The improvements mostly comes from automatically regrouping wishbone accesses by bursts when possible. This avoid paying the initial "latency tax" for each access :)07:51
_florent_cr1901: On the Titanium, the CPU can also be clocked with  a quite high frequency, so this help with this simple generic core (makes it less mandatory to have DDR IOs)07:53
_florent_tnt: I'm not sure to remember the PCIe configuration of the bitstream, is it Gen3 X4?08:24
tnt_florent_: yes, gen3 x408:31
tntAlthough behavior is identical with gen3 x808:31
_florent_ok, so it seems the case I was testing on the ZCU106 was the one that is also working on your side. I'll try to do a test with the ZCU106 without the PCIe riser. (but Gen3 X4/X8 has been validated on the VCU1525 and FK33)08:33
tnt_florent_: yeah, and I had a x4 gen3 link up on the previous setup.  Unfortunately as I suspected, that setup is not availabe anymore, it was the card they sent me.08:37
tntIf it was some signal integrity issue, I would expect the test with the dodgy USB cable extender thing to be worse and yet it's the only case that works ( when in PCIe3 slot ).08:39
tntIf it was the link width, then I'd expect that extended thing to work in either usb slot, but it only works on PCIe3 and not PCIe1.08:39
tntAnd if it was only which PCIe slot it's plugged in, then I'd expect the PCIe extender test to work when PCIe3 slot, but in that case, it never works.08:40
tntI have a small Celeron SoC board that also has a signle 1x pcie lane, I'll try to test in there and see how it goes.08:41
*** dcallagh <dcallagh!~dcallagh@2001:470:69fc:105::9c5> has quit IRC (Quit: You have been kicked for being idle)09:00
*** leons <leons!~leons@2001:470:69fc:105::abc> has quit IRC (Quit: You have been kicked for being idle)09:00
*** zjason` is now known as zjason13:59
acathlaSomeone has an alternative to the ice40up5k-sg48i? It's zero stock everywhere... I need a small FPGA (in size), some RAM (128KB was nice), some IOs. New FPGAs at Lattice seem out of stock too.14:09
tntWell, if you don't need many IO, the UWG30 package is available easily.14:11
acathlaEasily for how long? Stocks seem quite limited too. I'll check if I can live with so few IO...14:16
tntATM _all_ parts can fall out of stock next day ... so only viable strategy is to buy all you need first then design for it.14:17
cr1901> The improvements mostly comes from automatically regrouping wishbone accesses by bursts when possible.14:45
cr1901_florent_: Is there something new sitting between the wishbone interface and the CPU (such as posted writes)?14:45
cr1901Wishbone is normally 3 clock ticks for a transaction. I don't see how you get 6x speedup by using the burst interface :P14:46
cr1901(where each xfer takes 1 clock tick)14:46
tntwell if previousy each access resulted in 1 hyperbus transaction  and now it continues the transaction if it's contiguous, this would definitely sped things up.14:52
tntbecause you don't have to stop and restart an hyperbus transaction each time, you can just stop feeding the clk to thehyperram, and if the next wishbone access happens to be a continuation, just continue the current burst.14:53
cr1901Oh...15:01
tnt(just a theory, I didn't actually look at what the core used to do / is doing now)15:02
cr1901Well, it's certainly logical. I probably could've used some critical thinking skills there15:03
cr1901But I don't feel like thinking lately :(15:03
*** Abhishek_ <[email protected]> has quit IRC (Quit: Connection closed for inactivity)15:48
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving)15:52
somlo_florent_, gatecat: after a few iterations, I managed to get dual-core rocket going on ecpix5, with yosys/trellis/nextpnr as snapshotted from yosyshq github yesterday: https://pastebin.com/cAwGD0t516:12
tpbTitle: [ 0.000000] Linux version 5.16.0-rc3-00291-g6fc4b6533e6c ([email protected]. - Pastebin.com (at pastebin.com)16:12
somlocommand was `litex-boards/litex_boards/targets/lambdaconcept_ecpix5.py --build --cpu-type rocket --cpu-variant linux2d --sys-clk-freq 50e6 --with-ethernet --with-sdcard --nextpnr-seed $RANDOM --yosys-nowidelut`16:13
somlomost often it hangs during boot, but with just the right random seed and a bit of luck, it can be done16:14
somlono FPU, and 85k ecp5 utilization is at 95% (ish)16:14
geertusomlo: Meh, my orange-crab is too small...16:17
somlogeertu: does it come with a 45k ecp5?16:20
somloalso, while single-core is pretty solid on ecp5, dual-core is still a bit "wobbly" -- got lucky and linux finished booting, and I could run `cat /proc/cpuinfo`, but mounting the sdcard and running md5sum on a file there crashed it :)16:22
geertusomlo: Mine has 25k, but some havee 85k16:22
somlothat won't fit any kind of rocket chip at all, as far as I can tell (single-core rocket has 45% utilization on the 85k ecp5 variant)16:23
geertuHence I'm stuck in the 32-bit era, for now ;-)16:24
somlobut anyhow, getting dual-core to even finish booting is further than I ever got before, so the toolchain must be improving, is all I was trying to say :)16:25
somloif only ecp5 came in something like a "165k" version that could fit a gateware FPU... :)16:28
geertusomlo: external FPU, like in the old days?16:30
somlocustom fpga dev board, like real engineers would do :D16:32
*** yfl <[email protected]> has joined #litex17:14
yflhi!17:26
yflliteeth question here ...17:27
yflLiteEthMACCore seems to assume there are always 2 clock domains in the PHY, eth_tx and eth_rx17:28
yflwhat would be best to do if my PHY (based on Xilinx pcs_pma IP core) only has a single one?17:29
*** yfl <[email protected]> has quit IRC (Quit: WeeChat 3.4)18:05
*** Guest549 <Guest549!~Guest54@2a01:e0a:172:3240:80d4:9d65:98df:ba6a> has joined #litex20:39
*** Guest549 <Guest549!~Guest54@2a01:e0a:172:3240:80d4:9d65:98df:ba6a> has quit IRC (Client Quit)20:43
*** yfl <[email protected]> has joined #litex21:18
*** yfl <[email protected]> has quit IRC (Quit: WeeChat 3.4)21:20
*** zjason` <zjason`[email protected]> has joined #litex21:38
*** zjason <[email protected]> has quit IRC (Ping timeout: 256 seconds)21:39
DegiCan't you use the DSP blocks for a FPU? The few leftover slices might be just enough as interconnect23:57

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