From 0e6ba06f12eef7d2ec40f19c4a58a0f2092cf047 Mon Sep 17 00:00:00 2001
From: Erik Kooistra <kooistra@astron.nl>
Date: Mon, 15 Dec 2014 12:37:25 +0000
Subject: [PATCH] Define separate directory for 1066 MTps DDR3 IP.

---
 .../ip_stratixiv/ddr3_uphy/generate_ip.sh     | 54 -------------------
 .../ip_stratixiv_ddr3_uphy_4g_1066_master.v   |  0
 .../ip_stratixiv_ddr3_uphy_4g_1066_slave.v    |  0
 3 files changed, 54 deletions(-)
 delete mode 100755 libraries/technology/ip_stratixiv/ddr3_uphy/generate_ip.sh
 rename libraries/technology/ip_stratixiv/{ddr3_uphy => ddr3_uphy_4g_1066_master}/ip_stratixiv_ddr3_uphy_4g_1066_master.v (100%)
 rename libraries/technology/ip_stratixiv/{ddr3_uphy => ddr3_uphy_4g_1066_slave}/ip_stratixiv_ddr3_uphy_4g_1066_slave.v (100%)

diff --git a/libraries/technology/ip_stratixiv/ddr3_uphy/generate_ip.sh b/libraries/technology/ip_stratixiv/ddr3_uphy/generate_ip.sh
deleted file mode 100755
index 7b079517d5..0000000000
--- a/libraries/technology/ip_stratixiv/ddr3_uphy/generate_ip.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-# -------------------------------------------------------------------------- #
-#
-# Copyright (C) 2014                                                        
-# ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
-# JIVE (Joint Institute for VLBI in Europe) <http://www.jive.nl/>           
-# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands                             
-#                                                                           
-# This program is free software: you can redistribute it and/or modify      
-# it under the terms of the GNU General Public License as published by      
-# the Free Software Foundation, either version 3 of the License, or         
-# (at your option) any later version.                                       
-#                                                                           
-# This program is distributed in the hope that it will be useful,           
-# but WITHOUT ANY WARRANTY; without even the implied warranty of            
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             
-# GNU General Public License for more details.                              
-#                                                                           
-# You should have received a copy of the GNU General Public License         
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.     
-#
-# -------------------------------------------------------------------------- #
-#
-# Purpose: Generate ddr3 uniphy IP with MegaWizard
-# Description:
-#   Generate the IP in a separate generated/ subdirectory. Therefore first copy the MegaWizard variation file in the 'generated' output dir, because:
-#   1) setting the output dir is not an option in the MegaWizard
-#   2) The MegaWizard overwrites the variation file sometimes - we don't want that as it could be hand-modified with e.g. added generics
-#
-# Usage:
-#
-#   ./generate_ip.sh
-#
-# Remarks:
-# . This dedicated script is Derived from the generic script $UNB/Firmware/software/build/unb_mgw
-#
-if ! [ -d "generated" ]; then
-    mkdir generated
-fi
-cd generated
-cp ../ip_stratixiv_ddr3_uphy_4g_800_master.v  .
-cp ../ip_stratixiv_ddr3_uphy_4g_800_slave.v  .
-cp ../ip_stratixiv_ddr3_uphy_4g_1066_master.v  .
-cp ../ip_stratixiv_ddr3_uphy_4g_1066_slave.v  .
-
-qmegawiz -silent -f:$UNB/Firmware/software/build/unb_mgw_params.txt ip_stratixiv_ddr3_uphy_4g_800_master.v
-qmegawiz -silent -f:$UNB/Firmware/software/build/unb_mgw_params.txt ip_stratixiv_ddr3_uphy_4g_800_slave.v
-qmegawiz -silent -f:$UNB/Firmware/software/build/unb_mgw_params.txt ip_stratixiv_ddr3_uphy_4g_1066_master.v
-qmegawiz -silent -f:$UNB/Firmware/software/build/unb_mgw_params.txt ip_stratixiv_ddr3_uphy_4g_1066_slave.v
-
-#rm ip_stratixiv_ddr3_uphy_4g_800_master.v
-#rm ip_stratixiv_ddr3_uphy_4g_800_slave.v
-#rm ip_stratixiv_ddr3_uphy_4g_1066_master.v
-#rm ip_stratixiv_ddr3_uphy_4g_1066_slave.v
diff --git a/libraries/technology/ip_stratixiv/ddr3_uphy/ip_stratixiv_ddr3_uphy_4g_1066_master.v b/libraries/technology/ip_stratixiv/ddr3_uphy_4g_1066_master/ip_stratixiv_ddr3_uphy_4g_1066_master.v
similarity index 100%
rename from libraries/technology/ip_stratixiv/ddr3_uphy/ip_stratixiv_ddr3_uphy_4g_1066_master.v
rename to libraries/technology/ip_stratixiv/ddr3_uphy_4g_1066_master/ip_stratixiv_ddr3_uphy_4g_1066_master.v
diff --git a/libraries/technology/ip_stratixiv/ddr3_uphy/ip_stratixiv_ddr3_uphy_4g_1066_slave.v b/libraries/technology/ip_stratixiv/ddr3_uphy_4g_1066_slave/ip_stratixiv_ddr3_uphy_4g_1066_slave.v
similarity index 100%
rename from libraries/technology/ip_stratixiv/ddr3_uphy/ip_stratixiv_ddr3_uphy_4g_1066_slave.v
rename to libraries/technology/ip_stratixiv/ddr3_uphy_4g_1066_slave/ip_stratixiv_ddr3_uphy_4g_1066_slave.v
-- 
GitLab