Thursday, 2021-04-29

*** tpb has joined #yosys00:00
AnonTodayhello people. I have the versa board with 100mhz clock. However, my design will only run at 50mhz. do I need to use ecppll? if so are there any examples of how to do this?00:00
aggAnonToday: if you use the `ecppll` tool that comes with prjtrellis, you can use the -f argument to get it to write a verilog instantiation of the EHXPLLL module00:02
agge.g. ecppll -i 100 -o 50 -f /dev/stdout00:02
AnonTodaythanks I will check that out00:02
aggand yea, the pll is a good way to generate a 50MHz clock from the 100MHz input clock00:03
aggthe lattice document TN1263 has some more tails on the pll, too00:04
AnonTodaythe generated ppl has this `locked` output. do I need to do anything with that?00:13
aggI don't believe it's necessary00:16
*** Degi_ has joined #yosys00:24
*** Degi has quit IRC00:25
*** Degi_ is now known as Degi00:25
mwkAnonToday: in general it's a good idea to keep your logic in reset until the clock is stable, so using the locked output to generate a reset is a good idea00:26
AnonTodaywell it seems to work without that but yeah I'll consider adding that. I guess it would be reset=!locked00:29
AnonTodayso I got my 16-bit soft processor to run on versa using a fully open-source toolchain. I initially wrote the design years ago for xilinx and used proprietary tools at that time00:30
AnonTodayI should make clear that what I meant was the design was targeting xilinx fpgas, not any other form of connection with xilinx00:31
*** emeb has left #yosys00:34
mwkreset would be !locked, but put it through a synchronizer as well00:36
*** m_w has quit IRC00:59
*** lkcl has joined #yosys01:15
*** citypw has joined #yosys02:13
*** AnonToday has quit IRC04:22
*** cr1901_modern has quit IRC05:07
*** cr1901_modern has joined #yosys05:08
*** citypw has quit IRC05:32
*** danvet has joined #yosys05:52
*** citypw has joined #yosys08:10
*** citypw has quit IRC08:16
*** citypw has joined #yosys08:16
*** vidbina has joined #yosys08:42
*** vidbina has quit IRC11:01
*** pointfree has joined #yosys11:53
*** vidbina has joined #yosys13:00
*** vidbina has quit IRC13:29
*** vidbina has joined #yosys13:31
*** s_frit has quit IRC13:48
*** s_frit has joined #yosys13:49
*** emeb has joined #yosys14:46
*** Raito_Bezarius has quit IRC15:03
*** Raito_Bezarius has joined #yosys15:16
*** vidbina has quit IRC15:34
*** pointfree has quit IRC15:52
*** vidbina has joined #yosys16:17
*** citypw has quit IRC16:25
*** vidbina has quit IRC18:32
*** roamingr1 has quit IRC18:59
*** FFY00_ has quit IRC19:05
*** FFY00_ has joined #yosys19:06
*** vidbina has joined #yosys19:36
*** danvet has quit IRC20:49
*** roamingr1 has joined #yosys21:13
*** lf has quit IRC23:19
*** lf has joined #yosys23:20
*** vidbina has quit IRC23:32

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