ChanServ changed the topic of #yosys to: Yosys Open SYnthesis Suite: https://github.com/YosysHQ/yosys/ | Channel logs: https://libera.irclog.whitequark.org/yosys/
tpb has quit [Remote host closed the connection]
tpb has joined #yosys
citypw has joined #yosys
philtor has joined #yosys
tpb has quit [*.net *.split]
Kamilion has quit [*.net *.split]
anticw_ has quit [*.net *.split]
shoragan has quit [*.net *.split]
Lord_Nightmare has quit [*.net *.split]
lethalbit has quit [*.net *.split]
tpb has joined #yosys
shoragan has joined #yosys
shoragan has joined #yosys
shoragan has quit [Changing host]
lethalbit has joined #yosys
Kamilion has joined #yosys
Lord_Nightmare has joined #yosys
anticw has joined #yosys
kristianpaul has quit [Read error: Connection reset by peer]
kristianpaul has joined #yosys
|{ame has joined #yosys
<|{ame> I 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?
indy has quit [Ping timeout: 240 seconds]
indy has joined #yosys
Guest35 has joined #yosys
<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.
<tnt> Then also obviously check the nextpnr timing report to make sure timing were met.
<tnt> And 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.
<|{ame> tnt: thank you! keeping the reset low while lock is false did the trick
<|{ame> how do I set the frequency in the constraint files? I tried to grep for 12 but I did not find it anywhere
ec has quit [Ping timeout: 240 seconds]
<|{ame> (how do I set the timing constraints)
<tnt> 12 MHz is the default when nothing is specified.
ec has joined #yosys
<tnt> in 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.
<|{ame> tnt: 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)
|{ame has quit [Quit: Client closed]
Guest35 has quit [Quit: Client closed]
FL4SHK has quit [Ping timeout: 256 seconds]
Sarayan has joined #yosys
bjorkint0sh has joined #yosys
bjorkintosh has quit [Ping timeout: 240 seconds]
bjorkintosh has joined #yosys
bjorkintosh has quit [Changing host]
bjorkintosh has joined #yosys
bjorkint0sh has quit [Ping timeout: 240 seconds]
FL4SHK has joined #yosys
bjorkintosh has quit [Ping timeout: 250 seconds]
bjorkintosh has joined #yosys
bjorkintosh has quit [Changing host]
bjorkintosh has joined #yosys
stephe has quit [Ping timeout: 265 seconds]
stephe has joined #yosys
citypw has quit [Ping timeout: 240 seconds]
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #yosys
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #yosys
ec has quit [Ping timeout: 240 seconds]
ec has joined #yosys
datenwolf has quit [Quit: WeeChat 3.8]
ec has quit [Ping timeout: 240 seconds]
ec has joined #yosys
Stary has quit [Quit: ZNC - http://znc.in]
jleightcap has joined #yosys
Stary has joined #yosys
arkanoid has quit [Ping timeout: 250 seconds]
nonchip has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
nonchip has joined #yosys
arkanoid has joined #yosys