Verilator doesn't detect multiple assignment #1184
Author Name: Dan Gisselquist
Consider the following code, first posted on the forum:
Notice how o_b is being set to contradictory values. I'd like to recommend that Verilator check for this.
I've searched through V3Delayed.cpp, seen the MULTIDRIVEN logic, thought to try to fix it but ... I'm still struggling to figure out what's going on. ;) I know, it can't be too hard ... I know what an AST is, I know what a parser is, etc., I just ... haven't figured it out yet. Oh, ok, here it is ... just found the defn of an ActiveAST ... I think I see the problem now, I just don't (yet) know how I might fix it.