*** tpb has joined #litex | 00:00 | |
*** lf_ has joined #litex | 00:15 | |
*** lf has quit IRC | 00:15 | |
*** kgugala_ has quit IRC | 00:17 | |
*** kgugala has joined #litex | 00:49 | |
*** Dolu has quit IRC | 01:29 | |
*** chgavilana has quit IRC | 02:03 | |
*** peeps[zen] is now known as peepsalot | 03:00 | |
*** martinraison has joined #litex | 03:09 | |
*** martinraison has quit IRC | 03:14 | |
*** Degi_ has joined #litex | 04:22 | |
*** Degi has quit IRC | 04:23 | |
*** Degi_ is now known as Degi | 04:23 | |
*** Bertl_oO is now known as Bertl_zZ | 05:40 | |
*** kgugala_ has joined #litex | 07:23 | |
*** kgugala has quit IRC | 07:26 | |
*** martinraison has joined #litex | 08:03 | |
oter | yoseng I cut/pasted the relevant bits of a LiteDRAMDMAReader example here: https://pastebin.com/Y6cuUAcJ. The bus width etc. (where not generic) are for the ECPIC-5 Lattice board (sorry, don't have yours). It's super naive, but helped me learn. As _florent_ pointed out, love using Litescope to see what's going on. Trigger the example DMA read sequence via a write to the CRG called "output". Any other trigger (button?) would do too. | 08:03 |
---|---|---|
*** martinraison has quit IRC | 08:05 | |
_florent_ | somlo: nice for Rocket, VexRiscv-SMP is in fact very similar and the CPU itself is also almost its own SoC | 08:41 |
*** martinraison has joined #litex | 08:49 | |
*** martinraison has joined #litex | 08:51 | |
*** martinraison has quit IRC | 09:27 | |
*** martinraison has joined #litex | 09:28 | |
*** Dolu has joined #litex | 09:47 | |
*** Bk has joined #litex | 09:56 | |
Bk | Hi, i have a problem with picorv32. | 09:57 |
Bk | I load on my fpga the project with interrupt enable | 09:57 |
Bk | but when an interrupt occours the riscV doesn't enter in a irq function | 09:58 |
Bk | i loaded the example function with a simple counter inside irq function | 09:58 |
*** martinraison has quit IRC | 10:04 | |
*** martinraison has joined #litex | 10:13 | |
*** martinraison has quit IRC | 10:39 | |
*** martinraison has joined #litex | 10:40 | |
*** martinraison has quit IRC | 10:41 | |
_florent_ | Hi Bk, we would probably need more info about your use case. The default LiteX/PicoRV32 configuration uses interrupts for the UART and seems to be behaves correctly: | 10:42 |
_florent_ | lxsim --cpu-type=picorv32 works correctly while commenting out https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/cpu/picorv32/core.py#L156 makes it fail | 10:43 |
Bk | ok, i try to see better this. Another question. How can I load my main file in litex riscV project? | 10:45 |
*** martinraison has joined #litex | 10:45 | |
Bk | my user case is receive ad interrrupt from external ip | 10:46 |
Bk | my riscV must be enter in a fuction and print some ip informations | 10:47 |
Bk | sorry for my bad english | 10:48 |
*** Bk has quit IRC | 10:56 | |
*** martinraison has quit IRC | 10:59 | |
*** bk has joined #litex | 11:07 | |
*** martinraison has joined #litex | 11:12 | |
*** martinraison has quit IRC | 11:16 | |
*** bk has quit IRC | 11:28 | |
*** martinraison has joined #litex | 11:30 | |
_florent_ | Bk: is you want to load application code to the CPU, you can have a look at: https://github.com/enjoy-digital/litex/wiki/Load-Application-Code-To-CPU | 11:33 |
_florent_ | if you want a simple example with litex_sim, you can do: | 11:34 |
_florent_ | litex_sim --cpu-type=picorv32 | 11:34 |
_florent_ | then | 11:34 |
_florent_ | litex_bare_metal_demo --build-path=build/sim/ | 11:34 |
_florent_ | and | 11:34 |
*** martinraison has quit IRC | 11:35 | |
_florent_ | litex_sim --cpu-type=picorv32 --ram-init=demo.bin | 11:35 |
_florent_ | this will create a SoC with PicoRV32 and execute the demo app on it | 11:35 |
*** awordnot has quit IRC | 12:25 | |
*** Dolu has quit IRC | 12:37 | |
*** Bertl_zZ is now known as Bertl | 12:42 | |
cr1901_modern | how do yo send input to the simulator? | 13:02 |
*** martinraison has joined #litex | 13:22 | |
*** chgavilana has joined #litex | 14:16 | |
_florent_ | cr1901_modern: with litex_sim the UART is redirected to the console | 14:42 |
_florent_ | so it's very similar to using the SoC on hardware through a terminal | 14:43 |
*** martinraison has quit IRC | 14:58 | |
cr1901_modern | Ahhh that's cool. I might be able to dup my USB bug (see privmsg) then... | 15:53 |
cr1901_modern | _florent_: ^^ | 15:53 |
*** Bertl is now known as Bertl_oO | 16:34 | |
*** martinraison has joined #litex | 16:42 | |
*** martinraison has joined #litex | 16:43 | |
*** lkcl has quit IRC | 19:07 | |
*** lkcl has joined #litex | 19:19 | |
*** awordnot has joined #litex | 19:39 | |
*** keesj has quit IRC | 20:35 | |
*** keesj has joined #litex | 21:28 | |
*** keesj has quit IRC | 22:13 | |
*** ethanhs has joined #litex | 22:26 | |
ethanhs | Hi! Very cool project :) | 22:35 |
ethanhs | Does anyone know if it is possible to buy a Trellisboard, I've been reading through some of the pcie/ethernet boards litex supports and I'm thinking of getting that or an Acorn | 22:37 |
*** keesj has joined #litex | 22:39 | |
*** keesj has quit IRC | 22:54 | |
*** keesj has joined #litex | 23:22 | |
*** TMM has quit IRC | 23:45 | |
*** TMM has joined #litex | 23:45 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!