Parameter with type string cause compile error when passed to $readmemh(...) #1328
Labels
resolution: no fix needed
Closed; no fix required (not a bug)
type: feature-IEEE
Request to add new feature, described in IEEE 1800
Author Name: Arjen Roodselaar
Original Redmine Issue: 1328 from https://www.veripool.org
With my limited understanding of the SV type system I expect the following to work:
When compiling the resulting C++ I end up with the following error:
This compiled with Verilator master and Clang 5.0.1.
Removing the type from the parameter seems to work as expected (but I like types). I am more than happy to look for a fix and provide a patch, but was not sure whether or not this is intended behavior.
The text was updated successfully, but these errors were encountered: