Saturday, 2021-03-27

*** tpb has joined #yosys00:00
*** FFY00_ has quit IRC00:16
*** lf has quit IRC00:35
*** lf has joined #yosys00:35
*** emeb has left #yosys01:13
*** emeb_mac has joined #yosys01:31
*** Degi_ has joined #yosys02:27
*** Degi has quit IRC02:29
*** Degi_ is now known as Degi02:29
*** vidbina has joined #yosys02:32
*** vidbina_ has quit IRC02:35
*** citypw has joined #yosys03:58
*** DaKnig has joined #yosys06:07
*** emeb_mac has quit IRC06:31
*** proteus-guy has joined #yosys06:41
*** citypw has quit IRC06:58
*** danvet has joined #yosys07:30
*** vidbina has quit IRC07:35
*** vidbina has joined #yosys07:44
*** danvet has quit IRC07:48
*** kraiskil has joined #yosys07:53
*** citypw has joined #yosys09:27
*** vidbina has quit IRC09:30
*** DaKnig has quit IRC09:45
*** kraiskil has quit IRC10:10
*** kraiskil has joined #yosys10:23
*** citypw has quit IRC14:08
*** vidbina has joined #yosys14:10
*** moony has quit IRC14:13
*** moony has joined #yosys14:17
*** vidbina has quit IRC14:21
*** FFY00_ has joined #yosys14:48
*** vidbina has joined #yosys15:25
*** Paul1 has joined #yosys15:56
Paul1hello, 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
Paul1i'm getting very weird results when i try to add these outputs to my library, minimal example here: https://paste.sh/YM68EEkE#SBhprH09QeQSULWku_zlfj0R15:58
tpbTitle: paste.sh · encrypted pastebin (at paste.sh)15:58
Paul1and this is the graphviz output that I get: https://paste.sh/XBuQV90X#2IM8mKGbc51DYAuwKwx2p9w015:58
tpbTitle: paste.sh · encrypted pastebin (at paste.sh)15:58
Paul1note 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
Paul1i'm confused, what am I doing wrong?16:00
Paul1everything works when i remove the IQN output from the ff in my library16:00
*** unkraut has quit IRC16:08
*** unkraut has joined #yosys16:12
*** s_frit has quit IRC16:29
*** s_frit has joined #yosys16:29
TwixYou 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 #yosys17:34
*** vidbina has quit IRC18:01
*** emeb_mac has joined #yosys18:02
*** vidbina has joined #yosys18:06
*** dxld has quit IRC18:14
*** dxld has joined #yosys18:15
*** danvet has joined #yosys18:22
*** adjtm_ has quit IRC18:53
*** adjtm_ has joined #yosys18:54
Paul1no, 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 repeat18:55
Paul1it does the right thing if i just remove the IQN output pin in the library which isn't needed anyways18:55
*** adjtm_ has quit IRC18:56
*** adjtm_ has joined #yosys18:57
*** adjtm_ has quit IRC19:06
*** adjtm_ has joined #yosys19:06
*** adjtm has joined #yosys19:11
*** adjtm_ has quit IRC19:12
*** adjtm has quit IRC19:13
*** adjtm has joined #yosys19:14
*** adjtm has quit IRC19:47
*** adjtm has joined #yosys19:48
*** danvet has quit IRC19:53
Paul1found it: output was named "QN" in cells.lib and "Qn" in cells.v20:08
Paul1feature request: make this fail early and hard20:08
*** adjtm_ has joined #yosys20:12
*** adjtm has quit IRC20:13
*** kraiskil has quit IRC21:18
*** chipb has joined #yosys21:22
LoftyPaul1: unfortunately I'm pretty sure failing there is a violation of the Verilog standard21:29
*** s_frit has quit IRC22:34
*** s_frit has joined #yosys22:35
*** vidbina has quit IRC22:46
*** roamingr1 has joined #yosys22:50

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