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
Author Name: Glen Gibb
Original Redmine Issue: 746 from https://www.veripool.org
Original Date: 2014-04-21
Original Assignee: Wilson Snyder (@wsnyder)
Verilator generates an error whenever I try to assign a string longer than 64 bits to a string variable. For example, trying to compile the attached file produces the following errors on the longStr string assignment line:
%Warning-WIDTH: t/t_string_print.v:8: Operator ASSIGN expects 64 bits on the Assign RHS, but Assign RHS's CONST '72'h313233343536373839' generates 72 bits.
%Warning-WIDTH: Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.
The text was updated successfully, but these errors were encountered:
Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2014-04-21T23:28:45Z
Verilator only supports strings in a few limited cases, and not currently compares. I'm in the middle of a ripup of V3Width, after this is released this should be easier to fix.
Author Name: Glen Gibb
Original Redmine Issue: 746 from https://www.veripool.org
Original Date: 2014-04-21
Original Assignee: Wilson Snyder (@wsnyder)
Verilator generates an error whenever I try to assign a string longer than 64 bits to a string variable. For example, trying to compile the attached file produces the following errors on the longStr string assignment line:
The text was updated successfully, but these errors were encountered: