Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
$value_plusargs compile error for [1..16]-bit signals #1592
Author Name: Garrett Smith
Original Assignee: Garrett Smith
Passing signals of length <= 16 bits to $value$plusargs results in compiler errors due to missing overloads for CData and SData. The variable of type vluint8_t or vluint16_t will not bind to a vluint32_t reference:
This was resolved by overloading VL_VALUEPLUSARGS_INI for CData and SData:
Original Redmine Comment
Great, love getting bugs with fixes included!
Two minor things to add to your patch so I can merge it and make sure it stays fixed. First, please add your name to docs/CONTRIBUTORS, see docs/CONTRIBUTING.adoc for more info. 2. Please update one of the tests, e.g. t_sys_plusargs.v to show the problem.