$size() seems to work now with or without the optional parameter.
authorUdi Finkelstein <github@udifink.com>
Tue, 26 Sep 2017 16:18:25 +0000 (19:18 +0300)
committerUdi Finkelstein <github@udifink.com>
Tue, 26 Sep 2017 16:18:25 +0000 (19:18 +0300)
commit6ddc6a7af42d371aa7c08505d82b30628372a16c
treeff300a17cc890ff16590f2947bcfbc0342ddb2b2
parent7e391ba90438ba1c20c29863d1556cb6bfd1ea29
$size() seems to work now with or without the optional parameter.
Multidimensional arrays still don't work. I suspect the problem is that the array is flattened into a 1D array before $size() is evaluated.
frontends/ast/simplify.cc
tests/simple/functions01.sv