_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://libera.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
DoubleJ2 has joined #litex
DoubleJ2 is now known as DoubleJ
DoubleJ has quit [Ping timeout: 245 seconds]
Johnsel has quit [Remote host closed the connection]
esden has quit [Ping timeout: 250 seconds]
esden has joined #litex
vup has quit [Ping timeout: 250 seconds]
vup has joined #litex
Degi_ has joined #litex
Degi has quit [Ping timeout: 272 seconds]
Degi_ is now known as Degi
<trabucayre> tnt: no. But I can check datasheets
<tnt> trabucayre: I randomly just added it pretending it was a kintex 7 and it seemed to have worked just fine.
<tnt> _florent_: and forget what I said about hold violations, I was dumbly looking at _timing_synth.rpt instead of _timing.rpt ... doh ....
<trabucayre> tnt: xilinx is quite coherent: all devices works with the same programming sequence :)
<trabucayre> If you have devices to add ...
sebo has joined #litex
sebo has quit [Ping timeout: 246 seconds]
C-Man has quit [Ping timeout: 260 seconds]
<tnt> trabucayre: PR opened :)
sebo has joined #litex
sebo has quit [Ping timeout: 272 seconds]
davebee has joined #litex
<davebee> I'm trying to integrate some Amaranth into Litex. I have the Verilog generation working. I've written a function to build a Python migen stub with a Module to wrap the Instance and add the Verilog source. I've built a simple free running counter and it works fine. I want to be able to connect the wishbone bus of the CPU generated by Litex to my
<davebee> Amaranth component. I don't know where the bus signals are in Litex. Where should I be looking?
C-Man has joined #litex
davebee has quit [Quit: Client closed]
sebo has joined #litex
sebo has quit [Ping timeout: 260 seconds]
FabM has joined #litex
FabM has joined #litex
davebee has joined #litex
sebo has joined #litex
<_florent_> davebee: You can create a wrapper around your generated Amaranth core exposing a Wishbone interface:
<davebee> Great. Thanks. I'll take a look at that. I've got everything else running - so I'm running a mix of Amaranth, VHDL and migen/Litex, but not connected together yet.
<_florent_> and finally integrate this wrapper module in the LiteX SoC, ex: https://github.com/enjoy-digital/litex_vexriscv_smp_usb_host_test/blob/master/digilent_arty.py#L149-L150
<davebee> I was fiddling with add_slave() and SoCRegion() but couldn't work it out. Many thanks.#
sebo has quit [Ping timeout: 260 seconds]
sebo has joined #litex
<_florent_> tnt: I've improved the reset of the CDC modules used in LitePCIe PHY and this fixed the dma_hanging I was seeing on a design. It also seems to have fixed the Decklink behaviour since I'm now able to get PCIe + DRAM working simultaneously.
<_florent_> tnt: I'm doing more tests, but that's also possible it fixed https://github.com/enjoy-digital/litepcie/issues/90
davebee has quit [Quit: Client closed]
sebo has quit [Ping timeout: 260 seconds]
<tnt> _florent_: oh, very interesting. I'll test that on the declink since I'm preparing now and then on the ADI board.
sebo has joined #litex
<_florent_> tnt: great, thanks
sebo has quit [Ping timeout: 246 seconds]
sebo has joined #litex
sebo has quit [Ping timeout: 250 seconds]
<tnt> _florent_: decklink with ram indeeds seems to work now.
<tnt> I'm still having trouble getting uart to work on it, but might be a physical issue / cable thing. I need to check that.
FabM has quit [Quit: Leaving]
Martoni has joined #litex
sebo has joined #litex
<_florent_> tnt: Good for the ram. For the UART, I just probed the pins, I haven't tested them as UART.
<_florent_> tnt: BTW, if you have time for a build, I would be interesting to know if the two other DRAM modules have been reversed correctly:
<_florent_> tnt: changing to 4, 5, 6, 7 would use the two other DRAM modules
<tnt> _florent_: sure, I can give that a shot. Need to find a way to see the memtest results :p
<tnt> _florent_: the other ram banks works fine.
sebo has quit [Ping timeout: 260 seconds]
<_florent_> tnt: did you managed to get the UART working? :)
<tnt> _florent_: yes.
<_florent_> tnt: ah good, what was the issue?
<_florent_> tnt: Thanks for the ram test, nice to know this is also working
<tnt> _florent_: tbh, I have no idea what I screwed up the first time around. I disconnected everything and plugged in the scope to see what was wrong ... and everything looked fine. I reconnect the usb-serial cable ... and it works.
<tnt> And now I also got uartbone working at 2M baud so it's all fine.
<_florent_> BTW, when generating the design with PCIe (and with Crossover UART), you can just also load the Linux driver and do get the console on /dev/LXU0
<tnt> yeah, I saw that. But since I wanted to use the bridge to debug dma peripheral, I figured avoiding going through pcie is probably a good idea :p
<tnt> I'm rebuilding an ADI board bitstream with x8 pcie, we'll see if the fix you made helped with that too.
Martoni has quit [Ping timeout: 252 seconds]
sebo has joined #litex
<tnt> _florent_: btw, ever tried having 2 litepcie devices in the same system ?
<tnt> [13858.278069] sysfs: cannot create duplicate filename '/devices/platform/liteuart'
<_florent_> tnt: yes, but probably not with the LiteUART driver
<tnt> _florent_: at first glance it didn't seem to have solved my x8 issues :/
<tnt> only litepcie needed updating right ?
C-Man has quit [Ping timeout: 272 seconds]
<_florent_> litex too
sebo has quit [Ping timeout: 250 seconds]
C-Man has joined #litex