Friday, 2021-01-08

*** tpb has joined #litex00:00
*** lf_ has joined #litex00:15
*** lf has quit IRC00:15
*** kgugala_ has quit IRC00:17
*** kgugala has joined #litex00:49
*** Dolu has quit IRC01:29
*** chgavilana has quit IRC02:03
*** peeps[zen] is now known as peepsalot03:00
*** martinraison has joined #litex03:09
*** martinraison has quit IRC03:14
*** Degi_ has joined #litex04:22
*** Degi has quit IRC04:23
*** Degi_ is now known as Degi04:23
*** Bertl_oO is now known as Bertl_zZ05:40
*** kgugala_ has joined #litex07:23
*** kgugala has quit IRC07:26
*** martinraison has joined #litex08:03
oteryoseng 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 IRC08:05
_florent_somlo: nice for Rocket, VexRiscv-SMP is in fact very similar and the CPU itself is also almost its own SoC08:41
*** martinraison has joined #litex08:49
*** martinraison has joined #litex08:51
*** martinraison has quit IRC09:27
*** martinraison has joined #litex09:28
*** Dolu has joined #litex09:47
*** Bk has joined #litex09:56
BkHi, i have a problem with picorv32.09:57
BkI load on my fpga the project with interrupt enable09:57
Bkbut when an interrupt occours the riscV doesn't enter in a irq function09:58
Bki loaded the example function with a simple counter inside irq function09:58
*** martinraison has quit IRC10:04
*** martinraison has joined #litex10:13
*** martinraison has quit IRC10:39
*** martinraison has joined #litex10:40
*** martinraison has quit IRC10: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 fail10:43
Bkok, i try to see better this. Another question. How can I load my main file in litex riscV project?10:45
*** martinraison has joined #litex10:45
Bkmy user case is receive ad interrrupt from external ip10:46
Bkmy riscV must be enter in a fuction and print some ip informations10:47
Bksorry for my bad english10:48
*** Bk has quit IRC10:56
*** martinraison has quit IRC10:59
*** bk has joined #litex11:07
*** martinraison has joined #litex11:12
*** martinraison has quit IRC11:16
*** bk has quit IRC11:28
*** martinraison has joined #litex11: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-CPU11:33
_florent_if you want a simple example with litex_sim, you can do:11:34
_florent_litex_sim --cpu-type=picorv3211:34
_florent_then11:34
_florent_litex_bare_metal_demo --build-path=build/sim/11:34
_florent_and11:34
*** martinraison has quit IRC11:35
_florent_litex_sim --cpu-type=picorv32 --ram-init=demo.bin11:35
_florent_this will create a SoC with PicoRV32 and execute the demo app on it11:35
*** awordnot has quit IRC12:25
*** Dolu has quit IRC12:37
*** Bertl_zZ is now known as Bertl12:42
cr1901_modernhow do yo send input to the simulator?13:02
*** martinraison has joined #litex13:22
*** chgavilana has joined #litex14:16
_florent_cr1901_modern: with litex_sim the UART is redirected to the console14:42
_florent_so it's very similar to using the SoC on hardware through a terminal14:43
*** martinraison has quit IRC14:58
cr1901_modernAhhh 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_oO16:34
*** martinraison has joined #litex16:42
*** martinraison has joined #litex16:43
*** lkcl has quit IRC19:07
*** lkcl has joined #litex19:19
*** awordnot has joined #litex19:39
*** keesj has quit IRC20:35
*** keesj has joined #litex21:28
*** keesj has quit IRC22:13
*** ethanhs has joined #litex22:26
ethanhsHi! Very cool project :)22:35
ethanhsDoes 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 Acorn22:37
*** keesj has joined #litex22:39
*** keesj has quit IRC22:54
*** keesj has joined #litex23:22
*** TMM has quit IRC23:45
*** TMM has joined #litex23:45

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