Skip to content

Commit 55b5aa6

Browse files
committed
[vtr_flow][script] add more comments for remove_3d_attributes.sh
1 parent eadc492 commit 55b5aa6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vtr_flow/scripts/remove_3d_attributes.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
# to remove all attributes related to 3D FPGA support (layer="0",
66
# layer_low="0", layer_high="0"). In VPR, these values default to 0.
77

8+
# This also helps convert older RR graph files that used the "layer" attribute
9+
# instead of "layer_low" and "layer_high" for nodes, by removing the "layer" attribute
10+
# altogether. As a result, VPR can read the file without issues, and it slightly
11+
# reduces the file size for 2D architectures.
12+
813
# Exit if any command fails
914
set -e
1015

0 commit comments

Comments
 (0)