Wednesday, 2019-05-01

*** tpb has joined #yosys00:00
*** cr1901_modern has joined #yosys00:05
*** X-Scale has joined #yosys00:09
*** Cerpin has joined #yosys01:19
*** citypw has quit IRC01:23
*** citypw has joined #yosys01:24
*** futarisIRCcloud has joined #yosys01:52
*** PyroPeter has quit IRC02:27
*** emeb has quit IRC02:35
*** m_w has joined #yosys02:35
*** PyroPeter has joined #yosys02:40
*** Cerpin has quit IRC02:41
*** Cerpin has joined #yosys02:42
*** gsi__ has joined #yosys02:42
*** gsi_ has quit IRC02:46
*** m_w has quit IRC04:11
*** gsi__ is now known as gsi_04:36
*** alcorn has joined #yosys04:37
*** rohitksingh has joined #yosys04:42
*** rohitksingh has quit IRC04:57
*** dys has quit IRC05:30
*** alcorn has quit IRC05:34
*** MoeIcenowy has quit IRC05:34
*** MoeIcenowy has joined #yosys05:35
*** rohitksingh has joined #yosys05:39
*** alcorn has joined #yosys05:44
*** alcorn has quit IRC05:49
*** emeb_mac has quit IRC06:33
*** ravenexp has joined #yosys06:43
*** Jybz has joined #yosys07:54
*** kraiskil has joined #yosys08:00
*** kraiskil has quit IRC08:13
*** GuzTech has joined #yosys08:16
*** kraiskil has joined #yosys08:34
*** kraiskil has quit IRC08:39
*** shenchen|zzz is now known as shenchen08:43
*** citypw has quit IRC08:56
*** citypw has joined #yosys09:16
*** dys has joined #yosys09:25
*** rohitksingh has quit IRC09:25
*** dys has quit IRC09:29
*** kraiskil has joined #yosys09:47
*** maikmerten has joined #yosys09:59
*** _whitelogger has quit IRC10:20
*** _whitelogger has joined #yosys10:22
*** dys has joined #yosys10:50
*** s_frit has joined #yosys10:56
*** futarisIRCcloud has quit IRC11:11
*** kraiskil has quit IRC11:33
*** kraiskil has joined #yosys13:10
*** emeb has joined #yosys14:20
*** kraiskil has quit IRC14:28
*** kraiskil has joined #yosys14:29
*** kraiskil has quit IRC14:51
*** GuzTech has quit IRC14:59
*** kraiskil has joined #yosys15:03
*** maikmerten has quit IRC15:13
*** kraiskil has quit IRC15:14
*** shenchen has quit IRC16:43
*** shenchen has joined #yosys17:00
*** Thorn has quit IRC17:03
*** Thorn has joined #yosys17:13
*** kraiskil has joined #yosys18:36
mithroZipCPU: You any good at understanding `select` commands?19:03
ZipCPUHow so?19:03
mithroActually, firstly - does Yosys have a `-Werror` type flag?19:04
* ZipCPU looks up select commands19:04
*** adjtm has quit IRC19:04
ZipCPUNot that I know of.  I use verilator _Wall to as a lint checker19:05
ZipCPUSorry, verilator -Wall -cc19:05
mithroI really want to turn this warning into an error -> Warning: wire '\o1' is assigned in a block at dff_two_clocks.sim.v:11.19:06
mithroZipCPU: Because that actually seems to be the issue with my select commands...19:06
ZipCPUAre you familiar with that warning?19:07
ZipCPUThat one was put into Yosys at my request19:07
ZipCPUIt basically means that o1 was defined as a "wire" (not a "reg") and then assigned within an always @(*) block19:07
ZipCPUVerific catches these things and returns them as errors, so I thought Yosys should as well19:08
ZipCPUInternally, however, yosys doesn't really treat wires and reg's all that differently19:08
ZipCPUBut ... at this point I'm probably not answering your question anymore ;)19:08
emebZipCPU: for most of my career I've been a Verilog coder. Then, about 8yrs ago I had to switch over to VHDL. This has made me appreciate languages that are much more strict.19:09
daveshahmithro: You can use -e regex to make a warning matching a regex into an error19:10
emebHaving to run my Verilog thru a few different tools which are persnickety about different things is annoying. I started using Verilator for linting a while back and this makes me happier.19:11
mithrodaveshah: Oh? Where do I pass that?19:11
daveshahTo the Yosys main command line19:11
daveshahThere are a few other similar options that may be of interest too, see yosys -h19:11
ZipCPUemeb: o/  If there's one thing that annoys me, its verilog code that works fine with one parser from one vendor's tool, but not with another19:13
emebZipCPU: Just so.19:15
mithroyosys -e "wire '[^']*' is assigned in a block"19:21
*** msgctl has quit IRC19:21
* ZipCPU scratches his head confused19:24
ZipCPUdaveshah?19:24
daveshahThat looks correct to me19:24
*** adjtm has joined #yosys19:25
*** rohitksingh has joined #yosys19:33
*** mirage335 has quit IRC20:01
*** rohitksingh has quit IRC20:10
*** rohitksingh has joined #yosys20:11
*** Jybz has quit IRC20:12
*** rohitksingh has quit IRC20:24
*** s_frit has quit IRC20:32
*** s_frit has joined #yosys20:33
*** kraiskil has quit IRC20:34
*** cr1901_modern has quit IRC20:54
*** dys has quit IRC21:33
*** dys has joined #yosys21:34
*** Cerpin has quit IRC21:35
*** Cerpin has joined #yosys21:57
*** mirage335 has joined #yosys22:00
*** MoeIcenowy has quit IRC22:13
*** MoeIcenowy has joined #yosys22:14
*** alcorn has joined #yosys22:24
*** sielicki has joined #yosys22:36
sielickiOne of my classes required us to write very backwards verilog at the beginning of the class, and now our class project is nearly complete and I'd like to remove some of the cruft that we had to use.22:38
sielickihttps://github.com/cs-ece-552/assigns-sielicki/blob/synthesis/project/demo3/verilog/xnor5_1.v22:38
tpbTitle: assigns-sielicki/xnor5_1.v at synthesis · cs-ece-552/assigns-sielicki · GitHub (at github.com)22:38
sielickiI want to propagate removal of just a set of these backwards / useless modules, across all modules. Not for any sort of synthesis reason but just for the sake of cleaning things up. I'm probably spending more time playing with yosys than it would take to just do it by hand, but I'm curious if anyone can help me figure out how to get my script in working order.22:40
sielickiHere's what I currently have:22:40
sielickihttp://ix.io/1HN922:40
sielickiThis is ultimately not what I want. Been pouring through the docs here for a bit.22:41

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