Wednesday, 2021-07-14

*** tpb <[email protected]> has joined #litex00:00
*** Degi <[email protected]> has quit IRC (Ping timeout: 276 seconds)00:18
*** Degi <[email protected]> has joined #litex01:32
*** Degi <[email protected]> has quit IRC (Ping timeout: 246 seconds)01:37
*** Degi <[email protected]> has joined #litex01:41
*** Degi_ <[email protected]> has joined #litex01:51
*** Degi <[email protected]> has quit IRC (Ping timeout: 246 seconds)01:54
*** Degi_ is now known as Degi01:54
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)02:25
*** TMM_ <[email protected]> has joined #litex02:25
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Read error: Connection reset by peer)03:06
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex03:06
*** futarisIRCcloud <[email protected]> has quit IRC (Quit: Connection closed for inactivity)04:57
Leon[m]Is there anything I need to watch out for when changing my SoC's clock frequency? I'd like to go down from 100MHz to 10MHz, and while the rest still works my Gigabit-LiteEth link doesn't seem to work anymore. My CRG is setup up similar to how it's done in digilent_arty.py. I didn't expect this to influence the Ethernet clocks too much given they are generated based on the RX clock, right?09:01
*** Leon[m] is now known as leons09:07
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has quit IRC (Quit: Gone fishing)10:15
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has joined #litex10:39
zypleons, I would guess that the data path is not wide enough to sustain the data rate where it crosses over into the 10MHz domain10:51
zype.g. if you're pushing gigabit data through a 32b wide stream, you can expect it to work down to 31.25 MHz10:53
leonszyp: ah, yes, that makes sense! thanks for the explanation.11:34
leonsIs there a better method other than trial and error to see which clock frequencies work out? :)11:35
leonsI tried a buch. Sometimes LiteX can't find a suitable CRG config, other times Vivado complains, sometimes I get a bitstream but it doesn't work :)11:36
leonsI have my SoC working at 125MHz, but that's about it :)11:36
zypknowing how stuff fits together help, I don't know your setup :)11:42
zypsuitable CRG config is probably a matter of finding a valid combination of PLL factors11:43
zypother than that I guess it's a combination of how fast each domains needs to be, and how fast each domain is able to meet timing11:44
leonszyp: fair, that's what I suspected.11:44
leonsI wouldn't want to bother you with details of my setup, it was a more general question I suppose11:45
zypif you know the data rates and widths (and buffering strategies) of the streams crossing domains, you can determine how fast they need to be to work11:45
zype.g. if you have a fast domain feeding into a slower domain, the slow domain either needs to have a wide enough data path to still handle the full data rate, or the fast domain needs to have enough buffering that it's enough to handle the average data rate11:50
zypor you could have flow control, in which case the slow domain would apply backpressure when it can't keep up11:52
Melkhiorleons: depending on your FPGA, you may want to use separate PLLs to generate unrelated clocks11:57
Melkhiore.g. to handle unrelated system, idelay (for memory) and video clock: https://github.com/litex-hub/litex-boards/blob/c369f4bb7f99ab180264eaef1f0ffcc61eb5c5ac/litex_boards/targets/qmtech_wukong.py#L33-L7211:58
leonsMelkhior: Thanks! This is great stuff!11:59
leonszyp: right, makes sense. It's obvious when you think about it, but I've never really tweaked the system clock or done clock domain crossing, so I've been wondering why setting the parameter to certain values causes things to not work any longer :D12:00
Melkhiorleons: you can also add 'margin=0' as a parameter to create_clkout, this will force the algorithm to search for a closer match (by default it seems to try to run the PLL as fast as possible)12:01
Melkhior(so sometimes it cannot find an exact divider)12:01
*** futarisIRCcloud <[email protected]> has joined #litex13:26
*** shoragan <shoragan!~shoragan@user/shoragan> has quit IRC (Ping timeout: 272 seconds)13:32
*** shoragan <shoragan!~shoragan@user/shoragan> has joined #litex13:56
OmkarBhilare[m]Hi _florent_ ,15:10
OmkarBhilare[m]I have generated litedram core with standalone generation, on ICE40HX8K I tried with serv + sdram, but the ICESTORM RAM is not enough.15:10
OmkarBhilare[m]So I also generated the litedram core with CPU as none, just wanted to ask about the initialization part.15:11
OmkarBhilare[m]https://github.com/BeagleWire/litedram/blob/daed756c76cdbe03b083139ed427671d604a74f7/build/software/include/generated/sdram_phy.h#L52-L9515:11
OmkarBhilare[m]Do I need to run these all steps first?15:11
*** C-Man <[email protected]> has joined #litex15:56
*** futarisIRCcloud <[email protected]> has quit IRC (Quit: Connection closed for inactivity)16:16
*** chiefwigms <[email protected]> has joined #litex16:36
chiefwigmshey _florent_ - i finally got a uart host bridge (had to order a pmod uart since all the gpio on the board is pmod) up and running.  how would I check the tx/rx freqs? (you mentioned a simple counter in the clock domains), but i'm not sure how to do that16:38
*** furan <[email protected]> has quit IRC (Ping timeout: 268 seconds)16:40
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)17:04
*** TMM_ <[email protected]> has joined #litex17:04
*** Coldberg <[email protected]> has joined #litex17:42
*** C-Man <[email protected]> has quit IRC (Ping timeout: 268 seconds)17:46
*** Martoni42 <Martoni42!~Martoni@2a03:d604:101:1200:2ad2:44ff:fe23:2f72> has joined #litex18:11
*** chiefwigms <[email protected]> has quit IRC (Quit: Client closed)18:36
jevinskie[m]self.cnt = Signal(32); self.sync.eth += self.cnt.eq(self.cnt + 1); or something similar18:41
*** chiefwigms <[email protected]> has joined #litex18:42
jevinskie[m]Then throw cnt signal into the litescope signal list18:42
jevinskie[m]Repeating since you just joined “self.cnt = Signal(32); self.sync.eth += self.cnt.eq(self.cnt + 1); or something similar”18:42
jevinskie[m]Where “eth” is the clock domain name for Ethernet. I forget if it is just eth or if there is eth_tx and eth_rx18:44
chiefwigmsjevinskie - is that for me? i think i missed part of it (got disconnected)18:54
*** Martoni42 <Martoni42!~Martoni@2a03:d604:101:1200:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 245 seconds)18:55
chiefwigmslast thing i saw was "Then throw cnt signal into the litescope signal list"18:59
jevinskie[m]Yep, no you didn’t miss anything I was being brief since I’m on mobile19:11
chiefwigmswould i put that in liteeth/ip.py (rx/tx)?19:19
chiefwigms(idle)19:20
*** cr19011 <cr19011!~William@2601:8d:8600:911:6043:1c36:dc22:29cf> has joined #litex20:57
*** cr19011 is now known as cr190120:59
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:3a7> has quit IRC (Remote host closed the connection)22:27
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:ca1e> has joined #litex22:28
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:ca1e> has quit IRC (Remote host closed the connection)22:29
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:ca1e> has joined #litex22:30
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:ca1e> has quit IRC (Remote host closed the connection)22:31
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:90b8> has joined #litex22:32
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:90b8> has quit IRC (Remote host closed the connection)22:33
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:90b8> has joined #litex22:34
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:90b8> has quit IRC (Remote host closed the connection)22:37
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:a7ae> has joined #litex22:38
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:a7ae> has quit IRC (Remote host closed the connection)22:39
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:a7ae> has joined #litex22:40
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:a7ae> has quit IRC (Remote host closed the connection)22:41
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:7c1d> has joined #litex22:42
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:7c1d> has quit IRC (Remote host closed the connection)22:43
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:7c1d> has joined #litex22:43
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:7c1d> has quit IRC (Remote host closed the connection)22:45
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:7c1d> has joined #litex22:45
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:7c1d> has quit IRC (Remote host closed the connection)22:47
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:7c1d> has joined #litex22:47
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:7c1d> has quit IRC (Remote host closed the connection)22:49
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:13a> has joined #litex22:49
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:13a> has quit IRC (Remote host closed the connection)22:51
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:13a> has joined #litex22:51
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:13a> has quit IRC (Remote host closed the connection)22:53
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:2cf8> has joined #litex22:53
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:2cf8> has quit IRC (Remote host closed the connection)22:55
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:2cf8> has joined #litex22:55
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:2cf8> has quit IRC (Remote host closed the connection)22:57
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:2cf8> has joined #litex22:57
*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has quit IRC (Remote host closed the connection)22:58
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:2cf8> has quit IRC (Remote host closed the connection)23:01
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:b94> has joined #litex23:01
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:b94> has quit IRC (Remote host closed the connection)23:03
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:b94> has joined #litex23:03
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:b94> has quit IRC (Remote host closed the connection)23:05
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:9165> has joined #litex23:05
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:9165> has quit IRC (Remote host closed the connection)23:07
*** Degi <[email protected]> has quit IRC (Ping timeout: 252 seconds)23:07
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:9165> has joined #litex23:07
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:9165> has quit IRC (Remote host closed the connection)23:09
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:b0c5> has joined #litex23:09
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:b0c5> has quit IRC (Remote host closed the connection)23:11
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:b0c5> has joined #litex23:11
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:b0c5> has quit IRC (Remote host closed the connection)23:12
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:851e> has joined #litex23:13
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:851e> has quit IRC (Remote host closed the connection)23:14
*** Degi <[email protected]> has joined #litex23:15
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:851e> has joined #litex23:15
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:851e> has quit IRC (Remote host closed the connection)23:16
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:4e66> has joined #litex23:17
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:4e66> has quit IRC (Remote host closed the connection)23:18
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:4e66> has joined #litex23:19
*** Degi <[email protected]> has quit IRC (Ping timeout: 265 seconds)23:20
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:4e66> has quit IRC (Remote host closed the connection)23:22
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:91d3> has joined #litex23:23
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:91d3> has quit IRC (Remote host closed the connection)23:24
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:91d3> has joined #litex23:25
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:91d3> has quit IRC (Remote host closed the connection)23:26
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:91d3> has joined #litex23:27
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:91d3> has quit IRC (Remote host closed the connection)23:28
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:91d3> has joined #litex23:29
*** Degi <[email protected]> has joined #litex23:30
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:91d3> has quit IRC (Remote host closed the connection)23:32
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:d6e0> has joined #litex23:33
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:d6e0> has quit IRC (Remote host closed the connection)23:34
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:d6e0> has joined #litex23:35
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:d6e0> has quit IRC (Remote host closed the connection)23:36
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:768c> has joined #litex23:36
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:768c> has quit IRC (Remote host closed the connection)23:38
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:768c> has joined #litex23:38
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:768c> has quit IRC (Remote host closed the connection)23:40
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:99e4> has joined #litex23:40
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:99e4> has quit IRC (Remote host closed the connection)23:42
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:99e4> has joined #litex23:42
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:99e4> has quit IRC (Remote host closed the connection)23:44
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:bdf1> has joined #litex23:44
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:bdf1> has quit IRC (Remote host closed the connection)23:46
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:bdf1> has joined #litex23:46
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:bdf1> has quit IRC (Remote host closed the connection)23:48
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:e908> has joined #litex23:48
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:e908> has quit IRC (Remote host closed the connection)23:50
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:e908> has joined #litex23:50
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:e908> has quit IRC (Remote host closed the connection)23:52
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:6bb6> has joined #litex23:52
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:6bb6> has quit IRC (Remote host closed the connection)23:54
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:6bb6> has joined #litex23:54
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:6bb6> has quit IRC (Remote host closed the connection)23:56
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:6bb6> has joined #litex23:56
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:6bb6> has quit IRC (Remote host closed the connection)23:58
*** blackpepper_ <blackpepper_!~blackpepp@2620:10d:c090:400::1:6bb6> has joined #litex23:58

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