Wednesday, 2022-09-07

*** tpb <[email protected]> has joined #litex00:00
*** Degi_ <[email protected]> has joined #litex00:43
*** Degi <[email protected]> has quit IRC (Ping timeout: 252 seconds)00:44
*** Degi_ is now known as Degi00:44
*** FabM <FabM!~FabM@armadeus/team/FabM> has joined #litex05:08
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (*.net *.split)06:47
*** MoeIcenowy <MoeIcenowy!~MoeIcenow@2001:19f0:7002:866:94ae:115a:11b6:1603> has quit IRC (*.net *.split)06:47
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has quit IRC (*.net *.split)06:47
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (*.net *.split)06:47
*** hrberg <[email protected]> has quit IRC (*.net *.split)06:47
*** mlaga97 <mlaga97!~quassel@user/mlaga97> has quit IRC (*.net *.split)06:47
*** joseng <[email protected]> has quit IRC (*.net *.split)06:47
*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has quit IRC (*.net *.split)06:47
*** oter <oter!5e7a0135f3@2604:bf00:561:2000::25f> has quit IRC (*.net *.split)06:47
*** _whitelogger <[email protected]> has quit IRC (*.net *.split)06:47
*** mithro <[email protected]> has quit IRC (*.net *.split)06:47
*** alanvgreen <[email protected]> has quit IRC (*.net *.split)06:47
*** yootis <[email protected]> has quit IRC (*.net *.split)06:47
*** eigenform_ <[email protected]> has quit IRC (*.net *.split)06:47
*** tucanae47 <[email protected]> has quit IRC (*.net *.split)06:47
*** x56_ <x56_!0x56@user/x56> has quit IRC (*.net *.split)06:47
*** _alice <[email protected]> has quit IRC (*.net *.split)06:47
*** philpax_ <[email protected]> has quit IRC (*.net *.split)06:47
*** guan <[email protected]> has quit IRC (*.net *.split)06:47
*** LoveMHz <[email protected]> has quit IRC (*.net *.split)06:47
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has quit IRC (*.net *.split)06:47
*** FabM <FabM!~FabM@armadeus/team/FabM> has joined #litex06:50
*** MoeIcenowy <MoeIcenowy!~MoeIcenow@2001:19f0:7002:866:94ae:115a:11b6:1603> has joined #litex06:50
*** joseng <[email protected]> has joined #litex06:50
*** mlaga97 <mlaga97!~quassel@user/mlaga97> has joined #litex06:50
*** hrberg <[email protected]> has joined #litex06:50
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex06:50
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex06:50
*** RowanG[m] <RowanG[m]!~rowang077@2001:470:69fc:105::1:ca9f> has quit IRC (Ping timeout: 248 seconds)06:51
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has quit IRC (Ping timeout: 248 seconds)06:51
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has quit IRC (Ping timeout: 268 seconds)06:51
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has quit IRC (Ping timeout: 264 seconds)06:51
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has quit IRC (Ping timeout: 248 seconds)06:51
*** jryans <jryans!~jryans@2001:470:69fc:105::1d> has quit IRC (Ping timeout: 240 seconds)06:51
*** xenador77[m] <xenador77[m]!~xenador77@2001:470:69fc:105::2:5a64> has quit IRC (Ping timeout: 240 seconds)06:51
*** fpga_zealot[m] <fpga_zealot[m]!~fpgazealo@2001:470:69fc:105::2:6c7b> has quit IRC (Ping timeout: 240 seconds)06:51
*** pepijndevos[m] <pepijndevos[m]!~pepijndev@2001:470:69fc:105::b6a8> has quit IRC (Ping timeout: 249 seconds)06:52
*** leons <leons!~leons@2001:470:69fc:105::abc> has quit IRC (Ping timeout: 249 seconds)06:52
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has quit IRC (Ping timeout: 252 seconds)06:52
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has quit IRC (Ping timeout: 252 seconds)06:52
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has quit IRC (Ping timeout: 252 seconds)06:54
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has quit IRC (Ping timeout: 252 seconds)06:54
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has quit IRC (Ping timeout: 268 seconds)06:54
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (*.net *.split)06:56
*** MoeIcenowy <MoeIcenowy!~MoeIcenow@2001:19f0:7002:866:94ae:115a:11b6:1603> has quit IRC (*.net *.split)06:56
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (*.net *.split)06:56
*** hrberg <[email protected]> has quit IRC (*.net *.split)06:56
*** mlaga97 <mlaga97!~quassel@user/mlaga97> has quit IRC (*.net *.split)06:56
*** joseng <[email protected]> has quit IRC (*.net *.split)06:56
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has joined #litex06:58
*** LoveMHz <[email protected]> has joined #litex06:58
*** guan <[email protected]> has joined #litex06:58
*** philpax_ <[email protected]> has joined #litex06:58
*** _alice <[email protected]> has joined #litex06:58
*** x56_ <x56_!0x56@user/x56> has joined #litex06:58
*** tucanae47 <[email protected]> has joined #litex06:58
*** eigenform_ <[email protected]> has joined #litex06:58
*** yootis <[email protected]> has joined #litex06:58
*** alanvgreen <[email protected]> has joined #litex06:58
*** mithro <[email protected]> has joined #litex06:58
*** _whitelogger <[email protected]> has joined #litex06:58
*** oter <oter!5e7a0135f3@2604:bf00:561:2000::25f> has joined #litex06:58
*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has joined #litex06:58
*** FabM <FabM!~FabM@armadeus/team/FabM> has joined #litex06:58
*** MoeIcenowy <MoeIcenowy!~MoeIcenow@2001:19f0:7002:866:94ae:115a:11b6:1603> has joined #litex06:58
*** joseng <[email protected]> has joined #litex06:58
*** mlaga97 <mlaga97!~quassel@user/mlaga97> has joined #litex06:58
*** hrberg <[email protected]> has joined #litex06:58
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex06:58
*** xenador77[m] <xenador77[m]!~xenador77@2001:470:69fc:105::2:5a64> has joined #litex07:10
*** fpga_zealot[m] <fpga_zealot[m]!~fpgazealo@2001:470:69fc:105::2:6c7b> has joined #litex07:11
*** leons <leons!~leons@2001:470:69fc:105::abc> has joined #litex07:26
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has joined #litex07:30
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has joined #litex07:36
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has joined #litex07:36
*** cr1901_ <cr1901_!~cr1901@2601:8d:8600:911:6555:3fa4:3aed:b01a> has joined #litex07:42
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:6555:3fa4:3aed:b01a> has quit IRC (Read error: Connection reset by peer)07:42
*** CarlFK <CarlFK!~carlfk@2001:470:69fc:105::5d8> has joined #litex07:42
*** jryans <jryans!~jryans@2001:470:69fc:105::1d> has joined #litex07:55
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has joined #litex08:39
*** amstan <amstan!~amstan@2001:470:69fc:105::1e9> has joined #litex08:39
*** DerekKozel[m] <DerekKozel[m]!~dkozelgnu@2001:470:69fc:105::2f14> has joined #litex09:08
*** zjason`` <zjason``[email protected]> has joined #litex09:12
*** zjason` <zjason`[email protected]> has quit IRC (Ping timeout: 252 seconds)09:16
*** Crofton[m] <Crofton[m]!~croftongn@2001:470:69fc:105::9a7> has joined #litex09:46
*** genpaku <[email protected]> has quit IRC (Read error: Connection reset by peer)10:50
*** genpaku <[email protected]> has joined #litex10:52
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex10:54
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)11:09
*** TMM_ <[email protected]> has joined #litex11:09
*** pepijndevos[m] <pepijndevos[m]!~pepijndev@2001:470:69fc:105::b6a8> has joined #litex11:13
*** RowanG[m] <RowanG[m]!~rowang077@2001:470:69fc:105::1:ca9f> has joined #litex11:26
*** cr1901_ is now known as cr190113:16
*** rik_ <[email protected]> has joined #litex15:09
*** rik_ <[email protected]> has quit IRC (Client Quit)15:09
*** Ferixfox <[email protected]> has joined #litex15:10
FerixfoxHeyo. I have a small, probably beginner, issue related to Litex. I wanted to try it out on a Sipeed nano 4K board I got. I got everything setup, it compiles and it seems like it works, but I do not get a serial output. 17:27
FerixfoxI saw that the TX pin is unused according to the gowin synthesizer, so I disabled the "with_video_terminal". This removes the warning but still no serial output from the bios (With with_video_terminal I get the colored bars on hdmi as expected) 17:28
FerixfoxIn both cases the bios is the exact same size, could it be that the bios tries to output the printfs to the non existing video output instead of to the serial port?17:28
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 244 seconds)17:51
trabucayreFerixfox: could you check you use second tty and your terminal emulator is in 115200b ?18:52
trabucayreFerixfox: you have a dock lite or a standard (ie with hdmi & ethernet) ?18:52
*** shenchen <[email protected]> has joined #litex19:23
Ferixfoxtrabucayre:  I have this model: https://wiki.sipeed.com/hardware/en/tang/Tang-Nano-4K/assets/4k-1.jpg  19:25
FerixfoxI have connected an FTDI 3.3V USB to TTL converter to pin 44/46 and I also checked the second TTY from the board, both had the same result.19:26
FerixfoxWould I expect the bios to output to the second TTY from the Sipeed 4K, or to pin 44/46 of the fpga, as that is what I saw in the litex-boards/platform/sipeed_tang_nano_4k file (with a fixme above that serial is for tests and should be changed or removed)19:27
*** nickoe <[email protected]> has joined #litex19:29
nickoeHello19:30
trabucayreFerixfox: sorry mismatch between board: it's true 4K has an onboard interface but uart requires external ftdi19:31
trabucayreftdi or any usb<->uart19:31
trabucayreI assume you have 3 ttyUSBx ?19:31
nickoeI am trying to simulate a platform in litex, derived from SimPlatform, but I get an error like this: TypeError: Trying to add <litex.soc.cores.led.LedChaser object at 0x7f29c532ceb0>, which does not implement .elaborate(), as a submodule.19:35
nickoeI wonder why that is. https://dpaste.com/G98WZ6YA519:35
tpbTitle: dpaste: G98WZ6YA5 (at dpaste.com)19:35
nickoemm, using from migen import *   instead of   from amaranth.compat import *    appears to help..19:39
Ferixfoxtrabucayre: I guessed so yeah, I have an external ftdi cable connected to it. 115200 baud but sadly nothing much. I will try it again in a few with a logic analyzer attached to see if I see something happen.19:46
trabucayremake sense19:50
nickoeMm, my vcd or fst files are empty... I wonder wky no content is there, it loos like the Vsim binary is running ok20:22
nickoeI see a "input  wire sim_trace," in the sim.v module, is that supposed to be connected to anything?20:22
*** nickoe <[email protected]> has quit IRC (Quit: Client closed)20:25
*** nickoe <[email protected]> has joined #litex20:32
Ferixfoxtrabucayre: I hooked up a logic analyzer and nothing. The line remains low. I also switched the LED pin and the TX pin, then the TX pin nicely shows the square wave of the "led" blinking and the LED pin shows nothing. So it seems like there is no output on the TX pin of the bios.20:32
*** nickoe <[email protected]> has quit IRC (Client Quit)20:36
*** nickoe <[email protected]> has joined #litex20:36
trabucayrecould you try with --flash instead on --load ? I don't remember exactly but I'm not sure bios fit in RAM -> loaded from flash20:41
nickoeWhy does trace_end not seem to terminate the simulation by it self?20:42
Ferixfoxtrabucayre:  .... That seems to have fixed it, awesome. The fact that the led and hdmi worked caught me off guard I guess :)20:49
trabucayrefor HDMI I'm not sure but for LedChaser it's a controler with specific behaviour by default -> it's true it's hard to see why not working20:53
trabucayrebut a small note into .py may help people to avoid spending time with that :)20:54
trabucayreIn fact I remembered that because _florent_ has asked me to add the external flash access support to openFPGALoader for Gowin targets :)20:57
cr1901_florent_: I'm looking for the SDRAM timing for the GOWIN parts... apparently GOWIN gave them to you? https://twitter.com/pepijndevos/status/135654878060309708821:42
cr1901I have a test design on another board using the GW1NR-4, but LiteDRAM does not appear to be working properly21:42
cr1901I see a "FIXME" https://github.com/litex-hub/litex-boards/blob/master/litex_boards/targets/trenz_tec0117.py#L107 next to the SDR module you used for Trenz tec0017. But based on your demo, it should be working. Hmmm...21:45
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)21:56
*** TMM_ <[email protected]> has joined #litex21:56
*** Ferixfox <[email protected]> has quit IRC (Remote host closed the connection)22:37
*** Degi <[email protected]> has quit IRC (Quit: ZNC 1.7.5+deb4 - https://znc.in)22:45
*** Degi <[email protected]> has joined #litex22:45

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