From bc478b2159776a03d0624c7d6575cf6afbf63494 Mon Sep 17 00:00:00 2001
From: Leon Hiemstra <hiemstra@astron.nl>
Date: Tue, 6 Jan 2015 10:32:44 +0000
Subject: [PATCH] script to auto generate all ip blocks in all subdirectories

---
 .../ip_stratixiv/generate-all-ip.sh           | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100755 libraries/technology/ip_stratixiv/generate-all-ip.sh

diff --git a/libraries/technology/ip_stratixiv/generate-all-ip.sh b/libraries/technology/ip_stratixiv/generate-all-ip.sh
new file mode 100755
index 0000000000..6c3dde5f5c
--- /dev/null
+++ b/libraries/technology/ip_stratixiv/generate-all-ip.sh
@@ -0,0 +1,20 @@
+#!/bin/bash 
+
+files=`find .  -name 'generate_ip.sh' `
+
+echo -e "About to generate the following IP blocks:\n$files\n"
+
+for f in $files ; do
+  cd `dirname $f`
+  
+  echo
+  echo -n "Entering directory: "
+  pwd
+  echo
+
+  ./`basename $f`
+
+  cd -
+done
+
+echo "Done"
-- 
GitLab