freeemint has quit [Remote host closed the connection]
freeemint has joined #litex
freeemint has quit [Remote host closed the connection]
freeemint has joined #litex
freeemint has quit [Ping timeout: 250 seconds]
key2 has quit [*.net *.split]
key2 has joined #litex
key2 has quit [*.net *.split]
key2 has joined #litex
<acathla>
Thank you _florent_. But how did you know the code in uart.py was working? Didn't you already have a testbench for it?
<_florent_>
acathla: we had a simulation, but i probably removed it while reorganizing the code, i'll try to add one back in the test directory
<acathla>
Ok. I'm a bit lost here. I don't know at what level I should simulate things
m4ssi has joined #litex
CarlFK has joined #litex
m4ssi has quit [Remote host closed the connection]
<_florent_>
acathla: sorry i was away, i can give you more informations if you tell me what kind of things you want to simulate and what you want to check
<acathla>
I'm reusing the uart code but with manchester encoding to communicate with infrared
<acathla>
TS4231PHYTX and TS4231PHYRX mostly
<acathla>
oops
<acathla>
I renamed them. class RS232PHYRX(Module): and TX
<acathla>
I don't know what that do : self.source = stream.Endpoint([("data", 8)]) and how to force my Hello world to TX module
<acathla>
Ah, source is for RX, how do I read it? And TX is sink, how do I write to it, from my testbench?
<acathla>
Oh, may be "from litex.soc.interconnect.stream_sim import *"
<acathla>
Hum. no. I give up for today.
<somlo>
daveshah: with latest yosys & nextpnr (as of today, no reverts or other patches), my 256bit wide axi litex-rocket works on the trellisboard, if I dial down Fmax to 60MHz
<somlo>
so it's not a bug per se, rather a diminished ability to find a solution that passes ecp5's actual timing needs
<_florent_>
acathla: you can look at test_gearbox to understand how to send data to a sink and receive data from a source: