Monday, 2022-02-07

*** tpb <[email protected]> has joined #litex00:00
jevinskie[m]Ah, I may have found the issue. florent am I correct that I can't just use add_wb_slave() to add a 2 bit wide WB bus (converted from 2 bit wide addr Avalon-MM bus) to the 30-bit wide SoC WB bus? Do I need to do the address decoding myself?00:44
jevinskie[m]Hmm, WB's cyc lets me know if I'm selected00:58
*** ewen <[email protected]> has quit IRC (Quit: leaving)01:20
*** bl0x_ <bl0x_!~bastii@p200300d7a7164100bd29fa0eacbbcdc9.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 256 seconds)02:49
*** bl0x_ <bl0x_!~bastii@p200300d7a7144400b248e6f0686addee.dip0.t-ipconnect.de> has joined #litex02:51
*** Degi_ <[email protected]> has joined #litex03:57
*** Degi <[email protected]> has quit IRC (Ping timeout: 240 seconds)03:58
*** Degi_ is now known as Degi03:58
*** FabM <FabM!~FabM@2a03:d604:103:600:67b4:617e:734c:e881> has joined #litex06:18
_florent_jevinskie[m]: you use self.bus.add_slave, similar to this https://github.com/enjoy-digital/litex/blob/8ac3fbc0391b133775cbb6f12db89a27d7b18bd4/litex/soc/cores/led.py#L103-L10707:17
_florent_LiteX will do the address decoding itself07:18
_florent_jevinskie[m]: BTW, for these kind of integration/tests, litex_sim can be very useful with Display (printf equivalents) in your code, ex: https://github.com/enjoy-digital/litex/blob/53750715d7ad23f14a75b97f8d0592aa63839862/litex/soc/cores/uart.py#L29807:19
_florent_jevinskie[m]: simulation waveforms are nice, but you still have to search things that are interesting in it. Display has the advantage to automatically print the information you want on a specific event when running the simulation07:21
*** shoragan <shoragan!~shoragan@user/shoragan> has quit IRC (Excess Flood)08:07
*** shoragan <shoragan!~shoragan@user/shoragan> has joined #litex08:07
shenki_florent_: hey, are there common causes of the bios crc failing?09:35
shenkii have it failing in both sim and on the arty with microwatt09:35
yrrapt[m]Hi all, I am trying to create a SoC with a custom VexRiscV configuration. I create the verilog for the core using the VexRiscV repo but I can't figure how to configure LiteX to use my new source, it seems the variants are fairly hardcoded into LiteX at the moment.11:28
yrrapt[m]Does anyone have any advice about the best to use a custom config?11:28
zypyrrapt[m], https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/cpu/vexriscv/core.py#L35612:40
yrrapt[m]@zyp thanks, that seems to work.12:57
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving)16:40
*** Martoni <Martoni!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex18:41
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has quit IRC (*.net *.split)19:37
*** key2 <[email protected]> has quit IRC (*.net *.split)19:37
*** x56 <x56!0x56@user/x56> has quit IRC (*.net *.split)19:37
*** tucanae47_ <[email protected]> has quit IRC (*.net *.split)19:37
*** esden <[email protected]> has quit IRC (*.net *.split)19:37
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex19:42
*** key2 <[email protected]> has joined #litex19:42
*** x56 <x56!0x56@user/x56> has joined #litex19:42
*** tucanae47_ <[email protected]> has joined #litex19:42
*** esden <[email protected]> has joined #litex19:42
*** yrrapt[m] <yrrapt[m]!~yrraptmat@2001:470:69fc:105::1:2c66> has quit IRC (Ping timeout: 245 seconds)19:46
*** david-sawatzke[m <david-sawatzke[m!~david-saw@2001:470:69fc:105::1634> has quit IRC (Ping timeout: 245 seconds)19:46
*** Las[m] <Las[m]!~lasmatrix@2001:470:69fc:105::74e> has quit IRC (Ping timeout: 245 seconds)19:46
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has quit IRC (Ping timeout: 250 seconds)19:46
*** vomoniyi[m] <vomoniyi[m]!~vomoniyig@2001:470:69fc:105::3023> has quit IRC (Ping timeout: 240 seconds)19:46
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has quit IRC (Ping timeout: 240 seconds)19:46
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has quit IRC (Ping timeout: 240 seconds)19:46
*** r4d10n[m] <r4d10n[m]!~r4d10nmat@2001:470:69fc:105::1:6255> has quit IRC (Ping timeout: 250 seconds)19:46
*** willcode4[m] <willcode4[m]!~willcode4@2001:470:69fc:105::e1b3> has quit IRC (Ping timeout: 250 seconds)19:46
*** leons <leons!~leons@2001:470:69fc:105::abc> has quit IRC (Ping timeout: 250 seconds)19:46
*** jryans <jryans!~jryans@2001:470:69fc:105::1d> has quit IRC (Ping timeout: 250 seconds)19:46
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has quit IRC (Ping timeout: 240 seconds)19:46
*** bluecmd <bluecmd!~bluecmd@2001:470:69fc:105::1d44> has quit IRC (Ping timeout: 240 seconds)19:46
*** dcallagh <dcallagh!~dcallagh@2001:470:69fc:105::9c5> has quit IRC (Ping timeout: 252 seconds)19:46
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has quit IRC (Ping timeout: 252 seconds)19:46
*** CarlosEDP <CarlosEDP!~carlosedp@2001:470:69fc:105::218e> has quit IRC (Ping timeout: 252 seconds)19:46
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has quit IRC (Ping timeout: 252 seconds)19:46
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has quit IRC (Ping timeout: 252 seconds)19:46
*** promach[m] <promach[m]!~promach@2001:470:69fc:105::ca1> has quit IRC (Ping timeout: 268 seconds)19:47
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has quit IRC (Ping timeout: 260 seconds)19:49
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has quit IRC (Ping timeout: 268 seconds)19:51
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has joined #litex20:05
*** vomoniyi[m] <vomoniyi[m]!~vomoniyig@2001:470:69fc:105::3023> has joined #litex20:14
*** promach[m] <promach[m]!~promach@2001:470:69fc:105::ca1> has joined #litex20:18
*** bluecmd <bluecmd!~bluecmd@2001:470:69fc:105::1d44> has joined #litex20:18
*** dcallagh <dcallagh!~dcallagh@2001:470:69fc:105::9c5> has joined #litex20:18
*** yrrapt[m] <yrrapt[m]!~yrraptmat@2001:470:69fc:105::1:2c66> has joined #litex20:18
*** david-sawatzke[m <david-sawatzke[m!~david-saw@2001:470:69fc:105::1634> has joined #litex20:18
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has joined #litex20:39
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex20:42
*** Las[m] <Las[m]!~lasmatrix@2001:470:69fc:105::74e> has joined #litex20:46
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has joined #litex20:51
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has joined #litex20:51
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex20:58
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex21:01
*** Martoni <Martoni!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 250 seconds)21:01
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has joined #litex21:07
*** r4d10n[m] <r4d10n[m]!~r4d10nmat@2001:470:69fc:105::1:6255> has joined #litex21:08
*** willcode4[m] <willcode4[m]!~willcode4@2001:470:69fc:105::e1b3> has joined #litex21:15
*** jryans <jryans!~jryans@2001:470:69fc:105::1d> has joined #litex21:28
*** zjason <[email protected]> has quit IRC (Read error: Connection reset by peer)21:31
*** zjason <[email protected]> has joined #litex21:33
*** jryans <jryans!~jryans@2001:470:69fc:105::1d> has quit IRC (Write error: Connection reset by peer)21:35
*** Las[m] <Las[m]!~lasmatrix@2001:470:69fc:105::74e> has quit IRC (Write error: Connection reset by peer)21:35
*** bluecmd <bluecmd!~bluecmd@2001:470:69fc:105::1d44> has quit IRC (Write error: Connection reset by peer)21:35
*** dcallagh <dcallagh!~dcallagh@2001:470:69fc:105::9c5> has quit IRC (Read error: Connection reset by peer)21:35
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has quit IRC (Read error: Connection reset by peer)21:35
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has quit IRC (Write error: Connection reset by peer)21:35
*** r4d10n[m] <r4d10n[m]!~r4d10nmat@2001:470:69fc:105::1:6255> has quit IRC (Write error: Connection reset by peer)21:35
*** yrrapt[m] <yrrapt[m]!~yrraptmat@2001:470:69fc:105::1:2c66> has quit IRC (Read error: Connection reset by peer)21:35
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has quit IRC (Read error: Connection reset by peer)21:35
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has quit IRC (Read error: Connection reset by peer)21:35
*** willcode4[m] <willcode4[m]!~willcode4@2001:470:69fc:105::e1b3> has quit IRC (Read error: Connection reset by peer)21:35
*** promach[m] <promach[m]!~promach@2001:470:69fc:105::ca1> has quit IRC (Write error: Connection reset by peer)21:35
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has quit IRC (Write error: Connection reset by peer)21:35
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has quit IRC (Read error: Connection reset by peer)21:35
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has quit IRC (Read error: Connection reset by peer)21:35
*** david-sawatzke[m <david-sawatzke[m!~david-saw@2001:470:69fc:105::1634> has quit IRC (Read error: Connection reset by peer)21:35
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has quit IRC (Read error: Connection reset by peer)21:35
*** vomoniyi[m] <vomoniyi[m]!~vomoniyig@2001:470:69fc:105::3023> has quit IRC (Read error: Connection reset by peer)21:35
*** jryans <jryans!~jryans@2001:470:69fc:105::1d> has joined #litex21:36
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has joined #litex21:39
*** dcallagh <dcallagh!~dcallagh@2001:470:69fc:105::9c5> has joined #litex21:39
*** CarlosEDP <CarlosEDP!~carlosedp@2001:470:69fc:105::218e> has joined #litex21:39
*** leons <leons!~leons@2001:470:69fc:105::abc> has joined #litex21:39
*** promach[m] <promach[m]!~promach@2001:470:69fc:105::ca1> has joined #litex21:39
*** Las[m] <Las[m]!~lasmatrix@2001:470:69fc:105::74e> has joined #litex21:39
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has joined #litex21:39
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex21:39
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has joined #litex21:39
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has joined #litex21:39
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has joined #litex21:39
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has joined #litex21:39
*** yrrapt[m] <yrrapt[m]!~yrraptmat@2001:470:69fc:105::1:2c66> has joined #litex21:39
*** r4d10n[m] <r4d10n[m]!~r4d10nmat@2001:470:69fc:105::1:6255> has joined #litex21:39
*** vomoniyi[m] <vomoniyi[m]!~vomoniyig@2001:470:69fc:105::3023> has joined #litex21:39
*** willcode4[m] <willcode4[m]!~willcode4@2001:470:69fc:105::e1b3> has joined #litex21:39
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex21:39
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex21:39
*** bluecmd <bluecmd!~bluecmd@2001:470:69fc:105::1d44> has joined #litex21:39
*** david-sawatzke[m <david-sawatzke[m!~david-saw@2001:470:69fc:105::1634> has joined #litex21:39
jevinskie[m]Finally got it working for the simple gpio avalon. I thought I was using add_wb_slave wrong but it turns out I was missing a hex 0 in my test code for the MMIO addr. Doh! I don’t understand why I need to register the outputs but if I don’t the read data arrives a cycle too soon (since the main decoder is registered) https://github.com/jevinskie/litex/blob/1ac16114bb220542134cae96229bc9eedecff09d/litex/soc/interconnect/avalon.py#L8622:20
jevinskie[m]I thought the bridge would be independent of the decoder registered mode…22:20
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)22:26
*** TMM_ <[email protected]> has joined #litex22:26

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