Skip to content

Commit

Permalink
Merge pull request #786 from diffblue/expr2verilog-indexed-part-select
Browse files Browse the repository at this point in the history
Verilog: fix string generated for indexed part select
  • Loading branch information
tautschnig authored Oct 29, 2024
2 parents 96d5018 + 1896ff0 commit 9b93b39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/verilog/expr2verilog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,8 @@ expr2verilogt::resultt expr2verilogt::convert_indexed_part_select(
else
dest += '-';

dest += ':';

dest += convert_rec(src.width()).s;
dest += ']';

Expand Down

0 comments on commit 9b93b39

Please sign in to comment.