Skip to content
Snippets Groups Projects
Commit cfe1fbd0 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Moved copy hex files to current sim dir to separate 'copy_hex_files.tcl'.

parent 7231a6b9
No related branches found
No related tags found
No related merge requests found
...@@ -26,11 +26,6 @@ set IP_DIR "$env(RADIOHDL)/libraries/technology/ip_stratixiv/ddr3_uphy_4g_800_ma ...@@ -26,11 +26,6 @@ set IP_DIR "$env(RADIOHDL)/libraries/technology/ip_stratixiv/ddr3_uphy_4g_800_ma
# Assume library work already exists # Assume library work already exists
# Copy ROM/RAM files to simulation directory
file copy -force $IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_master/ip_stratixiv_ddr3_uphy_4g_800_master_s0_sequencer_mem.hex ./
file copy -force $IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_master/ip_stratixiv_ddr3_uphy_4g_800_master_s0_AC_ROM.hex ./
file copy -force $IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_master/ip_stratixiv_ddr3_uphy_4g_800_master_s0_inst_ROM.hex ./
# Compile the design files in correct order and map them all to library work # Compile the design files in correct order and map them all to library work
vlog "$IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_master/alt_mem_ddrx_mm_st_converter.v" -work work vlog "$IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_master/alt_mem_ddrx_mm_st_converter.v" -work work
vlog +incdir+$IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_master/ "$IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_master/alt_mem_ddrx_addr_cmd.v" -work work vlog +incdir+$IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_master/ "$IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_master/alt_mem_ddrx_addr_cmd.v" -work work
......
#------------------------------------------------------------------------------
#
# 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_master/generated/ip_stratixiv_ddr3_uphy_4g_800_master_sim"
# Copy ROM/RAM files to simulation directory
file copy -force $IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_master/ip_stratixiv_ddr3_uphy_4g_800_master_s0_sequencer_mem.hex ./
file copy -force $IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_master/ip_stratixiv_ddr3_uphy_4g_800_master_s0_AC_ROM.hex ./
file copy -force $IP_DIR/ip_stratixiv_ddr3_uphy_4g_800_master/ip_stratixiv_ddr3_uphy_4g_800_master_s0_inst_ROM.hex ./
...@@ -8,6 +8,7 @@ build_dir_synth = $HDL_BUILD_DIR ...@@ -8,6 +8,7 @@ build_dir_synth = $HDL_BUILD_DIR
modelsim_compile_ip_files = modelsim_compile_ip_files =
$RADIOHDL/libraries/technology/ip_stratixiv/ddr3_uphy_4g_800_master/compile_ip.tcl $RADIOHDL/libraries/technology/ip_stratixiv/ddr3_uphy_4g_800_master/compile_ip.tcl
$RADIOHDL/libraries/technology/ip_stratixiv/ddr3_uphy_4g_800_master/copy_hex_files.tcl
synth_files = synth_files =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment