Thursday, 2019-05-09

*** tpb has joined #yosys00:00
*** emeb has quit IRC00:11
*** zachjs has joined #yosys00:13
*** X-Scale` has joined #yosys00:23
*** X-Scale has quit IRC00:24
*** X-Scale` is now known as X-Scale00:24
*** emeb_mac has joined #yosys00:33
*** SpaceCoaster has joined #yosys00:43
*** zachjs has quit IRC00:48
*** X-Scale` has joined #yosys00:58
*** X-Scale has quit IRC01:00
*** X-Scale` is now known as X-Scale01:00
mithroHow do I cause synthesis to fail with an error message? Like #error in C?01:06
mithroYosys doesn't seem to like `$display` or `$error` ?01:13
mithroZipCPU: any idea?01:13
ZipCPUI think I saw a recent pull request having to do with this concept01:14
ZipCPUPerhaps it was $error(), $info(), and $warning()?  I'd have to go and dig for it again01:14
mithroZipCPU: I'm trying to error when an invalid parameter is used...01:17
ZipCPUI have two approaches to deal with that01:17
ZipCPU1) Use formal and catch the issue with an assert01:18
ZipCPU2) If one parameter is limited by another, pick a root parameter from which the dependent parameter derives, and only set the root parameter01:18
ZipCPUThese are by no means sufficient01:18
ZipCPUBut ... they might help?01:18
*** cr1901_modern has joined #yosys01:20
*** futarisIRCcloud has quit IRC01:44
*** futarisIRCcloud has joined #yosys02:08
*** gsi__ has joined #yosys02:26
*** gsi_ has quit IRC02:30
*** chaseemory has joined #yosys02:40
*** PyroPeter has quit IRC02:59
*** PyroPeter has joined #yosys03:12
*** bwidawsk has quit IRC03:44
*** bwidawsk has joined #yosys03:48
*** rohitksingh_work has joined #yosys05:11
*** blunaxela has quit IRC05:48
*** blunaxela has joined #yosys05:51
*** gsi__ is now known as gsi_05:54
*** jevinskie has joined #yosys05:54
*** pacak has joined #yosys06:04
*** rohitksingh_work has quit IRC06:18
*** proteusguy has quit IRC06:30
*** rohitksingh_work has joined #yosys06:31
*** jevinskie has quit IRC07:12
*** jevinskie has joined #yosys07:15
*** emeb_mac has quit IRC07:15
*** kraiskil_ has joined #yosys07:30
*** m4ssi has joined #yosys07:52
*** X-Scale has quit IRC07:54
*** zachjs has joined #yosys08:09
*** wifasoi has joined #yosys08:42
*** zachjs has quit IRC08:43
*** m_w has joined #yosys08:55
*** m_w has quit IRC09:30
*** rohitksingh_work has quit IRC10:06
*** wifasoi has quit IRC10:19
*** mjacob has quit IRC10:21
*** mjacob has joined #yosys10:21
*** kraiskil_ has quit IRC10:29
*** futarisIRCcloud has quit IRC10:47
*** kraiskil_ has joined #yosys11:18
*** Forty-Bot has quit IRC12:21
*** emeb has joined #yosys12:47
*** kraiskil__ has joined #yosys13:26
*** kraiskil_ has quit IRC13:29
ZipCPUmithro: Clifford had a better suggestion, that's more applicable as well: https://gist.github.com/ZipCPU/2eee912838d67eeec2e021f5351f54f613:38
tpbTitle: Stopping on bad parameters ยท GitHub (at gist.github.com)13:38
*** X-Scale has joined #yosys14:04
*** proteusguy has joined #yosys14:09
*** rohitksingh has joined #yosys14:24
*** fsasm has joined #yosys14:32
*** alcorn has quit IRC14:37
*** alcorn1 has joined #yosys14:37
*** alcorn1 has quit IRC14:42
*** kraiskil__ has quit IRC15:10
*** rohitksingh has quit IRC15:18
*** rohitksingh has joined #yosys15:21
*** MoeIcenowy has quit IRC15:21
*** MoeIcenowy has joined #yosys15:22
*** zachjs has joined #yosys15:23
*** m4ssi has quit IRC15:34
*** zachjs has quit IRC15:45
*** zachjs has joined #yosys15:45
*** rohitksingh has quit IRC15:51
*** zachjs has quit IRC15:52
*** zachjs has joined #yosys16:01
*** zachjs has quit IRC16:05
*** wifasoi has joined #yosys16:11
*** kraiskil__ has joined #yosys16:15
*** rohitksingh has joined #yosys16:33
*** fsasm has quit IRC16:38
*** rohitksingh has quit IRC16:51
mithroZipCPU: it appears the $display() is squashed by "yosys -q" ?16:54
ZipCPULet me take a look16:54
*** zachjs has joined #yosys16:56
*** wifasoi has quit IRC17:02
*** rohitksingh has joined #yosys17:03
ZipCPUYeah, that's what I'm getting as well.  Still, it fails, and you can look at the log to see why.  Let me suggest that instead of running with yosys -q, that you run with yosys -ql log.txt17:05
ZipCPUThat way if anything goes wrong, you can at least read the $display statement17:09
*** thasti has joined #yosys17:23
*** rohitksingh has quit IRC17:24
*** m_w has joined #yosys17:24
mithroZipCPU: I'm not getting a failure?17:31
*** jevinskie has quit IRC17:34
*** zachjs has quit IRC17:37
*** dys has joined #yosys17:48
ZipCPUWait, your not?18:09
ZipCPUmithro: The $stop should be creating a build failure for you18:09
*** m_w has quit IRC18:10
mithroI'm just running "yosys temp.v"18:10
*** zachjs has joined #yosys18:14
*** jevinskie has joined #yosys18:15
*** emeb_mac has joined #yosys18:16
*** emeb_mac has quit IRC18:29
ZipCPUmithro: Go ahead and elaborate the design and it will fail.18:37
*** zachjs has quit IRC18:51
*** kraiskil__ has quit IRC19:26
*** m_w has joined #yosys19:30
*** kraiskil__ has joined #yosys19:53
*** _whitelogger has quit IRC20:26
*** _whitelogger has joined #yosys20:28
*** emeb_mac has joined #yosys20:44
*** zachjs has joined #yosys21:12
*** futarisIRCcloud has joined #yosys21:14
*** zachjs has quit IRC21:16
*** alcorn has joined #yosys21:31
*** zachjs has joined #yosys21:33
*** alcorn has quit IRC21:36
*** alcorn has joined #yosys21:37
*** alcorn has quit IRC22:04
*** gnufan_home has joined #yosys22:06
*** m_w has quit IRC22:15
*** kraiskil__ has quit IRC22:20
*** zino has left #yosys22:25
*** AlexDaniel has quit IRC22:35
*** arnd has quit IRC22:43
*** arnd has joined #yosys22:45
*** AlexDaniel has joined #yosys23:26
*** gnufan_home has quit IRC23:38

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!