|
From: Martin W. <mai...@ma...> - 2016-02-09 09:07:31
|
Cary R. wrote: > I can confirm that this does fail using both V10 and development.I'm > guessing it has something to do with the constant function code and the > SystemVerilog type or operators. I do not have time to look at this right > now. This looks like valid code and is likely a problem in Icarus so not > something that is easy for an end user to debug. If you feel adventurous > then look at the constant function code in the compiler (eval_tree.cc, > etc.) and add appropriate debug output to see what is going on. Cary Yes, running with the -deval_tree debugging option shows that all the SV merged operator/assignments (++, --, >>=) don't work in a constant context. Martin |