*** tpb has joined #yosys | 00:00 | |
*** FFY00_ has quit IRC | 00:16 | |
*** lf has quit IRC | 00:35 | |
*** lf has joined #yosys | 00:35 | |
*** emeb has left #yosys | 01:13 | |
*** emeb_mac has joined #yosys | 01:31 | |
*** Degi_ has joined #yosys | 02:27 | |
*** Degi has quit IRC | 02:29 | |
*** Degi_ is now known as Degi | 02:29 | |
*** vidbina has joined #yosys | 02:32 | |
*** vidbina_ has quit IRC | 02:35 | |
*** citypw has joined #yosys | 03:58 | |
*** DaKnig has joined #yosys | 06:07 | |
*** emeb_mac has quit IRC | 06:31 | |
*** proteus-guy has joined #yosys | 06:41 | |
*** citypw has quit IRC | 06:58 | |
*** danvet has joined #yosys | 07:30 | |
*** vidbina has quit IRC | 07:35 | |
*** vidbina has joined #yosys | 07:44 | |
*** danvet has quit IRC | 07:48 | |
*** kraiskil has joined #yosys | 07:53 | |
*** citypw has joined #yosys | 09:27 | |
*** vidbina has quit IRC | 09:30 | |
*** DaKnig has quit IRC | 09:45 | |
*** kraiskil has quit IRC | 10:10 | |
*** kraiskil has joined #yosys | 10:23 | |
*** citypw has quit IRC | 14:08 | |
*** vidbina has joined #yosys | 14:10 | |
*** moony has quit IRC | 14:13 | |
*** moony has joined #yosys | 14:17 | |
*** vidbina has quit IRC | 14:21 | |
*** FFY00_ has joined #yosys | 14:48 | |
*** vidbina has joined #yosys | 15:25 | |
*** Paul1 has joined #yosys | 15:56 | |
Paul1 | hello, i've got a question about using the additional inverted output pin in flip flops, the FAQ states "There is limited support for FFs with non-inverted and inverted outputs in Yosys" | 15:57 |
---|---|---|
Paul1 | i'm getting very weird results when i try to add these outputs to my library, minimal example here: https://paste.sh/YM68EEkE#SBhprH09QeQSULWku_zlfj0R | 15:58 |
tpb | Title: paste.sh · encrypted pastebin (at paste.sh) | 15:58 |
Paul1 | and this is the graphviz output that I get: https://paste.sh/XBuQV90X#2IM8mKGbc51DYAuwKwx2p9w0 | 15:58 |
tpb | Title: paste.sh · encrypted pastebin (at paste.sh) | 15:58 |
Paul1 | note how there are only 2 flip flops for a 3 bit counter and Qn is shown as in input and there's a weird new signal that is used as an input but not driven by anything...? | 16:00 |
Paul1 | i'm confused, what am I doing wrong? | 16:00 |
Paul1 | everything works when i remove the IQN output from the ff in my library | 16:00 |
*** unkraut has quit IRC | 16:08 | |
*** unkraut has joined #yosys | 16:12 | |
*** s_frit has quit IRC | 16:29 | |
*** s_frit has joined #yosys | 16:29 | |
Twix | You only have 2 flip flops because you use 2 bits in your counter. The third bit is not used. So it implements it using two flip flops(You are wrapping instant from 4 to 0. So you only have 4 states) | 17:26 |
*** Forty-Bot has joined #yosys | 17:34 | |
*** vidbina has quit IRC | 18:01 | |
*** emeb_mac has joined #yosys | 18:02 | |
*** vidbina has joined #yosys | 18:06 | |
*** dxld has quit IRC | 18:14 | |
*** dxld has joined #yosys | 18:15 | |
*** danvet has joined #yosys | 18:22 | |
*** adjtm_ has quit IRC | 18:53 | |
*** adjtm_ has joined #yosys | 18:54 | |
Paul1 | no, this thing has 5 states, it wraps to 0 *after* the cycle where it's set to 4. the code basically sets zero = true for one cycle, then waits 4 cycles and repeat | 18:55 |
Paul1 | it does the right thing if i just remove the IQN output pin in the library which isn't needed anyways | 18:55 |
*** adjtm_ has quit IRC | 18:56 | |
*** adjtm_ has joined #yosys | 18:57 | |
*** adjtm_ has quit IRC | 19:06 | |
*** adjtm_ has joined #yosys | 19:06 | |
*** adjtm has joined #yosys | 19:11 | |
*** adjtm_ has quit IRC | 19:12 | |
*** adjtm has quit IRC | 19:13 | |
*** adjtm has joined #yosys | 19:14 | |
*** adjtm has quit IRC | 19:47 | |
*** adjtm has joined #yosys | 19:48 | |
*** danvet has quit IRC | 19:53 | |
Paul1 | found it: output was named "QN" in cells.lib and "Qn" in cells.v | 20:08 |
Paul1 | feature request: make this fail early and hard | 20:08 |
*** adjtm_ has joined #yosys | 20:12 | |
*** adjtm has quit IRC | 20:13 | |
*** kraiskil has quit IRC | 21:18 | |
*** chipb has joined #yosys | 21:22 | |
Lofty | Paul1: unfortunately I'm pretty sure failing there is a violation of the Verilog standard | 21:29 |
*** s_frit has quit IRC | 22:34 | |
*** s_frit has joined #yosys | 22:35 | |
*** vidbina has quit IRC | 22:46 | |
*** roamingr1 has joined #yosys | 22:50 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!