_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://freenode.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
lf_ has quit [Ping timeout: 240 seconds]
lf has joined #litex
a314 has quit [Ping timeout: 260 seconds]
a314 has joined #litex
Degi has quit [Ping timeout: 258 seconds]
Degi has joined #litex
_whitelogger has joined #litex
_whitelogger has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 272 seconds]
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 260 seconds]
indy has quit [Ping timeout: 260 seconds]
indy has joined #litex
CarlFK has joined #litex
daveshah has quit [*.net *.split]
x56 has quit [*.net *.split]
zyp has quit [Ping timeout: 260 seconds]
daveshah has joined #litex
x56 has joined #litex
CarlFK[m] has quit [Ping timeout: 240 seconds]
xobs has quit [Ping timeout: 246 seconds]
leons has quit [Ping timeout: 246 seconds]
disasm[m] has quit [Ping timeout: 244 seconds]
sajattack[m] has quit [Ping timeout: 240 seconds]
powergraphic[m] has quit [Ping timeout: 240 seconds]
zyp has joined #litex
krickit has joined #litex
<krickit> hello everybody
<krickit> i loaded risc-v in my board and it commands led.
<krickit> now, i want to change order or blinking led
<krickit> which file i have to change?
CarlFK[m] has joined #litex
powergraphic[m] has joined #litex
<Claude> Hmm could anyone confirm that lite-pcie isn't currently working on ecp5 ? I somehow was under impression that I saw it working on ecp5 in a tweet some time ago. But now when checking litepcie GitHub I can only find xilinx Phys . Asking because I'm in the process designing a board which needs to have pcie
<daveshah> Currently, litepcie can only use the Xilinx hard IP PHY
<Claude> Ok so a artix7 35 is a good candidate ?
<daveshah> Degi is working on https://github.com/ECP5-PCIe which could eventually plug in to the litepcie infrastructure
<daveshah> I think so, but better check with _florent_ that it would be big enough
<Claude> Ok thanks a lot on the confirmation on ecp5 daveshah
<krickit> daveshah can you help also me?
<krickit> '=D
<daveshah> I don't know. The default LiteX environment doesn't use the CPU to blink the LED, it is a separate piece of standalone gateware
<krickit> ok, so i want to understand how to give commands to litex for complete simple operations
<krickit> what can i do?
powergraphic[m] has quit [Quit: Bridge terminating on SIGTERM]
CarlFK[m] has quit [Quit: Bridge terminating on SIGTERM]
<krickit> a simple operation like a sum for example
<daveshah> it's the best thing I can point to
<krickit> ok thanks
<krickit> i haven't read it
xobs has joined #litex
<somlo> krickit: one more (non-authoritative) data point -- you could look in your build directory under `software/include/generated/csr.h`, there will be `leds_out_[read|write]()` functions; if you add some calls to them from the bare-metal bios that is also built into the bitstream, can you get anything interesting to happen?
CarlFK[m] has joined #litex
leons has joined #litex
disasm[m] has joined #litex
mibus[m] has joined #litex
sajattack[m] has joined #litex
powergraphic[m] has joined #litex
<krickit> somlo I can try. Unfortunately I am now starting to understand how this RiscV works and I am knowledge on the basics is very low
<krickit> i don't know, for example, how to use the software folder after load bitstream in my fpga
kgugala_ has joined #litex
kgugala__ has joined #litex
kgugala has quit [Ping timeout: 256 seconds]
kgugala_ has quit [Ping timeout: 272 seconds]
<somlo> krickit: it's mostly just for reference, once bitstream is built (i.e., for knowing what addresses the various MMIO a.k.a. CSR registers are located at)
<somlo> that's why I recommended trying to modify the litex/soc/software/bios/... sources *before* you build the bitstream, as that software will be incorporated into the "rom" that's part of the bitstream, and runs on the SoC once it's programmed
<somlo> alternatively, you use that knowledge from whatever software is loaded by the bios, from microSD, or via tftp, or (lately) via liteSATA
<somlo> e.g., from a linux kernel driver, or even by reading/writing "memory" pointers from userspace once the kernel is loaded
<somlo> but (IMHO) the easiest first step to figuring out what reads/writes to/from the LED MMIO register(s) do is to try them as part of the bare-metal bios that's incorporated into the bitstream itself, that way you won't have to deal with loading additional software just to find out
peeps[zen] has joined #litex
peepsalot has quit [Ping timeout: 260 seconds]
krickit has quit [Remote host closed the connection]
FFY00 has quit [Read error: Connection reset by peer]
FFY00 has joined #litex
CarlFK has quit [Ping timeout: 260 seconds]
powergraphic[m] is now known as powergraphic
powergraphic is now known as powergraphic38
powergraphic38 has quit [Quit: authenticating]
powergraphic38 has joined #litex
powergraphic38 is now known as powergraphic
CarlFK has joined #litex