This commit is contained in:
Stan Lee 2026-04-30 10:47:23 -07:00
parent 6aab520cad
commit f3c3eceedf
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ struct SplitcellsWorker
// Concatenate struct attribute or wire index (ex: \Memory[0] -> [0]) to the bit offset
size_t bracket_pos = wire_name.find_first_of("[.");
if (bracket_pos != std::string::npos) {
wire_indices = wire_name.substr(bracket_pos) + (strip_reg ? "" : "_reg") + stringf(
wire_indices = wire_name.substr(bracket_pos) + (strip_reg ? "_reg" : "") + stringf(
"%c%d%c", format[0], bit_offset, format[1]);
} else { // no '[' or '.', so no concatenation using wire, use slice_lsb + name_lsb offset instead
wire_indices = stringf(