Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segment fault #2449

Open
narutozxp opened this issue Nov 28, 2023 · 0 comments
Open

Segment fault #2449

narutozxp opened this issue Nov 28, 2023 · 0 comments
Assignees

Comments

@narutozxp
Copy link

It seems that grid_layouts.size() is always larger than 1, even if my architecture has just one layer. Therefore, the following code will result in segment fault.

fprintf(Echo, "\tInput Connect Block Switch Name Within a Same Die: %s\n", arch->ipin_cblock_switch_name[0].c_str());
//if there is more than one layer available, print the connection block switch name that is used for connection between two dice
if (arch->grid_layouts.size() > 1) {
fprintf(Echo, "\tInput Connect Block Switch Name Between Two Dice: %s\n", arch->ipin_cblock_switch_name[1].c_str());
}

@amin1377 amin1377 self-assigned this Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants