This commit is contained in:
Stan Lee 2026-04-30 10:06:29 -07:00
parent f6e6b4afef
commit 4600078f55
1 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ struct SplitcellsWorker
bool strip_reg = false;
if (bracket_pos != std::string::npos) {
// Check if we will strip off _reg suffix
// Check if we will strip off _reg suffix from base name
size_t reg_pos = base_name.find("_reg");
if (reg_pos != std::string::npos && reg_pos > bracket_pos) {
base_name = base_name.substr(0, reg_pos);
@ -206,7 +206,7 @@ struct SplitcellsWorker
std::string wire_indices;
if (slice_lsb < GetSize(raw_q) && raw_q[slice_lsb].is_wire()) {
// Extract wire name (ex: \Memory[0])
// Extract wire name (ex: \Memory[0] or \Memory.attr)
Wire *w = raw_q[slice_lsb].wire;
std::string wire_name = w->name.str();