*** tpb has joined #litex | 00:00 | |
dayjaby | nickoe I managed to get it to run in Renode (instead of lxsim). Maybe that serves its purpose for you? I documented it in https://github.com/dayjaby/litex-experiments | 00:05 |
---|---|---|
*** lf has quit IRC | 00:09 | |
*** lf has joined #litex | 00:10 | |
*** david-sawatzke[m has quit IRC | 00:22 | |
*** david-sawatzke[m has joined #litex | 00:24 | |
*** rj has quit IRC | 00:28 | |
*** dayjaby has quit IRC | 00:42 | |
*** mikeK_de1soc has quit IRC | 00:45 | |
*** TMM has quit IRC | 00:48 | |
*** TMM has joined #litex | 00:49 | |
*** rj has joined #litex | 01:07 | |
*** CarlFK has quit IRC | 02:02 | |
*** mikeK_de1soc has joined #litex | 02:16 | |
*** futarisIRCcloud has joined #litex | 02:58 | |
*** mikeK_de1soc has quit IRC | 03:05 | |
*** Degi has quit IRC | 03:27 | |
*** Degi has joined #litex | 03:30 | |
*** lkcl has quit IRC | 03:37 | |
*** lkcl has joined #litex | 03:50 | |
*** cr1901_modern has quit IRC | 04:04 | |
*** rj has quit IRC | 04:11 | |
*** Bertl_oO is now known as Bertl_zZ | 04:32 | |
*** dayjaby has joined #litex | 07:22 | |
*** kgugala has quit IRC | 07:24 | |
*** kgugala has joined #litex | 07:24 | |
*** dayjaby has quit IRC | 07:33 | |
_florent_ | Hi nickoe, I just made some changes to litex_sim to have the same behaviour between --ram-init and --sdram-init | 08:11 |
_florent_ | you can now just do: | 08:11 |
_florent_ | litex_sim --with-sdram | 08:12 |
_florent_ | litex_bare_metal_demo --build-path=build/sim | 08:12 |
_florent_ | litex_sim --with-sdram --sdram-init=demo.bin | 08:12 |
_florent_ | and it will load demo.bin and jump to it | 08:13 |
*** tmbinc has joined #litex | 08:26 | |
*** rozpruwacz has joined #litex | 08:57 | |
*** rozpruwacz has quit IRC | 08:59 | |
nickoe | _florent_: Ahh cool. That does see to work now! :) | 09:21 |
nickoe | daddesio: Also cool with the renode stuff, but can I do co-simulatio with own modules with that setup? | 09:21 |
nickoe | _florent_: I am not sure why, but when running the donut in the simulation I only appear to get on frame before it exits back to the prompt in the app | 09:23 |
_florent_ | nickoe: it indeeds seems to be receiving a character and exits | 09:24 |
nickoe | Is that a bug in the serial2console module that I assume is used there. | 09:25 |
nickoe | ? | 09:25 |
_florent_ | This would need to be analyzed, this could be due to a \n to \n\r convertion, I'll have a closer look | 09:36 |
*** Degi_ has joined #litex | 09:55 | |
*** feldim2425_ has joined #litex | 09:57 | |
*** TMM__ has joined #litex | 09:58 | |
*** jimbzy_ has joined #litex | 10:01 | |
*** Degi has quit IRC | 10:03 | |
*** TMM has quit IRC | 10:03 | |
*** feldim2425 has quit IRC | 10:03 | |
*** jimbzy has quit IRC | 10:03 | |
*** Degi_ is now known as Degi | 10:03 | |
*** feldim2425_ is now known as feldim2425 | 10:03 | |
*** Bertl_zZ is now known as Bertl | 11:51 | |
*** cr1901_modern has joined #litex | 12:18 | |
*** kgugala_ has joined #litex | 12:31 | |
*** kgugala has quit IRC | 12:31 | |
*** indy has quit IRC | 12:33 | |
*** indy has joined #litex | 12:48 | |
*** TMM__ is now known as TMM | 13:22 | |
*** mikeK_de1soc has joined #litex | 14:02 | |
*** rj has joined #litex | 14:36 | |
*** tester has joined #litex | 15:06 | |
*** CarlFK has joined #litex | 16:36 | |
*** przm has joined #litex | 18:10 | |
*** przm is now known as tecneecs | 18:22 | |
*** mikeK_de1soc has quit IRC | 18:44 | |
*** dayjaby has joined #litex | 18:58 | |
nickoe | _florent_: Why is it that the --sdram-init does not support boot.josn? It appears to be calling get_mem_data() as the parameters to SimSoC and it appers to load the files into the data that it returns. | 19:31 |
nickoe | But sure, when I boot it appears to not boot anyting after liftoff. | 19:32 |
nickoe | (with the skip init constant of course) | 19:42 |
nickoe | _florent_: What is the point of the --with-analyzer on lxsim? I thought it was a replacement for https://github.com/enjoy-digital/litex/wiki/Use-LiteScope-To-Debug-A-SoC#use-the-analyzer | 19:55 |
*** Bertl is now known as Bertl_oO | 19:58 | |
nickoe | But when I run it with: "lxsim --with-sdram --sdram-init=demo.bin --gtkwave-savefile --with-analyzer" I get, https://dpaste.com/3JJSGPGLM after I interrup the simulation. | 20:01 |
tpb | Title: dpaste: 3JJSGPGLM (at dpaste.com) | 20:01 |
nickoe | Ok adding --trace did put stuff in the vcd file at lesat | 20:03 |
nickoe | Why does it ask for a password when I run with --with-etherbone ? | 20:12 |
dayjaby | Because it creates a local network interface, like tap0, which can only be done as root | 20:13 |
dayjaby | check `ifconfig` to see the IP addresses. it should show tap0 with 192.168.1.100 and you can try to ping 192.168.1.50 (which did not work for me with lxsim tho) | 20:14 |
nickoe | dayjaby: The guide says to use lxserer on .51, "litex_server --udp --udp-ip=192.168.1.51" | 20:26 |
nickoe | I just tried to add the LedChaser to the sim example. | 20:26 |
nickoe | https://github.com/nickoe/litex-boards/blob/07a7464bbc3b418e3ec4c019515e6d0fffae4530/litex_boards/targets/mars_ax3_sim_litex.py#L304 | 20:30 |
*** anuejn_ has joined #litex | 20:36 | |
*** benh_ has joined #litex | 20:37 | |
*** feldim2425_ has joined #litex | 20:37 | |
*** awygle has quit IRC | 20:37 | |
*** scientes_ has quit IRC | 20:37 | |
*** benh has quit IRC | 20:37 | |
*** Stary has quit IRC | 20:37 | |
*** nickoe_ has joined #litex | 20:37 | |
*** scientes has joined #litex | 20:37 | |
*** indy has quit IRC | 20:37 | |
*** nickoe has quit IRC | 20:37 | |
*** anuejn has quit IRC | 20:37 | |
*** Degi has quit IRC | 20:37 | |
*** [Matt] has quit IRC | 20:37 | |
*** lf_ has joined #litex | 20:37 | |
*** SpaceCoaster has quit IRC | 20:37 | |
*** awygle has joined #litex | 20:37 | |
*** [Matt] has joined #litex | 20:37 | |
*** dkozel has joined #litex | 20:37 | |
*** SpaceCoaster has joined #litex | 20:37 | |
nickoe_ | dayjaby: you there? I feel off freenode | 20:37 |
*** felix__ has joined #litex | 20:37 | |
dayjaby | ye, the disconnects here can get annoying :P | 20:37 |
*** st-gourichon-fid has quit IRC | 20:37 | |
*** lf has quit IRC | 20:37 | |
*** Stary has joined #litex | 20:38 | |
*** st-gourichon-fid has joined #litex | 20:38 | |
*** ric96 has quit IRC | 20:38 | |
*** CarlFK[m] has quit IRC | 20:38 | |
*** Degi has joined #litex | 20:39 | |
nickoe_ | dayjaby: Can you example https://github.com/dayjaby/litex-experiments simulate custom hardware, such as the LedChaser as an example? | 20:39 |
nickoe_ | And get vcd traces out? | 20:39 |
*** sajattack[m] has quit IRC | 20:39 | |
*** disasm[m] has quit IRC | 20:39 | |
dayjaby | let me check | 20:39 |
*** ric96 has joined #litex | 20:40 | |
*** xobs has quit IRC | 20:40 | |
*** jevinskie[m] has quit IRC | 20:40 | |
*** apolkosnik[m] has quit IRC | 20:40 | |
*** shoragan[m] has quit IRC | 20:40 | |
*** dkozel_ has quit IRC | 20:40 | |
*** nickoe_ is now known as nickoe | 20:41 | |
*** indy_ has joined #litex | 20:41 | |
*** x56_ has joined #litex | 20:41 | |
*** shenki_ has joined #litex | 20:41 | |
*** david-sawatzke[m has quit IRC | 20:42 | |
*** leons has quit IRC | 20:42 | |
*** feldim2425 has quit IRC | 20:42 | |
*** feldim2425_ is now known as feldim2425 | 20:42 | |
*** shenki has quit IRC | 20:42 | |
*** tumbleweed has quit IRC | 20:42 | |
dayjaby | appearently with something like https://github.com/antmicro/renode-verilator-integration it's possible (check https://renode.io/news/renode-verilator-hdl-co-simulation/). | 20:42 |
tpb | Title: Co-simulating HDL models in Renode with Verilator (at renode.io) | 20:42 |
*** tumbleweed_ has joined #litex | 20:42 | |
*** tumbleweed_ is now known as tumbleweed | 20:43 | |
*** felix_ has quit IRC | 20:43 | |
*** x56 has quit IRC | 20:43 | |
*** jryans has quit IRC | 20:43 | |
*** promach3 has quit IRC | 20:43 | |
nickoe | dayjaby: I am not so god at the verilog simluation instrumentation thing, I mean the cpp file. So I was hoping there was a more magic way that I could use and not require me write too much spagehtti. | 20:52 |
dayjaby | Yes, I thought the same. I've done some gdb debugging in renode, which worked well. So you need the VCD traces? | 20:53 |
nickoe | Yeah, well. My goal is to be able to run a DSP chain in simulation that someone else is primarely working on. Then I would use the softcore with litex and the demo app or the test scripts via lxserver to poke some registers to control it. | 20:56 |
*** CarlFK[m] has joined #litex | 20:56 | |
*** sajattack[m] has joined #litex | 20:57 | |
*** disasm[m] has joined #litex | 20:57 | |
*** apolkosnik[m] has joined #litex | 20:57 | |
nickoe | I want to feed this chain with AXI DMA | 20:58 |
nickoe | So my first goal is to be able to run this simulation where this DMA just dump data to some output signals | 20:58 |
nickoe | but right now, I think I need to take my eyes off the screen for a bit.. I better clean up it is getting really dirty around her.e | 20:59 |
*** shoragan[m] has joined #litex | 21:14 | |
*** xobs has joined #litex | 21:15 | |
*** jevinskie[m] has joined #litex | 21:16 | |
*** jryans has joined #litex | 21:18 | |
*** promach3 has joined #litex | 21:19 | |
*** david-sawatzke[m has joined #litex | 21:20 | |
*** leons has joined #litex | 21:24 | |
*** _whitelogger has quit IRC | 21:24 | |
*** _whitelogger has joined #litex | 21:27 | |
nickoe | by AXI DMA I mean, LiteDRAMDMAReader | 21:33 |
*** FFY00_ has joined #litex | 21:44 | |
*** FFY00 has quit IRC | 21:47 | |
*** mikeK_de1soc has joined #litex | 21:47 | |
*** FFY00 has joined #litex | 21:48 | |
*** FFY00_ has quit IRC | 21:50 | |
*** felix__ is now known as felix_ | 21:53 | |
*** kgugala has joined #litex | 21:57 | |
*** kgugala_ has quit IRC | 22:00 | |
*** peepsalot has joined #litex | 22:12 | |
*** mikeK_de1soc has quit IRC | 22:31 | |
*** tecneecs has quit IRC | 22:32 | |
nickoe | maybe this is realated to my earlier comment about the vcd being broken as well https://github.com/enjoy-digital/litex/issues/831 | 22:36 |
*** TMM has quit IRC | 23:04 | |
*** TMM has joined #litex | 23:05 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!