From 1131ff16ebf1987a6a121f628b8b4c52b4366dfd Mon Sep 17 00:00:00 2001 From: Zanting <zanting> Date: Wed, 12 Aug 2015 08:50:45 +0000 Subject: [PATCH] Added copy hex files script for DDR3 slave UniPHY ip --- .../ddr3_uphy_4g_800_slave/copy_hex_files.tcl | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 libraries/technology/ip_stratixiv/ddr3_uphy_4g_800_slave/copy_hex_files.tcl diff --git a/libraries/technology/ip_stratixiv/ddr3_uphy_4g_800_slave/copy_hex_files.tcl b/libraries/technology/ip_stratixiv/ddr3_uphy_4g_800_slave/copy_hex_files.tcl new file mode 100644 index 0000000000..c759a138e7 --- /dev/null +++ b/libraries/technology/ip_stratixiv/ddr3_uphy_4g_800_slave/copy_hex_files.tcl @@ -0,0 +1,32 @@ +#------------------------------------------------------------------------------ +# +# 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/>. +# +#------------------------------------------------------------------------------ + +# This file is based on Megawizard-generated file msim_setup.tcl. + +set IP_DIR "$env(RADIOHDL)/libraries/technology/ip_stratixiv/ddr3_uphy_4g_800_slave/generated/ip_stratixiv_ddr3_uphy_4g_800_slave_sim" + +# Copy ROM/RAM files to simulation directory +if {[file isdirectory $IP_DIR]} { + file copy -force $IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_slave/ip_stratixiv_ddr3_uphy_4g_800_slave_s0_sequencer_mem.hex ./ + file copy -force $IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_slave/ip_stratixiv_ddr3_uphy_4g_800_slave_s0_AC_ROM.hex ./ + file copy -force $IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_slave/ip_stratixiv_ddr3_uphy_4g_800_slave_s0_inst_ROM.hex ./ +} -- GitLab