Skip to content

Commit

Permalink
Routing congestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Asma-Mohsin committed Dec 4, 2024
1 parent d520b3e commit 8758453
Show file tree
Hide file tree
Showing 673 changed files with 6,664,835 additions and 500,775 deletions.
47 changes: 47 additions & 0 deletions copy_macro_files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#!/bin/bash

# Define project root and target directories
GDS_DIR="openlane/user_project_wrapper/macro/gds"
LIB_DIR="openlane/user_project_wrapper/macro/lib"
LEF_DIR="openlane/user_project_wrapper/macro/lef"

# List of directories to copy from (easily extensible)
SOURCE_DIRS=(
"S_term_single"
"S_term_single2"
"S_term_RAM_IO"
"S_term_DSP"
"N_term_single"
"N_term_single2"
"N_term_RAM_IO"
"N_term_DSP"
"DSP"
"RAM_IO"
"RegFile"
"W_IO"
)


# Create target directories if they don't exist
mkdir -p "$GDS_DIR" "$LIB_DIR" "$LEF_DIR"

# Iterate through source directories and copy files
for dir in "${SOURCE_DIRS[@]}"; do
SRC_PATH="openlane/$dir/runs/$dir/results/signoff"
if [[ -d "$SRC_PATH" ]]; then
echo "Processing $dir..."

# Copy .gds files
find "$SRC_PATH" -maxdepth 1 -type f -name "*.gds" ! -name "*.*.*" -exec cp -v {} "$GDS_DIR" \;

# Copy .lib files
find "$SRC_PATH" -maxdepth 1 -type f -name "*.lib" ! -name "*.*.*" -exec cp -v {} "$LIB_DIR" \;

# Copy .lef files
find "$SRC_PATH" -maxdepth 1 -type f -name "*.lef" ! -name "*.*.*" -exec cp -v {} "$LEF_DIR" \;
else
echo "Warning: Source path $SRC_PATH does not exist. Skipping..."
fi
done

echo "File copy operation completed!"
101,941 changes: 101,941 additions & 0 deletions def/DSP.def

Large diffs are not rendered by default.

5,067 changes: 5,067 additions & 0 deletions def/N_term_DSP.def

Large diffs are not rendered by default.

3,901 changes: 3,901 additions & 0 deletions def/N_term_RAM_IO.def

Large diffs are not rendered by default.

4,240 changes: 4,240 additions & 0 deletions def/N_term_single.def

Large diffs are not rendered by default.

4,827 changes: 4,827 additions & 0 deletions def/N_term_single2.def

Large diffs are not rendered by default.

33,076 changes: 33,076 additions & 0 deletions def/RAM_IO.def

Large diffs are not rendered by default.

58,690 changes: 58,690 additions & 0 deletions def/RegFile.def

Large diffs are not rendered by default.

4,893 changes: 4,893 additions & 0 deletions def/S_term_DSP.def

Large diffs are not rendered by default.

3,499 changes: 3,499 additions & 0 deletions def/S_term_RAM_IO.def

Large diffs are not rendered by default.

4,140 changes: 4,140 additions & 0 deletions def/S_term_single.def

Large diffs are not rendered by default.

5,014 changes: 5,014 additions & 0 deletions def/S_term_single2.def

Large diffs are not rendered by default.

13,833 changes: 13,833 additions & 0 deletions def/W_IO.def

Large diffs are not rendered by default.

Binary file added gds/DSP.gds.gz
Binary file not shown.
Binary file added gds/N_term_DSP.gds.gz
Binary file not shown.
Binary file added gds/N_term_RAM_IO.gds.gz
Binary file not shown.
Binary file added gds/N_term_single.gds.gz
Binary file not shown.
Binary file added gds/N_term_single2.gds.gz
Binary file not shown.
Binary file added gds/RAM_IO.gds.gz
Binary file not shown.
Binary file added gds/RegFile.gds.gz
Binary file not shown.
Binary file added gds/S_term_DSP.gds.gz
Binary file not shown.
Binary file added gds/S_term_RAM_IO.gds.gz
Binary file not shown.
Binary file added gds/S_term_single.gds.gz
Binary file not shown.
Binary file added gds/S_term_single2.gds.gz
Binary file not shown.
Binary file added gds/W_IO.gds.gz
Binary file not shown.
Loading

0 comments on commit 8758453

Please sign in to comment.