Skip to content

Conversation

@amin1377
Copy link
Contributor

@amin1377 amin1377 commented Nov 19, 2025

Adding a bash script that takes an RR graph file as input and removes all attributes related to 3D architecture. I considered implementing this as a Python script, but based on my experience, even with streaming, Python doesn't handle very large RR graph files efficiently. For that reason, I decided to implement it as a bash script instead.

I tested this script by writing out the RR graph for one of the titan_other benchmarks, running the script on it, verifying that there were no occurrences of "layer", "layer_high", or "layer_low" in the modified file, and then running VTR again using the updated RR graph file. The results were identical in both runs.

@github-actions github-actions bot added the lang-shell Shell scripts (bash etc.) label Nov 19, 2025
@amin1377 amin1377 requested a review from vaughnbetz November 19, 2025 14:41
Copy link
Contributor

@vaughnbetz vaughnbetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; one extra comment suggested.

@amin1377 amin1377 merged commit 94f671d into master Nov 19, 2025
30 checks passed
@amin1377 amin1377 deleted the remove_3d_attr branch November 19, 2025 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang-shell Shell scripts (bash etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants