You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you need verilog-mode to properly parse an included file that has multi-line parameter lists with embedded comments, then this simple patch might be helpful. As mentioned elsewhere, the current best approach is to list each parameter in a separate verilog statement. But I was dealing with a generated file so that was not an easy option for me. This 2 line edit did the trick, and allowed verilog-mode to successfully read in my parameters.
The text was updated successfully, but these errors were encountered:
Original Redmine Comment
Author Name: Ray Stevens
Original Date: 2011-10-28T18:28:46Z
Thanks!
I've attached 2 verilog files that demonstrate the patch. Put them both in the same directory, and then recompute AUTOs in testMultiLineParamsInclude.v. You should see an incorrect auto-sense list without the patch, and a correct list with the patch.
Author Name: Ray Stevens
Original Redmine Message: 618 from https://www.veripool.org
If you need verilog-mode to properly parse an included file that has multi-line parameter lists with embedded comments, then this simple patch might be helpful. As mentioned elsewhere, the current best approach is to list each parameter in a separate verilog statement. But I was dealing with a generated file so that was not an easy option for me. This 2 line edit did the trick, and allowed verilog-mode to successfully read in my parameters.
The text was updated successfully, but these errors were encountered: