Monday, 2023-05-29

*** tpb <[email protected]> has joined #yosys00:00
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has joined #yosys02:02
*** philtor <[email protected]> has joined #yosys02:43
*** tpb <[email protected]> has joined #yosys06:00
*** shoragan <[email protected]> has joined #yosys06:01
*** lethalbit <[email protected]> has joined #yosys06:02
*** Kamilion <[email protected]> has joined #yosys06:02
*** Lord_Nightmare <Lord_Nightmare!Lord_Night@user/lord-nightmare/x-3657113> has joined #yosys06:02
*** anticw <[email protected]> has joined #yosys06:05
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Read error: Connection reset by peer)07:01
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has joined #yosys07:02
*** |{ame <|{ame!~|{[email protected]> has joined #yosys07:21
|{ameI am using picosoc (awesome project!). I am using a ice40-HX8K. Passing the 12Mhz clk as clk works. I tried adding a PLL to increse the clock to 30Mhz. I verified the PLL clock is working by counting and showing the result on the LEDs. However, picosoc stops working. Is there something I could try?07:24
*** indy <[email protected]> has quit IRC (Ping timeout: 240 seconds)07:27
*** indy <[email protected]> has joined #yosys07:31
*** Guest35 <[email protected]> has joined #yosys07:36
tnt|{ame: make sure that you have a proper reset. You need to leave all the logic in reset until the PLL locked and ideally synchronize the reset release with the clock.07:37
tntThen also obviously check the nextpnr timing report to make sure timing were met.07:38
tntAnd finally IIRC picosoc reads code from flash directly and it's possible that the IO timing are messed up, it uses a rather simple controller without a proper io register phy, so all io timing will be sort of random ... which might be fine for 10 MHz, but at 30 MHz you might start seeing weirdness.07:39
|{ametnt: thank you! keeping the reset low while lock is false did the trick07:44
|{amehow do I set the frequency in the constraint files? I tried to grep for 12 but I did not find it anywhere07:44
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 240 seconds)07:44
|{ame(how do I set the timing constraints)07:45
tnt12 MHz is the default when nothing is specified.07:46
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys07:46
tntin the pcf just use `set_frequency clk_pin 12`    if you oscillator frequency is 12 MHz , nextpnr will trace that clock input through the PLL settings and properly adjust the frequency.07:46
|{ametnt: thank you, that worked! I now get (PASS at 30.02 MHz). I initially tried adding --freq 30, but your solution is way cleaner (and adapts to the pll if I change it)07:54
*** |{ame <|{ame!~|{[email protected]> has quit IRC (Quit: Client closed)09:06
*** Guest35 <[email protected]> has quit IRC (Quit: Client closed)09:46
*** FL4SHK <[email protected]> has quit IRC (Ping timeout: 256 seconds)10:44
*** Sarayan <Sarayan!~galibert@2a01:e0a:c8b:e320:beae:c5ff:fee3:518f> has joined #yosys12:23
*** bjorkint0sh <[email protected]> has joined #yosys12:56
*** bjorkintosh <bjorkintosh!~bjork@user/bjorkintosh> has quit IRC (Ping timeout: 240 seconds)12:57
*** bjorkintosh <[email protected]> has joined #yosys12:59
*** bjorkint0sh <[email protected]> has quit IRC (Ping timeout: 240 seconds)13:01
*** FL4SHK <[email protected]> has joined #yosys13:09
*** bjorkintosh <bjorkintosh!~bjork@user/bjorkintosh> has quit IRC (Ping timeout: 250 seconds)14:07
*** bjorkintosh <bjorkintosh!~bjork@2600:1700:5400:c80:50f6:940f:b736:c008> has joined #yosys14:08
*** stephe <[email protected]> has quit IRC (Ping timeout: 265 seconds)14:14
*** stephe <[email protected]> has joined #yosys14:28
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has quit IRC (Ping timeout: 240 seconds)15:08
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:119f:db:e45a:508c> has quit IRC (Remote host closed the connection)15:54
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:9c7a:baf:1c5b:477e> has joined #yosys15:55
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:9c7a:baf:1c5b:477e> has quit IRC (Remote host closed the connection)15:55
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:9c7a:baf:1c5b:477e> has joined #yosys15:56
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 240 seconds)19:04
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys19:06
*** datenwolf <[email protected]> has quit IRC (Quit: WeeChat 3.8)19:53
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 240 seconds)20:54
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys20:55
*** Stary <Stary!znc@hacksoc/infrastructure> has quit IRC (Quit: ZNC - http://znc.in)21:06
*** jleightcap <jleightcap!7bc4014b62@user/jleightcap> has joined #yosys21:21
*** Stary <Stary!~Stary@hacksoc/infrastructure> has joined #yosys21:47
*** arkanoid <arkanoid!~arkanoid@2001:b07:2ee:9731:a85d:eeff:fecc:37dc> has quit IRC (Ping timeout: 250 seconds)22:06
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)22:13
*** nonchip <[email protected]> has joined #yosys22:13
*** arkanoid <arkanoid!~arkanoid@2001:b07:2ee:9731:a85d:eeff:fecc:37dc> has joined #yosys22:44

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