Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
[Bug] cannot understand multi-dimensional array interfaces #1505
Author Name: Ânderson Ignacio Da Silva
Original Assignee: Wilson Snyder (@wsnyder)
Verilator 4.018 cannot parse understand multi-dimensional array using interfaces structures from system verilog. The instantiation below cannot be parsed and raises syntax error of unexpected '['.
Original Redmine Comment
Thanks for the report.
I created a test case and this is not supported in the two commercial simulators I could check. Given that this was turning painful for Verilator I think development time is better spent elsewhere, so not supporting for now. Will reconsider if/when all of the major commercial simulators get there.
However, the error message should have been better as this was unintentionally a syntax error, so added an unsupported message towards version 4.020.
You might want to suggest that the pulp project use only a 1D array to make their code more portable.