Wednesday, 2019-12-04

*** tpb has joined #litex00:00
*** rohitksingh has joined #litex00:35
*** CarlFK has quit IRC01:22
*** CarlFK has joined #litex01:38
*** freemint has quit IRC01:52
*** freemint has joined #litex01:54
*** freemint has quit IRC02:05
*** freemint has joined #litex02:06
*** nrossi has joined #litex02:16
*** freemint has quit IRC03:42
*** freemint has joined #litex03:42
*** freeemint has joined #litex03:43
*** freemint has quit IRC03:46
*** CarlFK has quit IRC04:44
*** rohitksingh has quit IRC04:59
*** CarlFK has joined #litex05:19
*** freeemint has quit IRC05:29
*** freeemint has joined #litex05:38
*** freeemint has quit IRC05:43
*** freeemint has joined #litex05:47
*** freeemint has quit IRC05:52
*** CarlFK has quit IRC06:09
_florent_acathla: for CSR access, you can have a look at https://github.com/enjoy-digital/litex/blob/master/test/test_csr.py06:10
tpbTitle: litex/test_csr.py at master · enjoy-digital/litex · GitHub (at github.com)06:10
_florent_for Wishbone access, you can have a look at: https://github.com/enjoy-digital/litex/blob/master/test/test_hyperbus.py (dut.bus.write/dut.bus.read)06:11
tpbTitle: litex/test_hyperbus.py at master · enjoy-digital/litex · GitHub (at github.com)06:11
*** rohitksingh has joined #litex06:11
*** CarlFK has joined #litex06:15
*** rohitksingh has quit IRC06:21
*** rohitksingh has joined #litex06:35
*** rohitksingh has quit IRC06:58
*** CarlFK has quit IRC08:10
*** freeemint has joined #litex08:23
*** shenki has quit IRC08:24
*** spacekookie has quit IRC08:24
*** RaYmAn has quit IRC08:24
*** bonzibuddy has quit IRC08:24
*** kbeckmann has quit IRC08:24
*** shenki has joined #litex08:25
*** bonzibuddy has joined #litex08:25
*** spacekookie has joined #litex08:25
*** RaYmAn has joined #litex08:25
*** kbeckmann has joined #litex08:25
*** freeemint has quit IRC08:27
*** freeemint has joined #litex10:01
*** freeemint has quit IRC10:05
*** freeemint has joined #litex11:19
*** freeemint has quit IRC11:24
*** freeemint has joined #litex11:34
*** freeemint has quit IRC11:39
*** freeemint has joined #litex12:21
*** freeemint has quit IRC12:25
*** freeemint has joined #litex12:28
*** freeemint has quit IRC12:32
*** freeemint has joined #litex12:39
*** freeemint has quit IRC12:41
*** freeemint has joined #litex12:41
*** freeemint has quit IRC12:56
*** freeemint has joined #litex12:56
*** freeemint has quit IRC13:25
*** key2 has quit IRC14:04
*** key2 has joined #litex14:10
*** key2 has quit IRC14:14
*** key2 has joined #litex14:20
acathlaThank you _florent_. But how did you know the code in uart.py was working? Didn't you already have a testbench for it?14:26
_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 directory14:30
acathlaOk. I'm a bit lost here. I don't know at what level I should simulate things14:39
*** m4ssi has joined #litex16:17
*** CarlFK has joined #litex16:28
*** m4ssi has quit IRC16:38
_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 check17:06
acathlaI'm reusing the uart code but with manchester encoding to communicate with infrared17:07
acathlaTS4231PHYTX and TS4231PHYRX mostly17:08
acathlaoops17:08
acathlaI renamed them. class RS232PHYRX(Module): and TX17:09
acathlaI don't know what that do : self.source = stream.Endpoint([("data", 8)]) and how to force my Hello world to TX module17:09
acathlaAh, source is for RX, how do I read it? And TX is sink, how do I write to it, from my testbench?17:13
acathlaOh, may be "from litex.soc.interconnect.stream_sim import *"17:16
acathlaHum. no. I give up for today.17:35
somlodaveshah: 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 60MHz19:11
somloso it's not a bug per se, rather a diminished ability to find a solution that passes ecp5's actual timing needs19:12
_florent_acathla: you can look at test_gearbox to understand how to send data to a sink and receive data from a source:19:50
_florent_https://github.com/enjoy-digital/litex/blob/master/test/test_gearbox.py#L1219:50
tpbTitle: litex/test_gearbox.py at master · enjoy-digital/litex · GitHub (at github.com)19:50
_florent_https://github.com/enjoy-digital/litex/blob/master/test/test_gearbox.py#L2519:50
tpbTitle: litex/test_gearbox.py at master · enjoy-digital/litex · GitHub (at github.com)19:50
*** bunnie[m] has joined #litex20:09
*** nrossi has quit IRC21:07
*** rohitksingh has joined #litex23:05
*** CarlFK has quit IRC23:43

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!