Tuesday, 2020-09-15

*** tpb has joined #yosys00:00
*** xtro has joined #yosys00:09
*** xtro has quit IRC00:11
*** LJ_cache has quit IRC00:53
*** citypw has joined #yosys02:18
*** emeb has left #yosys02:37
*** kristianpaul has quit IRC03:07
*** citypw has quit IRC03:07
*** kristianpaul has joined #yosys03:08
*** citypw has joined #yosys03:10
*** Degi has quit IRC03:16
*** Degi has joined #yosys03:16
awyglehm. how would i go about asserting "this state machine can't get stuck in any state but IDLE forever"?03:39
awyglei can think of a few ways but they feel hacky to me03:39
awygle(this is a question about formal verification in case that wasn't clear)03:39
awygleseems like i'd have to put a bound on it, instead of "forever", which is fine, i can do that math03:41
awyglebut then i have to do like "assert state == idle or past state == idle or past past state == idle or......"03:42
awygleactually that's not too bad is it. just have a counter that gets reset when state is idle and assert it never gets above bound.03:42
awyglethanks rubber duck irc channel :)03:42
*** az0re has quit IRC04:00
*** emeb has joined #yosys04:06
*** Forty-Bot has quit IRC04:10
*** Forty-Bot has joined #yosys04:10
awyglehm either yosys is just doing whatever with this design or i've done something terribly wrong04:56
awygleprobably the latter04:56
*** az0re has joined #yosys05:19
*** emeb_mac has quit IRC06:40
*** emeb has quit IRC06:42
*** mmicko has quit IRC07:11
*** mmicko has joined #yosys07:13
*** Asu has joined #yosys08:40
*** cr1901_modern has quit IRC09:00
*** cr1901_modern has joined #yosys09:04
*** cr1901_modern has quit IRC09:08
*** cr1901_modern has joined #yosys09:10
*** cr1901_modern has quit IRC09:11
*** cr1901_modern has joined #yosys09:14
*** cr1901_modern has quit IRC09:22
*** cr1901_modern has joined #yosys09:47
*** cr1901_modern has quit IRC09:49
*** cr1901_modern has joined #yosys09:49
*** cr1901_modern has quit IRC09:55
*** cr1901_modern has joined #yosys10:16
*** cr1901_modern has quit IRC10:18
*** cr1901_modern has joined #yosys10:18
*** cr1901_modern has quit IRC10:19
*** cr1901_modern has joined #yosys10:20
*** cr1901_modern has quit IRC10:21
*** cr1901_modern has joined #yosys10:22
*** cr1901_modern has quit IRC10:27
*** cr1901_modern has joined #yosys11:11
thardinawygle: use the induction, luke11:14
*** cr1901_modern has quit IRC11:15
lambdaawygle: proving liveness is kinda difficult in my experience, at least tooling-wise11:27
whitequarkyosys does have some built-in support for proving liveness but i second what lambda says11:29
ZipCPUawygle: I'd use a counter.  Clear the counter when you are in the idle state, otherwise add 1 per clock.  Assert it stays below some value.11:29
ZipCPUThe challenge is that either 1) your induction length now needs to be at least as long as the counters limit, or 2) you need to tie counter bounds to various FSM states11:30
daveshahYeah I think only the more esoteric aiger solvers support liveness with symbiyosys11:30
*** cr1901_modern has joined #yosys11:47
*** fcserr has quit IRC11:47
*** cr1901_modern has quit IRC11:52
*** cr1901_modern has joined #yosys12:21
*** cr1901_modern has quit IRC12:25
*** cr1901_modern has joined #yosys13:18
*** cr1901_modern has quit IRC13:22
*** Asu has quit IRC13:53
*** Asuu has joined #yosys13:53
*** thoughtpolice_ has joined #yosys13:57
*** y2kbugger_ has joined #yosys13:57
*** ktemkin_ has joined #yosys13:57
*** bubble_buster_ has joined #yosys13:57
*** flammit_ has joined #yosys13:57
*** benreynwar_ has joined #yosys13:57
*** ric96_ has joined #yosys13:57
*** gruetze_ has joined #yosys13:58
*** lukego has quit IRC14:00
*** ktemkin has quit IRC14:00
*** ric96 has quit IRC14:00
*** bubble_buster has quit IRC14:00
*** benreynwar has quit IRC14:00
*** flammit has quit IRC14:00
*** unkraut has quit IRC14:00
*** thoughtpolice has quit IRC14:00
*** lambda has quit IRC14:00
*** y2kbugger has quit IRC14:00
*** Sarayan has quit IRC14:00
*** cyrozap has quit IRC14:00
*** gruetzkopf has quit IRC14:00
*** z0ttel has quit IRC14:00
*** whitequark has quit IRC14:00
*** emilazy has quit IRC14:00
*** ktemkin_ is now known as ktemkin14:00
*** bubble_buster_ is now known as bubble_buster14:00
*** benreynwar_ is now known as benreynwar14:00
*** emilazy_ has joined #yosys14:00
*** flammit_ is now known as flammit14:00
*** y2kbugger_ is now known as y2kbugger14:00
*** thoughtpolice_ is now known as thoughtpolice14:00
*** ric96_ is now known as ric9614:00
*** emilazy_ is now known as emilazy14:00
*** maartenBE has quit IRC14:02
*** cyrozap has joined #yosys14:04
*** filt3r has quit IRC14:06
*** filt3r has joined #yosys14:07
*** lukego has joined #yosys14:07
*** maartenBE has joined #yosys14:08
*** lambda has joined #yosys14:09
*** cr1901_modern has joined #yosys14:14
*** gruetze_ is now known as gruetzkopf14:37
*** kristianpaul has quit IRC15:00
*** kristianpaul has joined #yosys15:01
*** ross_s has joined #yosys15:31
*** AdamHorden has quit IRC15:32
ross_sDoes yosys have any support for converting reals to bits? Looking at frontends/ast/simplify.cc I don't spot anything. Are there other methods if one wanted to generate a look up table of floating point values at synthesis time?15:44
awyglethanks for the suggestions everybody15:46
awyglei'm going with the counter approach (because the counter length is pretty easy to bound) but now my bounded model check seems to be taking impossible FSM transitions, so i gotta figure that out this morning15:46
awygleyosys formal won't recode my FSM states will it? i'm only doing `read_ilang` and `prep`15:47
*** AdamHorden has joined #yosys15:51
awyglehm i updated yosys and now i get "unsupported cell type sdffe" errors. mwk is this related to https://github.com/YosysHQ/yosys/pull/1818/commits? gonna try checking out the version right before that15:55
awygleoh, helps to update sby, my bad15:57
mwkpretty much yes15:57
awygleworks now (or, uh, fails to work in the same way as before the update). sorry to bother you :)15:58
mwk... and yeah, the formal won't do FSM recoding16:03
mwk(not that FSM recoding actually works all that often)16:03
*** citypw has quit IRC16:41
*** emeb has joined #yosys18:26
*** kristianpaul has quit IRC20:22
*** kristianpaul has joined #yosys20:23
*** emeb_mac has joined #yosys20:33
*** kristianpaul has quit IRC21:09
*** kristianpaul has joined #yosys21:10
*** kristianpaul has quit IRC21:12
*** kristianpaul has joined #yosys21:19
*** Asuu has quit IRC22:24
*** lf has quit IRC23:31
*** lf has joined #yosys23:32
*** emeb has quit IRC23:39

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